Source: synthv1 Version: 0.8.0-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 synthv1 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/0005-reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/0005-reproducible_build.patch 2017-04-12 22:00:23.018229687 +0100 @@ -0,0 +1,16 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2017-04-12 + +--- synthv1-0.8.0.orig/configure.ac ++++ synthv1-0.8.0/configure.ac +@@ -9,6 +9,9 @@ AC_CONFIG_FILES(Makefile synthv1.spec sr + 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 2017-04-12 21:53:44.615923863 +0100 --- b/debian/patches/series 2017-04-12 22:00:18.058201513 +0100 @@ -1,2 +1,3 @@ 0002-fix_hardening.patch 0004-fix_install_path.patch +0005-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