[Reproducible-builds] Bug#792598: libreoffice-canzeley-client: please make the build reproducible
Dhole
dhole at openmailbox.org
Thu Jul 16 15:27:42 UTC 2015
Source: libreoffice-canzeley-client
Version: 0.4.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that libreoffice-canzeley-client could not be built reproducibly.
The attached patch removes timezone-varying timestamps from the
files extracted with unzip. Once applied, libreoffice-canzeley-client
can be built reproducibly in our reproducible toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
-------------- next part --------------
diff -Nru libreoffice-canzeley-client-0.4.0/debian/changelog libreoffice-canzeley-client-0.4.0/debian/changelog
--- libreoffice-canzeley-client-0.4.0/debian/changelog 2014-10-25 02:03:57.000000000 +0200
+++ libreoffice-canzeley-client-0.4.0/debian/changelog 2015-07-15 19:22:27.000000000 +0200
@@ -1,3 +1,11 @@
+libreoffice-canzeley-client (0.4.0-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * add TZ=UTC before unzip in debian/rules to make the files mtime
+ invariant to timezone to make the package build reproducibly.
+
+ -- Dhole <dhole at openmailbox.org> Wed, 15 Jul 2015 19:22:19 +0200
+
libreoffice-canzeley-client (0.4.0-2) unstable; urgency=low
* Correct typo in control
diff -Nru libreoffice-canzeley-client-0.4.0/debian/rules libreoffice-canzeley-client-0.4.0/debian/rules
--- libreoffice-canzeley-client-0.4.0/debian/rules 2014-07-06 12:23:51.000000000 +0200
+++ libreoffice-canzeley-client-0.4.0/debian/rules 2015-07-15 19:22:12.000000000 +0200
@@ -26,7 +26,7 @@
dh_installdirs -A
cd $(CURDIR)/debian/libreoffice-canzeley-client/usr/lib/libreoffice/share/extensions/canzeley-client && \
- unzip -o $(CURDIR)/Extension/canzeley_*.oxt
+ TZ=UTC unzip -o $(CURDIR)/Extension/canzeley_*.oxt
mv $(CURDIR)/debian/libreoffice-canzeley-client/usr/lib/libreoffice/share/extensions/canzeley-client/icons $(CURDIR)/debian/libreoffice-canzeley-client/usr/share/libreoffice-canzeley-client/
dh_lintian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150716/b7f5b0a9/attachment.sig>
More information about the Reproducible-builds
mailing list