[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: swig: Build a UTF-8 locale for the tests.
From: |
Mark H. Weaver |
Subject: |
08/08: gnu: swig: Build a UTF-8 locale for the tests. |
Date: |
Tue, 06 Jan 2015 18:42:48 +0000 |
mhw pushed a commit to branch core-updates
in repository guix.
commit 77a39799f9c9f416ba86b80099db2b4040624115
Author: Mark H Weaver <address@hidden>
Date: Tue Jan 6 11:02:25 2015 +0000
gnu: swig: Build a UTF-8 locale for the tests.
* gnu/packages/swig.scm (swig)[arguments]: Add 'install-locales' phase.
---
gnu/packages/swig.scm | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/swig.scm b/gnu/packages/swig.scm
index ce91df5..a978dec 100644
--- a/gnu/packages/swig.scm
+++ b/gnu/packages/swig.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Ludovic Courtès <address@hidden>
+;;; Copyright © 2015 Mark H Weaver <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -53,6 +54,18 @@
;; The python part probably never worked and does not seem to
;; be needed for currently dependent packages.
;; ("python" ,python-wrapper)))
+ (arguments
+ `(#:phases
+ (alist-cons-before
+ 'check 'install-locales
+ (lambda _
+ ;; One of the tests requires the availability of a UTF-8
+ ;; locale and otherwise fails.
+ (setenv "LOCPATH" (getcwd))
+ (zero? (system* "localedef" "--no-archive"
+ "--prefix" (getcwd) "-i" "en_US"
+ "-f" "UTF-8" "./en_US.utf8")))
+ %standard-phases)))
(home-page "http://swig.org/")
(synopsis
"Interface compiler that connects C/C++ code to higher-level languages")
- branch core-updates updated (9b1bf33 -> 77a3979), Mark H. Weaver, 2015/01/06
- 02/08: gnu: mit-krb5: Build with default gcc., Mark H. Weaver, 2015/01/06
- 05/08: gnu: boost: Fix target-system check., Mark H. Weaver, 2015/01/06
- 04/08: gnu: texlive: Fix target-system check., Mark H. Weaver, 2015/01/06
- 06/08: gnu: gawk: Fix target-system check., Mark H. Weaver, 2015/01/06
- 07/08: gnu: icu4c: Avoid use of 'patchelf'; fix build on ARM systems., Mark H. Weaver, 2015/01/06
- 01/08: Merge branch 'master' into core-updates, Mark H. Weaver, 2015/01/06
- 08/08: gnu: swig: Build a UTF-8 locale for the tests.,
Mark H. Weaver <=
- 03/08: gnu: gtk+: Include xorg-server in native-inputs on MIPS; enable tests., Mark H. Weaver, 2015/01/06