Your message dated Tue, 01 Aug 2017 15:04:23 +0000
with message-id <[email protected]>
and subject line Bug#776872: fixed in gravitation 3+dfsg1-5
has caused the Debian Bug report #776872,
regarding gravitation: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
776872: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776872
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gravitation
Version: 3+dfsg1-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that gravitation 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, gravitation 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 f522ee9..f6d9293 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gravitation (3+dfsg1-4.0~reproducible1) UNRELEASED; urgency=low
+
+  * Prevent embedding of timestamps in icons to make build reproducible.
+
+ -- Reiner Herrmann <[email protected]>  Mon, 02 Feb 2015 19:44:58 +0100
+
 gravitation (3+dfsg1-4) unstable; urgency=low
 
   * Wrap and sort various files
diff --git a/debian/rules b/debian/rules
index 5adbc36..694260a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,9 +11,9 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	convert -type Grayscale -negate ./game5/build/macOSX/iconMask.png mask.png
-	composite -compose CopyOpacity mask.png ./game5/build/macOSX/iconColor.png gravitation.png
+	composite -compose CopyOpacity mask.png ./game5/build/macOSX/iconColor.png -define png:exclude-chunk=time gravitation.png
 	mkdir -p 32x32
-	convert -scale 32x32 gravitation.png 32x32/gravitation.png
+	convert -scale 32x32 gravitation.png +set date:create +set date:modify -define png:exclude-chunk=time 32x32/gravitation.png
 	convert 32x32/gravitation.png 32x32/gravitation.xpm
 	sed -i -e 's/PLATFORM_COMPILE_FLAGS = */PLATFORM_COMPILE_FLAGS = $$(CFLAGS) $$(CPPFLAGS) /' game5/gameSource/Makefile
 	sed -i -e 's/PLATFORM_LINK_FLAGS = */PLATFORM_LINK_FLAGS = $$(LDFLAGS) /' game5/gameSource/Makefile

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: gravitation
Source-Version: 3+dfsg1-5

We believe that the bug you reported is fixed in the latest version of
gravitation, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Wise <[email protected]> (supplier of updated gravitation package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 01 Aug 2017 10:46:46 -0400
Source: gravitation
Binary: gravitation
Architecture: source
Version: 3+dfsg1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Paul Wise <[email protected]>
Description:
 gravitation - game about mania, melancholia, and the creative process
Closes: 776872
Changes:
 gravitation (3+dfsg1-5) unstable; urgency=medium
 .
   * Fix build reproducibility issues due to use of imagemagick (Closes: 
#776872)
Checksums-Sha1:
 08fdd2d8f5b7750260541fe3d9854044a94d6c10 2007 gravitation_3+dfsg1-5.dsc
 b416eb603069dec7bc78d1e022d4bda5f8355892 5808 
gravitation_3+dfsg1-5.debian.tar.xz
Checksums-Sha256:
 6f75193aff12088e045d0c3522f9e4442842c478b9acbe707d1ace281fd91bc7 2007 
gravitation_3+dfsg1-5.dsc
 90339c0dda633f75c443b67fa8749de94b6ef5f0403a73f53acf6f92a7f6a1c7 5808 
gravitation_3+dfsg1-5.debian.tar.xz
Files:
 d849c9250ac23bf76b5b33fc5fe07763 2007 games extra gravitation_3+dfsg1-5.dsc
 b3bb0f0c2071b34f53d44e878b254059 5808 games extra 
gravitation_3+dfsg1-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAlmAlJ8ACgkQMRa6Xp/6
aaMmuA/6At4WbEHZZmOMa8JplrbeH63pq4i2ORjjevtS5sfqgtFGccPcfZeoNEBX
NmylodxyrH3A27oYRY7dfN+Iqu3b5sEaB5IWwYcfdcm/N+nwB4WttoLiPTZUqvHW
EF5jRsRwxWHjzl1ptyMs+ku4ErgzhG1S1vJN9WdbZtEP+588jQSuReHqGayukrC4
LHz1HpBJzWO37EPzWluoFr1kVsSPVsxAwH+xIoexOIE99t+Du0m0DOGIn1m1HM/t
f+ODCNv2goZtJvXiD7LzcWVc2loE47/rXqC6LRoFE1qHT+iugO2feotK8nHUjyKW
g32YBY3s2NKw/VzxD1E9f0PYrOJk+58pxdLS7menebeGjq1ZstfgIyGzeiHaPMzm
5vfAXOO1/Xv1YgEedEqqeNIVVHraaVQZ9Mcw3MXacjf4QwW4lcg8Y6riN7yWgqe5
aHbwXDiRXNUsLxLV206GYZQlmP5l5DAprkwtqKAddPr0t4pdKThHE+9F5CRFR2vE
Ua6HHypXhOKimGCf2XWaA9Wv1xViycRhVmyxeRUTEfpAHfsA9IGsKlFtLROsPfUa
QTtS4RkJfY6zOxfcKuHLnbqA59NTV77xgv9b/3bfySuPkZE3kSSlZo4+O7XDlFbs
WEJTirKIkZNNNQFhLcLWTnoWYraU/egbsgblGFzpPk1kGe/AhU4=
=cyiI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to