Source: xorg
Version: 1:7.7+9
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 xorg 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, xorg can
be built reproducibly in our current experimental framework.

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


Regards,
-- 
Dhole
diff -Nru xorg-7.7+9/debian/changelog xorg-7.7+9.1/debian/changelog
--- xorg-7.7+9/debian/changelog 2015-05-11 14:53:51.000000000 +0200
+++ xorg-7.7+9.1/debian/changelog       2015-08-17 16:38:13.000000000 +0200
@@ -1,3 +1,11 @@
+xorg (1:7.7+9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Set TZ=UTC before calling 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 16:37:50 +0200
+
 xorg (1:7.7+9) unstable; urgency=medium
 
   * Remove the siliconmotion driver from xserver-xorg-video-all.
diff -Nru xorg-7.7+9/xsf-docs/Makefile xorg-7.7+9.1/xsf-docs/Makefile
--- xorg-7.7+9/xsf-docs/Makefile        2013-09-26 01:24:29.000000000 +0200
+++ xorg-7.7+9.1/xsf-docs/Makefile      2015-08-17 16:44:17.000000000 +0200
@@ -6,7 +6,7 @@
 
 pdf_files = $(patsubst %.txt,%.pdf,$(txt_files))
 
-TXT_TO_HTML  = asciidoc -a linkcss
+TXT_TO_HTML  = TZ=UTC asciidoc -a linkcss
 HTML_TO_PDF  = wkhtmltopdf
 CSS_FILE     = xsf.css
 ADOC_CSS_FILE= asciidoc-xhtml11.css

Attachment: 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

Reply via email to