summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-10 22:39:42 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:13 +0200
commita81eb98484d9dcd00bea4a1b59f03e7b556c8536 (patch)
treea82b2b79c590b4bb9605f573cfa4be64ee82233b
parent1900a22eb36bdb9d9203e894fabb5b9f0fef99bc (diff)
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
-rw-r--r--gnu/packages/fontutils.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 55e2e9739e..8b8a4a02a1 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1685,14 +1685,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))
@@ -1720,7 +1720,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")
@@ -1733,6 +1733,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 _