~ruther/guix-local

5b3e996d — Ludovic Courtès 2 years ago
build-system/gnu: Change default locale to C.UTF-8.

This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3.

* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): #:locale now
defaults to "C.UTF-8".
* guix/build/gnu-build-system.scm (install-locale): Likewise.
* gnu/packages/linux.scm (util-linux)[arguments]: In ‘pre-check’ phase,
remove ‘invalid-multibyte’ modification so the test runs under C.UTF-8.

Change-Id: I9a4bfe564bcd8bbd0d57ba04568eb6b8020bd051
37290991 — Ludovic Courtès 2 years ago
packages: Remove reference to ‘glibc-utf8-locales’ in ‘patch-and-repack’.

This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3.

* guix/packages.scm (%standard-patch-inputs): Remove “locales” entry.
(patch-and-repack): Remove ‘locales’ variable.
[build]: Remove reference to ‘locales’.  Use “C.UTF-8” unconditionally.

Change-Id: I54219b232880e05534599fbba8738cc00fb5d568
f645cf65 — Efraim Flashner 2 years ago
gnu: file: Fix building on 32-bit systems.

* gnu/packages/file.scm (file)[source]: Add patch.
* gnu/packages/patches/file-32bit-time.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I9511769647147eb79db2babaaa606816d77fadad
2b93fed8 — Efraim Flashner 2 years ago
gnu: gsl-static: Remove variable.

* gnu/packages/maths.scm (gsl-static): Remove variable.

Change-Id: I20af472e62582b403afa4be80b2d3f725903dabc
53bec65c — Efraim Flashner 2 years ago
gnu: gsl: Provide static library in separate output.

* gnu/packages/maths.scm (gsl)[outputs]: New field.
[arguments]: Remove configure-flag disabling static library.  Add
make-flag to produce PIC output.  Add a phase to move the static
libraries into the static output.

Change-Id: I4c5dddb8d384f4e2f82122b239da44350bacf57a
09d62629 — Efraim Flashner 2 years ago
guix: search-paths: Fix obj-c++ search paths.

* guix/search-paths.scm ($OBJCPLUS_INCLUDE_PATH): Also search
'include/c++'.

Change-Id: I403674038c1c3bf1251c710031496363c924f19a
a9136076 — Efraim Flashner 2 years ago
gnu: clang-from-llvm: Use gcc's search paths.

* gnu/packages/llvm.scm (clang-from-llvm)[native-search-paths]: Use
%gcc-search-paths.

Change-Id: I777cab55e8a1931502a537c0680608d7d6b5b715
0c981149 — Efraim Flashner 2 years ago
gnu: gcc: Support objc, objc++ by default.

* gnu/packages/gcc.scm (gcc-4.7)[configure-flags]: Adjust the
enable-languages flag to also enable objc, obj-c++.
(gcc-objc-4.8, gcc-objc-4.9, gcc-objc-5, gcc-objc-6, gcc-objc-7,
gcc-objc-8, gcc-objc-9, gcc-objc-10, gcc-objc-11, gcc-objc-12, gcc-objc,
gcc-objc++-4.8, gcc-objc++-4.9, gcc-objc++-5, gcc-objc++-6,
gcc-objc++-7, gcc-objc++-8, gcc-objc++-9, gcc-objc++-10, gcc-objc++-11,
gcc-objc++-12, gcc-objc++, %objc-search-paths, %objc++-search-paths):
Remove variables.
* guix/search-paths.scm ($OBJC_INCLUDE_PATH, $OBJCPLUS_INCLUDE_PATH):
New variables.
(%gcc-search-paths): Include $OBJC_INCLUDE_PATH, $OBJCPLUS_INCLUDE_PATH.

Change-Id: Ib4cd176eb88c733a82f2d31e8cc45b9c61720f8f
b6d23fa9 — Ludovic Courtès 2 years ago
gnu: cross-base: Remove ‘install-utf8-c-locale’.

* gnu/packages/cross-base.scm (cross-libc*): Remove
‘install-utf8-c-locale’ phase.

Change-Id: I47cf555548335491f06443dd921a457f458801f4
28dbfdb3 — Ludovic Courtès 2 years ago
build-system/gnu: Introduce ‘%gnu-build-system-modules’ deprecated alias.

This is a followup to 9e4ce281dbd92e3c52b831824ebb1f77023c960c.

* guix/build-system/gnu.scm (%gnu-build-system-modules): New deprecated
alias.

Change-Id: Ia40c9920b2927ac00660647ab1a475e2a6d5b787
4a4508c2 — Ludovic Courtès 2 years ago
gnu: cross-base: Let glibc use the right Binutils programs.

This replaces ‘glibc-cross-objdump.patch’ and
‘glibc-cross-objcopy.patch’ (not applied to glibc@2.38): these patches
were committed upstream and later reverted on the grounds that ‘gcc
-print-prog-name=objdump’ should find the cross ‘objdump’:

  https://inbox.sourceware.org/libc-alpha/d72f5f6f-cc3a-bd89-0800-ffb068928e0f@linaro.org/t/

* gnu/packages/cross-base.scm (cross-libc*): Add
‘add-cross-binutils-to-PATH’ phase.

Change-Id: I38dc7a6134177ec73313c0a9c8b0a12c85c60e26
7c575fac — Ludovic Courtès 2 years ago
gnu: glibc: Improve handling of empty .a files.

This partially reverts 3b2de6529b9d77c8a74d431859a3ec334e9603c2, itself
a followup to 25b30622b4a77cd4b2965b9d62fa310a22413d54.

* gnu/packages/base.scm (glibc)[arguments]: In ‘move-static-libs’ phase,
remove ‘empty-static-libraries’ variable and rewrite
‘empty-static-library?’ to check file type and size.
* gnu/packages/commencement.scm (make-gcc-toolchain): Remove ‘copy-file’
call to create ‘librt.a’.

Change-Id: I33c6825d5b1e6e790dfff494bac1da07d3389e77
89715460 — Ludovic Courtès 2 years ago
gnu: glibc: Ensure C.UTF-8 locale is always found.

This change ensures that $prefix/lib/locale, which now contains C.UTF-8
data, is always searched.  Thus, “setlocale (LC_ALL, "C.UTF-8")” is
guaranteed to always succeed.

* gnu/packages/patches/glibc-2.37-versioned-locpath.patch: Adjust.

Change-Id: I6aaf2757da98e811aa55e0959126065537cd8970
ed0cd12a — Ludovic Courtès 2 years ago
gnu: glibc: Install C.UTF-8 locale.

* gnu/packages/base.scm (glibc)[arguments]: Add ‘install-utf8-c-locale’
phase.
(glibc-2.35)[arguments]: Delete ‘install-utf8-c-locale’ phase.
(glibc-2.33, glibc-2.32, glibc-2.31): Inherit from ‘glibc-2.35’.

Change-Id: I7ba515184c7b7c40eaefd355639ffef8eeca66d8
9dbba023 — Ludovic Courtès 2 years ago
gnu: glibc: Update to 2.38.

* gnu/packages/patches/glibc-2.38-ldd-x86_64.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc): Update to 2.38.
[source]: Adjust list of patches.
[arguments]: Add ‘--enable-crypt’.
(glibc-2.35): New variable.

Change-Id: I040b724c47d2ee5f90f2deb03a4828e79d1bfc4e
a488866c — Janneke Nieuwenhuizen 2 years ago
gnu: mpfr: Update to 4.2.1.

This fixes building mpfr with glibc-2.38.

* gnu/packages/multiprecision.scm (mpfr): Update to 4.2.1.

Change-Id: Ib8a8eecc9e72587e0fc1b8b0ee965aa274b85c7b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
61c6d0bd — Ludovic Courtès 2 years ago
gnu: glibc-utf8-locales: Generalize and use gexps.

Previously code was dependent on the ‘name’ field of the GLIBC package.

* gnu/packages/base.scm (make-glibc-utf8-locales): Use gexps.  Replace
references to ‘%build-inputs’ by calls to ‘which’.  Replace reference to
‘version’ by (package-version this-package).

Change-Id: I1e7003047aa85df74069b233191ab331b5f887b6
1487b3f5 — Greg Hogan 2 years ago
gnu: gcc@11: Update to 11.4.0.

* gnu/packages/gcc.scm (gcc-11): Update to 11.4.0.
Remove ‘gcc-10-tree-sra-union-handling.patch’.

Change-Id: Iff8c9151326c87cb13db9c5b1a00c44b8eef95e3
Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
bbef1373 — Efraim Flashner 2 years ago
gnu: grep-final: Adjust for changes in grep.

* gnu/packages/commencement.scm (grep-final)[arguments]: Strip inherited
configure-flags.
[inputs]: Remove inherited pcre2, not pcre.

Change-Id: Ib912430712b3d4dfea4854e563e4efb4ae5e3e45
b237c871 — Efraim Flashner 2 years ago
gnu: grep-mesboot: Remove inherited configure-flags.

* gnu/packages/commencement.scm (grep-mesboot)[arguments]: Strip
inherited configure-flags.

Change-Id: Id1e9c0d742aaa978b436073088f92a742ec45272
Next