From: "alírio eyng" <alirioeyng@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: fontforge: Build fonts bit-reproducibly.
Date: Wed, 23 Mar 2016 13:21:08 +0000 [thread overview]
Message-ID: <CALkz57FAZLDGKr1qiDQKiiDAH-af9-bwgJQsxzjC4Rw8xKJ_PQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0001-gnu-fontforge-Build-fonts-bit-reproducibly.patch --]
[-- Type: text/x-patch, Size: 1805 bytes --]
From 701b9711b870ad4abdbea17616c98a456b93f86d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?al=C3=ADrio=20eyng?= <alirioeyng@gmail.com>
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
next reply other threads:[~2016-03-23 13:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-23 13:21 alírio eyng [this message]
2016-03-23 22:21 ` [PATCH] gnu: fontforge: Build fonts bit-reproducibly Ludovic Courtès
2016-03-24 6:43 ` alírio eyng
2016-03-31 22:05 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALkz57FAZLDGKr1qiDQKiiDAH-af9-bwgJQsxzjC4Rw8xKJ_PQ@mail.gmail.com \
--to=alirioeyng@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.