Source: qjackctl
Version: 0.4.4-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@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
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- 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 <la...@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
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to