[Pkg-fonts-devel] Bug#774274: fontforge: please allow scripts to set the font modification time

Jérémy Bobbio lunar at debian.org
Wed Dec 31 06:58:31 UTC 2014

Package: fontforge
Version: 20120731.b-5
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain timestamps
Control: block -1 by 774148


While working on the “reproducible builds” effort [1], we have noticed
that some font packages could not be built reproducibly because they
were building fonts using modifying fontforge scripts. Because of these
these modifications, fontforge will reset the font modification time to
the current time.

In order to have a deterministic build process for these packages, we
need a way to set the generated font modification time to a
predefined value. The attached patch builds upon the one sent for
#774148 and adds a “SetModificationTime” function to fontforge scripting
language. The modification time can then be set with a construct like:


The patch also contains a similar modification for the Python module.

 [1]: https://wiki.debian.org/ReproducibleBuilds

Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-SetModificationTime-function-to-scripting-langua.patch
Type: text/x-diff
Size: 3921 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20141231/387c57c6/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20141231/387c57c6/attachment-0001.sig>

More information about the Pkg-fonts-devel mailing list