1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-23 10:40:31 +02:00
Commit Graph

174082 Commits

Author SHA1 Message Date
Maxim Cournoyer
32e3c68892 gnu: python: Update to 3.11.14, absorbing graft.
* gnu/packages/python.scm (python-3.11/fixed): Delete variable.
(python-3.11): Update to 3.11.14.

Change-Id: I764c47b1a78f0663e5ec2780da8b186f6092bdb6
2025-11-19 09:42:12 +09:00
Maxim Cournoyer
2a065c5838 gnu: libpng-apng: Update to 1.6.50, absorbing libpng-apng-next.
* gnu/packages/image.scm (libpng-apng): Update to 1.6.50.
[arguments]: Use gexps.
[inputs]: Update libpng-apng hash.
(libpng-apng-next): Delete variable.
* gnu/packages/gnuzilla.scm (icecat-minimal): Replace libpng-apng-next
with libpng-apng.
* gnu/packages/librewolf.scm (librewolf) [inputs]: Likewise.

Change-Id: I464188e4c08e9d076ce9deff8811f7ca0b753433
2025-11-19 09:42:12 +09:00
Maxim Cournoyer
1766f0a40c gnu: plotutils: Unbundle libxmi and apply other Gentoo patches.
* gnu/packages/patches/plotutils-c23.patch
* gnu/packages/patches/plotutils-configure-c99.patch
* gnu/packages/patches/plotutils-cxx17-fix.patch
* gnu/packages/patches/plotutils-format-security.patch
* gnu/packages/patches/plotutils-libxmi.patch
* gnu/packages/patches/plotutils-makefile.patch
* gnu/packages/patches/plotutils-rangecheck.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/plotutils.scm (plotutils) [source]: Delete bundled libxmi and
apply patches.
[#:configure-flags]: Add --disable-static.
[#:phases]: Add force-bootstrap phase.
[native-inputs]: Add autoconf, automake and libtool.
[inputs]: Add libxmi.

Change-Id: Ib6c5e6a1e3d70222c94a97ebe19e9d75e7b7b64d
2025-11-19 09:42:12 +09:00
Maxim Cournoyer
90ce7d84e6 gnu: libxmi: Update to 1.3.
* gnu/packages/graphics.scm (libxmi): Update to 1.3 and apply Gentoo patches.
* gnu/packages/patches/libxmi-gcc15.patch: New file.
* gnu/packages/patches/libxmi-implicit.patch: New file.
* gnu/local.mk: Register them.

Change-Id: I73afe29743ebb99a5d2146f65ad76ec9a18c2466
2025-11-19 09:42:12 +09:00
Maxim Cournoyer
1fd565b7e3 gnu: Add libxmi.
* gnu/packages/graphics.scm (libxmi): New variable.

Change-Id: Ied70b93ca5dee3c02e42bad0de5cd1d4299445ea
2025-11-19 09:42:12 +09:00
Maxim Cournoyer
bed3a5ff37 gnu: hello: Add debug output.
* gnu/packages/base.scm (hello) [outputs]: New field.

Change-Id: I92f28fbc2a00f62626afe269bf86aecee004612b
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
f248ea111f gnu: gcc-mesboot: Raise default timeout via property.
It was found to time out in the CI after 21600 seconds.

* gnu/packages/commencement.scm (gcc-mesboot) [properties]: New field.

Change-Id: Idec8a668f4f15e9ed3712d505b82704260b4295d
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
1029981e70 elf: Remove bundled Guile source.
This module has been included in Guile as (system vm elf) since around version
2.1.

* guix/elf.scm: Delete file.
* CODEOWNERS: De-register module.
* Makefile.am (MODULES): Likewise.
* etc/teams.scm (core): Likewise.
* gnu/build/linux-modules.scm: Adjust imports.
* gnu/packages/gnuzilla.scm (icecat-minimal) [modules]: Likewise.
* gnu/packages/librewolf.scm (librewolf): Likewise.
* gnu/packages/sequoia.scm (sequoia): Likewise.
* gnu/packages/tor-browsers.scm (make-torbrowser): Likewise.
* gnu/packages/version-control.scm (hg-commitsigs): Likewise.
* guix/build/debug-link.scm: Likewise.
* guix/build/meson-build-system.scm: Likewise.
* guix/grafts.scm (graft-derivation/shallow): Likewise.
* guix/scripts/pack.scm (wrapped-package): Likewise.
* tests/debug-link.scm: ("elf-debuglink", "set-debuglink-crc"): Likewise.
* tests/gremlin.scm: Likewise.
* guix/build/syscalls.scm (has-access-to-libc-shared-library?): New procedure.
* guix/build-system/gnu.scm (%default-gnu-imported-modules): Remove (guix elf).
* guix/build/gnu-build-system.scm: Lazily load (system vm elf).
(has-elf-editing-support?): New variable.
(strip) [!has-elf-editing-support?] <guile-bytecode?>: Do not check ELF
section.
(compress-debug-info): [!has-elf-editing-support?]: Skip phase.
(validate-runpath): Likewise.
(make-dynamic-linker-cache): Likewise.
* guix/build/gremlin.scm: Lazily load (system vm elf).

Change-Id: I86ac4237fdd820a6b54dc0fe7a7d10403a290ef9
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
9f8a93b955 Use mmap for the elf parser, reducing memory usage.
The `file->bytevector' new procedure uses a memory mapped bytevector, so
parsing the ELF file reads only the sections needed, not the whole file.

* guix/scripts/pack.scm (wrapped-package): Use file->bytevector.
* guix/build/gnu-build-system.scm (strip, compress-debug-info): Likewise.
(validate-runpath): Update doc.
* guix/build/gremlin.scm (file-dynamic-info): Use file->bytevector.
(validate-needed-in-runpath): Likewise.
(strip-runpath): Likewise, and write to bytevector directly, avoiding a port.
(set-file-runpath): Likewise.
* tests/gremlin.scm (read-elf): Delete procedure.
("elf-dynamic-info-needed, executable"): Use file-dynamic-info.
("strip-runpath"): Likewise.
("elf-dynamic-info-soname"): Likewise.
("strip-runpath", "set-file-runpath + file-runpath"): Do not execute file,
which can now lead to a ETXTBSY (text file busy) error.
* guix/build/debug-link.scm (set-debuglink-crc): Use file->bytevector.
* tests/debug-link.scm (read-elf): Delete procedure.
("elf-debuglink"): Rename to...
("elf-debuglink, no .gnu_debuglink section"): ... this.
("elf-debuglink", "set-debuglink-crc"): Use external store, and adjust to use
file->bytevector.
* gnu/packages/gnuzilla.scm (icecat-minimal) [#:phases]
{build-sandbox-whitelist}: Use `file-runpath'.
* gnu/packages/librewolf.scm (librewolf): Likewise.
* guix/build-system/gnu.scm (%default-gnu-imported-modules): Add transitive
dependencies of (guix build gremlin).

Fixes: <https://issues.guix.gnu.org/59365>
Fixes: #1262
Fixes: #3974
Change-Id: I43b77ed0cdc38994ea89d3d401e0d136aa6b187a
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
fdc13e85a6 syscalls: Add mmap support.
* guix/build/syscalls.scm (protection, protection-set, mmap-flag)
(mmap-flag-set, %mmap-guardian, %unmapped-bytevectors): New variables.
(hurd?, protection-symbol->value, protection-set->value)
(mmap-flag-symbol->value, mmap-flag-set->value, pump-mmap-guardian)
(%map-failed, %mmap, mmap, %munmap, munmap, %msync, msync): New procedures.
* guix/build/io.scm: New file.
* Makefile.am: Register it.
* tests/syscalls.scm: ("mmap", "file->bytevector, reading")
("file->bytevector, writing"): New tests.

Change-Id: I19ec687899eda635559e91200dd8d98669b0e35f
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
0368fbf205 gnu: hunspell: Update to 1.7.2.
* gnu/packages/hunspell.scm (hunspell): Update to 1.7.2.
[native-inputs]: Add gettext-minimal.

Change-Id: Ibdc4378c90a1a1fbad0134f6d7744fad2aac3d86
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
7141acb4a3 gnu: autoconf: Update to 2.72.
* gnu/packages/autotools.scm (autoconf): Point to autoconf-2.72.
* gnu/packages/dbm.scm (bdb-4.8) [native-inputs]: Replace autoconf with
autoconf-2.69.

Change-Id: Ifa0fdd7bab21aa585e729f4e6ccf8ab15b0f73f3
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
15405dc8e5 gnu: help2man: Update to 1.49.3.
* gnu/packages/man.scm (help2man): Update to 1.49.3.

Change-Id: I9fc62620e89ca1f66b5ec402b19c639425ee5ecb
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
3ac1fba670 gnu: gettext-minimal: Update to 0.26.
* gnu/packages/gettext.scm (gettext-minimal): Update to 0.26.

Change-Id: I7d594b6a89a7e12a5e0ed2da7875407800e33415
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
b37223a555 gnu: acl: Update to 2.3.2.
* gnu/packages/acl.scm (acl): Update to 2.3.2.

Change-Id: I379bc4428abbb951f5befa1d8da5fbac4dfbeeb8
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
bd1ad1e164 gnu: libtool: Update to 2.5.4.
* gnu/packages/autotools.scm (libtool): Update to 2.5.4.
[source]: Delete patches.
[#:phases] {skip-some-tests-on-extra-archs}: New phases.
* gnu/packages/patches/libtool-grep-compat.patch: Delete file.
* gnu/packages/patches/libtool-skip-tests2.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Change-Id: I6f16e7edd996c5b577acdbbd4905ec63d27b3655
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
2a2d1806b0 gnu: flex: Move bison-for-tests input to native inputs.
If it's truly for tests, it ought to be a native inputs.

* gnu/packages/flex.scm (flex) [inputs]: Delete field, moving bison-for-tests...
[native-inputs]: ... here.

Change-Id: I7fa30de00b1a6386d495403a619f412daa9d1ab5
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
4ac304d333 gnu: flex: Apply a patch fixing a non-deterministic build failure.
* gnu/packages/patches/flex-fix-make-dependencies.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/flex.scm (flex) [source]: Apply it, wrapping the origin in a
bootstrap-origin call to avoid a circular dependency problem.

Change-Id: I7b9994a9239bdafa5c7768b9f954870716c76ad7
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
e07d5c2492 gnu: m4: Update to 1.4.20.
* gnu/packages/m4.scm (m4): Update to 1.4.20.

Change-Id: I8c1d352f8bb7142e196d301254e19c322a9c498a
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
d62d392b4f gnu: ed: Update to 1.22.2.
* gnu/packages/text-editors.scm (ed): Update to 1.22.2.

Change-Id: Ib2a2fa6c5a5171337849f56edc609db1b506350b
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
f0011f3623 gnu: bash: Update to 5.3.
* gnu/packages/bash.scm (patch-url): Update URL.
(%patch-series-5.2): Rename to...
(%patch-series-5.3): ... this, and update patch series.
(bash): Update to 5.3.  Adjust for the above accordingly.

Change-Id: Iac8ad192ba8246d500d995382fe46e4cd368eecc
2025-11-19 09:42:11 +09:00
Maxim Cournoyer
50158584d1 gnu: readline: Update to 8.3.
* gnu/packages/readline.scm (%patch-series-8.2): Rename to...
(%patch-series-8.3): ... this, and update.
(readline): Update to 8.3.  Adjust for the above.

Change-Id: I9109153748f65650e82f5fcf27e926b888476dd8
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
3294f22540 gnu: xz: Update to 5.8.1.
* gnu/packages/compression.scm (xz): Update to 5.8.1.

Change-Id: I34bd64c5e18ea331e4bfe91d79dd419486296fe3
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
7d9124e119 build/gnu: Add a compress-debug-info phase.
This new phase reduces the debug output of large C++ packages such as
qtdeclarative by about 20%.

* guix/build/gnu-build-system.scm (compress-debug-info): New procedure.
(%standard-phases): Register it.

Relates-to: #3617
Change-Id: I9463f1299d97c20eee5d6f685a2f1abbb05545f0
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
4a2a87cac6 build/gnu: Do not attempt to strip Guile byte-compiled files.
This fails and produces noise and spurious debug files.

* guix/build/gnu-build-system.scm (strip) <guile-bytecode?>: New predicate.
Use it to filter out .go files from the files to be stripped.

Change-Id: I3063083a7d04d903d85d28d9526fdec079914fce
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
19a07eb0b9 gnu %final-inputs: Add dwz-final.
* gnu/packages/commencement.scm (%final-inputs): Register dwz-final.

Change-Id: Iff6842cbf691d3ea38bdfecc7d3816b0806d6f0d
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
a18097b4f2 gnu: Add dwz-final.
* gnu/packages/commencement.scm (dwz-final): New variable.

Change-Id: I2a0453fbca2184e3f31c9b92190dfd7259c5541a
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
014b4e2a09 gnu: Add xxhash-final.
* gnu/packages/commencement.scm (xxhash-final): New variable.

Change-Id: Ib3839b2233026527c8bf942db9cd9904eb079c5f
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
8206161036 gnu: Add elfutils-final.
Thanks to Yelninei for testing on the Hurd.

* gnu/packages/commencement.scm (elfutils-final): New variable.

Change-Id: Ibcd0cdf2ba2d90232f097ea6599548e30aeb20d8
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
08024902ff gnu: Add dwz.
* gnu/packages/elf.scm (dwz): New variable.

Co-authored-by: Danny Milosavljevic <dannym@friendly-machines.com>
Change-Id: I6d328109c246ee098680a14eed556d29b890a057
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
8f29e41d4e gnu: binutils: Use zstd compression level 19.
* gnu/packages/base.scm (binutils) [#:phases]
{use-zstd-compression-level-19}: New phase.
(binutils-gold) [#:phases]
{use-zstd-compression-level-19-for-gold}: New phase.

Change-Id: I0e75329bb231dba39db61a880eb306c58c0acc11
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
bc357f8f37 gnu: binutils-boot0: Refactor arguments.
When the inherited binutils package had a #:phases argument, it would replace
that fo binutils-boot0 (being appended), and causing breakage.

* gnu/packages/commencement.scm (binutils-boot0): Do not append the inherited
binutils arguments; modify them with a chained ensure-keyword-arguments and
substitute-keyword-arguments.

Suggested-by: Rutherther <rutherther@ditigal.xyz>
Change-Id: If1245556e363b9a1da2e2bb65c83e3b3aa4ff6de
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
0741aaad59 gnu: binutils: Enable zstd compression.
* gnu/packages/base.scm (binutils) [native-inputs]: Add pkg-config.
[inputs]: Add zstd:lib.
(binutils-gold) [#:phases] {set-LD_LIBRARY_PATH}: New phase.

Change-Id: I344242724b5978c98dd20d8309de02702e78cf9a
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
77af0a799c gnu: binutils: Do not compress debug sections.
This is in preparation to a new phase which will deduplicate debug symbols
with dwz (and compress them after via objcopy).

* gnu/packages/base.scm (binutils) [#:configure-flags]: Remove
--enable-compressed-debug-sections=all.

Change-Id: I992bc680f3e5f7bb6b7aae81e9311352745402cf
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
7bca596364 gnu: binutils: Fix indentation.
* gnu/packages/base.scm (binutils): Fix indentation.

Change-Id: Icd8d298e00ae6c826aaef5f4e59688b6d8374b9e
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
a9a9e25e7a gnu: binutils-final: Enable zstd support.
* gnu/packages/commencement.scm (binutils-final)
[#:allowed-references]: Add zstd-final:lib.
[native-inputs]: Add pkg-config-final.
[inputs]: Add zstd-final:lib.

Change-Id: I2c57f376f79ab866bce4456a41e752fcfa5c9826
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
49f26dbc54 gnu: Add pkg-config-final.
* gnu/packages/commencement.scm (pkg-config-final): New package.
(make-gnu-make-final): Use it.

Change-Id: I1452a09e765de863ac9725ac7924a0a97d3010ca
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
ac94110f7b gnu: %final-inputs: Use zstd-final.
* gnu/packages/commencement.scm (%final-inputs): Use zstd-final instead of
computing it, now that there's a binding for it.

Change-Id: I3d28538b56f2480397d827cd4dac1275f0d27d66
2025-11-19 09:42:10 +09:00
Maxim Cournoyer
b248fbf63c gnu: Add zstd-final.
* gnu/packages/commencement.scm (zstd-final): New variable.

Change-Id: Ic6bef892f35a4bca809ff80dd279190b0f4902bd
2025-11-19 09:42:10 +09:00
jgart
a9fb5fa2b9 gnu: trealla: Update to 2.85.4.
* gnu/packages/prolog.scm (trealla): Update to 2.85.4.

Change-Id: I56916f5348964354de31d46570ae14273776c50c
2025-11-18 17:12:18 -06:00
Cayetano Santos
dcb5e8d972 gnu: whisper-cpp: Update to 1.8.2 and add ffmpeg input.
* gnu/packages/machine-learning.scm (whisper-cpp): Update to 1.8.2.
[arguments]<#:phases>: Fix ’skip-failing-vad-tests.
<#:configure-flags>: Enable ffmpeg.
[inputs]: Add ffmpeg. Remove git.
[native-inputs]: Add git.

Change-Id: I75e6b4379e2112b2bcc9739b76bea9edceb0d3e0
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 21:27:00 +01:00
Patrick Norton
3ad8da18a5 gnu: cbonsai: Update to 1.4.2.
* gnu/packages/toys.scm (cbonsai): Update to 1.4.2.

Change-Id: I6421e3668927340e76cf2214e5ea98b79b5ce907
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 21:26:52 +01:00
Cayetano Santos
81d0209572 gnu: whisper-cpp: Improve style.
* gnu/packages/machine-learning.scm (whisper-cpp): Fix max column.
[inputs]: Sort.

Change-Id: Ia86c4216a196b5c8645236b3d51d9cf73707fc9e
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 21:11:12 +01:00
Andy Tai
b3737fd05f gnu: xpra-5: Update to 5.1.3.
* gnu/packages/xorg.scm (xpra-5): Update to 5.1.3.

Change-Id: I76729779e78cb1923a288ead34e5baf63b3d3e98
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 21:02:49 +01:00
Andy Tai
c0a98f1d29 gnu: xpra: Update to 6.3.6.
* gnu/packages/xorg.scm (xpra): Update to 6.3.6.

Change-Id: I72753a9aca6d3a367a6af1663c6cf14b4445bda2
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 21:01:38 +01:00
Ashish SHUKLA
2c1376e9f1 gnu: goawk: Update to 1.30.1.
* gnu/packages/textutils.scm (goawk): Update to 1.30.1.

Change-Id: I5187b390358004a8cc2a6b080b53db72b58d6075
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 20:53:51 +01:00
Yelninei
e7d53cd390 gnu: trurl: Update to 0.16.1.
* gnu/packages/curl.scm (trurl): Update to 0.16.1.
[native-inputs]: Add perl, replace python with python-minimal.

Change-Id: Ia5c7afddfded46d64888e8181686b30eb210fbce
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 20:48:48 +01:00
Artyom V. Poptsov
c903866bc8 gnu: hnsd: Update to 2.0.0.
* gnu/packages/dns.scm (hnsd): Update to 2.0.0.
[source]<snippet>: Don't patch "configure.ac".  Update existing substitutions.
[home-page]: Set to "https://handshake.org/" as the old page permanently
redirects to this URL.

Change-Id: I35950edea8194f76b5cd4fc8bc2717512271ff39
2025-11-18 21:38:47 +03:00
Artyom V. Poptsov
4dc83290f7 gnu: Fix whitespace issues in "dns" module.
* gnu/packages/dns.scm: Fix whitespace issues.

Change-Id: Ibf08abc836ab6b37646ec9c3db25d4b5979ea618
2025-11-18 21:38:14 +03:00
JodiMcJodson
ce36502dab gnu: beets: Update to 2.5.1.
* gnu/packages/music.scm (beets): Update to 2.5.1.
[arguments]<#:phases>{skip-tests-that-need-internet}: New phase.

Change-Id: Ic0d4c4fea00e58bc50fe0a77816ec5663ad2e204
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 18:27:47 +01:00