Commit graph

141814 commits

Author SHA1 Message Date
Sarah Morgensen
af85c38b01
import: go: Emit new-style package inputs.
Since PACKAGE-NAMES->PACKAGE-INPUTS is used by both the go and crate
importers, give the crate importer a copy of the original so it
continues to use old-style inputs until it is updated.

* guix/import/utils.scm (package-names->package-inputs)[make-input]:
Return new-style package inputs.
(maybe-inputs): Wrap PACKAGE-INPUTS in 'list' instead of 'quasiquote'.
* guix/import/crate.scm (package-names->package-inputs): New variable.
* tests/go.scm ("go-module->guix-package"): Adjust to new-style package
inputs.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:36 +02:00
Sarah Morgensen
b8af6694b9
import: crate: Emit new-style package inputs.
* guix/import/crate.scm (maybe-cargo-development-inputs)
(maybe-cargo-inputs): Wrap PACKAGE-INPUTS in unquoted 'list'.
* tests/crate.scm ("crate->guix-package")
("cargo-recursive-import")
("cargo-recursive-import-honors-existing-packages"): Adjust accordingly.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I4dfb745272ecbc893926446872514fb815c07236
2024-08-31 10:44:36 +02:00
Sarah Morgensen
969fb0b2be
build-system/go: Honor #:parallel-tests?.
guix/build/go-build-system.scm (build): Honor #:parallel-tests?.
guix/build-system/go.scm (go-build): Add PARALLEL-TESTS? parameter.
[builder]: Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:36 +02:00
Sarah Morgensen
92046a65fa
build-system/go: Honor #:parallel-build?.
guix/build/go-build-system.scm (build): Honor #:parallel-build?.
guix/build-system/go.scm (go-build): Add PARALLEL-BUILD? parameter.
[builder]: Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:36 +02:00
Maxime Devos
d86b0d9689
gnu: dbm: Regenerate Autotools files.
This way, overriding the 'detection of 'build' isn't needed anymore.

* gnu/packages/dbm.scm (bdb-snippet): New procedure.
(bdb-4.8)[source]: Add the snippet.
[arguments]: Copy "config.sub"," "config.guess" and "install-sh" in a new
'boostrap phase', this time from automake.  Move macros from aclocal_java
to aclocal.  Move configure flags to #:configure-flags.  Remove 'configure'
phase, instead add a pre-configure phase for adjusting Makefile.in and use
'#:out-of-source' to perform an out-of-source build.  Run "s_config" to fix up
the version numbers.
(bdb-5.3)[source]: Inherit from bdb-4.8's source, to get the snippet.
(bdb-6)[source]: Likewise, and be careful to not add a patch.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I03aa7ed4afda15d970856efed9f14fd851ee7634
2024-08-31 10:44:35 +02:00
Lilah Tascheter
a3ef89714f
gnu: man-pages-posix: Remove redundant manpage compression.
* gnu/packages/man.scm (man-pages-posix)[arguments]: Don't run build
  phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Lilah Tascheter
1d16506c32
build/gnu: Support compressing non-numeric man sections.
* guix/build/gnu-build-system.scm (compress-documentation)
  [maybe-compress]: Expand regex to include man sections with alphabetic
  suffixes.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
kiasoc5
6667139960
gnu: bluez: enable wiimote plugin.
* gnu/packages/linux.scm (bluez)[configure-flags]: Add "--enable-wiimote".

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Petr Hodina
79af01a4ed
gnu: libxres: Update to 1.2.2.
* gnu/packages/xorg.scm (libxres): Update to 1.2.2.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Petr Hodina
6f5278d68a
gnu: xset: Update to 1.2.5.
* gnu/packages/xorg.scm (xset): Update to 1.2.5.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Petr Hodina
2df44ae0ad
gnu: xprop: Update to 1.2.6.
* gnu/packages/xorg.scm (xprop): Update to 1.2.6.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Petr Hodina
e6bfe68e19
gnu: transset: Update to 1.0.3.
* gnu/packages/xorg.scm (transset): Update to 1.0.3.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:34 +02:00
Petr Hodina
67495f8333
gnu: libice: Update to 1.1.0.
* gnu/packages/xorg.scm (libice): Update to 1.1.0.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:34 +02:00
Petr Hodina
7be0cb7736
gnu: libxcomposite: Update to 0.4.6.
* gnu/packages/xorg.scm (libxcomposite): Update to 0.4.6.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:34 +02:00
Adam Faiz
7c092f727e
gnu: webrtc-audio-processing: Update to 1.0.
* gnu/packages/audio.scm (webrtc-audio-processing): Update to 1.0.
[source]: Add snippet that fixes building on riscv and powerpc
architectures.
[arguments]: Remove patch-source phase.
[build-system]: Update to meson-build-system.
[inputs]: Add abseil-cpp as input.
* gnu/packages/patches/webrtc-audio-processing-big-endian.patch: Update
to 1.0.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I3e4a9e34aa23336ab09d4d5f098abe8c53f32f9d
2024-08-31 10:44:34 +02:00
Simon Josefsson
84d4ee7e0c
gnu: libgpg-error: Update to 1.46.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.46, passing
--enable-install-gpg-error-config to ./configure because some packages still
uses gpg-error-config (e.g., libassuan 2.5.5)

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I471a3c95a75565f5f4a69e90b40e8aac4fc7c69b
2024-08-31 10:44:34 +02:00
Simon South
583bb8d03c
gnu: font-charter: Install license file.
* gnu/packages/fonts.scm (font-charter)[arguments]<#:license-file-regexp>:
Add.
2024-08-31 10:44:33 +02:00
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