Source: unoconv Version: 0.6-6 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that unoconv could not be built reproducibly. The attached patch sets the timezone to UTC before calling asciidoc to avoid timezone differences in the generated docs. Once applied, unoconv can be builtreproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- Dhole
diff -Nru unoconv-0.6/debian/changelog unoconv-0.6/debian/changelog --- unoconv-0.6/debian/changelog 2014-01-11 20:02:32.000000000 +0100 +++ unoconv-0.6/debian/changelog 2015-08-17 12:22:44.000000000 +0200 @@ -1,3 +1,11 @@ +unoconv (0.6-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Set TZ=UTC in asciidoc to make the embedded dates invariant to timezones + in order to make the package build reproducibly. + + -- Eduard Sanou <dh...@openmailbox.org> Mon, 17 Aug 2015 12:22:05 +0200 + unoconv (0.6-6) unstable; urgency=low * Add support for Microsoft Works and Microsoft Excel 2007 XML. diff -Nru unoconv-0.6/debian/patches/fix-timezone-asciidoc.patch unoconv-0.6/debian/patches/fix-timezone-asciidoc.patch --- unoconv-0.6/debian/patches/fix-timezone-asciidoc.patch 1970-01-01 01:00:00.000000000 +0100 +++ unoconv-0.6/debian/patches/fix-timezone-asciidoc.patch 2015-08-17 12:24:30.000000000 +0200 @@ -0,0 +1,16 @@ +Description: Fix timezone in asciidoc + Set TZ=UTC before calling asciidoc to make the embedded dates invariant + to timezone so that the package can be build reproducibly. +Author: Eduard Sanou <dh...@openmailbox.org> + +--- unoconv-0.6.orig/doc/Makefile ++++ unoconv-0.6/doc/Makefile +@@ -20,7 +20,7 @@ clean: + rm -f unconv.1 *.html *.xml + + %.1.html: %.1.txt +- asciidoc -d manpage $< ++ TZ=UTC asciidoc -d manpage $< + + %.1: %.1.xml + xmlto man $< diff -Nru unoconv-0.6/debian/patches/series unoconv-0.6/debian/patches/series --- unoconv-0.6/debian/patches/series 2014-01-11 20:02:32.000000000 +0100 +++ unoconv-0.6/debian/patches/series 2015-08-17 12:23:40.000000000 +0200 @@ -4,3 +4,4 @@ python3-stdout-fix.patch support-for-wps.patch support-for-xlsx.patch +fix-timezone-asciidoc.patch
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds