Commit graph

141825 commits

Author SHA1 Message Date
Saku Laesvuori via Guix-patches via
e77aef7f74
gnu: imagemagick: Update to 6.9.12-91.
* gnu/packages/imagemagick.scm (imagemagick)
(imagemagick/stable): Update to 6.9.12-91.
[patches]: Remove upstreamed patches. Add patch for fixing tests.
[arguments]: Enable tests.
* gnu/packages/patches/imagemagick-Fix-tests.patch: New file.
gnu/packages/patches/imagemagick-CVE-2020-27829.patch: Delete file.
* gnu/packages/patches/imagemagick-WriteTHUMBNAILImage-fix.patch: Likewise.
* gnu/packages/patches/imagemagick-ReadDCMImage-fix.patch: Likewise.
* gnu/packages/patches/imagemagick-ReadDCMPixels-fix.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I4c554abb1e5592590c3af8c57d9113d90de3f194
2024-08-31 10:44:30 +02:00
Greg Hogan
f40553702d
gnu: boost: Update to 1.83.0.
* gnu/packages/boost.scm (boost): Update to 1.83.0.
[source](patches): Add new and remove old upstream patches.
(patch-flags): Strip prefix to match source directory structure.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I68d0d50ea916c938d4b30e8e074202a9380cfa0b
2024-08-31 10:44:30 +02:00
Toorn, H.W.P. van den (Henk)
ba07aad5b3
gnu: python-pyyaml: Update to 6.0.1.
*  (python-pyyaml): Update to 6.0.1.

Change-Id: I01cc9fc96fb4e4ab76ecdfe74a4849e536ae36e2
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:30 +02:00
Zheng Junjie
0f1ed70bee
gnu: python-pytz: Update to 2023.3.post1.
* gnu/packages/time.scm (python-pytz): Update to 2023.3.post1.

Change-Id: Ia8b4a58127be7acc9a188ae1eaffa61a05842e05
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:30 +02:00
Josselin Poiret
44fe89f795
gnu: python-tzdata: Update to 2023.4.
* gnu/packages/time.scm (python-tzdata): Update to 2023.4.

Change-Id: Ic7e68392f69cbf2048e6588c8810d45beacebb10
2024-08-31 10:44:29 +02:00
Zheng Junjie
f23b8893bb
gnu: tzdata: Update to 2023d.
* gnu/packages/base.scm (tzdata): Update to 2023d.
[inputs]: update tzcode.

Change-Id: I54618cb6fedbed3c14a239d2d18a58938f331b51
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:29 +02:00
Greg Hogan
18516a3818
dist_patch_DATA: Unregister unlisted patch.
This patch was delisted from gcc-11 in 22f06be9287e22272bf3f34b91e9711e29bea129
and was delisted from gcc-10 in 2fbb5398a3 (merged
from master in 190eff1d201a099542cc1d3406bcc1eda6a980da).

* gnu/local.mk (dist_patch_DATA): Remove
gcc-10-tree-sra-union-handling.patch.

Change-Id: I46fca2cb942463a6f2efdd4012f735ed0cbd881d
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:29 +02:00
Greg Hogan
f49586ec3f
gnu: openjdk11: Fix build.
* gnu/packages/java.scm (openjdk11)[arguments]: Replace reference to
'remove-diz-file phase with 'remove-extraneous-files.

Change-Id: I932be9202459b41d82686839d309d1785011bf90
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:29 +02:00
Greg Hogan
cc666a69f7
gnu: openjdk9: Fix build.
* gnu/packages/java.scm (openjdk9)[arguments]: Use C.UTF-8 locale in
'install-keystore phase.

Change-Id: I7fb54b917a058584bcdee0fb5575b8eaba4f7edd

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ifd267ce38fa5b3a1c4712bde5345f2ef864cde06
2024-08-31 10:44:29 +02:00
Greg Hogan
0164655e1d
gnu: icedtea-7: Fix build.
* gnu/packages/java.scm (icedtea-7)[arguments]: Use C.UTF-8 locale in
'install-keystore phase.

Change-Id: I6da65dd8aaea6fc95f7f0d269ed5ab45c26ce21d

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I546047163a037347b4b01f34931aae19fc061fbf
2024-08-31 10:44:29 +02:00
Andy Tai
4d17abc514
gnu: ffmpeg: add svt-av1 support
* gnu/packages/video.scm (ffmpeg): Add support for svt-av1
[inputs]: Add svt-av1
[arguments] (configure-flags): Add "--enable-libsvtav1"

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Idb0166e943a4c69a56b68964fd6f3439b16f1903
2024-08-31 10:44:29 +02:00
Janneke Nieuwenhuizen
f41033ec26
gnu: guix: Fix cross build of documentation translations.
This fixes building guix-ru.info when building (for the Hurd)

    guix.ru.texi:3489: @node `??????????????????????' previously defined
    guix.ru.texi:2535: here is the previous definition as @node
    make[2]: *** [Makefile:5287: doc/guix.ru.info] Error 1

and building guix-zn-CN.info when building (for the Hurd)

    guix.zh_CN.texi:651: @node `??????' previously defined
    guix.zh_CN.texi:522: here is the previous definition as @node
    make[2]: *** [Makefile:5352: doc/guix.zh_CN.info] Error 1

and building guix-cookbook.ko when building (for the Hurd)

    guix-cookbook.ko.texi:781: @node `??????' previously defined
    guix-cookbook.ko.texi:522: here is the previous definition as @node
    make[2]: *** [Makefile:5549: doc/guix-cookbook.ko.info] Error 1

* gnu/packages/package-management.scm (guix)[native-inputs]: Add
libc-utf8-locales-for-target.

Change-Id: I561b4da84b31b343e515559feb90d773b1cf440a
2024-08-31 10:44:29 +02:00
Janneke Nieuwenhuizen
7f2b754b33
gnu: netdde: Fix building libdde_linux26.
* gnu/packages/hurd.scm (netdde)[arguments]: Set "ARCH=x86" in make-flags.

Change-Id: I24760f55fd0ae231f4a73bda158c70c2ac880723
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
cc2e13baec
gnu: hurd: Fix building libdde_linux26.
* gnu/packages/hurd.scm (hurd)[arguments]: In phases `build-libdde-linux' and
`install-goodies', also set ARCH=x86.

Change-Id: I2e7f14afda03c9e21ba9c3b24e195a00ae141701
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
41e01a1224
Revert "gnu: hurd: Add gnumach-headers as native input."
gnumach-headers[-cross] are contained in the toolchain; it was only the
`include/mach/machine' symlink that was missing.

This reverts commit 2dd16f46766997c0b3e4ee973ce6e792a4d84fcb.
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
0ff267cdf2
gnu: glibc/hurd: Install include/mach/machine symlink.
* gnu/packages/base.scm (glibc): When building for the Hurd, add phase
`create-machine-symlink'.
* gnu/packages/cross-base.scm (cross-libc*): Likewise.

Change-Id: I61fa081ce081f05bed918a438fd9d4eec94ef4bf
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
feae33359f
gnu: hurd: Add gnumach-headers as native input.
This provides the include/mach/machine/mach_i386.h.

* gnu/packages/hurd.scm (hurd)[native-inputs]: Add gnumach-headers, or
gnumach-headers-cross when cross-building.
[arguments]: Remove #t from phases.

Change-Id: Id57e0cf184c7793be52192bdc5587c6e6ef2a312
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
61f07911f7
gnu: gnumach-headers: Also build and install new `machine' symlink.
This is a follow-up to commit

    fe83aaf28369dd0548be6ced8a1f007eede01ded
    gnu: glibc/hurd: Update to 2.38.

and fixes

    No rule to make target 'mach/machine/mach_i386.h', needed by
    'trivfs_server.o'.  Stop.

* gnu/packages/hurd.scm (gnumach-headers)[arguments]: In phase `install' also
build `install-data-hook'.

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