Commit graph

141852 commits

Author SHA1 Message Date
Maxim Cournoyer
7963b0b3c9
gnu: python-boot0: Name it eponymously.
* gnu/packages/commencement.scm (python-boot0) [name]: Override name.

Change-Id: I00f3a07e9aea9fae3e2ce9c571fa06a95c9bcdb1
2024-08-31 10:44:20 +02:00
Maxim Cournoyer
905256af76
build: agda-build-system: Do not rely on "locales" being present.
A "locales" package is no longer included in the 'standard-packages'
collection, per commit de9d6d12 (gnu: commencement: Remove
‘glibc-utf8-locales’ from ‘%final-inputs’."), which is made because glibc now
embeds a C.UTF8 locale.

* guix/build-system/agda.scm (lower): Remove "locales" implicit input.
* guix/build/agda-build-system.scm (set-locpath): Do not fail when a locales
package is not available.

Change-Id: If14e074e457c625960d70fcaf46c7e829d5d58d1
2024-08-31 10:44:19 +02:00
Maxim Cournoyer
2301a580e5
build: guile-build-system: Remove "locales" implicit input.
This error was introduced by the removal of "locales" from the
standard-packages in commit de9d6d12 (gnu: commencement: Remove
‘glibc-utf8-locales’ from ‘%final-inputs’."), which is made because glibc now
embeds a C.UTF8 locale.

* guix/build-system/guile.scm (lower): Remove the "locales" implicit input.

Change-Id: Id28a95757309aba6a6be89b2c8a6e08847e35f58
2024-08-31 10:44:19 +02:00
Maxim Cournoyer
9be6c34ce7
gnu: imagemagick/stable: Update to 6.9.12-4 and use gexps.
* gnu/packages/imagemagick.scm (imagemagick/stable): Update to 6.9.12-4.
[arguments] Use gexps, strip trailing #t in phases.
[inputs]: Remove labels and sort.

Change-Id: I3c97868a663c44efedcea40a99af933cecb50549
2024-08-31 10:44:19 +02:00
Gabriel Wicki
fc1aa48eb7
gnu: Fix imagemagick webp related failures.
This fixes #48018, as suggested by Saku Laesvuori on the issue tracker.

* gnu/packages/imagemagick.scm (imagemagick/stable)[inputs]: Add libwebp.

Change-Id: I3c02d0fb6c421f7d865b19af359e20068d00b60a
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:19 +02:00
Ludovic Courtès
9f31674fa0
gnu: make: Update to 4.4.1.
* gnu/packages/base.scm (gnu-make): Update to 4.4.1.

Change-Id: I0caff2d3ea008e627544728646fcb066b69775f0
2024-08-31 10:44:19 +02:00
Ludovic Courtès
563538a4e2
gnu: diffutils: Update to 3.10.
* gnu/packages/base.scm (diffutils): Update to 3.10.
* gnu/packages/patches/diffutils-fix-signal-processing.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: I795fa93938f8723090887d33574baa1a392ef42e
2024-08-31 10:44:18 +02:00
Ludovic Courtès
5f238e3e36
gnu: grep: Update to 3.11.
* gnu/packages/base.scm (grep): Update to 3.11.

Change-Id: Ia9d8d4748ab4faffee1f013d55000e11c6b86c11
2024-08-31 10:44:18 +02:00
Ludovic Courtès
b67764c83b
gnu: libunistring: Update to 1.1.
* gnu/packages/libunistring.scm (libunistring): Update to 1.1.

Change-Id: I84dadada119ea4054078e0c9da5cb55d749ef18a
2024-08-31 10:44:18 +02:00
Ludovic Courtès
7032794646
gnu: xz: Update to 5.4.5.
* gnu/packages/compression.scm (xz): Update to 5.4.5.

Change-Id: Ic9b4a19ebe92c2d81fd89d01febf115a69e4adbd
2024-08-31 10:44:18 +02:00
Ludovic Courtès
710cad69ff
gnu: zlib: Update to 1.3.
* gnu/packages/compression.scm (zlib): Update to 1.3.

Change-Id: I4addb22798308819198da18a093581bdb2c4f22d
2024-08-31 10:44:18 +02:00
Ludovic Courtès
a17d2fd464
gnu: libgc: Update to 8.2.4.
* gnu/packages/bdw-gc.scm (libgc): Update to 8.2.4.

Change-Id: If1c6cb52d3ab6f9324c3a80c392c741968f8e2a9
2024-08-31 10:44:17 +02:00
Efraim Flashner
688adbf437
gnu: icedtea-8: Don't build the docs.
* gnu/packages/java.scm (icedtea-8)[arguments]: Add a configure-flag to
skip building the docs.

Change-Id: I4a8cfb869cf38bc879ea72a85e0e783a4a759500
2024-08-31 10:44:17 +02:00
Efraim Flashner
71aef8cbcd
gnu: icedtea-8: Fix building on powerpc-linux.
* gnu/packages/java.scm (icedtea-8)[arguments]: When building for
powerpc-linux add a configure-flag to skip the java flight recorder.

Change-Id: I3b9e137c82766507c46ba7a54dff64c3c50c3685
2024-08-31 10:44:17 +02:00
Ludovic Courtès
8fbae8edf9
gnu: libwebp: Ungraft.
* gnu/packages/image.scm (libwebp): Update to 1.3.2.
[replacement]: Remove.
(libwebp/fixed): Remove.

Change-Id: I39c0e5f9df82322dc8dc0ed6341f08c1ac0749b3
2024-08-31 10:44:17 +02:00
Greg Hogan
43c6a4ea68
gnu: flac: Update to 1.4.3.
* gnu/packages/xiph.scm (flac): Update to 1.4.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:44:17 +02:00
Bruno Victal
7f50bd17a9
gnu: docbook-dsssl: Fix script installation path.
* gnu/packages/docbook.scm (docbook-dsssl)[source]: Fix script permission.
[arguments]<#:install-plan>: Install script and manpage correctly.
[inputs]: Add perl.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:44:17 +02:00
Bruno Victal
cdfbb6240f
gnu: docbook-dsssl: Refactor install-plan.
Replace custom phase with copy-build-system newly added #:output parameter.
Additionally remove extra slashes from license URIs and obsolete inputs.

* gnu/packages/docbook.scm (docbook-dsssl)[source]: Remove empty directories
from source using a snippet.
[arguments]<#:phases>: Relocate 'install-doc logic into …
<#:install-plan>: … here. Remove obsolete exclusion rules.
[native-inputs]: Remove bzip2 and tar since these are already available by
default.
[license]: Remove extraneous slash.
(docbook-dsssl-doc)[license]: Remove extraneous slash.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:44:16 +02:00
Bruno Victal
b3d5e2d252
build: copy-build-system: Allow specifying different output labels.
* guix/build/copy-build-system.scm: Introduce '#:output' parameter to specify
which output label to use for a given rule.
* doc/guix.texi (Build Systems): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:44:16 +02:00
Ludovic Courtès
ccb4a92c34
gnu: openssl@1.1: Ungraft.
* gnu/packages/tls.scm (openssl-1.1): Update to 1.1.1u.
[replacement]: Remove.
(openssl/fixed): Remove.

Change-Id: Idd77b57276ea132eee8c2c3fe801150c7789ac59
2024-08-31 10:44:16 +02:00
Ludovic Courtès
052d12f040
gnu: guile-gnutls: Update to 4.0.0.
* gnu/packages/tls.scm (guile-gnutls): Update to 4.0.0.
[source]: Remove “gnutls-cross.patch”.
[arguments]: Add #:make-flags.
* gnu/packages/patches/gnutls-cross.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: Ic4432e2d5ca37af5aa20cdf7e4e456afe2b37537
2024-08-31 10:44:16 +02:00
Ludovic Courtès
45d66ce8e9
gnu: ghostscript: Ungraft.
* gnu/packages/ghostscript.scm (ghostscript)[source]: Fold extra
patches.
[replacement]: Remove.
(ghostscript/fixed): Remove.

Change-Id: I116d49c308223207382337395a1c6cba83508a0e
2024-08-31 10:44:16 +02:00
Ludovic Courtès
9ebaf6518a
gnu: cups-minimal: Ungraft.
* gnu/packages/cups.scm (cups-minimal): Update to 2.4.7.
[replacement]: Remove.
(cups-minimal/fixed): Remove.

Change-Id: I6359cec26fc5c1fa134c61c76f2fe8581d646ad6
2024-08-31 10:44:13 +02:00
Ludovic Courtès
671db7471e
gnu: gnutls: Ungraft.
* gnu/packages/tls.scm (gnutls): Update to 3.8.3.
[replacement]: Remove.
[home-page]: Adjust.
(gnutls/fixed): Remove.

Change-Id: I592161764ca152140c777625ea6165ca0e31af03
2024-08-31 10:42:49 +02:00
Ludovic Courtès
f6a77c1ab2
build-system/gnu: Turn PID 1 into an “init”-style process by default.
Fixes <https://issues.guix.gnu.org/30948>.

* guix/build/gnu-build-system.scm (separate-from-pid1): New procedure.
(%standard-phases): Add it.
* guix/build-system/gnu.scm (gnu-build): Add #:separate-from-pid1? and
honor it.
(gnu-cross-build): Likewise.

Reported-by: Carlo Zancanaro <carlo@zancanaro.id.au>
Change-Id: I6f3bc8d8186d1a571f983a38d5e3fd178ffa2678
2024-08-31 10:42:49 +02:00
Ludovic Courtès
6538474df7
gnu: glibc: Add patch for ‘ucontext’ on x86_64-gnu (GNU/Hurd).
Suggested by Sergey Bugaev.

* gnu/packages/patches/glibc-2.38-hurd-ucontext.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: Ib74e93f2414eda2ec4b3e01fc2bb67b02838fabb
2024-08-31 10:42:49 +02:00
Ludovic Courtès
6a554dbc0d
gnu: glibc-utf8-locales: Add the C.UTF-8 locale.
* gnu/packages/base.scm (%default-utf8-locales): Add "C".
(make-glibc-utf8-locales): Delete "C" from LOCALES for glibc versions
lower than or equal to 2.35.

Change-Id: I6a6faa68dc18bf0f87c372109a17f476d3561278
2024-08-31 10:42:49 +02:00
Ludovic Courtès
b089f95f14
packages: Output and error ports are line-buffered in ‘patch-and-repack’.
* guix/packages.scm (patch-and-repack): Add ‘setvbuf’ calls.

Change-Id: I039bb6407263d5172bf0bc716bda6860dc2615fb
2024-08-31 10:42:49 +02:00
Ludovic Courtès
949ee85019
profiles: Use C.UTF-8 instead of ‘glibc-utf8-locales’ where possible.
This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3.

* guix/profiles.scm (ca-certificate-bundle)[libc-utf8-locales-for-target]:
Remove.
[build]: Use “C.UTF-8” instead of “en_US.utf8”.
(profile-derivation)[libc-utf8-locales-for-target]: Remove.
[set-utf8-locale]: Rewrite to a gexp that calls ‘setlocale’ for “C.UTF-8”.
* tests/profiles.scm ("profile-derivation, cross-compilation"): Remove
‘locales’ variable and related check.

Change-Id: I7cb148b9149fe5fbe5b9b1b25fdce1002ad1f37e
2024-08-31 10:42:49 +02:00
Ludovic Courtès
92727f4af5
gnu: commencement: Remove ‘glibc-utf8-locales’ from ‘%final-inputs’.
* gnu/packages/commencement.scm (%boot5-inputs): Make an alias for
‘%boot4-inputs’.
(with-boot5): Turn into an alias for ‘with-boot4’.
(%final-inputs): Override ‘native-inputs’ of GAWK.  Remove "locales"
entry.
(canonical-package): Add “glibc-utf8-locales” entry.
* gnu/packages/base.scm (libc-utf8-locales-for-target): Use
‘canonical-package’.
* gnu/packages/gawk.scm (gawk)[native-inputs]: New field.
* gnu/packages/texinfo.scm (texinfo)[native-inputs]: Add
‘libc-utf8-locales-for-target’.

Change-Id: I2283ffc6c6000c98ad2db89c04d581e050667c94
2024-08-31 10:42:49 +02:00
Ludovic Courtès
5b3e996d29
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
2024-08-31 10:42:48 +02:00
Ludovic Courtès
3729099184
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
2024-08-31 10:42:48 +02:00
Efraim Flashner
f645cf65c1
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
2024-08-31 10:42:48 +02:00
Efraim Flashner
2b93fed8fa
gnu: gsl-static: Remove variable.
* gnu/packages/maths.scm (gsl-static): Remove variable.

Change-Id: I20af472e62582b403afa4be80b2d3f725903dabc
2024-08-31 10:42:48 +02:00
Efraim Flashner
53bec65c51
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
2024-08-31 10:42:48 +02:00
Efraim Flashner
09d62629a9
guix: search-paths: Fix obj-c++ search paths.
* guix/search-paths.scm ($OBJCPLUS_INCLUDE_PATH): Also search
'include/c++'.

Change-Id: I403674038c1c3bf1251c710031496363c924f19a
2024-08-31 10:42:48 +02:00
Efraim Flashner
a9136076eb
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
2024-08-31 10:42:48 +02:00
Efraim Flashner
0c9811497e
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
2024-08-31 10:42:48 +02:00
Ludovic Courtès
b6d23fa9c2
gnu: cross-base: Remove ‘install-utf8-c-locale’.
* gnu/packages/cross-base.scm (cross-libc*): Remove
‘install-utf8-c-locale’ phase.

Change-Id: I47cf555548335491f06443dd921a457f458801f4
2024-08-31 10:42:47 +02:00
Ludovic Courtès
28dbfdb38f
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
2024-08-31 10:42:47 +02:00
Ludovic Courtès
4a4508c241
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
2024-08-31 10:42:47 +02:00
Ludovic Courtès
7c575fac52
gnu: glibc: Improve handling of empty .a files.
This partially reverts 3b2de6529b9d77c8a74d431859a3ec334e9603c2, itself
a followup to 25b30622b4.

* 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
2024-08-31 10:42:47 +02:00
Ludovic Courtès
89715460c3
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
2024-08-31 10:42:47 +02:00
Ludovic Courtès
ed0cd12a82
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
2024-08-31 10:42:47 +02:00
Ludovic Courtès
9dbba02382
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
2024-08-31 10:42:47 +02:00
Janneke Nieuwenhuizen
a488866c5f
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>
2024-08-31 10:42:47 +02:00
Ludovic Courtès
61c6d0bdd8
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
2024-08-31 10:42:46 +02:00
Greg Hogan
1487b3f53c
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>
2024-08-31 10:42:46 +02:00
Efraim Flashner
bbef137387
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
2024-08-31 10:42:46 +02:00
Efraim Flashner
b237c8717e
gnu: grep-mesboot: Remove inherited configure-flags.
* gnu/packages/commencement.scm (grep-mesboot)[arguments]: Strip
inherited configure-flags.

Change-Id: Id1e9c0d742aaa978b436073088f92a742ec45272
2024-08-31 10:42:46 +02:00