Source: libgtk-appindicator
Version: 0.15-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that libgtk-appindicator could not be built reproducibly.

The attached patch removes extra timestamps from the build system and
ensure a stable file order when creating the source archive. Once
applied,
libgtk-appindicator can be built reproducibly in our current experimental 
framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

diff -ur libgtk2-appindicator-perl-0.15/debian/rules libgtk2-appindicator-perl-0.15-new/debian/rules
--- libgtk2-appindicator-perl-0.15/debian/rules	2012-11-18 16:47:50.000000000 +0000
+++ libgtk2-appindicator-perl-0.15-new/debian/rules	2015-04-19 10:49:16.834256296 +0000
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+BUILD_DATE = $(shell dpkg-parsechangelog -S Date)
+POD_MAN_DATE = $(shell date -u +"%Y-%m-%d" --date="$(BUILD_DATE)")
+export POD_MAN_DATE
+
 %:
 	dh $@
 

Attachment: signature.asc
Description: 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