Source: sweethome3d-furniture-editor
Version: 1.15-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that sweethome3d-furniture-editor 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, sweethome3d-furniture-editor 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 b1debbf..d787129 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sweethome3d-furniture-editor (1.15-1.0~reproducible1) UNRELEASED; urgency=low
+
+  * Prevent embedding of timestamps in icons to make build reproducible.
+
+ -- Reiner Herrmann <rei...@reiner-h.de>  Mon, 02 Feb 2015 19:51:59 +0100
+
 sweethome3d-furniture-editor (1.15-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index 05e1b01..8398a43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,7 @@ override_dh_auto_install:
 	for i in 16 22 48 128; do \
 		mkdir -p $(ICONS)/$$i; \
 		convert $(ABOUT) -colorspace RGB -resize $${i}x$${i} \
+			+set date:create +set date:modify -define png:exclude-chunk=time \
 			-colorspace sRGB $(ICONS)/$$i/$(NAME).png; \
 	done
 	convert $(ABOUT) -colorspace RGB -resize 32x32 \

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to