From 701b9711b870ad4abdbea17616c98a456b93f86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?al=C3=ADrio=20eyng?= Date: Wed, 23 Mar 2016 13:13:35 +0000 Subject: [PATCH] gnu: fontforge: Build fonts bit-reproducibly. * gnu/packages/fontutils.scm (fontforge)[source](snippet): Remove time dump on ttf. --- gnu/packages/fontutils.scm | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 34f391e..0f57675 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -352,13 +352,17 @@ definitions.") (modules '((guix build utils))) (snippet ;; Make builds bit-reproducible by using fixed date strings. - '(substitute* "configure" - (("^FONTFORGE_MODTIME=.*$") - "FONTFORGE_MODTIME=\"1458399002\"\n") - (("^FONTFORGE_MODTIME_STR=.*$") - "FONTFORGE_MODTIME_STR=\"15:50 CET 19-Mar-2016\"\n") - (("^FONTFORGE_VERSIONDATE=.*$") - "FONTFORGE_VERSIONDATE=\"20160319\"\n"))))) + '(begin + (substitute* "configure" + (("^FONTFORGE_MODTIME=.*$") + "FONTFORGE_MODTIME=\"1458399002\"\n") + (("^FONTFORGE_MODTIME_STR=.*$") + "FONTFORGE_MODTIME_STR=\"15:50 CET 19-Mar-2016\"\n") + (("^FONTFORGE_VERSIONDATE=.*$") + "FONTFORGE_VERSIONDATE=\"20160319\"\n")) + (substitute* "fontforge/tottf.c" + (("at.>head\\.createtime\\[0\\]") "0") + (("at.>head\\.modtime\\[0\\]") "0")))))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- 1.9.1