Source: eyed3 Version: 0.6.18-2 Severity: wishlist Tags: patch User: [email protected] Usertags: timestamps X-Debbugs-Cc: [email protected]
Hi, Whilst working on the Reproducible Builds effort [0], I noticed that eyed3 could not be built reproducibly. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` [email protected] / 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-21 11:14:28.190933490 +0100 @@ -0,0 +1,19 @@ +Description: Make the build reproducible +Author: Chris Lamb <[email protected]> +Last-Update: 2016-08-21 + +--- eyed3-0.6.18.orig/configure ++++ eyed3-0.6.18/configure +@@ -1674,7 +1674,11 @@ fi + + BUILD_DATE=`date` + +-MANPAGE_DATE=`date +'%b. %d, %Y'` ++if test -n "$SOURCE_DATE_EPOCH"; then ++ MANPAGE_DATE=`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH" +'%b. %d, %Y'` ++else ++ MANPAGE_DATE=`date +'%b. %d, %Y'` ++fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 --- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/series 2016-08-21 11:14:27.050922086 +0100 @@ -0,0 +1 @@ +reproducible-build.patch

