Source: alienblaster
Version: 1.1.0-8
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 alienblaster doesn't build reproducibly.
A PNG image generated during the build has timestamps embedded.

The attached patch prevents this. Once applied, alienblaster 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 ed2303b..077c918 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 override_dh_install:
 	mv $(CURDIR)/alienblaster $(CURDIR)/alienblaster.bin
 	convert -monitor -resize 50% -trim \
-	$(CURDIR)/images/alienblasterintro.bmp $(CURDIR)/alienblaster.png
+	$(CURDIR)/images/alienblasterintro.bmp +set date:create +set date:modify -define png:exclude-chunk=time $(CURDIR)/alienblaster.png
 	convert -monitor $(CURDIR)/images/alienblastericon.bmp $(CURDIR)/alienblaster.xpm
 	dh_install
 

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