summary refs log tree commit diff
diff options
context:
space:
mode:
authoralĂ­rio eyng <alirioeyng@gmail.com>2016-04-07 19:04:07 +0000
committerEric Bavier <bavier@member.fsf.org>2016-04-12 09:39:40 -0500
commit927e176d2ac1ecaf470833f8b664f6c06f552e2a (patch)
treed1fe7233c2d8cad4c6dff20975fd1ad292f34c13
parent1e7bd1ec6e074ca6b0ed2ff4516c675fd48d86f5 (diff)
downloadguix-927e176d2ac1ecaf470833f8b664f6c06f552e2a.tar.gz
gnu: fontforge: Update to 20160404.
* gnu/packages/fontutils.scm (fontforge): Update to 20160404.
  [source](snippet): Remove tottf.c modification.  Update date strings.

Co-authored-by: Eric Bavier <bavier@member.fsf.org>
-rw-r--r--gnu/packages/fontutils.scm17
1 files changed, 6 insertions, 11 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index ff10a4ac73..d64ed71bbf 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -341,30 +341,25 @@ definitions.")
 (define-public fontforge
   (package
    (name "fontforge")
-   (version "20150824")
+   (version "20160404")
    (source (origin
             (method url-fetch)
             (uri (string-append
                   "https://github.com/fontforge/fontforge/releases/download/"
-                  version "/fontforge-" version ".tar.gz"))
+                  version "/fontforge-dist-" version ".tar.gz"))
             (sha256 (base32
-                     "0gfcm8yn1d30giqhdwbchnfnspcqypqdzrxlhqhwy1i18wgl0v2v"))
+                     "1kavnhbkzc1hk6f39fynq9s0haama81ddrbld4b5x60d0dbaawvc"))
             (modules '((guix build utils)))
             (snippet
              '(begin
                ;; Make builds bit-reproducible by using fixed date strings.
                (substitute* "configure"
                  (("^FONTFORGE_MODTIME=.*$")
-                  "FONTFORGE_MODTIME=\"1458399002\"\n")
+                  "FONTFORGE_MODTIME=\"1459819518L\"\n")
                  (("^FONTFORGE_MODTIME_STR=.*$")
-                  "FONTFORGE_MODTIME_STR=\"15:50 CET 19-Mar-2016\"\n")
+                  "FONTFORGE_MODTIME_STR=\"20:25 CDT  4-Apr-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"))))))
+                  "FONTFORGE_VERSIONDATE=\"20160404\"\n"))))))
    (build-system gnu-build-system)
    (native-inputs
     `(("pkg-config" ,pkg-config)))