#794681 qt4-x11: please support timestamps from environment

#794681#5
Date:
2015-08-05 16:03:38 UTC
From:
To:
Source: qt4-x11
Version: 4:4.8.7+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that the qhelpgenerator tool from qt4-x11 embeds timestamps on the
creation of qch files.

For the Reproducible Builds effort we are proposing an environment
variable (SOURCE_DATE_EPOCH) [2] that will contain a deterministic epoch
timestamp (based on the latest debian/changelog entry) that could be
used, which should be automatically exported by debhelper in the future [3].

The attached patch proposes a way to use this variable to get
reproducible timestamps in the qch files generated by qhelpgenerator, if
the variable has been set (if not, it falls back to the old behavior).
With the attached patch packages using qhelpgenerator would then
automatically embed reproducible timestamps in qch files.


[1]: https://wiki.debian.org/ReproducibleBuilds
[2]: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal
[3]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791815

Regards,

#794681#10
Date:
2015-08-11 18:25:45 UTC
From:
To:
Hi

I'm attaching an update of the submitted patch targeting the latest
qt4-x11 version from Debian: 4:4.8.7+dfsg-3

Regards,

#794681#15
Date:
2015-08-12 13:17:19 UTC
From:
To:
On Tuesday 11 August 2015 20:25:45 Dhole wrote:
[snip]

Ah, this somehow went out of my radar. Will take a look soon, but do not
expect an upload after the gcc5 transition ends.


Thanks!