Source: javahelp2
Version: 2.0.05.ds1-7
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that javahelp2 doesn't build reproducibly.
Some PNG icons contain embedded timestamps.

The attached patch fixes this. Once applied, javahelp2 can be
built reproducibly in our current experimental framework.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds



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)

Attachment: signature.asc
Description: OpenPGP digital signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
[email protected] for discussions and questions.

Reply via email to