[hedgewars] 01/01: Make builds reproducible (thanks Reiner Herrmann)

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Mon Jan 5 15:59:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository hedgewars.

commit 100bdf42f03a4522c25ced5ee558160283382c7c
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Mon Jan 5 16:59:04 2015 +0100

    Make builds reproducible (thanks Reiner Herrmann)
---
 debian/changelog | 8 ++++++++
 debian/rules     | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 70a762c..9706945 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+hedgewars (0.9.21-4) UNRELEASED; urgency=medium
+
+  [ Reiner Herrmann ]
+  * Make hedgewars create reproducible builds, by removing timestamp
+    on build-time created png icons. (Closes: #774633)
+
+ -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Mon, 05 Jan 2015 16:57:51 +0100
+
 hedgewars (0.9.21-3) unstable; urgency=medium
 
   * Fix bad ghc find module cmake script.
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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/hedgewars.git



More information about the Pkg-games-commits mailing list