Commit graph

142149 commits

Author SHA1 Message Date
Maxim Cournoyer
f2748d6357
refresh: Import %final-inputs from (gnu packages base).
* guix/scripts/refresh.scm: Import %final-inputs from (gnu packages base).

Change-Id: Ida99a88fd3305a7971ab7951a15ee5ffde5ddb56
2024-08-31 10:44:47 +02:00
Maxim Cournoyer
9bccfd3972
gnu: commencement: Do not export unused make-gcc-toolchain.
It is discouraged to import this module anywhere.

* gnu/packages/commencement.scm: Remove make-gcc-toolchain export.

Change-Id: I3095a83434b6bfc0e8dad1ad00be1aa02472aac4
2024-08-31 10:44:47 +02:00
Maxim Cournoyer
b07c028a84
gnu: base: Add cautionary comments for canonical-package, %final-inputs usage.
* gnu/packages/base.scm (canonical-package, %final-inputs): Add comments.

Change-Id: I8b2f5802127dbde169850a7931a64fb5eb503b7c
2024-08-31 10:44:47 +02:00
Janneke Nieuwenhuizen
96e2eeee74
gnu: hurd: Update to v0.9.git20231217.
* gnu/packages/hurd.scm (hurd-headers): Update to v0.9.git20231217.
[arguments]: Avoid new link test for file_utimens.
* (hurd)[source]: Remove hurd-fix-rumpdisk-build.patch, which has been
included upstream.
* gnu/packages/patches/hurd-add-without-rump-configure-option.patch,
gnu/packages/patches/hurd-fix-rumpdisk-build.patch,
gnu/packages/patches/hurd-fix-types-of-read-write-and-readables-methods.patch,
gnu/packages/patches/hurd-fix-types-of-read-write-and-readables-methods-2.patch:
Remove.
* gnu/local.mk (dist_patch_DATA): Unregister them.

Change-Id: I0b42db19289e2fefeae99b18f0c29a21d3bf67a4
2024-08-31 10:44:47 +02:00
Janneke Nieuwenhuizen
30cacb63f8
gnu: gnumach: Update to 1.8-0.2556fde.
* gnu/packages/hurd.scm (gnumach-headers): Update to latest master,
2556fdece900d67529d5eda01f1bdaae4ffe96b0.
* gnu/packages/patches/gnumach-fix-i686-linux-build.patch,
gnu/packages/patches/gnumach-fix-task_info.patch,
gnu/packages/patches/gnumach-support-noide.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.
(gnumach)[source]: Do not use them.

Change-Id: Ifc6d15f7889854cd85698f4133f70d2046ca4bc8
2024-08-31 10:44:47 +02:00
Ricardo Wurmus
58ccd11857
gnu: mig-boot0: Do not override phases.
The build phases of the mig package are needed also for mig-boot0, so instead
of overriding all arguments we should only override the configure flags.

* gnu/packages/commencement.scm (mig-boot0)[arguments]: Use
SUBSTITUTE-KEYWORD-ARGUMENTS to replace only the configure flags.

Change-Id: I8227baf9e7fabc86a8674fe694058245ce166d0f
2024-08-31 10:44:47 +02:00
Ricardo Wurmus
74a46fbcb2
gnu: hurd-headers-boot0: Update hash.
* gnu/packages/commencement.scm (hurd-headers-boot0)[source]: Use hash of
tarball, not of git checkout.

Change-Id: Ibb79396722507ab6509d18a67b3d22210a8a31a9
2024-08-31 10:44:47 +02:00
Maxim Cournoyer
67b5b6b60e
gnu: gnu-make-final: Turn into a procedure to delay top-level evaluation.
This was causing a problem with the pkg-config syntax being evaluated too
early.

* gnu/packages/commencement.scm (gnu-make-final): Rename to...
(make-gnu-make-final): ... this, turning it into a procedure.  Also use
%pkg-config to avoid more problems caused by pulling the special pkg-config
syntax.
(%final-inputs): Adjust accordingly.

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