Source: jackd2
Version: 1.9.10+20140719git3eb0ae6a~dfsg-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

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

The attached patch removes locale and timezone-varying timestamps from
the build system. Once applied, jackd2 can be built reproducibly in our
reproducible toolchain.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2015-08-24 17:40:39.913019601 
+0100
@@ -0,0 +1,9 @@
+--- jackd2-1.9.10+20140719git3eb0ae6a~dfsg.orig/man/fill_template
++++ jackd2-1.9.10+20140719git3eb0ae6a~dfsg/man/fill_template
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+ 
+ for i in *.0 ; do
+-   sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date '+%B %Y'`/g" < ${i} > 
${i%%0}1
++   sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`LC_ALL=C date --utc 
--date="$(dpkg-parsechangelog -l../debian/changelog -SDate)" '+%B %Y'`/g" < 
${i} > ${i%%0}1
+ done
--- a/debian/patches/series     2015-08-24 17:28:11.290070686 +0100
--- b/debian/patches/series     2015-08-24 17:40:37.376996052 +0100
@@ -1,2 +1,3 @@
 waf.patch
 clang-ftbfs.diff
+reproducible-build.patch
_______________________________________________
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