guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

37/74: gnu: fontforge: Update to 20230101 and fix build with gettext-0.2


From: guix-commits
Subject: 37/74: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23.
Date: Sun, 15 Dec 2024 10:03:19 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit d2294ecabc5dfebbbbefd66264b04b5ef2d5cb51
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 10 22:39:42 2024 +0100

    gnu: fontforge: Update to 20230101 and fix build with gettext-0.23.
    
    * gnu/packages/fontutils.scm (fontforge): Update to 20230101.
    [arguments]: Add stage "do-not-use-msgfmt--check".
    
    Change-Id: I2e4e347e86a32963ac7b927be3bc9235dc326fd6
---
 gnu/packages/fontutils.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index c7443fe1a1..40e58585c6 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1618,14 +1618,14 @@ definitions.")
 (define-public fontforge
   (package
     (name "fontforge")
-    (version "20220308")
+    (version "20230101")
     (source (origin
               (method url-fetch)
               (uri (string-append
                     "https://github.com/fontforge/fontforge/releases/download/";
                     version "/fontforge-" version ".tar.xz"))
               (sha256
-               (base32 
"0ncfc4ajwy4ng6b6h79w52jh9z3lngvf3f3ldi1wzkhcg9zh3r01"))))
+               (base32 
"1y30bk9rdya8bkw4q77y6nq5xfg7nm0qliz5miqdlk8c0r6fr0na"))))
     (build-system cmake-build-system)
     (native-inputs
      (list pkg-config))
@@ -1653,7 +1653,7 @@ definitions.")
            zlib))
     (arguments
      (list
-      #:configure-flags #~'( ;; TODO: Provide GTK+ for the Wayland-friendly GDK
+      #:configure-flags #~`(;; TODO: Provide GTK+ for the Wayland-friendly GDK
                             ;; backend, instead of the legacy X11 backend.
                             ;; Currently it introduces a circular dependency.
                             "-DENABLE_X11=ON")
@@ -1666,6 +1666,12 @@ definitions.")
               (substitute* "CMakeLists.txt"
                 (("^set_default_rpath\\(\\)")
                  ""))))
+          (add-after 'unpack 'do-not-use-msgfmt--check
+            (lambda _
+              ;; msgfmt --check from gettext-0.23 fails on fr.po:
+              ;; 'msgstr' is not a valid C format string
+              (substitute* "po/CMakeLists.txt"
+                ((" --check") ""))))
           #$@(if (target-hurd?)
                  #~((add-after 'unpack 'apply-hurd-patch
                       (lambda _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]