Commit graph

143978 commits

Author SHA1 Message Date
John Kehayias
40b6729fd7
gnu: mesa: Update to 24.2.5.
* gnu/packages/gl.scm (mesa): Update to 24.2.5.

Change-Id: I84b8af46617fb414b564ceda6e9772dcee3f48d6
2024-11-05 11:56:51 -05:00
John Kehayias
00e5f7ff2a
gnu: sdl2: Update to 2.30.8.
* gnu/packages/sdl.scm (sdl2): Update to 2.30.8.

Change-Id: I007b589ad93fe90b873f7310c5e379ef5f5f5306
2024-11-05 11:56:49 -05:00
John Kehayias
22a2b66a82
gnu: mesa: Update to 24.2.4.
* gnu/packages/gl.scm (mesa): Update to 24.2.4.

Change-Id: I60a43d0344ff901c18d2b025aad7f0f9b925593b
2024-11-05 11:56:47 -05:00
John Kehayias
c236894563
gnu: mesa: Update to 24.2.3.
* gnu/packages/gl.scm (mesa): Update to 24.2.3.

Change-Id: I910baba6e1f5b9d4fb15dc37551d3dd5baabb940
2024-11-05 11:56:46 -05:00
aurtzy
6832edf804
gnu: mesa: Enable NVK driver for x86_64 architecture.
* gnu/packages/gl.scm (mesa)[native-inputs]: Add rust, rust-bindgen-cli,
rust-cbindgen-0.26 for x86_64.
[arguments]<#:meson>: Use newer version of meson to satisfy NVK build
requirements.
<#:configure-flags>: Use "auto" for 'vulkan-drivers' flag when target arch is
x86_64.
<#:phases>: Add 'patch-subproject-sources phase to patch rust subproject
sources when target arch is x86_64.
* gnu/packages/crates-io.scm (rust-paste-1, rust-proc-macro2-1, rust-quote-1,
rust-syn-2, rust-unicode-ident-1): Add a comment about being dependencies of
mesa.

Change-Id: I76e3db5072ca3c718155b188ca64b52766d55f36
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-11-05 11:56:44 -05:00
Zheng Junjie
f0dbb3d39c
gnu: qtwayland: Fix build.
* gnu/packages/patches/qtwayland-update-wayland-xml.patch: new patch.
* gnu/local.mk (dist_patch_DATA): Registered it.
* gnu/packages/qt.scm (qtwayland)[source]: Use it.

Change-Id: I9d48fb905d457fdcb19e0e786a2a10bee2b5a3d3
2024-11-05 11:56:43 -05:00
John Kehayias
4e13b59c98
gnu: gtk-layer-shell: Update to 0.9.0.
* gnu/packages/gtk.scm (gtk-layer-shell): Update to 0.9.0.

Change-Id: I4e519f95f8afc883d0374c13048d2c13ec6c787f
2024-11-05 11:56:41 -05:00
Zheng Junjie
baef644869
gnu: qtwayland-6: Fix build.
* gnu/packages/patches/qtwayland-6-update-wayland-xml.patch: new patch.
* gnu/local.mk (dist_patch_DATA): Registered it.
* gnu/packages/qt.scm (qtwayland-6)[source]: Use it.
[arguments]<#:phases>: Adjust disable-failing-tests to disable tst_scaling
test.

Change-Id: I23aa602ce572e2a1eb5092bada97a84ba4af596e
2024-11-05 11:56:40 -05:00
Efraim Flashner
e13f4b10c5
gnu: mesa: Fix build on arm architectures.
* gnu/packages/gl.scm (mesa)[inputs]: When building for an arm platform
add python-pycparser.
[arguments]: When building for aarch64 or armhf don't add kmsro as a
gallium driver.
* gnu/packages/python-xyz.scm (python-pycparser): Mark as a dependency
for mesa.

Change-Id: I61182157418a6667fcbb0d4280c959a708119b0d
2024-11-05 11:56:38 -05:00
Rutherther
138273c4e8
gnu: wlroots: Update to 0.18.
Each wlroots major version are usually incompatible.  With the change to 0.18
wlroots has a different .pc pkg-config file name, wlroots-0.18.pc.  That means
any package using pkg-config to search for wlroots won't be able to find it.
So even if there were no breaking changes programs cannot be compiled against
different major versions.

Note that there are some differences in the package-name and file-name of some
previous versions of wlroots.

* gnu/packages/wm.scm (wlroots): Update to 0.18.
(wlroots-0.17): New variable.
(wlroots-0.16): Inherit from it.
[propagated-inputs]: Remove wlroots and add wlroots-0.17.
(sway, cagebreak, labwc, wf-config)[inputs]: Likewise.
(wlroots-0.15): Inherit from wlroots-0.16.

Change-Id: I377ed66e91b4adc1216d42077fe7c34178a5552b
Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-11-05 11:56:37 -05:00
Rutherther
62a9c2d29b
gnu: wlroots: Remove unneeded hwdata patch.
* gnu/packages/wm.scm (wlroots)[source]: Remove patch.
* gnu/packages/patches/wlroots-hwdata-fallback.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.

Change-Id: I4be3e203b99f1d8e4d837164d55a8c06c8fc71ee
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-11-05 11:56:35 -05:00
Rutherther
88a6cb6fc8
gnu: wayland: Update to 1.23.1.
* gnu/packages/freedesktop.scm (wayland): Update to 1.23.1.

Change-Id: Iacfeb77617cb6a039822fa7f0649a6433fa96973
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-11-05 11:56:34 -05:00
John Kehayias
be27601e76
gnu: libinput: Update to 1.26.2.
* gnu/packages/freedesktop.scm (libinput): Update to 1.26.2.

Change-Id: Ifc4c03c7a19d9f61d2e6d8a21e7fb1a139a7e7e7
2024-11-05 11:56:32 -05:00
John Kehayias
fda63ca521
gnu: mesa: Update configure flags.
Previously, in 1ed0283fcc, mesa's configuration
options were altered to use "auto" as needed, while it looks like this was
inadvertently changed in 9b2a3e023f.  This meant
i915 dropped from x86/x86_64.  This commit restores the "auto" behavior where
it matched our previous driver list (or restored missing drivers).  See mesa's
meson.build for all options.

* gnu/packages/gl.scm (mesa)[arguments]: For gallium-drivers, use
"softpipe,llvmpipe" instead of the deprecated "swrast" option.  Use "auto"
in gallium-drivers and vulkan-drivers where it provides the same driver
list (or restores ones dropped from x86/x86_64).  Comment on differences from
"auto" where we don't use it.

Change-Id: I920701f71d19578f4913fda7372273955f0a9847
2024-11-05 11:56:31 -05:00
John Kehayias
e00c621cbb
gnu: mesa: Update to 24.2.2.
Note the clang input for mesa was in inputs for aarch64-linux but more
generally in native-inputs for mesa-opencl.  Moved to native-inputs for
all (mesa does not retain a reference to clang).

* gnu/packages/gl.scm (mesa): Update to 24.2.2.
[inputs]: Move clang-18 when building for aarch64-linux to ...
[native-inputs]: ... here for all architectures.  Add python-ply, and
python-pyyaml.  Use libclc for all architectures.
(mesa-opencl)[inputs, native-inputs]: Remove fields.
* gnu/packages/python-xyz.scm (python-pyyaml, python-ply): Add a comment about
being dependencies of mesa.

Change-Id: Ie262e6ea5a31fda0e410277256c203ea3caed96b
2024-11-05 11:56:29 -05:00
John Kehayias
edf097aad5
gnu: llvm-for-mesa: Build all targets.
This change is needed for updating mesa to 24.2.1.  Otherwise, mesa fails to
build.  For example, linking intel_clc fails with errors of libclang-cpp.so
having undefined references to various LLVM targets.

It is possible that just some LLVM targets could be built or a modified
version of the clang input for mesa (now required) could be used to try to
reduce the closure size as before.

* gnu/packages/llvm.scm (llvm-for-mesa)[arguments]: Don't set the
LLVM_TARGETS_TO_BUILD configure flag.  Also, don't remove it from the
inherited configure-flags.  Fix indentation.

Change-Id: I4a2b7239e6ea77b0d3bce10bdf945691faa84994
2024-11-05 11:56:28 -05:00
John Kehayias
6ebb5ecafc
gnu: llvm-for-mesa: Update to llvm-18.
* gnu/packages/llvm.scm (llvm-for-mesa): Update to llvm-18.
* gnu/packages/gl.scm (mesa)[inputs]: Always use llvm-for-mesa (remove llvm-18
for aarch64 to use llvm-for-mesa).
(mesa-opencl)[native-inputs]: Remove clang-15.  Add clang-18.

Change-Id: I767d40d62a827864d3d109c44f82a43302875eb8
2024-11-05 11:56:26 -05:00
nathan
8a602183ff
gnu: volk: Hard-code path of vulkan-loader for dynamic loading
Until now, we’d get:

  $ guix shell vulkan-tools -- vulkaninfo
  ERROR at /tmp/guix-build-vulkan-tools-1.3.280.0.drv-0/source/vulkaninfo/./vulkaninfo.h:412: Failed to initialize: Vulkan loader is not installed, not found, or failed to load.

This patch fixes it and potentially for other programs as well.

* gnu/packages/vulkan.scm (volk)[arguments]: use gexp.
<#:phases>: Patch dlopen with libvulkan.so.
[input]: Add vulkan-loader.

Change-Id: I5ef0eb13d35e517b8947faddace641882a775b80
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-11-05 11:56:25 -05:00
nathan
f0bf6994b0
gnu: vulkan-headers: Hard-code libvulkan.so file name.
* gnu/packages/vulkan.scm (vulkan-headers): Rename to…
(vulkan-headers/no-loader): … this.
(vulkan-headers): New variable.
(vulkan-loader): Depend on ‘vulkan-headers/no-loader’.

Change-Id: Ic674a4d965d8049e388d75137111ed0253ca3b18
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-11-05 11:56:23 -05:00
John Kehayias
72535be25c
gnu: Remove wayland-protocols-next.
The default wayland-protocols has been updated to the latest version.

* gnu/packages/freedesktop.scm (wayland-protocols-next): Delete variable.
* gnu/packages/kde-plasma.scm (kwin)[native-inputs]: Remove
wayland-protocols-next; add wayland-protocols.

Change-Id: I7620db01317c08ae6bce029dff4d482a7f868f5f
2024-11-05 11:56:22 -05:00
John Kehayias
b86315db25
gnu: wayland-protocols: Update to 1.37.
* gnu/packages/freedesktop.scm (wayland-protocols): Update to 1.37.

Change-Id: I32837fc9c6609532557c31cf94b0f87e999680d8
2024-11-05 11:56:20 -05:00
John Kehayias
c824fb8ca7
gnu: libdrm: Update to 2.4.123.
* gnu/packages/xdisorg.scm (libdrm): Update to 2.4.123.

Change-Id: I28ace4f3f121a7177cfc78de8e50364753114e8c
2024-11-05 11:56:17 -05:00
Jakob Kirsch
4c56d0cccd
gnu: guix: Build reproducibly.
* gnu/packages/package-management.scm (guix)[arguments]<#:parallel-build?>:
Disable.

Modified-by: Hilton Chain <hako@ultrarare.space>
Change-Id: I316b5ea57b11256919488334a6cc519af1f6ed2f
2024-11-05 22:33:45 +08:00
Navid Afkhami
254f465b61
gnu: r-demultiplex2: Update to 1.0.1-1.92130a6.
* gnu/packages/bioinformatics.scm (r-demultiplex2): Update to 1.0.1-1.92130a6.

Change-Id: Ic08756e0347ab6997fec0129a06923aebb9c7836
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-11-05 10:58:08 +01:00
Zheng Junjie
33665c52c4
gnu: frrouting: Update to 10.1.1.
* gnu/packages/networking.scm (frrouting): Update to 10.1.1.
[source]: Switch to git-fetch.
[inputs]: Add libelf and protobuf-c.
[native-inputs]: Add autoconf, automake, libtool, flex, and bison.
[arguments]<#:configure-flags>: Add --sysconfdir=/etc.

Change-Id: I54d589a314c20f19a1c0096e77dc75d9dd1b5c47
2024-11-04 23:57:36 +08:00
Nicolas Graves
85d00a60b5
gnu: libyang: Update to 3.4.2. [security fixes]
This fixes CVE-2021-28902, CVE-2021-28903, CVE-2021-28904,
CVE-2021-28905 and CVE-2021-28906.

* gnu/packages/networking.scm (libyang): Update to 3.4.2.
2024-11-04 23:51:17 +08:00
Nicolas Graves
b6e6960bd9
gnu: maradns: Update to 3.5.0036. [security fixes]
This fixes CVE-2023-31137.

* gnu/packages/dns.scm (maradns): Update to 3.5.0036.
[properties]: Add release-monitoring-url property.
2024-11-04 23:51:17 +08:00
Nicolas Graves
a2a72a3e14
gnu: maradns: Improve style.
* gnu/packages/dns.scm (maradns)[arguments]: Use gexps.
2024-11-04 23:51:17 +08:00
Nicolas Graves
249db21652
gnu: python-django-4.2: Update to 4.2.16. [security fixes]
This fixes CVE-2024-24680, CVE-2024-41989, CVE-2024-41990,
CVE-2024-41991, CVE-2024-42005, CVE-2024-45230, CVE-2024-45231,
CVE-2023-43665 and CVE-2023-46695.

* gnu/packages/django.scm (python-django-4.2): Update to 4.2.16.
[properties]: Add lint-hidden-cve property.
2024-11-04 23:51:17 +08:00
Nicolas Graves
c37b16a2ae
gnu: libzapojit: Update to 0.0.3-1.99d49ba. [security fixes]
This fixes CVE-2021-39360.

* gnu/packages/gnome.scm (libzapojit): Update to 0.0.3-1.99d49ba.
[source]: Switch to git-fetch.
[native-inputs]: Add autoconf, autoconf-archive, automake, glib:bin and
libtool.

Change-Id: Ie0bd89d8a068dfad31565ad3c318c94ac1385c7b
2024-11-04 23:51:13 +08:00
guix@mawumag.com
915f807ce6
gnu: kallisto: Update to 0.50.1
See discussion at <https://issues.guix.gnu.org/71146> for reasons to not
unbundle htslib and libbifrost.

* gnu/packages/bioinformatics.scm (kallisto): Update to 0.50.1.
[source]: Do not remove bundled libraries.
[arguments]: Remove phase 'do-not-use-bundled-htslib.
[inputs]: Remove htslib-1.9.

Change-Id: I6d3263fd49c7b07ce50185b722863b51816ff054
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-11-04 15:51:56 +01:00
Nicolas Graves
e8044ab89b
gnu: liblouis: Update to 3.31.0. [security fixes]
This fixes CVE-2022-26981.

* gnu/packages/language.scm (liblouis): Update to 3.31.0.
[arguments]: Improve style using gexps.
[native-inputs]: Remove labels. Replace python-wrapper by python-minimal.

Change-Id: Ibfa143ec97816539ba9c2904cd390c9d6d54c9d5
2024-11-04 19:46:49 +08:00
Nicolas Graves
99bac834ea
gnu: squashfs-tools: Update to 4.6.1. [security fixes]
This fixes CVE-2021-40153 and CVE-2021-41072.

* gnu/packages/compression.scm (squashfs-tools): Update to 4.6.1.
[arguments]: Improve style.
<#:make-flags>: Add INSTALL_MANPAGES_DIR value.
<#:phases>: Remove phase 'install-documentation. Add phase
'patch-generated-source-shebangs.
[native-inputs]: Add coreutils-minimal, help2man, which.
[inputs]: Remove labels.

Change-Id: I095427f071ad0f8d1d2609cfc4dd3ed719ece812
2024-11-04 19:38:38 +08:00
Nicolas Graves
dde8ec55b7
gnu: shapelib: Update to 1.6.1. [security fixes]
This fixes CVE-2022-0699.

* gnu/packages/geo.scm (shapelib): Update to 1.6.1.
2024-11-04 19:22:09 +08:00
Nicolas Graves
dd31f1ab90
gnu: snapcast: Update to 0.29.0. [security fixes]
This fixes CVE-2023-36177.

* gnu/packages/audio.scm (snapcast): Update to 0.29.0.
2024-11-04 18:30:48 +08:00
Zheng Junjie
1e1e5dbf13
gnu: gifsicle: Use G-expressions.
* gnu/packages/image.scm (gifsicle)[arguments]: Use G-expressions.

Change-Id: I4bcf803e129e18c9d554d8544fc6c4896b61c9c3
2024-11-04 18:23:48 +08:00
Zheng Junjie
b0d5c6924c
gnu: gifsicle: Build from git source.
* gnu/packages/image.scm (gifsicle)[source]: Switch to git-fetch.
[native-inputs]: Add autoconf and automake.

Change-Id: I9b23e1d2f66aa328f56bad224b8db03b6261dd00
2024-11-04 18:21:24 +08:00
Nicolas Graves
fe6fdb1a85
gnu: gifsicle: Update to 1.95. [security fixes]
This fixes CVE-2023-44821 and CVE-2023-46009.

* gnu/packages/image.scm (gifsicle): Update to 1.95.
2024-11-04 18:11:10 +08:00
Nicolas Graves
7e934e6cfc
gnu: libmobi: Update to 0.12. [security fixes]
This fixes CVE-2022-1533, CVE-2022-1534, CVE-2022-1907, CVE-2022-1908,
CVE-2022-1987, CVE-2022-2279, CVE-2022-29788, CVE-2021-3751,
CVE-2021-3881, CVE-2021-3888 and CVE-2021-3889.

* gnu/packages/ebook.scm (libmobi): Update to 0.12.
2024-11-04 17:46:33 +08:00
Nicolas Graves
7bc82833a2
gnu: indent: Add patch for CVE-2024-0911. [security fixes]
* gnu/packages/patches/indent-CVE-2024-0911.patch: Add patch here...
* gnu/local.mk: ...here...
* gnu/packages/code.scm (indent)[source]<origin>: ...and here.
2024-11-04 17:36:29 +08:00
Nicolas Graves
d076ae1c7a
gnu: indent: Remove uneeded arguments.
* gnu/packages/code.scm (indent)
[arguments]: Remove field.
[native-inputs]: Remove automake.
2024-11-04 17:36:29 +08:00
Nicolas Graves
4915d321ca
gnu: xlsxio: Update to 0.2.35. [security fixes]
This fixes CVE-2023-34795.

* gnu/packages/xml.scm (xlsxio): Update to 0.2.35.
2024-11-04 17:36:29 +08:00
Zheng Junjie
0f5e477745
gnu: wireshark: Build from git source.
* gnu/packages/networking.scm (wireshark)[source]: Switch to git-fetch.
[arguments]<#:configure-flags>: Set -DVCSVERSION_OVERRIDE.

Change-Id: I82356c1faea9a6253108dc17334db2464ba38098
2024-11-04 17:36:29 +08:00
Nicolas Graves
6747fc5efc
gnu: wireshark: Update to 4.4.1. [security fixes]
This fixes CVE-2024-9780.

* gnu/packages/networking.scm (wireshark): Update to 4.4.1.
2024-11-04 17:36:29 +08:00
Zheng Junjie
bfd5788003
gnu: darkhttpd: Enable tests.
* gnu/packages/web.scm (darkhttpd)[arguments]: Set #:test-target "test"
[native-inputs]: Add which and python-minimal.

Change-Id: I9d9246109bba975d49f1e48f4c6d6e32d28a466c
2024-11-04 17:36:29 +08:00
Nicolas Graves
5d2aa55425
gnu: darkhttpd: Update to 1.16. [security fixes]
This fixes CVE-2024-23770 and CVE-2024-23771.

* gnu/packages/web.scm (darkhttpd): Update to 1.16.
[arguments]: Improve style.
2024-11-04 17:36:28 +08:00
Nicolas Graves
416e87e9c7
gnu: pypy: Update to 7.3.17. [security fixes]
This fixes CVE-2022-37454.

* gnu/packages/pypy.scm (pypy): Update to 7.3.17.
2024-11-04 17:36:28 +08:00
Nicolas Graves
6333849010
gnu: cjson: Update to 1.7.18. [security fixes]
This fixes CVE-2023-50471 and CVE-2023-50472.

* gnu/packages/javascript.scm (cjson): Update to 1.7.18.
2024-11-04 17:36:28 +08:00
Ricardo Wurmus
a019e11ed2
gnu: Add python-hotspotsc.
* gnu/packages/bioinformatics.scm (python-hotspotsc): New variable.

Change-Id: Ib3550837659f95d5a43e77137005db8cc03e6c3f
2024-11-04 10:29:36 +01:00
Ricardo Wurmus
69ac9b72ce
import/cran: Do not crash when license field is missing.
* guix/import/cran.scm (description->package): Do not process license as
string when it's missing.

Change-Id: I415fa6be17631f83c2aa7a213683fdf90a868e96
2024-11-04 10:26:23 +01:00