Bug#860770: qjackctl: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Apr 19 20:57:11 UTC 2017


Source: qjackctl
Version: 0.4.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that qjackctl 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/10_reproducible_build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/10_reproducible_build.patch	2017-04-19 21:53:36.249919428 +0100
@@ -0,0 +1,16 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2017-04-19
+
+--- qjackctl-0.4.4.orig/configure.ac
++++ qjackctl-0.4.4/configure.ac
+@@ -9,6 +9,9 @@ AC_CONFIG_FILES(Makefile qjackctl.spec s
+ AC_CACHE_VAL([ac_cv_build_date],
+    [ac_cv_build_date=$(date +"%b %d %Y %H:%M %z")])
+ ac_build_date="$ac_cv_build_date"
++if test -n "$SOURCE_DATE_EPOCH"; then
++	ac_build_date="`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH" +"%b %d %Y %H:%M %z"`"
++fi
+ AC_DEFINE_UNQUOTED(CONFIG_BUILD_DATE, ["$ac_build_date"], [Build date and time.])
+ 
+ # Build version string.
--- a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series	2017-04-19 21:53:34.737912684 +0100
@@ -0,0 +1 @@
+10_reproducible_build.patch


More information about the pkg-multimedia-maintainers mailing list