Source: libquvi Version: 0.9.3-1.2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], I noticed that libquvi 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/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2016-08-20 20:55:08.815575170 +0100 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2016-08-20 + +--- libquvi-0.9.3.orig/configure.ac ++++ libquvi-0.9.3/configure.ac +@@ -71,7 +71,7 @@ AS_IF([test x"$A2X" = "xno" && test -d " + AC_MSG_ERROR([a2x is required to create man pages when building from git])]) + + AC_PATH_PROG([DATE], [date], [no]) +-AS_IF([test x"$DATE" != "xno"], [build_time=`$DATE +"%F %T %z"`]) ++AS_IF([test x"$DATE" != "xno" && test x"$SOURCE_DATE_EPOCH" = "x" ], [build_time=`$DATE +"%F %T %z"`]) + AC_DEFINE_UNQUOTED([BUILD_TIME], ["$build_time"], [We have build time]) + + BUILD_TIME="$build_time" --- a/debian/patches/series 2016-08-20 20:46:01.745852673 +0100 --- b/debian/patches/series 2016-08-20 20:55:18.035657334 +0100 @@ -1,2 +1,3 @@ doxygen.patch lua52.patch +reproducible-build.patch