Source: lilyterm
Version: 0.9.9.4+git20150208.f600c0-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that lilyterm 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/01_reproducible-build.patch        1970-01-01 
01:00:00.000000000 +0100
--- b/debian/patches/01_reproducible-build.patch        2016-08-25 
00:22:04.110201857 +0100
@@ -0,0 +1,13 @@
+--- lilyterm-0.9.9.4+git20150208.f600c0.orig/autogen.sh
++++ lilyterm-0.9.9.4+git20150208.f600c0/autogen.sh
+@@ -25,6 +25,10 @@ Replace_Parameter()
+   fi
+ }
+ 
++if test -n "$SOURCE_DATE_EPOCH"; then
++  sed -i "s|\$_YEAR|`date --utc --date=@$SOURCE_DATE_EPOCH +%Y`|g" $AC_FILE
++fi
++
+ echo ""
+ Replace_Parameter BINARY
+ Replace_Parameter PACKAGE
--- a/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series     2016-08-25 00:08:38.249385954 +0100
@@ -0,0 +1 @@
+01_reproducible-build.patch
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to