[SCM] soundscaperenderer/master: Override date-string in documentation
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Wed Nov 4 11:59:06 UTC 2015
The following commit has been merged in the master branch:
commit 826d090f04321918d7a4ca63eae927d672d4c6c4
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date: Wed Nov 4 11:16:28 2015 +0100
Override date-string in documentation
hopefully this will give use reproducible builds...
diff --git a/debian/patches/fix-documentation-date.patch b/debian/patches/fix-documentation-date.patch
new file mode 100644
index 0000000..fb97233
--- /dev/null
+++ b/debian/patches/fix-documentation-date.patch
@@ -0,0 +1,16 @@
+Description: allow overriding of the TeX-defines
+ so we can set \today to a string that makes our builds reproducible
+Author: IOhannes m zmölnig
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- soundscaperenderer.orig/doc/manual/SoundScapeRenderer.tex
++++ soundscaperenderer/doc/manual/SoundScapeRenderer.tex
+@@ -14,6 +14,8 @@
+ \newcommand{\contactadress}{\href{mailto:ssr at spatialaudio.net}
+ {\texttt{ssr at spatialaudio.net}}}
+
++\include{overrides}
++
+ \begin{document}
+
+ \sloppy
diff --git a/debian/patches/series b/debian/patches/series
index b62eee9..73d88e3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ upstreamversion.patch
exclude_pdf.patch
g++hack_vararg_template.patch
fix-srate-errormessage.patch
+fix-documentation-date.patch
diff --git a/debian/rules b/debian/rules
index aceee7f..225b278 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,8 +50,10 @@ DEB_INSTALL_CHANGELOGS_soundscaperenderer-common=NEWS
build/soundscaperenderer-common::
+ debian/scripts/version-tex.sh $(DEB_VERSION) > doc/manual/overrides.tex
cd doc/manual && (latexmk; latexmk)
cleanbuilddir/soundscaperenderer-common::
+ rm -f doc/manual/overrides.tex
test -e doc/manual/SoundScapeRenderer.pdf && ( cd doc/manual && latexmk -C ) || true
binary-install/soundscaperenderer-common::
rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/ssr/images/
--
soundscaperenderer packaging
More information about the pkg-multimedia-commits
mailing list