[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
65/66: gnu: Add libc-locales-for-target and glibc-locales/hurd.
From: |
guix-commits |
Subject: |
65/66: gnu: Add libc-locales-for-target and glibc-locales/hurd. |
Date: |
Fri, 14 Jul 2023 17:56:46 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit a44ffbc5b3fa4e6e0dce8271281556e6f57e5275
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")
- 44/66: gnu: graphite2: Skip test on the Hurd., (continued)
- 44/66: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/14
- 46/66: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/14
- 47/66: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/07/14
- 49/66: gnu: pango: Support build for the Hurd., guix-commits, 2023/07/14
- 48/66: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/07/14
- 50/66: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/14
- 55/66: gnu: hurd: Support native build on the Hurd., guix-commits, 2023/07/14
- 60/66: gnu: guix: Update to 1.4.0-8.51376bc6f6., guix-commits, 2023/07/14
- 63/66: DRAFT hurd-boot: Support second boot., guix-commits, 2023/07/14
- 66/66: locale: Set %default-locale-definitions to glibc/hurd on the Hurd., guix-commits, 2023/07/14
- 65/66: gnu: Add libc-locales-for-target and glibc-locales/hurd.,
guix-commits <=
- 23/66: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 24/66: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/07/14
- 33/66: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/14
- 34/66: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/14
- 19/66: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/14
- 20/66: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/14
- 22/66: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/07/14
- 25/66: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 26/66: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/14
- 27/66: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/14