summaryrefslogtreecommitdiff
path: root/gnu/packages/gettext.scm
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-05 08:30:11 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:11 +0200
commit7d85f941576189d30cb26dc0d7ecf3c4a0235994 (patch)
treeb631e2991ed62fb39ae2211e96dcdcf4708b7410 /gnu/packages/gettext.scm
parent3fd95c21c33eeded95ea2a3a0979cc96f462bc2b (diff)
gnu: gettext: Update to 0.23.
* gnu/packages/patches/gettext-libunicode-update.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Unregister. * gnu/packages/gettext.scm (gettext-minimal): Update to 0.23. [source]: Remove patch. [arguments]: In phase "patch-tests", skip gnulib test "test-execute.sh". Change-Id: Ibac01c139e135c3a9c13f9077b4fbc6a7db93207
Diffstat (limited to 'gnu/packages/gettext.scm')
-rw-r--r--gnu/packages/gettext.scm19
1 files changed, 8 insertions, 11 deletions
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index 4c6fef6be62..9d562cb05c3 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -55,15 +55,14 @@
55(define-public gettext-minimal 55(define-public gettext-minimal
56 (package 56 (package
57 (name "gettext-minimal") 57 (name "gettext-minimal")
58 (version "0.21") 58 (version "0.23")
59 (source (origin 59 (source (origin
60 (method url-fetch) 60 (method url-fetch)
61 (uri (string-append "mirror://gnu/gettext/gettext-" 61 (uri (string-append "mirror://gnu/gettext/gettext-"
62 version ".tar.gz")) 62 version ".tar.gz"))
63 (sha256 63 (sha256
64 (base32 64 (base32
65 "04kbg1sx0ncfrsbr85ggjslqkzzb243fcw9nyh3rrv1a22ihszf7")) 65 "19h717qnmg01499gi3494z9l2ss12cp60405ml473p82580dfpcl"))))
66 (patches (search-patches "gettext-libunicode-update.patch"))))
67 (build-system gnu-build-system) 66 (build-system gnu-build-system)
68 (outputs '("out" 67 (outputs '("out"
69 "doc")) ;9 MiB of HTML 68 "doc")) ;9 MiB of HTML
@@ -89,13 +88,13 @@
89 (substitute* '("gettext-tools/src/project-id" 88 (substitute* '("gettext-tools/src/project-id"
90 "gettext-tools/projects/KDE/trigger" 89 "gettext-tools/projects/KDE/trigger"
91 "gettext-tools/projects/GNOME/trigger") 90 "gettext-tools/projects/GNOME/trigger")
92 (("/bin/pwd") "pwd")) 91 (("/bin/pwd") "pwd"))))
93 #t))
94 (add-before 'check 'patch-tests 92 (add-before 'check 'patch-tests
95 (lambda* (#:key inputs #:allow-other-keys) 93 (lambda* (#:key inputs #:allow-other-keys)
96 ;; This test fails 94 ;;libgettextlib-0.23.so => not found
97 (substitute* "gettext-tools/tests/xgettext-javascript-6" 95 (substitute* "gettext-tools/gnulib-tests/test-execute.sh"
98 (("^#!.*" all) (string-append all "exit 77;\n"))) 96 (("^#!.*" all)
97 (string-append all "exit 77;\n")))
99 (let* ((bash (which "sh"))) 98 (let* ((bash (which "sh")))
100 ;; Some of the files we're patching are 99 ;; Some of the files we're patching are
101 ;; ISO-8859-1-encoded, so choose it as the default 100 ;; ISO-8859-1-encoded, so choose it as the default
@@ -131,9 +130,7 @@
131 "gettext-tools/gnulib-tests/Makefile.in" 130 "gettext-tools/gnulib-tests/Makefile.in"
132 ;; See 'coreutils' for the rationale. 131 ;; See 'coreutils' for the rationale.
133 ((" test-tls\\$\\(EXEEXT\\) ") " "))) 132 ((" test-tls\\$\\(EXEEXT\\) ") " ")))
134 '()) 133 '())))))
135
136 #t))))
137 #$@(if (%current-target-system) 134 #$@(if (%current-target-system)
138 #~((add-after 'install 'patch-cross-shebangs 135 #~((add-after 'install 'patch-cross-shebangs
139 (lambda _ 136 (lambda _