1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-26 04:00:30 +02:00
Commit Graph

130196 Commits

Author SHA1 Message Date
Janneke Nieuwenhuizen
a5be456960 gnu: dde-sources: Update to 066797b576.
This fixes the build with reinforced build options:

    condvar.c: In function ‘ddekit_condvar_init’:
    condvar.c:16:19: error: old-style function definition [-Werror=old-style-definition]
       16 | ddekit_condvar_t *ddekit_condvar_init() {
          |                   ^~~~~~~~~~~~~~~~~~~

* gnu/packages/hurd.scm (dde-sources): Update to
066797b576ebf8364ad157f50bef2a655597deeb.

Change-Id: Icf6f97897852e21dfcf9b77629fde4ce6a7d1469
2024-08-31 10:44:28 +02:00
Josselin Poiret
9ed23d9a7c gnu: evolution-data-server: Use C.UTF-8 locale in test.
* gnu/packages/gnome.scm (evolution-data-server): Use C.UTF-8 locale in test.

Change-Id: I8e35a9c96cc89bcd19d8e00472c2ccadf2bd5875
2024-08-31 10:44:27 +02:00
Josselin Poiret
afda4d87af gnu: python-matplotlib: Fix flaky Legend loc test.
* gnu/packages/patches/python-matplotlib-fix-legend-loc-best-test.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-matplotlib): Use it.

Change-Id: I0b488844d7b34a718b7294134b8c954492c9b697
2024-08-31 10:44:27 +02:00
Josselin Poiret
ce21952f81 gnu: ffmpeg-4: Fix build with binutils ≥ 2.41.
* gnu/packages/patches/ffmpeg-4-binutils-2.41.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/video.scm (ffmpeg-4): Use it.

Change-Id: I07ec3525edb220d85e086e145b9561ea3d084b6c
2024-08-31 10:44:27 +02:00
Josselin Poiret
2b9c730833 gnu: ibus-minimal: Fix wrapping phase name.
* gnu/packages/ibus.scm (ibus-minimal): Use actual name 'glib-or-gtk-wrap
instead of bogus 'wrap-program.

Change-Id: Ia0088260e9005ce25e6147b58a82a94f4b73f70b
2024-08-31 10:44:27 +02:00
Josselin Poiret
7763a6d7bd gnu: parted: Use C.UTF-8 for Unicode tests.
* gnu/packages/disk.scm (parted): Switch back from en_US.utf8 to the initially
upstream-intended C.UTF-8.

Change-Id: I96352abeecd0f63d64fdaa826a24c9564ef16616
2024-08-31 10:44:27 +02:00
Josselin Poiret
13b5b5d10f gnu: ghc: Fix build with binutils ≥ 2.39.
ld warns about exec stack now, making some tests fail.  Fix them (and also
remove an unwarranted exec stack from libHSrts along with it).

* gnu/packages/patches/ghc-9-StgCRunAsm-only-when-needed.patch
* gnu/packages/patches/ghc-testsuite-recomp015-execstack.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/haskell.scm (ghc-8.6, ghc-8.8, ghc-8.10, ghc-9.0, ghc-9.2,
ghc-9.4): Use them.

Change-Id: I8e5fc71d7394527d44ff37b1f9bd59d4971ec010
2024-08-31 10:44:27 +02:00
Josselin Poiret
4840707013 gnu: ghc-9.2: Remove unneeded glibc 2.33 patch.
* gnu/packages/patches/ghc-9.2-glibc-2.33-link-order.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Unregister.
* gnu/packages/haskell.scm (ghc-9.2): Remove patch use.

Change-Id: I7d305dadb627f6af55e4a5faabfc835e4a78a05b
2024-08-31 10:44:26 +02:00
Josselin Poiret
a0c1787816 gnu: glibc-locales: Fix build.
Change-Id: I34112114b76e75cb2e517d0965286ba8c11a5d6c

* gnu/packages/base.scm (make-glibc-locales): Delete the new glibc
'install-utf8-c-locale phase.

Change-Id: I843ea0a4fb34dba42e3a2e5ceafb85db7060089f
2024-08-31 10:44:26 +02:00
Josselin Poiret
dc26246ef6 gnu: python-pillow: Fix build with zlib 1.3.
* gnu/packages/patches/python-pillow-use-zlib-1.3.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-pillow): Use it.

Change-Id: I97e706c11f616c42fb604cb616a94663f389a376
2024-08-31 10:44:26 +02:00
Josselin Poiret
ef3bac711b gnu: liboauth: Use C unicode locale in tests.
* gnu/packages/web.scm (liboauth): Use C unicode locale in tests.

Change-Id: I1ff7da64912fbba5ae427f77b912dd9dff4e239a
2024-08-31 10:44:26 +02:00
Josselin Poiret
c71cd18ea2 gnu: flite: Disable parallel build.
* gnu/packages/speech.scm (flite): Disable parallel build.

Change-Id: I86caba27b925eb9105a5543ba5e4e87af6cffd5a
2024-08-31 10:44:26 +02:00
Josselin Poiret
c4f9895bfe gnu: docbook2x: Fix build.
* gnu/packages/docbook.scm (docbook2x): Build from source and fix build.

Change-Id: Iefc3e068217875b5de5e79369b24a55b573df042
2024-08-31 10:44:26 +02:00
Josselin Poiret
609acbbc29 gnu: gpgme: Hardcode gpg binaries' location.
* gnu/packages/gnupg.scm (gpgme): Pass the gpg binaries' location to configure.

Change-Id: I13d8e4d97cd93fffa6e3d1a6e39972e08ed69376
2024-08-31 10:44:26 +02:00
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
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
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
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
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
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
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
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