Source: jxplorer
Version: 3.3.2+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi!

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

The attached patch fixes this by preventing the embedding of timestamps.
Once applied, jxplorer can be built reproducibly in our current
experimental framework.

Regards,
 Reiner

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

diff --git a/debian/changelog b/debian/changelog
index 7f7179a..368bf6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+jxplorer (3.3.2+dfsg-2.0~reproducible1) UNRELEASED; urgency=low
+
+  * Prevent embedding of timestamps in icons to make
+    building reproducible.
+
+ -- Reiner Herrmann <rei...@reiner-h.de>  Sun, 01 Feb 2015 12:50:48 +0100
+
 jxplorer (3.3.2+dfsg-2) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 524560b..50acf1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,6 +42,7 @@ override_dh_install:
 		mkdir -p $(ICONS)/$${i}x$${i}/apps; \
 		convert images/logo_64.png -colorspace RGB \
 			-resize $${i}x$${i} -colorspace sRGB \
+			+set date:create +set date:modify -define png:exclude-chunk=time \
 			$(ICONS)/$${i}x$${i}/apps/jxplorer.png; \
 	done
 	install -d -m 755 $(USRSHARE)/pixmaps

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
debian-j...@lists.debian.org for discussions and questions.

Reply via email to