[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/65: gnu: Add libc-locales-for-target and glibc-locales/hurd.
From: |
guix-commits |
Subject: |
64/65: gnu: Add libc-locales-for-target and glibc-locales/hurd. |
Date: |
Fri, 14 Jul 2023 10:06:09 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 2c9fca8d7c6407dd935e829d961ba966e83a0250
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")
- 27/65: gnu: curl: Skip failing test on the Hurd., (continued)
- 27/65: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 25/65: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/14
- 34/65: gnu: cairo: Support building for the Hurd., guix-commits, 2023/07/14
- 35/65: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/07/14
- 36/65: gnu: ruby-2.6: Skip test on the Hurd., guix-commits, 2023/07/14
- 39/65: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/07/14
- 42/65: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/07/14
- 51/65: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/07/14
- 55/65: build: Build gnu/packages/*.go in five steps., guix-commits, 2023/07/14
- 60/65: gnu: guix: Update to 1.4.0-9.5165f041af., guix-commits, 2023/07/14
- 64/65: gnu: Add libc-locales-for-target and glibc-locales/hurd.,
guix-commits <=
- 21/65: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/07/14
- 30/65: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/07/14
- 38/65: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/07/14
- 41/65: gnu: cmake-minimal: Skip tests on the Hurd., guix-commits, 2023/07/14
- 44/65: gnu: guile-git: Skip http proxy test on the Hurd., guix-commits, 2023/07/14
- 45/65: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/14
- 43/65: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/14
- 54/65: gnu: hurd: Support native build on the Hurd., guix-commits, 2023/07/14
- 47/65: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/07/14
- 56/65: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/14