Source: primrose Version: 6+dfsg1-3 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 primrose doesn't build reproducibly. PNG images generated during the build have timestamps embedded. The attached patch prevents this. Once applied, primrose 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 1ab9cf8..31ddf81 100755 --- a/debian/rules +++ b/debian/rules @@ -11,9 +11,9 @@ override_dh_auto_configure: override_dh_auto_build: mkdir -p 256x256 128x128 64x64 32x32 - convert -scale 256x256 tilePlacementGames/game1/gameSource/iPhone/largeIcon2.png 256x256/primrose.png + convert -scale 256x256 tilePlacementGames/game1/gameSource/iPhone/largeIcon2.png +set date:create +set date:modify -define png:exclude-chunk=time 256x256/primrose.png cp -f tilePlacementGames/game1/build/macOSX/iconColor.png 128x128/primrose.png - convert -background None -gravity center -extent 64x64 tilePlacementGames/game1/gameSource/iPhone/icon.png 64x64/primrose.png + convert -background None -gravity center -extent 64x64 tilePlacementGames/game1/gameSource/iPhone/icon.png +set date:create +set date:modify -define png:exclude-chunk=time 64x64/primrose.png cp -f tilePlacementGames/game1/build/win32/icon.png 32x32/primrose.png convert 32x32/primrose.png 32x32/primrose.xpm $(MAKE) -C tilePlacementGames/game1/gameSource PLATFORM_LINK_FLAGS="-lGL -lSDL -lpthread $(LDFLAGS)" PLATFORM_COMPILE_FLAGS="$(CXXFLAGS) $(CPPFLAGS) -DETCDIR=\\\"/etc/primrose\\\" -DDATADIR=\\\"/usr/share/games/primrose/\\\""
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