[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Hi there.

It may not do much immediate good since Debian is still using a 2012 version of FontForge, but it might be worthwhile in the long-term to submit the feature (perhaps with the addition of a native scripting command) as a pull request to mainline FontForge ( https://github.com/fontforge/fontforge ). I would be happy to help with this if necessary.

Best wishes,

Frank


On Wed, Dec 31, 2014 at 12:58 AM, Jérémy Bobbio <lunar@debian.org> wrote:
Package: fontforge
Version: 20120731.b-5
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain timestamps
Control: block -1 by 774148

Hi!

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:

    SetModificationTime(GetEnv("BUILD_DATE"))

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

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

--
Lunar                                .''`.
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'`
                                      `-

_______________________________________________
Pkg-fonts-devel mailing list
Pkg-fonts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fonts-devel


Reply to: