Commit graph

141943 commits

Author SHA1 Message Date
Josselin Poiret
828daf0ab0
gnu: zig: Remove unneeded librt patch.
* gnu/packages/patches/zig-do-not-link-against-librt.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Unregister.
* gnu/packages/zig.scm (zig-0.9, zig-0.10): Remove patch.

Change-Id: Ifc6c811671827aeb8ae4c191020ef724847abebe
2024-08-31 10:44:25 +02:00
Ludovic Courtès
e87060ff6d
gnu: ruby@2.7: Ungraft.
* gnu/packages/ruby.scm (ruby-2.7): Update to 2.7.8.
[replacement]: Remove.
(ruby-2.7-fixed): Remove.

Change-Id: I96c8542f606dddda75fcf897dac8a38d6d4d7051
2024-08-31 10:44:25 +02:00
Ludovic Courtès
96f602b88c
gnu: libvpx: Ungraft.
* gnu/packages/video.scm (libvpx)[replacement]: Remove.
[source](patches): Add “libvpx-CVE-2023-5217.patch”.
(libvpx/fixed): Remove.

Change-Id: I6de247a0fe7e8e09772513386cd0696bebe34afd
2024-08-31 10:44:25 +02:00
Ludovic Courtès
4748d947f7
gnu: inetutils: Update to 2.5.
* gnu/packages/admin.scm (inetutils): Update to 2.5.

Change-Id: I345c27f45a1d00c27c0acda82dee96077002acef
2024-08-31 10:44:25 +02:00
Ludovic Courtès
ebf95b5a77
gnu: shadow: Remove input labels.
* gnu/packages/admin.scm (shadow)[arguments]: In ‘set-runtime-shell’,
use ‘search-input-file’.
[inputs]: Remove labels.

Change-Id: I1ce9d93f425c77f901d8e21b37d1a069824cab45
2024-08-31 10:44:25 +02:00
Ludovic Courtès
bb5a447992
gnu: meson: Update to 1.1.1 and ungraft.
* gnu/packages/build-tools.scm (meson): Update to 1.1.1.
[replacement]: Remove.
(meson/newer): Remove.
(meson-python/newer): Remove.
* gnu/packages/pdf.scm (capypdf)[arguments]: Remove #:meson.

Change-Id: I77dd9203461e8dd635753ec742bd8046dd63e3f9
* gnu/packages/python-science.scm (python-pandas-2): Use regular meson-python.
* gnu/packages/python-xyz.scm (python-contourpy): Same
2024-08-31 10:44:25 +02:00
Ludovic Courtès
c89d2bcceb
gnu: dfc: Remove input labels.
* gnu/packages/admin.scm (dfc)[native-inputs]: Remove label.

Change-Id: I2f67a109a9ebada64457241adffd1d57e9cba3b6
2024-08-31 10:44:24 +02:00
Ludovic Courtès
550a8fdb06
gnu: daemonize: Fix typo in description.
* gnu/packages/admin.scm (daemonize)[description]: Fix trpo.

Change-Id: I60023e7c6d3a6422bb6d44cb0633b6bbdc76938e
2024-08-31 10:44:24 +02:00
Ludovic Courtès
69663cdfa4
gnu: hurd: Prettify origin file names.
* gnu/packages/hurd.scm (hurd-headers): Drop “v” from ‘version’ string.
(dde-sources): Strip COMMIT in ‘file-name’ field.
(rumpkernel)[source]: Pass VERSION rather than COMMIT to ‘git-file-name’.

Change-Id: I403048d5ba79ef410383c567157aca416843a529
2024-08-31 10:44:24 +02:00
Janneke Nieuwenhuizen
3ed5c6d943
gnu: guix: Fix for cross build.
This is a follow-up to commit
    7f917fefab
    gnu: guix: Add guile-semver.

It fixes

    [ 10%] LOAD     guix/import/crate.scm
    Failed to autoload semver-range-contains? in (semver ranges):
    ;;; no code for module (semver ranges)
    ;;; Failed to autoload semver-range-contains? in (semver ranges):
    ;;; no code for module (semver ranges)
    [..]
    make[2]: Leaving directory '/tmp/guix-build-guix-1.4.0-16.aeb4943.drv-0/source'
    make[1]: *** [Makefile:6146: all-recursive] Error 1

* gnu/packages/package-management.scm (guix)[native-inputs]: Add guile-semver.

Change-Id: I5cce0f1912e4d9810fcffb3e549c57d5ba68e31b
2024-08-31 10:44:24 +02:00
Janneke Nieuwenhuizen
febb860511
gnu: hurd-headers: Update to v0.9.git20231217.
* gnu/packages/hurd.scm (hurd-headers): Update to v0.9.git20231217.

Change-Id: I1d9739ba912e425e66accfcb56a91ac8efc4fe7c
2024-08-31 10:44:24 +02:00
Janneke Nieuwenhuizen
a036102c18
gnu: gnumach-headers: Update to v1.8+git20230410.
* gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20230410.

Change-Id: I2ca1efb8610bbd2fa85b44c60ae065f0323b552c
2024-08-31 10:44:24 +02:00
Janneke Nieuwenhuizen
69581a541a
gnu: glibc/hurd: Update to 2.38.
* gnu/packages/base.scm (glibc/hurd): Define to glibc.

Change-Id: I4c07ba3971dfe6bfba07e943648420b603c40e29
2024-08-31 10:44:24 +02:00
Ludovic Courtès
a84b5f9230
gnu: cross-base: Build cross-compilers with ‘--enable-languages=c,c++’.
This fixes a regression introduced in
d21d596f72ad491937123980e65d3efedc903bd6 where the cross-compiler would
fail to build with:

  checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  make[1]: *** [Makefile:13129: configure-target-libobjc] Error 1

* gnu/packages/cross-base.scm (cross-gcc-arguments): Clear
‘--enable-languages’ flag unconditionally.

Change-Id: I2bb38bac42e0791cad617893343c0d3dfc963450
2024-08-31 10:44:24 +02:00
Ludovic Courtès
c24db4693f
gnu: binutils-gold: Fix typo.
Fixes a regression introduced in
8e9573784f06ec2af96f9298c6dd4346688888fb.

* gnu/packages/base.scm (binutils-gold): Use ‘unquote-splicing’ for the
optional ‘skip-gold-testsuite’ phase.

Change-Id: Ia08dfe66496aaf2c05df6d3832557f9856ad84a8
2024-08-31 10:44:23 +02:00
Janneke Nieuwenhuizen
0570c7e7d7
gnu: git-minimal: Fix cross build.
This is a follow-up to

    aae7b00d52275619e7676e948bf286d2a1ffbdb2
    gnu: git: Remove labels and use gexps.

* gnu/packages/version-control.scm (git-minimal)[arguments]: Use #+ to access
native-inputs for bash-minimal and bash.

Change-Id: I6b4cb18123d6f98bda84726b99531c88542be12d
2024-08-31 10:44:23 +02:00
Ekaitz Zarraga
3d8a838d91
gnu: tcc-boot0: Update to 0.9.26-1149-g46a75d0c.
* gnu/packages/commencement.scm (tcc-boot0): Update to
0.9.26-1149-g46a75d0c.
[supported-systems]: Add riscv64-linux.

Change-Id: I5de3e0a36366d57722e380edeedd389f3cf36f98
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-08-31 10:44:23 +02:00
Ekaitz Zarraga
8df35ea55c
gnu: mes-boot: Update to 0.25.1.
* gnu/packages/commencement.scm(mes-boot): Update to 0.25.1.
[arguments]: Adjust the 'configure phase to allow for other systems.
Adjust the 'build phase.
[supported-systems]: Add riscv64-linux.

Change-Id: I262a8b6855e8c6528969d0c4b69a42cd2f477f2d
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-08-31 10:44:23 +02:00
Ekaitz Zarraga
129b07dbf3
gnu: stage0-posix: Update to 1.6.0
In 1.6.0 we have all the inputs merged in the tarball so we don't need
to add extra inputs in separate tarballs.

* gnu/packages/commencement (bootstrap-seeds): Remove it.
(stage0-posix): Update to 1.6.0 and use the sub-packages from the
tarball.  Simplify the build phase.

Change-Id: Ic025335ecc66acecbc0a928995a07e521aeb7742
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-08-31 10:44:23 +02:00
Ludovic Courtès
77ee97628a
gnu: binutils: Use gexps.
This is the result of applying ‘guix style -S arguments’ and making
small adjustments.

* gnu/packages/base.scm (binutils)[arguments]: Use gexps.
(binutils-2.33, binutils-gold): Likewise.
* gnu/packages/commencement.scm (binutils-mesboot0, binutils-mesboot1)
(binutils-boot0, binutils-final): Likewise.
* gnu/packages/cross-base.scm (cross-binutils*): Adjust accordingly.
* gnu/packages/embedded.scm (make-propeller-binutils): Use gexps.
* gnu/packages/make-bootstrap.scm (%binutils-static): Use gexps.

Change-Id: I59cbe29760784b09e6d4e80beca9153cb9b495a7
2024-08-31 10:44:23 +02:00
Ludovic Courtès
f9f2198d82
gnu: cross-base: ‘cross’ helper uses gexps.
This is required in cases where P uses gexps.

* gnu/packages/cross-base.scm (cross): Use gexps.

Change-Id: Ie038cbec67a53700f31791ee2d171918788111d2
2024-08-31 10:44:23 +02:00
Ludovic Courtès
724c1a120a
build-system/gnu: ‘package-with-extra-configure-variable’ uses gexps.
This is required in cases where P uses gexps.

* guix/build-system/gnu.scm (package-with-extra-configure-variable): Use
gexps.

Change-Id: If5cbabc946cfcaf39c040a79f9495760639d44e2
2024-08-31 10:44:22 +02:00
Ludovic Courtès
745177cea5
gnu: gcc@7: Allow compilation with glibc 2.38.
* gnu/packages/patches/gcc-7-libsanitizer-fsconfig-command.patch: New
file.
* gnu/packages/gcc.scm (gcc-7)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: Ifa273b92573281c34d83e5fb8cd68734ef02c7fd
2024-08-31 10:44:22 +02:00
Ludovic Courtès
e7fdcffc73
gnu: binutils: Update to 2.41.
* gnu/packages/base.scm (binutils): Update to 2.41.
[properties]: Remove.
[native-inputs]: New field.
(binutils+documentation): Remove.
(binutils-2.33)[native-inputs]: New field.
(binutils-gold): Inherit from BINUTILS.
[native-inputs]: Use ‘modify-inputs’ to preserve BISON.
* gnu/packages/commencement.scm (binutils-boot0)[arguments]: Pass
‘--disable-gprofng’.
[native-inputs]: New field.
(binutils-final): Move below ‘libstdc++’.
[native-inputs]: New field.
[arguments]: Add libstdc++ to #:allowed-references.
Extend #:configure-flags to libstdc++ is found.

Change-Id: I72750ca46ffd484d26608c4cec2931edb06b19a5
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
8224555802
man-db: Add support for zstd compressed man pages.
* guix/man-db.scm: Autoload zlib and zstd modules.
(<mandb-entry>): Adjust comment.
(abbreviate-file-name): Adjust regexp.
(gz-compressed?, zstd-compressed?): New predicates.
(entry->string): Use them.
(man-page->entry): Adjust doc.  Use input port reader appropriate to the
compression type, if any.
(man-files): Adjust regexp.
(mandb-entries): Adjust link resolving predicate.
* guix/profiles.scm (manual-database): Add guile-zlib extension.

Change-Id: I6336e46e2d324c520a7d15d6cafd12bbf43c5b09
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
dfd18d0d75
build: gnu-build-system: Compress man pages with zstd.
The aim is to improve the efficiency of computing the man pages database,
which must decompress the man pages.  Zstd is faster than gzip, especially for
decompression, and has a similar compression ratio.

* gnu/packages/commencement.scm (%final-inputs): Add zstd.
* guix/build/gnu-build-system.scm
(compress-documentation) Update doc.
<info-compressor, info-compressor-flags, man-compressor, man-compressor-flags>
<man-compressor-file-extension>: New arguments.
<compressed-documentation-extension>: Rename argument to...
<info-compressor-file-extension>: ... this.  Add an 'extension' argument to
the retarget-symlink nested procedure.  Use new arguments in nested
'maybe-compress' procedure.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Ibaad4658f8e5151633714d263d9198f56d255020
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
c9666c120b
packages: Repack patched source archives via zstd by default.
* guix/build/utils.scm (compressor): Register zst file name extension.
* guix/packages.scm (%standard-patch-inputs): Add zstd.
(patch-and-repack): Rename tarxz-name nested procedure to tar-file-name, and
accept a new 'ext' argument; adjust accordingly.  Add zstd binding, and
replace the XZ_DEFAULTS environment variable with ZSTD_NBTHREADS.  Fallback to
xz when zstd is not available.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I614a6be8c87a4a0858eadce616c51d8e9b9fc020
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
8e57c5d1f3
compression: Enable zstd parallel compression.
* gnu/compression.scm (%compressors) [zstd]: Provide the --threads argument.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I4e8dfe725d1b0721c0016c3013b9e609fee94367
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
e91478e911
utils: Lower xz compression memory usage limit to 20%.
There were sometimes out of memory errors on the Berlin build farm, especially
for i686 or arm machines having less memory.

* guix/build/utils.scm (%xz-parallel-args): Reduce --memlimit value from 50%
to 20%.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: If848bed92ef4c42d11a96057e59ee51a019d0573
2024-08-31 10:44:21 +02:00
Ludovic Courtès
c48f446444
gnu: rust: Run linker under C.UTF-8 instead of en_US.UTF-8.
This is a followup to 02d21712be1eb31a917313662b924763e81affb3.

* gnu/packages/rust.scm (rust-1.55)[arguments]: In
‘set-linker-locale-to-utf8’, change to C.UTF-8.

Change-Id: I94f27123ca8ac4761fd9bae6267c3a9d122b3a1d
2024-08-31 10:44:21 +02:00
Ludovic Courtès
6b995da47a
build-system/mix: Remove #:glibc-utf8-locales parameter.
* guix/build-system/mix.scm (default-glibc-utf8-locales): Remove.
(lower): Remove #:glibc-utf8-locales and its use.

Change-Id: Ibc8e00fb19e7c3404999e53855660ea11b9825af
2024-08-31 10:44:21 +02:00
Ludovic Courtès
e360a0da34
build-system/gnu: Make ‘%gnu-build-system-modules’ alias public.
This is a followup to a004c80cc04f535d1a74f72edea86173bc32d297, which
had no effect.

* guix/build-system/gnu.scm (%gnu-build-system-modules): Make public.

Change-Id: I2ac44060e530bc9abfe0ee3abbb586853a30ead2
2024-08-31 10:44:21 +02:00
Maxim Cournoyer
e3a0424136
gnu: nettle: Update to 3.9.1.
* gnu/packages/nettle.scm (nettle): Update to 3.9.1.

Change-Id: I21726f9763159e497f91c037ccd10a62c8b71cb5
2024-08-31 10:44:21 +02:00
Maxim Cournoyer
56ef338355
gnu: libpng: Update to 1.6.39.
* gnu/packages/image.scm (libpng): Update to 1.6.39.

Change-Id: Ia851ed5fb00dc8f34e248d2f0020bea06c6e78af
2024-08-31 10:44:21 +02:00
Ludovic Courtès
4fd32212a3
gnu: gmp: Fix typo in ‘ungexp-splicing’.
* gnu/packages/multiprecision.scm (gmp)[arguments]: Fix typo in
‘ungexp-splicing’ read syntax.

Change-Id: I0b3bf1fe9d4429d87c466685b1c8055061b7473f
2024-08-31 10:44:21 +02:00
Ludovic Courtès
0678ca426d
Revert "gnu: coreutils: Disable 64-bit time_t on 32-bit systems."
This reverts commit 4eebb73295.

The ‘--disable-year2038’ flag appears to be unnecessary (tested on
i686-linux).  More importantly, it’s potentially harmful as it could
prevent rebuilds after year 2038 due to timestamp inconsistencies as
they wrap around, and could make the tools unusable altogether.

Change-Id: Iad828d38f84bd1824b83731ac3a3897da4b8b6d3
2024-08-31 10:44:20 +02:00
Ludovic Courtès
da26b34b0f
gnu: gawk: Update to 5.3.0.
* gnu/packages/gawk.scm (gawk): Update to 5.3.0.

Change-Id: Ib1e64d3ed08eb6564ed1ce32ec31ad6492886c92
2024-08-31 10:44:20 +02:00
Ludovic Courtès
9b262900fc
gnu: ed: Update to 1.19.
* gnu/packages/text-editors.scm (ed): Update to 1.19.

Change-Id: I69f4c9cbcf5c862cbffb6d82662c548591917d88
2024-08-31 10:44:20 +02:00
Ludovic Courtès
453b802d1d
search-paths: Swap $C_INCLUDE_PATH and $CPLUS_INCLUDE_PATH.
The variable name didn’t match the ‘variable’ value.

* guix/search-paths.scm ($CPLUS_INCLUDE_PATH, $C_INCLUDE_PATH): Swap.

Change-Id: I181cd259dc8778ed51ea891bf7a345df89e5b6d8
2024-08-31 10:44:20 +02:00
Maxim Cournoyer
42aad100af
gnu: gmp: Update to 6.3.0 and streamline definition.
* gnu/packages/multiprecision.scm (gmp): Update to 6.3.0.  Fix indentation.
[arguments]: Use gexps.  Remove obsolete phase.

Change-Id: I99a0c8173ebc4a4a45512771ccf17782d6ddfe14
2024-08-31 10:44:20 +02:00
Maxim Cournoyer
935470e13c
gnu: imagemagick/stable: Fix ungexp variable.
* gnu/packages/imagemagick.scm (imagemagick/stable)
[arguments]: Ungexp reference to NAME variable.

Reported-by: Simon South <simon@simonsouth.net>
Change-Id: Id0584b35ede05ef14e957b2b2c9c754d9f9c0a90
2024-08-31 10:44:20 +02:00
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