mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: fontforge: Make builds bit-reproducible.
* gnu/packages/fontutils.scm (fontforge)[source](snippet, modules): New fields.
This commit is contained in:
parent
56586557dd
commit
329a702634
1 changed files with 11 additions and 1 deletions
|
@ -360,7 +360,17 @@ (define-public fontforge
|
|||
"https://github.com/fontforge/fontforge/releases/download/"
|
||||
version "/fontforge-" version ".tar.gz"))
|
||||
(sha256 (base32
|
||||
"0gfcm8yn1d30giqhdwbchnfnspcqypqdzrxlhqhwy1i18wgl0v2v"))))
|
||||
"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")))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
|
|
Loading…
Reference in a new issue