[Reproducible-builds] Bug#789963: qrfcview: please make the build reproducible

Dhole dhole at openmailbox.org
Thu Jun 25 17:52:59 UTC 2015


Source: qrfcview
Version: 0.62-5.2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps

Hi!

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

The attached patch removes the timestamps from the the generated png icon.
Once applied, qrfcview can be built reproducibly in our
current experimental framework.

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

-- 
Dhole
-------------- next part --------------
diff -u qrfcview-0.62/debian/rules qrfcview-0.62/debian/rules
--- qrfcview-0.62/debian/rules
+++ qrfcview-0.62/debian/rules
@@ -42,7 +42,7 @@
 
 	# Installation of icon and pixmap (hence imagemagick dependency).
 	install -d -m 755 debian/qrfcview/usr/share/icons
-	convert -thumbnail 32x32 images/rfcview.png debian/qrfcview/usr/share/icons/qrfcview.png
+	convert -thumbnail 32x32 images/rfcview.png +set date:create +set date:modify -define png:exclude-chunk=time debian/qrfcview/usr/share/icons/qrfcview.png
 	install -d -m 755 debian/qrfcview/usr/share/pixmaps
 	convert -thumbnail 32x32 images/rfcview.png debian/qrfcview/usr/share/pixmaps/qrfcview.xpm
 
diff -u qrfcview-0.62/debian/changelog qrfcview-0.62/debian/changelog
--- qrfcview-0.62/debian/changelog
+++ qrfcview-0.62/debian/changelog
@@ -1,3 +1,10 @@
+qrfcview (0.62-6) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove timestamp from png to make package build reproducibly
+
+ -- Dhole <dhole at openmailbox.org>  Thu, 25 Jun 2015 16:53:17 +0200
+
 qrfcview (0.62-5.2) unstable; urgency=low
 
   * Non-maintainer upload.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150625/9ce40acd/attachment.sig>


More information about the Reproducible-builds mailing list