[Pkg-opt-media-team] [dvdisaster] 54/61: Fudge dates and PDF IDs in the interest of build reproducibility.
Takaki Taniguchi
takaki at moszumanska.debian.org
Thu Feb 2 13:48:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
takaki pushed a commit to branch master
in repository dvdisaster.
commit ce67360bbfffebee5acba1b29c4aeaba1da112b9
Author: Carlos Maddela <e7appew at gmail.com>
Date: Thu Jan 5 19:17:49 2017 +1100
Fudge dates and PDF IDs in the interest of build reproducibility.
---
debian/patches/28-fudge-pdf-doc-ids.patch | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 4 ++++
3 files changed, 32 insertions(+)
diff --git a/debian/patches/28-fudge-pdf-doc-ids.patch b/debian/patches/28-fudge-pdf-doc-ids.patch
new file mode 100644
index 0000000..c1625c1
--- /dev/null
+++ b/debian/patches/28-fudge-pdf-doc-ids.patch
@@ -0,0 +1,27 @@
+From: Carlos Maddela <e7appew at gmail.com>
+Date: Thu, 5 Jan 2017 19:14:35 +1100
+Subject: Generate the same PDF document IDs for build reproducibility.
+
+Description: Generate the same PDF IDs for build reproducibility.
+Author: Carlos Maddela <e7appew at gmail.com>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2016-12-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+---
+ documentation/user-manual/manual.tex | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/documentation/user-manual/manual.tex b/documentation/user-manual/manual.tex
+index 60fb51e..aaab4fa 100644
+--- a/documentation/user-manual/manual.tex
++++ b/documentation/user-manual/manual.tex
+@@ -65,6 +65,7 @@
+ \fancyfoot{}
+ \fancyfoot[LE,RO]{page \thepage\ of \pageref{LastPage}}
+
++\pdftrailerid{dvdisaster}
+ \begin{document}
+
+ \definecolor{lightorange}{RGB}{255,224,150}
diff --git a/debian/patches/series b/debian/patches/series
index 92f39c4..9cc762e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -19,3 +19,4 @@
25-fix-man-pages.patch
26-fix-display-of-manual.pdf.patch
27-allow-opening-in-browser-again.patch
+28-fudge-pdf-doc-ids.patch
diff --git a/debian/rules b/debian/rules
index 5257910..e85d840 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,10 @@ include /usr/share/dpkg/buildflags.mk
export DEB_CFLAGS_MAINT_APPEND = $(CPPFLAGS) -Wall -Wno-deprecated-declarations -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export SOURCE_DATE_EPOCH := \
+ $(shell date --date="$$(dpkg-parsechangelog -S Date)" +%s)
+export FORCE_SOURCE_DATE = 1
+
MUTABLE_FILES := build.h $(wildcard locale/*.po) \
documentation/config/version.tex
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opt-media/dvdisaster.git
More information about the Pkg-opt-media-team
mailing list