Thanks, Hilmar.
Exporting SOURCE_DATE_EPOCH and LOCALE work in debian/rules.
We could just have an empty SOURCE_DATE_EPOCH variable, so it's always set
to epoch time:

> Comment Creation Date: Thu Jan  1 07:30:00 1970

But I think that's a bit ugly, and may perhaps cause weird results for
other parts that rely on this variable.
One suggestion from [1] is to use the latest timestamp in
debian/changelog.  I find this a good alternative.
We always have to close debian/changelog anyway, so we will always have a
proper timestamp, even in the event
of an unreleased build.

$ dpkg-parsechangelog -S timestamp
1764094991

Therefore I'd like to implement LOCALE=C, and SOURCE_DATE_EPOCH with the
latest timestamp of
debian/changelog.
What do you think?

[1] https://reproducible-builds.org/specs/source-date-epoch/


Cheers,


-- 
Danai

On Fri, 28 Nov 2025 at 07:08, Hilmar Preuße <[email protected]> wrote:

> On 11/27/25 17:27, Danai SAE-HAN (韓達耐) wrote:
>
> Hello Danai,
>
> > Mental note #2: the difference between both of Hilmar's AFM files is
> > exactly 26 hours, up to the second.
> >
>
> Maybe just using SOURCE_DATE_EPOCH is enough (by just scrolling through
> [1].
> And for the locale differences: it might by enough to set a well defined
> locale during build (whichever generates the correct results...).
>
> Hilmar
>
> [1] https://github.com/fontforge/fontforge/issues/2490
> --
> Testmail
>
>

Reply via email to