diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-01-04 10:30:27 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:24 +0200 |
| commit | 5c8bd1d8372377494f7d83e1df1c482c200377bf (patch) | |
| tree | 72a6fca38061df864fc52044a7b8754f1ad2c281 /gnu/packages/gettext.scm | |
| parent | 15209c78f2a559d2742019802a39de755365572e (diff) | |
gnu: Add gettext-minimal-0.21.
* gnu/packages/patches/gettext-libunicode-update.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gettext.scm (gettext-minimal-0.21): Use it in new variable.
Change-Id: Ie4cb151229b9a69bec90d50f56618b4ae7c6ca12
Diffstat (limited to 'gnu/packages/gettext.scm')
| -rw-r--r-- | gnu/packages/gettext.scm | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 9d562cb05c3..334e533c370 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019 Miguel <rosen644835@gmail.com> -;;; Copyright © 2020, 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org> +;;; Copyright © 2020, 2023, 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2020 EuAndreh <eu@euandre.org> ;;; Copyright © 2022, 2024, 2025 gemmaro <gemmaro.dev@gmail.com> ;;; Copyright © 2023 Maxim Cournoyer maxim.cournoyer@gmail.com> @@ -158,6 +158,31 @@ translated messages from the catalogs. Nearly all GNU packages use Gettext.") (cpe-name . "gettext"))) (license gpl3+))) ;some files are under GPLv2+ +(define-public gettext-minimal-0.21 + (package/inherit gettext-minimal + (version "0.21") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gettext/gettext-" + version ".tar.gz")) + (sha256 + (base32 + "04kbg1sx0ncfrsbr85ggjslqkzzb243fcw9nyh3rrv1a22ihszf7")) + (patches (search-patches "gettext-libunicode-update.patch")))) + (arguments + (substitute-keyword-arguments (package-arguments gettext-minimal) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'touch-test + (lambda _ + (with-output-to-file "gettext-tools/gnulib-tests/test-execute.sh" + (lambda _ (display ""))))) + (add-before 'check 'patch-test + (lambda _ + ;; This test fails with ggc-14. + (substitute* "gettext-tools/tests/xgettext-javascript-6" + (("^#!.*" all) (string-append all "exit 77;\n"))))))))))) + ;; Use that name to avoid clashes with Guile's 'gettext' procedure. ;; ;; We used to resort to #:renamer on the user side, but that prevented |
