Source: xshogi
Version: 1.4.2-2
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 xshogi doesn't build reproducibly.
A PNG icon contains an embedded timestamp.

The attached patch fixes this. Once applied, xshogi 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 593f8a2..e84d1d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ override_dh_auto_configure:
 override_dh_auto_build:
 	dh_auto_build
 	convert -monitor -resize 32x32 eastern_bitmaps/king.xbm xshogi.xpm
-	convert -monitor -resize 32x32 eastern_bitmaps/king.xbm xshogi.png
+	convert -monitor -resize 32x32 eastern_bitmaps/king.xbm +set date:create +set date:modify -define png:exclude-chunk=time xshogi.png
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -f xshogi.xpm xshogi.png

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