Source: plastex
Version: 0.9.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

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

The attached patch removes randomness from the build system. Once
applied, plastex 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 plastex.orig/plastex-0.9.2/plasTeX/Renderers/XHTML/CHM.zpts 
plastex/plastex-0.9.2/plasTeX/Renderers/XHTML/CHM.zpts
--- plastex.orig/plastex-0.9.2/plasTeX/Renderers/XHTML/CHM.zpts 2015-03-02 
19:22:57.917914885 +0000
+++ plastex/plastex-0.9.2/plasTeX/Renderers/XHTML/CHM.zpts      2015-03-02 
19:54:51.443648326 +0000
@@ -101,7 +101,7 @@
 Help="<span tal:replace='self/title/textContent'>My 
Title</span>","chm.hhc","chm.hhk","index.html","index.html",,,,,0x73520,,0x383e,[200,200,1000,800],,,,,,,0
 
 [FILES]
-<metal:block tal:repeat="file templates/files/values"><span 
tal:replace="file">myhtml.htm</span>
+<metal:block tal:define="files templates/files/values; sorted_files 
python:sequence.sort(files)" tal:repeat="file sorted_files"><span 
tal:replace="file">myhtml.htm</span>
 </metal:block>
 
 [MERGE FILES]
_______________________________________________
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