Your message dated Sun, 04 Oct 2015 23:04:11 +0000
with message-id <[email protected]>
and subject line Bug#793127: fixed in pdf.js 1.1.469+dfsg-1
has caused the Debian Bug report #793127,
regarding pdf.js: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
793127: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793127
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pdf.js
Version: 1.1.215+dfsg-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that pdf.js could not be built reproducibly.
The attached patch removes timezone-varying timestamps from the
files compressed with zip. Once applied, pdf.js can be built
reproducibly in our current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
diff -Nru pdf.js-1.1.215+dfsg/debian/changelog
pdf.js-1.1.215+dfsg/debian/changelog
--- pdf.js-1.1.215+dfsg/debian/changelog 2015-06-20 21:59:19.000000000
+0200
+++ pdf.js-1.1.215+dfsg/debian/changelog 2015-07-21 16:12:20.000000000
+0200
@@ -1,3 +1,11 @@
+pdf.js (1.1.215+dfsg-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Set TZ=UTC before calls to zip in make.js to make package build
+ reproducibly.
+
+ -- Dhole <[email protected]> Tue, 21 Jul 2015 16:11:47 +0200
+
pdf.js (1.1.215+dfsg-1) unstable; urgency=medium
* Update upstream changelog
diff -Nru pdf.js-1.1.215+dfsg/debian/patches/fix-timezone-in-zip
pdf.js-1.1.215+dfsg/debian/patches/fix-timezone-in-zip
--- pdf.js-1.1.215+dfsg/debian/patches/fix-timezone-in-zip 1970-01-01
01:00:00.000000000 +0100
+++ pdf.js-1.1.215+dfsg/debian/patches/fix-timezone-in-zip 2015-07-21
16:13:08.000000000 +0200
@@ -0,0 +1,23 @@
+Description: Fix timezone in zip calls
+ .
+ pdf.js (1.1.215+dfsg-1.1) UNRELEASED; urgency=medium
+ .
+ * Non-maintainer upload.
+ * Set TZ=UTC before calls to zip in make.js to make package build
+ reproducibly.
+Author: Dhole <[email protected]>
+
+---
+
+--- pdf.js-1.1.215+dfsg.orig/make.js
++++ pdf.js-1.1.215+dfsg/make.js
+@@ -831,6 +831,9 @@ target.firefox = function() {
+ sed('-i', /.*PDFJS_SUPPORTED_LOCALES.*\n/, chromeManifest,
+ FIREFOX_BUILD_DIR + '/chrome.manifest');
+
++ // Set timezone to UTC before calling zip to get reproducible results.
++ process.env.TZ = 'UTC';
++
+ // Create the xpi
+ cd(FIREFOX_BUILD_DIR);
+ exec('zip -r ' + FIREFOX_EXTENSION_NAME + ' ' +
diff -Nru pdf.js-1.1.215+dfsg/debian/patches/series
pdf.js-1.1.215+dfsg/debian/patches/series
--- pdf.js-1.1.215+dfsg/debian/patches/series 2015-06-20 21:24:40.000000000
+0200
+++ pdf.js-1.1.215+dfsg/debian/patches/series 2015-07-21 16:12:43.000000000
+0200
@@ -2,3 +2,4 @@
0002-Fix-build-versions-in-generated-file.patch
0003-Add-adobe-CMaps.patch
0012-Revert-Remove-ShellJS-copy-and-use-the-NPM-version.patch
+fix-timezone-in-zip
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: pdf.js
Source-Version: 1.1.469+dfsg-1
We believe that the bug you reported is fixed in the latest version of
pdf.js, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
David Prévot <[email protected]> (supplier of updated pdf.js package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 04 Oct 2015 18:22:58 -0400
Source: pdf.js
Binary: libjs-pdf xul-ext-pdf.js pdf.js-common
Architecture: source
Version: 1.1.469+dfsg-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Javascript Maintainers
<[email protected]>
Changed-By: David Prévot <[email protected]>
Description:
libjs-pdf - Portable Document Format (PDF) viewer built with HTML5
pdf.js-common - Portable Document Format (PDF) viewer - common files
xul-ext-pdf.js - Portable Document Format (PDF) viewer plugin for Iceweasel
Closes: 793127
Changes:
pdf.js (1.1.469+dfsg-1) experimental; urgency=medium
.
* Upload to experimental since page preview is broken with owncloud
.
[ Dhole ]
* Set TZ=UTC before calls to zip (Closes: #793127)
Checksums-Sha1:
45ed50b3802ccfaca369adb1dbac02ffc7696e6f 1928 pdf.js_1.1.469+dfsg-1.dsc
5be815d27329e3cdfeb5be8863f7786469f1eee8 22045362
pdf.js_1.1.469+dfsg.orig.tar.gz
75f0a8858c8247a18094169657985e7d27bf1dbf 917488
pdf.js_1.1.469+dfsg-1.debian.tar.xz
Checksums-Sha256:
c1e46224d05e4fbabd1c867792db1d783124dda98b5a285acf2a5488e79fa49b 1928
pdf.js_1.1.469+dfsg-1.dsc
01a75fe6d2929594248cbb4549b855436dc6d283f461be7d81aee2c0b0b75984 22045362
pdf.js_1.1.469+dfsg.orig.tar.gz
171feac46410c4ed6bbd809e2d67a4029c7087e41a84b2167a3a4160694fd5d8 917488
pdf.js_1.1.469+dfsg-1.debian.tar.xz
Files:
1853fbbde7e2290336429f6019740303 1928 web optional pdf.js_1.1.469+dfsg-1.dsc
66025f0b4d1f9d4234cffdc19fddb714 22045362 web optional
pdf.js_1.1.469+dfsg.orig.tar.gz
e281078aac51ddde77588deb480a02ba 917488 web optional
pdf.js_1.1.469+dfsg-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJWEaxfAAoJEAWMHPlE9r08fywH/0FaNF6MakSn05OMWRyvs/+8
nEQz/jTdavjmsx8k0EveUMVSkTMCjYgflLqnNoo5Gf6RwGaPx+Xzv2xXjg0nqzVn
0/BQoz5EQNqP+JNOvUvlkGU6qWtbBwjPRVL4TgG6C345u6345Ipgx+pAqsyQ01Uk
Cp7+V4q1UVqIR6iWd5gju0qvtmAEbT/SWOevhyP22lDhYZdirdp/2VYa+hVxqqzn
+rUje/7MdKVZPZ4Kx0WXAj/IlLF15zlB0PWF6c+NtCaM9oqNHItYlAotdmXxF+fV
TllB1t1LNgy1ZaBhNJ17E1FcXXWE2oyHD8tr4uUUv67TbhbP9wOAToKJhGNKbTw=
=SUpW
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-javascript-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel