[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: fontforge: Build fonts bit-reproducibly.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: fontforge: Build fonts bit-reproducibly. |
Date: |
Wed, 23 Mar 2016 23:21:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
alírio eyng <address@hidden> skribis:
> + (substitute* "fontforge/tottf.c"
> + (("at.>head\\.createtime\\[0\\]") "0")
> + (("at.>head\\.modtime\\[0\\]") "0"))))))
Interesting, great that you found it!
This is for timestamps recorded in TTF files, right?
Perhaps it would be best to honor the ‘SOURCE_DATE_EPOCH’ environment
variable¹ instead of always using zero?
Our build environment systematically sets ‘SOURCE_DATE_EPOCH’ so we’d be
fine, but Fontforge users who expect a meaningful timestamp in there
would still have it. And the patch could even be submitted upstream
eventually.
WDYT?
See also
<https://wiki.debian.org/ReproducibleBuilds/TimestampsInFontsGeneratedWithFontForge>,
which mentions other font formats.
Thanks,
Ludo’.
¹ https://reproducible-builds.org/specs/source-date-epoch/