Commit graph

141991 commits

Author SHA1 Message Date
Maxim Cournoyer
84728d5ba4
gnu: Do not eagerly load (gnu packages commencement).
As its top comment says, this module is not meant to be imported to avoid
circular module dependencies.

* gnu/packages/chicken.scm (chicken) [propagated-inputs]: Resolve
gcc-toolchain lazily.
* gnu/packages/plan9.scm (plan9port): Likewise.
* gnu/packages/raspberry-pi.scm (raspi-arm64-chainloader)
[native-inputs]: Resolve ld-wrapper lazily.

Change-Id: Ie9859046ed32b67dc53bcc5444d6ae162e5d4022
2024-08-31 10:44:46 +02:00
Maxim Cournoyer
a9bd08f8f5
gnu: openal: Update to 1.23.1.
* gnu/packages/audio.scm (openal): Update to 1.23.1.

Change-Id: I8403db8942a11b5260cf46ddbc1a584f83b452f8
2024-08-31 10:44:46 +02:00
Ludovic Courtès
ee4e79f871
ui: Default to “C.UTF-8” locale instead of “en_US.utf8”.
This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3.

* guix/ui.scm (install-locale): Default to “C.UTF-8”.

Change-Id: Icc92bfe0d75c415eb11a9af207824544ed75e084
2024-08-31 10:44:46 +02:00
Ludovic Courtès
a42d54039b
grafts: Use C.UTF-8 and remove dependency on ‘glibc-utf8-locales’.
This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3.

* guix/grafts.scm (graft-derivation/shallow)[glibc-locales]: Remove.
[build]: Leave ‘GUIX_LOCPATH’ unset.  Use “C.UTF-8” instead of
“en_US.utf8”.

Reported-by: Janneke Nieuwenhuizen <janneke@gnu.org>
Change-Id: I59bc90130c6711a1a89068fbf697f9bd2ba2b5f1
2024-08-31 10:44:46 +02:00
Ludovic Courtès
c4ceb60f74
git-download: Use C.UTF-8 and remove dependency on ‘glibc-utf8-locales’.
This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3.

* guix/git-download.scm (git-fetch/in-band*)[glibc-locales]: Remove.
[build]: Leave ‘GUIX_LOCPATH’ unset.  Use “C.UTF-8” instead of
“en_US.utf8”.

Change-Id: I268361c04dd2d6154d97836b1f41ff06ffd278eb
2024-08-31 10:44:46 +02:00
Maxim Cournoyer
f719373583
gnu: make-rust-sysroot/implementation: Use gexps.
* gnu/packages/rust.scm (make-rust-sysroot/implementation): Use gexps.

Change-Id: Ie35ca201c2a55f00023dad02a0d1121b6f298812
2024-08-31 10:44:46 +02:00
Janneke Nieuwenhuizen
e5ee9403af
gnu: gnumach: Fix task_info.
This fixes the (times) call in Guile.

* gnu/packages/patches/gnumach-fix-task_info.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (gnumach)[source]: Use it.

Change-Id: Ie7725d86465136a8e03838b86424c25cf68945c4
2024-08-31 10:44:46 +02:00
Janneke Nieuwenhuizen
01d32e4744
gnu: bluez: Fix build.
This is a follow-up to commit
    23aa24058ad932bf48e4258566ee94fea86eef3d
    gnu: bluez: Update to 5.72.

and fixes

    GEN      client/bluetoothctl-player.1
    client/bluetoothctl.rst:342: (WARNING/2) Cannot analyze code. Pygments package not found.
    Exiting due to level-2 (WARNING) system message.
      GEN      client/bluetoothctl-scan.1
    make[1]: *** [Makefile:13732: client/bluetoothctl.1] Error 1

* gnu/packages/linux.scm (bluez)[native-inputs]: Add python and
python-pygments.

Change-Id: Ifd4db91592012a904be21ec6d8df63200e958c58
2024-08-31 10:44:45 +02:00
Efraim Flashner
c380428261
gnu: node: Fix build with zlib 1.3.
* gnu/packages/node.scm (node)[source]: Adjust snippet to adjust a test
to accept shorter version strings.

Change-Id: If8384497035e44f4876357877941cbf175acf879
2024-08-31 10:44:45 +02:00
Efraim Flashner
57802fa009
gnu: inkscape: Always use imagemagick as an input.
* gnu/packages/inkscape.scm (inkscape)[native-inputs]: Replace inherited
imagemagick/stable with imagemagick.

Change-Id: I6b25002deeeaa81fab6de4e181d2425fe7342aba
2024-08-31 10:44:45 +02:00
Efraim Flashner
db3367f952
gnu: imagemagick: Only install documentation in final imagemagick.
* gnu/packages/imagemagick.scm (imagemagick/stable)[arguments]: Add
configure-flag to disable documentation.  Adjust phase to remove
work-around for moving documentation to separate output.
[outputs]: Remove field.
(imagemagick)[arguments]: Remove configure-flag disabling documentation.
Add a phase to move documentation to a separate output.
[outputs]: Keep out, doc outputs.

Change-Id: I34f02612d416ad2ff0edf330a274f93bddf4c53d
2024-08-31 10:44:45 +02:00
Efraim Flashner
9708cf9b85
gnu: clang-runtime-6: Fix build with newer glibc.
* gnu/packages/llvm.scm (clang-runtime-6): Add patch.

Change-Id: Iff5ad430876ff7f8319556b6648e223b7bb0e13a
2024-08-31 10:44:45 +02:00
Efraim Flashner
99efdf09ad
gnu: clang-runtime-7: Fix build with newer glibc.
* gnu/packages/llvm.scm (clang-runtime-7): Add patch.

Change-Id: Idba933cb04859d57066fd2e4b131ad9f4604fae8
2024-08-31 10:44:45 +02:00
Efraim Flashner
d92a6ae199
gnu: clang-runtime-8: Fix build with newer glibc.
* gnu/packages/llvm.scm (clang-runtime-8): Add patch.

Change-Id: I3ea8c6a597996adec567920d5714fb93ad91b2a9
2024-08-31 10:44:45 +02:00
Efraim Flashner
59dc9f87e9
gnu: clang-runtime-9: Fix build with newer glibc.
* gnu/packages/llvm.scm (clang-runtime-9): Add patch.
* gnu/packages/patches/clang-runtime-9-glibc-2.36-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I3f88e3e933d8bb8aa4ba130dfb72e093ac5d378f
2024-08-31 10:44:45 +02:00
Efraim Flashner
1fabc88d56
gnu: clang-runtime-10: Fix build with newer glibc.
* gnu/packages/llvm.scm (clang-runtime-10): Add patch.

Change-Id: If90ee6895634e6f1791516861be558af4d2ffe8e
2024-08-31 10:44:44 +02:00
Efraim Flashner
efb40d579a
gnu: clang-runtime-11: Fix build with newer glibc.
* gnu/packages/llvm.scm (clang-runtime-11): Add patch.

Change-Id: I5195c0a37e5dcc7ba200043e2028200492a74c14
2024-08-31 10:44:44 +02:00
Efraim Flashner
9e79ac0157
gnu: clang-runtime-12: Fix build with newer glibc.
* gnu/packages/llvm.scm (clang-runtime-12): Add patch.

Change-Id: Ia42a065972a1b908fa62db87cc23b2e5d119a9b0
2024-08-31 10:44:44 +02:00
Efraim Flashner
c7fb57798d
gnu: clang-runtime-13: Fix build with newer glibc.
* gnu/packages/llvm.scm (clang-runtime-13): Add patch.
* gnu/packages/patches/clang-runtime-13-glibc-2.36-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I0f78d826557a7ffa87f75ac521cc8fcec340bffd
2024-08-31 10:44:44 +02:00
Efraim Flashner
690b8901c3
gnu: clang-runtime-14: Fix build with newer glibc.
* gnu/packages/llvm.scm (%llvm-patches): Add patch for llvm-14.
* gnu/packages/patches/clang-runtime-14-glibc-2.36-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: Ib5350be48f6580d00cb9b70435931abf0444c664
2024-08-31 10:44:44 +02:00
Efraim Flashner
6c5edd3e68
gnu: rust: Fix building.
* gnu/packages/rust.scm (rust)[arguments]: Adjust 'unpack-compiler-rt
phase to correctly copy the sources into the target directory.  Adjust
'enable-profiling phase to come after an existing phase.
[native-inputs]: Add clang-runtime-source.

Change-Id: I2e05fa86c4eaf8c2f5f3562d9f7939cd881cde3f
2024-08-31 10:44:44 +02:00
Efraim Flashner
f0c22c1427
gnu: global: Adjust order of phases.
* gnu/packages/code.scm (global)[arguments]: Adjust the order of the
phases so that they get read in the correct order.

Change-Id: I149ccd249821c64aa5a508048d995e9963ea4c08
2024-08-31 10:44:44 +02:00
Efraim Flashner
d56532c568
gnu: patchelf: Fix test suite.
* gnu/packages/elf.scm (patchelf)[arguments]: Adjust 'fix-tests phase
for changes in the test suite.

Change-Id: Iffeb4ef94e0d78edd47d9d8b6e316f3b29627ed0
2024-08-31 10:44:44 +02:00
Janneke Nieuwenhuizen
6746ea2ea3
gnu: ipxe: Update to 1.21.1-2.de8a082.
This fixes

    error: in phase 'build': uncaught exception:

while building ipxe-qemu.

* gnu/packages/bootloaders.scm (ipxe): Update commit to
de8a0821c7bc737e724fa3dfb6d89dc36f591d7a.  Bump revision and timestamp.

Change-Id: I352a8451ba9da912f023802f1f31e5e311705ba2
2024-08-31 10:44:43 +02:00
Maxim Cournoyer
12fcd01753
gnu: pkgconf: Update to 2.1.0.
* gnu/packages/pkg-config.scm (pkgconf): Update to 2.1.0.

Change-Id: I5d61cd792ea89bc05a590997a3c8ed5243a57adc
2024-08-31 10:44:43 +02:00
Maxim Cournoyer
0ed04bbfe2
gnu: webrtc-audio-processing: Fix build.
* gnu/packages/audio.scm (webrtc-audio-processing)
[source]: Drop patch and snippet.
[native-inputs]: Add pkg-config.
* gnu/packages/patches/webrtc-audio-processing-big-endian.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.

Change-Id: I3340371a8d484a0ad1faddedc911169e29957281
2024-08-31 10:44:43 +02:00
Janneke Nieuwenhuizen
1cf91238a2
gnu: python-pyelftools: Update to 0.30 [fixes build].
This avoids

    Test file 'test/testfiles_for_readelf/aarch64-relocs-le.o.elf'
    .......................FAIL
    ....for file test/testfiles_for_readelf/aarch64-relocs-le.o.elf
    ....for option "--debug-dump=info"
    ....Output #1 is readelf, Output #2 is pyelftools
    @@ Mismatch on line #1:
    >>  compilation unit @ offset 0:<<
    >>  compilation unit @ offset 0x0:<<
     ([('equal', 0, 29, 0, 29), ('insert', 29, 29, 29, 31), ('equal', 29, 30, 31, 32)])

* gnu/packages/python-xyz.scm (python-pyelftools): Update to 0.30.
[description]: Remove gratuitous whitespace.

Change-Id: I6e15e4532affd7faa7272d42adb65a2efcccce46
2024-08-31 10:44:43 +02:00
Janneke Nieuwenhuizen
8ff0ee8ed6
gnu: mandoc: Resurrect build.
* gnu/packages/man.scm (mandoc)[native-inputs]: Add
libc-utf8-locales-for-target.

Change-Id: I021bfc42584ab9df216084778f4315a7a4b9fa7b
2024-08-31 10:44:43 +02:00
Maxim Cournoyer
b0ce5d6095
gnu: python-pycups: Update to 2.0.1.
* gnu/packages/cups.scm (python-pycups): Update to 2.0.1.

Change-Id: Iedf57c35c543f1002b5716f972e1bdc676110b75
2024-08-31 10:44:43 +02:00
Maxim Cournoyer
13c4d8d530
gnu: cups-filters: Update to 1.28.16.
* gnu/packages/cups.scm (cups-filters): Update to 1.28.16.
[configure-flags]: Set CFLAGS and CXXFLAGS.
[inputs]: Add libexif.

Change-Id: Ib8a05d27533af0d9e59d72771670373acb300140
2024-08-31 10:44:43 +02:00
Efraim Flashner
697a2e2d97
gnu: libbdplus: Update to 0.2.0.
* gnu/packages/video.scm (libbdplus): Update to 0.2.0.

Change-Id: Ic357c71649b8f07ddb37b0860f30d9ef247529d5
2024-08-31 10:44:43 +02:00
Efraim Flashner
7990d6db4d
gnu: libgpg-error: Refactor package arguments.
* gnu/packages/gnupg.scm (libgpg-error)[arguments]: Move the
configure-flags to be always applied and make the adjustments to the
build phases be the only conditional part.  Remove unneeded module
imports.

Change-Id: I7eb3950e00e78071a148569cb3705e8a2866d0b6
2024-08-31 10:44:42 +02:00
Efraim Flashner
70e8752020
gnu: libgpg-error: Always provide gpg-error-config.
* gnu/packages/gnupg.scm (libgpg-error)[arguments]: Always add a
configure-flag to enable gpg-error-config.

Change-Id: I40da8310d597529b4d355e72af9411ba76e434ca
2024-08-31 10:44:42 +02:00
Maxim Cournoyer
86236e8ca4
gnu: libassuan: Update to 2.5.6.
* gnu/packages/gnupg.scm (libassuan): Update to 2.5.6.

Change-Id: I8c3a58c088402096db7e9c17d554ab41973d8d74
2024-08-31 10:44:42 +02:00
Maxim Cournoyer
2e4e3e883b
gnu: imagemagick: Update to 6.9.13-5.
This is a follow-up to ac658511ae ("gnu: imagemagick: Update to 6.9.12-91."),
which patch didn't apply cleanly.

* gnu/packages/imagemagick.scm (imagemagick/stable): Update to 6.9.13-5.
[source]: Remove patch.
[configure-flags]: Specify correct --with-gs-font-dir location.
[native-inputs]: Add zstd.
* gnu/packages/patches/imagemagick-fix-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.13-5.

Change-Id: Ic3ab5ea821de91fb18b80325414444e02e7eecb0
2024-08-31 10:44:42 +02:00
Romain GARBAGE
f5d75acd0d
doc: Document changes to `copy-recursively'.
* doc/guix.texi: Document new key `select?' in `copy-recursively'.

Change-Id: I4b14ae5a1b40e0939456604f75597b5596b76f83
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:42 +02:00
Janneke Nieuwenhuizen
3f32305680
gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230520.
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to
0.9.git20230520.

Change-Id: Ie9ae6bd56ae120019bd154d975161e4ee0636795
2024-08-31 10:44:42 +02:00
Janneke Nieuwenhuizen
a77d081f92
gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20230410.
* gnu/packages/commencement.scm (gnumach-headers-boot0): Update to
1.8+git20230410.

Change-Id: I4658c089e4c4be34a4e4e540d90a64dd1717fdff
2024-08-31 10:44:42 +02:00
Janneke Nieuwenhuizen
9c1266bdc4
gnu: gnumach: Fix build for i686-linux.
* gnu/packages/patches/gnumach-fix-i686-linux-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (gnumach)[source]: Use it.
[arguments]: Remove #:make-flags to avoid overriding now-essential CFLAGS set
by configure.  Rewrite to use gexps.
[supported-systems]: Add i686-linux.

Change-Id: Ibec03121f90b30160725c87e999e38f677b2e369
2024-08-31 10:44:41 +02:00
Hilton Chain
8fc1b0ccc8
gnu: hwdata: Update to 0.374.
* gnu/packages/pciutils.scm (hwdata): Update to 0.374.
[arguments]: Don't modify #:phases.
[outputs]: Keep only "out" for pkg-config file.
(pciutils)[native-inputs]: Replace hwdata to "out" output.
* gnu/packages/graphics.scm (mangohub)[inputs]: Likewise.
* gnu/packages/kde-plasma.scm (kwin)[inputs]: Likewise.
* gnu/packages/virtualization.scm (libosinfo)[native-inputs]: Likewise.
* gnu/packages/wm.scm (wlroots)[native-inputs]: Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:41 +02:00
Maxim Cournoyer
aff6b2ac11
gnu: inkscape/stable: Build stable variant without imagemagick support.
This is done to allow imagemagick (not /stable variant) to be updated more
freely.

* gnu/packages/inkscape.scm (inkscape/stable)
[arguments]: Use gexps.  Add #:disallowed-references argument to guard against
referring to imagemagick/stable.  Add #:configure-flags argument.
[inputs]: Remove imagemagick.
[native-inputs]: Relpace imagemagick with imagemagick/stable.
* gnu/packages/inkscape.scm (inkscape): Use gexps.  Clear WITH_IMAGE_MAGICK
configure flag.
[inputs]: Add imagemagick.

Fixes: https://issues.guix.gnu.org/47479
Change-Id: Ifc812d2fc1eba5d2b45c3d7519ae38ac0294bd0a
Reported-by: Maxime Devos <maximedevos@telenet.be>
2024-08-31 10:44:41 +02:00
Maxim Cournoyer
8da07d2e9e
build-systems: cmake: Add support for #:allowed-references.
Also actually honor #:disallowed-references when cross-compiling.

* guix/build-system/cmake.scm (cmake-build): Add #:allowed-references keyword,
and pass it to gexp->derivation.
(cmake-cross-build): Likewise.  Also pass disallowed-references to
gexp->derivation which had apparently been forgotten.

Change-Id: I1e9861295359b090bd5407c5f76afddf890e36bf
2024-08-31 10:44:41 +02:00
Maxime Devos
dbb5650682
gnu: bandage: Do not yet use the 'imagemagick/stable' variant.
Once <https://issues.guix.gnu.org/47475> (‘Closure of bandage is way too
large’) has been fixed, the variant will probably be usable.

* gnu/packages/bioinformatics.scm (bandage):
[arguments]<#:disallowed-references>: Once the issue
has been fixed, prevent the imagemagick/stable package from ending up in the
closure.
[native-inputs]: Note that 'imagemagick/stable' cannot be used yet.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ie13100eb424b14971055ff91db49bc7029cb6168
2024-08-31 10:44:41 +02:00
Maxime Devos
7c7ca0b625
guix: build-system: qt: Support #:disallowed-references.
* guix/build-system/qt.scm
(qt-build): Support #:allowed-references and #:disallowed-references.
(qt-cross-build): Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ia2c36152bc3500a4e73b204b0a006f3bb9405d58
2024-08-31 10:44:41 +02:00
Maxime Devos
94153591c5
gnu: wpa-supplicant-gui: Use 'imagemagick/stable' variant.
* gnu/packages/admin.scm (wpa-supplicant-gui):
[native-inputs]: Use the 'imagemagick/stable' variant.
[arguments]<#:disallowed-phases>: Prevent 'imagemagick/stable'
from entering the closure.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I8a998857b2d366744da16ea4850b02c52ba7c565
2024-08-31 10:44:41 +02:00
Maxime Devos
2090a563bd
gnu: sphinx: Use 'imagemagick/stable' variant.
As the store item does not retain a reference to imagemagick,
it should be safe to use the 'imagemagick/stable' variant.

* gnu/packages/sphinx.scm (python-sphinx)
[arguments] Add #:disallowed-references to make sure no references to
imagemagick are retained.
[native-inputs]: Use 'imagemagick/stable' instead of 'imagemagick' and explain
why that's a safe thing to do.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I04bdc94e012f3fcb30c4ec113a0ae2e9d9373210
2024-08-31 10:44:41 +02:00
Maxim Cournoyer
f9b04997f2
build-system: pyproject: Add allowed/disallowed keyword arguments.
* gnu/build-system/pyproject.scm (pyproject-build) Add ALLOWED-REFERENCES and
DISALLOWED-REFERENCES keywords.

Change-Id: I404cbd8409332705b023c7a3b0b8fafbfaefe28b
2024-08-31 10:44:40 +02:00
Maxime Devos
725960c9ba
build-system: python: Add allowed/disallowed keyword arguments.
* gnu/build-system/python.scm (python-build) Add ALLOWED-REFERENCES and
DISALLOWED-REFERENCES keywords.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I80bfe8e23b8475a8ca277cddd4275f1e757db8c3
2024-08-31 10:44:40 +02:00
Maxime Devos
e3178b088a
gnu: Use 'gtk-doc/stable' in native-inputs instead of 'gtk-doc'.
Commit 9dea161875 only
replaced 'gtk-doc' with 'gtk-doc/stable' in the native-inputs
of some packages, but we may as well do this for all packages.

* gnu/packages/admin.scm (thermald) [native-inputs]:
Replace 'gtk-doc' with 'gtk-doc/stable'.
* gnu/packages/glib.scm (glib-with-documentation): Likewise.
* gnu/packages/mate.scm (mate-desktop, atril, caja-extensions)
(mate-utils, eom, engrampa, pluma, mate-polkit) [native-inputs]: Likewise.
* gnu/packages/messaging.scm
(libgnt, loudmouth) [native-inputs]: Likewise.
* gnu/packages/music.scm
(denemo, gsequencer) [native-inputs]: Likewise.
* gnu/packages/photo.scm (entangle) [native-inputs]: Likewise.
* gnu/packages/security-token.scm
(libu2f-host, libu2f-server) [native-inputs]: Likewise.
* gnu/packages/wm.scm (keybinder, keybinder-3.0)
[native-inputs]: Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I6c647ff1394e0a48bef0e6fb1ae43533673f1d79
2024-08-31 10:44:40 +02:00
Maxim Cournoyer
17e6ce2f88
gnu: inkscape/stable: Add imagemagick to inputs.
* gnu/packages/inkscape.scm (inkscape/stable) [inputs]:  Add imagemagick.

Fixes: https://issues.guix.gnu.org/47479
Change-Id: Ibcc05563e7a020c331907f6bd40038656bb54a34
2024-08-31 10:44:40 +02:00