[javahelp2] 02/03: Removed the timestamp from the PNG files to make the build reproducible (Closes: #779056)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Mar 2 09:08:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository javahelp2.

commit f404bdb5804a32fe60cef374db82cda9643d5382
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Mon Mar 2 10:00:19 2015 +0100

    Removed the timestamp from the PNG files to make the build reproducible (Closes: #779056)
---
 debian/changelog | 6 ++++++
 debian/rules     | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9748108..c91298c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,12 @@
 javahelp2 (2.0.05.ds1-8) UNRELEASED; urgency=medium
 
   * Team upload.
+
+  [ Reiner Herrmann ]
+  * Removed the timestamp from the PNG files to make the build reproducible.
+    (Closes: #779056)
+
+  [ Emmanuel Bourg ]
   * Moved the package to Git
   * Standards-Version updated to 3.9.6 (no changes)
 
diff --git a/debian/rules b/debian/rules
index 5dde641..7d3230c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ makebuilddir/$(p_jh)::
 	cd $(DEB_SRCDIR)/debian/icons/; \
 	for file in *.xpm; do \
 		fileTarget=`echo $$file|sed -e 's|.xpm|.png|g'`; \
-		convert $(DEB_SRCDIR)/$$file $(CURDIR)/jhMaster/JavaHelp/src/new/javax/help/plaf/basic/images/$$fileTarget; \
+		convert $(DEB_SRCDIR)/$$file +set date:create +set date:modify -define png:exclude-chunk=time $(CURDIR)/jhMaster/JavaHelp/src/new/javax/help/plaf/basic/images/$$fileTarget; \
 	done
 
 build/$(p_jh):: stamp-build-$(p_jh)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/javahelp2.git



More information about the pkg-java-commits mailing list