Commit graph

163996 commits

Author SHA1 Message Date
Janneke Nieuwenhuizen
f71d8ca9f5
gnu: unzip: Fix build with gcc-14.
* gnu/packages/compression.scm (unzip)[arguments]: Add CC to #:make-flags to
relax gcc-14's strictness.  In phase "build" use target "generic" rather than
"generic_gcc".

Change-Id: I9b4753529b15b5766d7764553bf1fb234c437d45
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
7d85f94157
gnu: gettext: Update to 0.23.
* gnu/packages/patches/gettext-libunicode-update.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister.
* gnu/packages/gettext.scm (gettext-minimal): Update to 0.23.
[source]: Remove patch.
[arguments]: In phase "patch-tests", skip gnulib test "test-execute.sh".

Change-Id: Ibac01c139e135c3a9c13f9077b4fbc6a7db93207
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
3fd95c21c3
gnu: gettext: Fix build with gcc-14.
* gnu/packages/gettext.scm (gettext-minimal) [arguments]: In phase
"patch-tests", skip failing "xgettext-javascript-6" test.

Change-Id: Ibac01c139e135c3a9c13f9077b4fbc6a7db93207
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
5de4787be9
gnu: zip: Fix build with gcc-14.
* gnu/packages/compression.scm (zip)[arguments]: Add CC to #:make-flags to
relax gcc-14's strictness.  In phase "build" use target "generic" rather than
"generic_gcc".

Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
db24ad715e
gnu: libffi: Update to 3.4.6; fixes build with gcc-14.
* gnu/packages/libffi.scm (libffi): Update to 3.4.6.
[arguments]: Remove CFLAGS hack.

Change-Id: I1d9ea6094e42d154f6fa17b47106e066b32d9ca2
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
ea7bf8a3cb
gnu: libffi: Fix build for x86_64-linux with gcc-14.
* gnu/packages/libffi.scm (libffi) [arguments]: When building for
x86_64-linux, also use "CFLAGS=-g -O2 -Wno-implicit-function-declaration".

Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
60d0c87b6e
gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14.
Summary: Use fixes for the 64bit Hurd also on linux.

* gnu/packages/commencement.scm (gcc-final)[arguments]: When building for
x86-linux, create a gcc wrapper in phase "create-stage-wrapper", use it by
adding STAGE_CC_WRAPPER to #:make-flags, and CC to #:configure-flags to
convince configure gmp that gcc and g++ work.
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
cbd17257aa
gnu: bash-minimal: Fix build for x86-linux with gcc-14.
* gnu/packages/bash-minimal.scm (bash)[arguments]: When building
for x86-linux, also use CFLAGS in #:configure-flags to relax gcc-14's strictness.

Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
2025-07-18 20:17:11 +02:00
Efraim Flashner
3e417d19ef
gnu: gcc-boot0: Fix building on powerpc64le-linux.
* gnu/packages/commencement.scm (gcc-boot0)[inputs]: When building for
powerpc64le-linux use libstdc++-boot0 from gcc-5.

Change-Id: I21df5ba91dcff9f6b83977996ef2d15306ab6ca9
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
fe6970cd94
gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: When building for
x86-linux, add phase "patch-system.h" to substitute fix SIZE_MAX macro.

Change-Id: I6e552aaa458755ec920873a0535f599c88a1f74f
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
d0131709fa
Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd.""
This cleanup was reverted because it led to a world rebuild.

This reverts commit 7b64a96326.

Change-Id: Ieefd576c365527267c04ee64292c15e9702d5254
2025-07-18 20:17:11 +02:00
Janneke Nieuwenhuizen
f189772fba
Revert "Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so.""
This cleanup was reverted because it led to a world rebuild.

This reverts commit 126a2e8cb4.

Change-Id: I5c862602c3722c787e0ed6deac55920007411fd5
2025-07-18 20:17:10 +02:00
Janneke Nieuwenhuizen
e50f470fe6
Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd.""
This cleanup was reverted because it led to a world rebuild.

This reverts commit 006679d1e6.

Change-Id: Id14fcc35fb8d550644b4d6cebace110ae0bab59e
2025-07-18 20:17:01 +02:00
Ashish SHUKLA
01e522d008
gnu: fastfetch: Update to 2.48.0.
* gnu/packages/admin.scm (fastfetch): Update to 2.48.0.

Change-Id: I248fd3da3dca1ef7a8ede9baeff2782aaf140fa6
Signed-off-by: Zheng Junjie <z572@z572.online>
2025-07-18 19:42:42 +08:00
jgart
2ecfaa02a2
gnu: trealla: Update to 2.78.23.
* gnu/packages/prolog.scm (trealla): Update to 2.78.23.

Change-Id: I7f3fdc0a01e8ba846399e302763f5210d296e5a8
2025-07-18 02:46:13 -05:00
jgart
5188dfb3c7
gnu: wvkbd: Update to 0.17.
* gnu/packages/xdisorg.scm (wvkbd): Update to 0.17.
[native-inputs]: Add scdoc.

Change-Id: Iceb390ffbd37e5a901c6967ce74bd3b32e1f3e5c
2025-07-17 19:59:10 -05:00
Danny Milosavljevic
52df09e31b
gnu: mono@2.6.4: Make reproducible.
* gnu/packages/dotnet.scm (mono-2.6.4)[source]: Add
"mono-2.4.2.3-reproducibility.patch".

Change-Id: I28011a6c21e317bb10bce37f8d3a7aa46cedb9fe
Signed-off-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
2025-07-17 17:01:00 -07:00
Danny Milosavljevic
f0b8657c42
gnu: mono@2.4.2.3: Make reproducible.
* gnu/packages/patches/mono-2.4.2.3-reproducibility.patch: Modify.

Change-Id: I800dc9301736fbcff9ff3ffe3a4c7ce3b11fd3b7
Signed-off-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
2025-07-17 17:00:50 -07:00
Danny Milosavljevic
69d8d749e1
gnu: mono@1.9.1: Make reproducible.
* gnu/packages/patches/mono-1.9.1-reproducibility.patch: Modify.

Change-Id: I4ac9fec36899b1195f614b3af1da149f50fca950
Signed-off-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
2025-07-17 17:00:40 -07:00
Ludovic Courtès
14c8728f0d
mapped-devices: luks: Adjust to support extra arguments.
Fixes <https://issues.guix.gnu.org/70826>.

When using ‘luks-device-mapping-with-options’, procedures such as
‘operating-system-boot-mapped-devices’ would fail to identify LUKS
mapped devices because they would check whether the mapped device type
is ‘eq?’ to ‘luks-device-mapping’.

This addresses that by ensuring mapped devices are always of the
‘luks-device-mapping’ type, even when different options are used.

* gnu/system/mapped-devices.scm (close-luks-device): Add #:rest.
(luks-device-mapping-with-options): Deprecate.
* gnu/tests/install.scm (%encrypted-home-os-key-file): Update
accordingly.
* doc/guix.texi (Mapped Devices): Document use of the ‘arguments’ field
of ‘luks-device-mapping’.  Remove ‘luks-device-mapping-with-options’
documentation.
(Bootloader Configuration): Update example with key file in extra
initrd.

Change-Id: I5442908cb8ef4e3891dbb053cccf5e42b895486f
Reported-by: Tadhg McDonald-Jensen <tadhgmister@gmail.com>
2025-07-18 00:57:31 +02:00
Ludovic Courtès
62bf9a7cc7
mapped-devices: Add ‘arguments’ field.
Fixes <https://issues.guix.gnu.org/70826>.

This allows users to specify extra arguments specific to the underlying
mapped device type.

* gnu/system/mapped-devices.scm (<mapped-device>)[arguments]: New field.
(device-mapping-service-type): Honor it.
* guix/scripts/system.scm (check-mapped-devices): Likewise.
* gnu/system/linux-initrd.scm (raw-initrd): Likewise.
* doc/guix.texi (Mapped Devices): Document it.

Reported-by: 45mg <45mg.writes@gmail.com>
Change-Id: Idef5a3e68535c412f13bae9a92c81c49053d4f4a
2025-07-18 00:57:25 +02:00
Ludovic Courtès
951e39718a
tests: foreign: Add ‘archlinux-install’ test.
* gnu/tests/foreign.scm (archlinux-qcow2, %test-archlinux-install): New
variables.

Co-authored-by: Ivan Popovych <ivan@ipvych.com>
Change-Id: I2fce962a2eafa58fafaf2bdff25fc23df28fd687
2025-07-18 00:43:51 +02:00
Ludovic Courtès
bf79804508
tests: foreign: Parameterize root partition device.
* gnu/tests/foreign.scm (run-foreign-install-test): Add #:device
parameter and honor it.

Change-Id: I68bddaa25e9ba4131fc10366efed6772a3586a31
2025-07-18 00:43:50 +02:00
Ludovic Courtès
9596822a6c
tests: foreign: Forcefully delete /bin/{wget,gpg}.
* gnu/tests/foreign.scm (run-foreign-install-test)[build]: Attempt to
delete /bin/{wget,gpg} before recreating them.

Change-Id: I5260cae7f706ce9a492a86b1859591c8446e04a3
2025-07-18 00:43:50 +02:00
Ludovic Courtès
08c23d2c13
tests: foreign: Preserve distro image size.
* gnu/tests/foreign.scm (qcow-image-with-marionette): Remove the “10G”
argument to ‘qemu-img create’ since it could lead to corrupt
images—e.g., with the Arch Linux image.

Change-Id: I92d7551a16f325376c98d32e2cd6a01f8ed05e51
2025-07-18 00:43:50 +02:00
Ludovic Courtès
224361d3a3
tests: foreign: Catch failure to mount distro image.
* gnu/tests/foreign.scm (qcow-image-with-marionette)[build]: Call
‘error’ when ‘mount’ exits with a non-zero code.

Change-Id: I7c608e0aa7dff1447c9df778951d7a5256e47255
2025-07-18 00:43:50 +02:00
Ricardo Wurmus
8f25432f40
gnu: ardour: Update to 8.12.
* gnu/packages/audio.scm (ardour): Update to 8.12.

Change-Id: I0156c904000ab1c76a5bf797368b606db0d27e95
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-17 22:27:50 +02:00
Janneke Nieuwenhuizen
1ef5cd24a6
system: examples: devel-hurd64: Remove new Linux-specific dependency.
* gnu/system/examples/devel-hurd.tmpl (guix-packages): Also remove
slirp4netns; it is a Linux-specific dependency that does not build for the
Hurd.

Change-Id: I5bca0f44b32d09dd4baa86a6d47d33133a4339c6
2025-07-17 21:22:10 +02:00
Cayetano Santos
3767eb036a
gnu: emacs-doom-modeline: Update to 4.2.0.
* gnu/packages/emacs-xyz.scm (emacs-doom-modeline): Update to 4.2.0.

Change-Id: I75d94f368d594155ccadcd77ea63e808e38d11af
Signed-off-by: jgart <jgart@dismail.de>
2025-07-17 13:00:19 -05:00
Cayetano Santos
6f2885cafd
gnu: emacs-cape: Update to 2.1.
* gnu/packages/emacs-xyz.scm (emacs-cape): Update to 2.1.
[arguments]: Unset :#tests flag.

Change-Id: Ieea323a9ca94912d8e7305cbfd9e93e439f85787
Signed-off-by: jgart <jgart@dismail.de>
2025-07-17 12:56:37 -05:00
jgart
a465df6fd6
gnu: trealla: Update to 2.78.20.
* gnu/packages/prolog.scm (trealla): Update to 2.78.20.

Change-Id: If531f340a4a9869b300d9035f5d56b8eda10a79b
2025-07-17 12:54:34 -05:00
Efraim Flashner
945c6ff9f2
guix: lint: Find more hardcoded compiler targets.
* guix/lint.scm (check-compiler-for-target): Adjust the logic when
checking the make-flags to actually determine if it is a gexp or not.
* tests/lint.scm (compiler-for-target: looks through G-expressions): Fix
test.

Change-Id: I0040cf29c8197d394e63ac90b2fba7ca5bcb5861
2025-07-17 20:29:48 +03:00
Simon Tournier
758e79730c
swh: Catch swh-error when downloading from SWH Vault.
* guix/swh.scm (swh-download): Catch 'swh-error' and display the error
message.

Change-Id: I2965d8b71023a938a5ba7eba454c6ec109fdcc54
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-17 16:41:28 +02:00
Cayetano Santos
dd25c5a6f2
gnu: Add emacs-vunitmode.
* gnu/packages/emacs-xyz.scm (emacs-vunitmode): New variable.

Change-Id: I6af066c7ec0964df9b7537a755eb9c98b8ce42d9
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-17 16:41:28 +02:00
Jake Forster
9f513fe73b
gnu: hdf5: Remove static libraries.
* gnu/packages/maths.scm (hdf5): Remove static libraries.
[arguments]<#:configure-flags>: Add -DBUILD_STATIC_LIBS=OFF.

Change-Id: I11ebb3460307e0c42ad3547eaa8c9e7534a3a769
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-17 16:41:28 +02:00
Jake Forster
11473f37c1
gnu: hdf5: Do not propagate libaec and zlib dependencies.
The patch 'hdf5-config-dependencies.patch' added 'find_dependency' calls for
libaec and zlib in hdf5-config.cmake.  As a result, packages that use
find_package(HDF5) in CMake Config mode must have libaec and zlib in the build
environment.  The patch appears to be unnecessary; it should be sufficient to
add libaec and zlib as inputs to packages that need them.

Related discussion in: <https://codeberg.org/guix/guix/pulls/953>.

* gnu/packages/maths.scm (hdf5): Do not propagate dependencies.
[source]<patches>: Remove hdf5-config-dependencies.patch.
* gnu/packages/image-processing.scm (insight-toolkit) [inputs]: Remove
libaec.
* gnu/packages/patches/hdf5-config-dependencies.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Deregister hdf5-config-dependencies.patch.

Change-Id: Idef61308cd146e898d1a4a8f1a97db23d36fc649
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-17 16:41:28 +02:00
Luca Cirrottola
6d063d7628
gnu: otf2: Update to 3.1.1.
* gnu/packages/profiling.scm (otf2): Update to 3.1.1.
[source]: Change ‘uri’.
[arguments]: Add ‘normalize-pkgconfig-files-location’ phase.

Change-Id: I5addfe23a6b57a10bedcc3f9738672b873914c87
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-17 16:41:28 +02:00
Luca Cirrottola
258284a93e
gnu: Add libbfd.
* gnu/packages/base.scm (libbfd): New variable.

Change-Id: I82d246e822876841dc64adfab9e13b27941d028a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-17 16:41:28 +02:00
Ludovic Courtès
bb6e645ff1
gnu: guix: Update to 826e305.
* gnu/packages/package-management.scm (guix): Update to 826e305.

Change-Id: I05a8ed7edf715dc95c23bdf8dc57a52e8145e93b
2025-07-17 16:41:28 +02:00
Ludovic Courtès
b8164e5f0e
build: Update push URL regexp for ‘update-guix-package’ script.
* build-aux/update-guix-package.scm (%guix-git-repo-push-url-regexp):
Add pattern for “git@codeberg.org” SSH URLs.

Change-Id: I88d8e3ca6ed4353ad692a919113bb5f3eec44ae5
2025-07-17 16:41:24 +02:00
Romain GARBAGE
eb73b0336d
gnu: kokkos: Update to 4.6.02.
* gnu/packages/cpp.scm (kokkos): Update to 4.6.02.

Change-Id: I581ffc12e90996cd40e9a9255e91e0772ce29407
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-17 16:02:36 +02:00
Romain GARBAGE
37ee5dd9e8
gnu: hdf5-parallel-openmpi: Inherit configuration flags from hdf5.
This propagates the fix for hdf5 introduced in commit
53b23512ee.

* gnu/packages/maths.scm (hdf5-parallel-openmpi): Inherit configuration flags from hdf5.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-17 15:51:52 +02:00
Andreas Enge
b02f78a6d9
gnu: sage: Remove input.
* gnu/packages/sagemath.scm (sage)[inputs]: Remove giac.
It is a big package, and the interface with sage does not work currently.

Co-authored-by: Vinicius Monego <monego@posteo.net>
Change-Id: I70310a6036cbf32afafcb6955a2825ea87931014
2025-07-17 11:04:54 +02:00
Vinicius Monego
6966677e95
gnu: sage: Fix lint warning.
* gnu/packages/sagemath.scm (sage)[description]: Use two spaces after
sentence.

Change-Id: I1495dadf597ab9c8337a97c1ae1da1d1c34ed908
2025-07-17 10:57:35 +02:00
Vinicius Monego
917e71394a
gnu: sage: Safeguard _sage_getargspec_cython.
* gnu/packages/sagemath.scm (sage)[source]: Add patch.
* gnu/packages/patches/sage-safeguard-sage-getargspec-cython.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I7dd491d29131ee1e192e7406cc46469cbd0d303f
2025-07-17 10:57:26 +02:00
Nicolas Graves
29f7068a61
gnu: Add python-pyclibrary.
* gnu/packages/python-xyz.scm (python-pyclibrary): New variable.

Change-Id: Ib02029f6ee122dd833b4c4f2b83c1e9a82237aa8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-17 00:22:44 +01:00
Ekaitz Zarraga
e6812736ab
gnu: duckdb: Update to 1.3.2.
* gnu/packages/databases.scm (duckdb): Update to 1.3.2.
[source]: Move snippet to configure-flags.
[arguments]{#:configure-flags}: Add OVERRIDE_GIT_DESCRIBE. Remove fts
extension (it doesn't exist anymore).

Change-Id: I61baaf033dfc9b338b4033975cfe92e6375459a4
2025-07-17 00:21:05 +02:00
Tomas Volf
826e305fde
gnu: cgit: Update to 1.2.3-10.20ac8f5.
* gnu/packages/version-control.scm (cgit): Update to 1.2.3-10.20ac8f5.

Change-Id: I67fa02695e1cc5db630c8deac13036e0dea35ec2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-16 23:51:11 +02:00
Nicolas Graves
0559a4b547
build-system: guile: Remove unused build defaults.
Defaults should be set in guix/build-system/guile.scm rather than
guix/build/guile-build-system.scm, to disambiguate at first sight
where those defaults are set.

* guix/build-system/guile.scm (guile-build)
  <#:not-compiled-file-regexp>: Add default.

* guix/build/guile-build-system.scm (build): Remove unused keyword
  defaults.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-16 23:50:51 +02:00
Nicolas Graves
8897360fb3
build-system: guile: Make #:documentation-file-regexp configurable.
* guix/build/guile-build-system.scm
  (install-documentation): Unset documentation-file-regexp keyword
  default.
  (%documentation-file-regexp): Move variable to...
* guix/build-system/guile.scm
  (%documentation-file-regexp): New variable.
  (guile-build, guile-cross-build): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-16 23:50:51 +02:00