Source: mozvoikko
Version: 2.0.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that mozvoikko 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-16 20:39:25.918272932 
+0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-08-16
+
+--- mozvoikko-2.0.1.orig/Makefile
++++ mozvoikko-2.0.1/Makefile
+@@ -18,7 +18,7 @@ $(patsubst %,mozvoikko-$(VERSION)/%, $(s
+ 
+ mozvoikko2:
+       rm -vf mozvoikko2.xpi
+-      zip -9 mozvoikko2.xpi $(XPI_FILES) $(shell find voikko -type f '!' 
-name '.*' '!' -path 'voikko*/.*')
++      TZ=UTC zip -9 mozvoikko2.xpi $(XPI_FILES) $(shell find voikko -type f 
'!' -name '.*' '!' -path 'voikko*/.*')
+ 
+ clean:
+       rm -f mozvoikko-$(VERSION).tar.gz mozvoikko2.xpi
--- a/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series     2016-08-16 20:45:57.677578777 +0100
@@ -0,0 +1 @@
+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