[Pkg-fonts-devel] Bug#774275: fonts-junicode: please set the font modification time to a deterministic value

Jérémy Bobbio lunar at debian.org
Wed Dec 31 07:23:25 UTC 2014


Source: fonts-junicode
Version: 0.7.8-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
Control: block -1 by 774274

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that fonts-junicode could not be built reproducibly as ttfautohint will
set the font modification time to the current time.

The attached patch rely on the addition of a “SetModificationTime”
function to fontforge scripting engine (#774274). It adds a simple
fontforge script that will load the generated fonts, set the
modification time to the one of the latest debian/changelog entry, and
re-export the font.

The differences between the font file before and after the script looks
mainly ordering differences. A more expert look to the attached diff is
highly welcome.

A versioned Build-Depends on the future version of fontforge will be
required on top of the patch.

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

-- 
Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fonts-junicode_0.7.8-2_reproducible.patch
Type: text/x-diff
Size: 1685 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20141231/a59791e5/attachment-0001.patch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20141231/a59791e5/attachment-0001.html>
-------------- 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/a59791e5/attachment-0001.sig>


More information about the Pkg-fonts-devel mailing list