Source: hedgewars
Version: 0.9.21-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps

Hi,

the hedgewars package can currently not be build reproducibly,
because the png icons generated with convert contain timestamps [1].
The attached patch will prevent timestamps from being written into the
png files, so they will be identical on every build.

Regards,
 Reiner

[1]: https://reproducible.debian.net/userContent/rb-pkg/hedgewars.html
diff --git a/debian/rules b/debian/rules
index 4674860..4c59452 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,6 @@ override_dh_auto_configure:
 		dirname=`basename $$dirname`; \
 		basename=`basename $$icon .xpm`; \
 		mkdir -p tmp-icon/$$dirname/apps; \
-		convert $$icon tmp-icon/$$dirname/apps/$$basename.png; \
+		convert $$icon +set date:create +set date:modify -define png:exclude-chunk=time tmp-icon/$$dirname/apps/$$basename.png; \
 	done
 	dh_auto_configure -- $(HEDGEWARS_OPTIONS)

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