Source: khmerconverter
Version: 1.4-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that khmerconverter could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, khmerconverter can be built reproducibly in our reproducible
toolchain.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad khmerconverter.orig/khmerconverter-1.4/debian/rules 
khmerconverter/khmerconverter-1.4/debian/rules
--- khmerconverter.orig/khmerconverter-1.4/debian/rules 2015-02-24 
23:46:09.758628643 +0000
+++ khmerconverter/khmerconverter-1.4/debian/rules      2015-02-24 
23:48:56.810016102 +0000
@@ -22,7 +22,7 @@
                 -s 1 -N -o build/khmerconverter.1 'python khmerconverter'
 
        convert converter.ico build/a.xpm       
-       convert converter.ico build/a.png
+       convert converter.ico +set date:create +set date:modify -define 
png:exclude-chunk=time build/a.png
        mv build/a-1.xpm build/khmerconverter.xpm
        mv build/a-2.png build/khmerconverter.png
        rm -f build/a-*.*

Reply via email to