[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: fontforge: Build fonts bit-reproducibly.
From: |
Ludovic Courtès |
Subject: |
07/07: gnu: fontforge: Build fonts bit-reproducibly. |
Date: |
Thu, 31 Mar 2016 22:05:50 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 52af45adeb13d5ca4757ad8e2e4388de265b3de3
Author: alÃrio eyng <address@hidden>
Date: Thu Mar 24 06:17:04 2016 +0000
gnu: fontforge: Build fonts bit-reproducibly.
* gnu/packages/fontutils.scm (fontforge)[source](snippet): Modify
tottf.c.
Co-authored-by: Ludovic Courtès <address@hidden>
---
gnu/packages/fontutils.scm | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 34f391e..ff10a4a 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -351,14 +351,20 @@ definitions.")
"0gfcm8yn1d30giqhdwbchnfnspcqypqdzrxlhqhwy1i18wgl0v2v"))
(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
+ ;; 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"))
+
+ ;; Make TTF builds bit-reproducible by clearing the timestamp
+ ;; that goes in TTF files.
+ (substitute* "fontforge/tottf.c"
+ (("cvt_unix_to_1904\\(now") "cvt_unix_to_1904(0"))))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
- branch master updated (b5afe6f -> 52af45a), Ludovic Courtès, 2016/03/31
- 04/07: cvs: Disable compression., Ludovic Courtès, 2016/03/31
- 05/07: gnu: Add gnu-standards., Ludovic Courtès, 2016/03/31
- 03/07: cvs: Allow checkouts when /tmp is a different device., Ludovic Courtès, 2016/03/31
- 01/07: profiles: Use the right 'package-name->name+version'., Ludovic Courtès, 2016/03/31
- 02/07: gnu: font-gnu-freefont-ttf: Update to 20120503 and build from source., Ludovic Courtès, 2016/03/31
- 06/07: gnu: move miscfiles into gnu-doc.scm, Ludovic Courtès, 2016/03/31
- 07/07: gnu: fontforge: Build fonts bit-reproducibly.,
Ludovic Courtès <=