[Reproducible-builds] Bug#834780: tuxpaint-config: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Aug 19 00:06:39 UTC 2016


Source: tuxpaint-config
Version: 0.0.13-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that tuxpaint-config could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-build	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build	2016-08-19 01:05:57.261254639 +0100
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-19
+
+--- tuxpaint-config-0.0.13.orig/Makefile
++++ tuxpaint-config-0.0.13/Makefile
+@@ -15,7 +15,11 @@
+ 
+ 
+ VER_VERSION=0.0.13
+-VER_DATE=`date +"%Y-%m-%d"`
++ifdef SOURCE_DATE_EPOCH
++	VER_DATE=$(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || date -u "+%Y-%m-%d")
++else
++	VER_DATE=$(shell date "+%Y-%m-%d")
++endif
+ 
+ 
+ # Where to install things:
--- a/debian/patches/series	2016-08-19 00:42:49.185509885 +0100
--- b/debian/patches/series	2016-08-19 01:06:10.925369961 +0100
@@ -1 +1,2 @@
 include-standard-flags
+reproducible-build


More information about the Reproducible-builds mailing list