Commit graph

141897 commits

Author SHA1 Message Date
Simon South
7d220b780a
gnu: font-fontna-yasashisa-antique: Install license file.
* gnu/packages/fonts.scm (font-fontna-yasashisa-antique)[arguments]<#:phases>:
Add "enter-license-directory" phase.
2024-08-31 10:44:33 +02:00
Simon South
f5a8d873fb
gnu: font-jetbrains-mono: Remove obsolete phase.
* gnu/packages/fonts.scm (font-jetbrains-mono)[arguments]<#:phases>: Remove
obsolete "install-license-files" phase.
2024-08-31 10:44:33 +02:00
Simon South
9c95b22480
gnu: font-dseg: Install license file.
* gnu/packages/fonts.scm (font-dseg)[arguments]<#:license-file-regexp>: Add.
2024-08-31 10:44:33 +02:00
Simon South
13e9e6d215
gnu: font-dseg: Simplify "install" phase.
* gnu/packages/fonts.scm (font-dseg)[source]: Use url-fetch.
[arguments]<#:phases>: Remove "with-directory-excursion" from "install" phase.
2024-08-31 10:44:33 +02:00
Simon South
6bb9888273
gnu: font-culmus: Install all license files.
* gnu/packages/fonts.scm (font-culmus)[arguments]<#:license-file-regexp>: Add.
2024-08-31 10:44:33 +02:00
Simon South
efa43e94fb
gnu: font-dosis: Remove extraneous files; install license file.
* gnu/packages/fonts.scm (font-dosis)[source]: Use url-fetch.
2024-08-31 10:44:33 +02:00
Simon South
f8619a64e5
gnu: font-go: Install license files.
* gnu/packages/fonts.scm (font-go)[arguments]<#:license-file-regexp>: Add.
<#:phases>: Add "enter-license-directory" phase.
2024-08-31 10:44:32 +02:00
Simon South
3245258fe2
gnu: font-space-grotesk: Remove obsolete phase.
* gnu/packages/fonts.scm (font-space-grotesk)[arguments]: Remove along with
obsolete "install-license-files" phase.
2024-08-31 10:44:32 +02:00
Simon South
f98d63d0b1
gnu: font-comic-neue: Install license file.
* gnu/packages/fonts.scm (font-comic-neue)[arguments]<#:phases>: Add
"enter-license-directory" phase.
2024-08-31 10:44:32 +02:00
Simon South
659f37fcbf
gnu: font-fira-go: Install license file.
* gnu/packages/fonts.scm (font-fira-go)[arguments]: Add with
"enter-license-directory" phase.
2024-08-31 10:44:32 +02:00
Simon South
0923bbbe26
gnu: font-fira-sans: Install license file.
* gnu/packages/fonts.scm (font-fira-sans)[arguments]<#:phases>: Add
"enter-license-directory" phase.
2024-08-31 10:44:32 +02:00
Simon South
1153be583f
gnu: font-wqy-microhei: Install all license files.
* gnu/packages/fonts.scm (font-wqy-microhei)[arguments]: Add with
 #:license-file-regexp.
2024-08-31 10:44:32 +02:00
Simon South
96129c16df
gnu: font-wqy-zenhei: Install all license files.
* gnu/packages/fonts.scm (font-wqy-zenhei)[arguments]: Add with
 #:license-file-regexp.
2024-08-31 10:44:32 +02:00
Simon South
b8e0221e61
gnu: font-linuxlibertine: Install all license files.
* gnu/packages/fonts.scm (font-linuxlibertine)[arguments]
<#:license-file-regexp>: Add.
2024-08-31 10:44:31 +02:00
Simon South
1deee60b1a
gnu: font-lato: Install license file.
* gnu/packages/fonts.scm (font-lato)[source]: Use url-fetch.
2024-08-31 10:44:31 +02:00
Simon South
24d55bd09a
gnu: font-canada1500: Install license file.
* gnu/packages/fonts.scm (font-canada1500)[source]: Use url-fetch/zipbomb.
[arguments]: Add with #:license-file-regexp.
2024-08-31 10:44:31 +02:00
Simon South
afdb74da3a
build-system/font: Customize %license-file-regexp.
* guix/build/font-build-system.scm (%license-file-regexp): Customize to
include names of license files commonly found in font packages.
2024-08-31 10:44:31 +02:00
Simon South
3ee1e8028e
build-system/font: Add #:license-file-regexp argument.
* guix/build-system/font.scm (font-build): Add #:license-file-regexp argument
and honour it.
* guix/build/font-build-system.scm (%license-file-regexp): New variable,
duplicated from (gnu build gnu-build-system).
2024-08-31 10:44:31 +02:00
Winter
43c77ee306
gnu: patchelf: Update to 0.17.2.
* gnu/packages/elf.scm (patchelf): Update to 0.17.2.
[uri]: Use the release tarballs posted to GitHub releases, which have
superseded the ones hosted on releases.nixos.org.
[arguments]: Add fixes for two tests added since the last update.
[properties]: Remove release-monitoring-url, as the GitHub updater will
be used now that the releases are hosted there.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:31 +02:00
Felix Lechner
8c8f07785f
gnu: inetutils: Convert to gexp.
* gnu/packages/admin.scm (inetutils): Convert to gexp; fix indentation.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ic61fa69040b4e554ad8303192167f331bec4e863
2024-08-31 10:44:31 +02:00
André Batista
02fb3328f7
gnu: qpdf: Update to 11.3.0.
* gnu/packages/web.scm (lighttpd): Update to 11.3.0.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: If3789d5d86f4edc099841605c67c79913d344806
2024-08-31 10:44:30 +02:00
Z572 via Guix-patches via
e801fd4ad8
gnu: pcre2: Update to 10.42.
* gnu/packages/pcre.scm (pcre2): Update to 10.42.
[arguments]: <#:configure-flags>: enable jit when target to riscv64.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I128c5e4b58ec8b26203ad8ef177bec29793d01a6
2024-08-31 10:44:30 +02:00
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