[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/58: gnu: Add libc-locales-for-target and glibc-locales/hurd.
From: |
guix-commits |
Subject: |
57/58: gnu: Add libc-locales-for-target and glibc-locales/hurd. |
Date: |
Wed, 19 Jul 2023 03:00:53 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit c4a7ade49e40cf08245293e549183240daade62b
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Jun 7 19:19:01 2023 +0200
gnu: Add libc-locales-for-target and glibc-locales/hurd.
* gnu/packages/base.scm (glibc-locales/hurd): New variable
(libc-locales-for-target): Use it in new procedure.
(glibc-utf8-locales/hurd): New variable.
(libc-utf8-locales-for-target): Use it in new procedure.
---
gnu/packages/base.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 1fdfaf8a57..8cf2682fac 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -77,6 +77,8 @@
#:use-module (srfi srfi-26)
#:export (glibc
libc-for-target
+ libc-locales-for-target
+ libc-utf8-locales-for-target
make-ld-wrapper
libiconv-if-needed))
@@ -1504,6 +1506,31 @@ command.")
(_
glibc)))
+(define-public glibc-locales/hurd
+ (make-glibc-locales glibc/hurd))
+
+(define* (libc-locales-for-target #:optional
+ (target (or (%current-target-system)
+ (%current-system))))
+ (match target
+ ((? target-hurd?)
+ glibc-locales/hurd)
+ (_
+ glibc-locales)))
+
+(define-public glibc-utf8-locales/hurd
+ (hidden-package
+ (make-glibc-utf8-locales glibc/hurd)))
+
+(define* (libc-utf8-locales-for-target #:optional
+ (target (or (%current-target-system)
+ (%current-system))))
+ (match target
+ ((? target-hurd?)
+ glibc-utf8-locales/hurd)
+ (_
+ glibc-utf8-locales)))
+
(define-public tzdata
(package
(name "tzdata")
- 42/58: gnu: glib: Disable tests for the Hurd., (continued)
- 42/58: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/19
- 58/58: locale: Set %default-locale-definitions to glibc/hurd on the Hurd., guix-commits, 2023/07/19
- 26/58: gnu: ruby-2.6: Skip test on the Hurd., guix-commits, 2023/07/19
- 29/58: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/07/19
- 33/58: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/19
- 49/58: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/19
- 45/58: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/19
- 53/58: gnu: guix: Update to 1.4.0-9.2a8bf3da1e., guix-commits, 2023/07/19
- 38/58: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/19
- 51/58: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/19
- 57/58: gnu: Add libc-locales-for-target and glibc-locales/hurd.,
guix-commits <=
- 54/58: DRAFT hurd: Support second boot., guix-commits, 2023/07/19
- 09/58: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/19
- 13/58: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/07/19
- 14/58: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 16/58: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 18/58: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/19
- 30/58: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/07/19
- 40/58: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/07/19
- 52/58: gnu: guix: Update to 1.4.0-8.c0b1d7aac7., guix-commits, 2023/07/19