Commit graph

134339 commits

Author SHA1 Message Date
Efraim Flashner
1e58b81da9
gnu: glslang: Give more information on test failures.
* gnu/packages/vulkan.scm (glslang)[arguments]: Adjust the 'check phase
to run the tests in parallel, rerun tests which fail and to provide
information when a test fails.

Change-Id: I13962bb503a20338901cdd878d356e1bcce7f2eb
2024-04-07 09:49:30 +03:00
Efraim Flashner
1fed3f9877
gnu: mesa: Enable all the video codecs.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
enable all the video codecs.

Change-Id: Id540e4d8af8b756f1d0e4978b18e22dd19dd8985
2024-04-07 09:48:33 +03:00
Efraim Flashner
1b86dfa34d
gnu: mesa: Adjust skipped tests on powerpc-linux.
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase enable another test when building for powerpc-linux.

Change-Id: Ib043b2ea77dc145b3b067496ed45662ad635dc72
2024-04-07 09:22:23 +03:00
Efraim Flashner
764e5afbea
gnu: mesa: Enable more gallium drivers.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flag to
also build the svga gallium driver on aarch64 and the freedreno and svga
drivers on armhf.

Change-Id: I129a66184e2728e61a99bae442db908c5c0f84b0
2024-04-04 16:33:13 +03:00
Efraim Flashner
31411b4f32
gnu: mesa: Don't skip extra tests on aarch64-linux.
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase remove the test skipped only on aarch64-linux.

Change-Id: I2f6d978775887270b6374faaa48318565e393767
2024-04-04 16:28:57 +03:00
Efraim Flashner
8ecd6af8f6
gnu: glslang: Fix building on riscv64-linux.
* gnu/packages/vulkan.scm (glslang)[arguments]: When building for
riscv64-linux add a configure-flag to link against -latomic.

Change-Id: Ibf8dd0cac71e19f09ad730d88ddd5c8f7b44c14e
2024-04-04 16:26:50 +03:00
John Kehayias
4cb7978a19
gnu: godot: Update to 4.2.1.
The previous version failed to build after an update to glslang.  Godot looks
for an include, Types.h, which is no longer included in the built glslang.
Use the included glslang (which will match the included vulkan, too) for now.

* gnu/packages/game-development.scm (godot): Update to 4.2.1.
[source]: In snippet add (preserve) amd-fsr2, clipper2, glslang (for now), and
libktx.
[arguments]: Comment out "builtin_glslang=no" in #:scons-flags (for now).

Change-Id: I8f6c20e3796ea96f2e6a6a167063f10a667bd4c3
2024-04-03 17:26:40 -04:00
John Kehayias
31b981bdcd
gnu: obs-vkcapture: Update to 1.5.0.
The previous version failed to build after (presumably) the vulkan updates.

* gnu/packages/video.scm (obs-vkcapture): Update to 1.5.0.

Change-Id: I832c76aef5dff04b1c0ee0fe57304dd638e38194
2024-04-03 17:19:51 -04:00
John Kehayias
cc258692e0
gnu: python-cairocffi: Update to 1.6.1.
The previous version failed to build after the cairo update.

* gnu/packages/python-xyz.scm (python-cairocffi): Update to 1.6.1.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-flit-core and python-pikepdf.
[arguments]: Remove now unneeded disable-linters phase.

Change-Id: I3f3119834b7021c52fdfc810d9a3c16ee5c419f3
2024-04-03 17:18:16 -04:00
John Kehayias
23928e2d42
gnu: mesa: Update to 24.0.4.
* gnu/packages/gl.scm (mesa): Update to 24.0.4.

Change-Id: Id0c14c0ad6a45d6cdb4533053e7a116285a87e5f
2024-04-01 01:29:46 -04:00
dan
3440e855e6
gnu: vulkan-validationlayers: Update to 1.3.280.0.
The check phase was replaced which allows tests to actually run, but they
crash on some hardware (reported in various issues upstream).

* gnu/packages/vulkan.scm (vulkan-validationlayers): Update to 1.3.280.0.
[source]: Add snippet to disable static library building.
[inputs]: Add robin-hood-hashing and vulkan-utility-libraries.
[arguments]: Remove previous configure-flags and add BUILD_TESTS, replace
check phase, and update reason why tests are disabled.
(%vulkan-sdk-version): Remove unused variable.

Change-Id: I80ca002d8dbe71cad57f859ee34ac8f10e175907
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:28:37 -04:00
dan
3704c64c0e
gnu: Add vulkan-utility-libraries.
* gnu/packages/vulkan.scm (vulkan-utility-libraries): New variable.

Change-Id: I5a7c3fa51150e2181197316f6b97a54f12a24236
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:12:46 -04:00
dan
1f69c19b4c
gnu: magic-enum: Update to 0.9.5.
* gnu/packages/cpp.scm (magic-enum): Update to 0.9.5.

Change-Id: I8306d7ef69276e33f7daada895165a88bfc938ad
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:10:47 -04:00
dan
74f849235a
gnu: vulkan-tools: Update to 1.3.280.0.
* gnu/packages/vulkan.scm (vulkan-tools): Update to 1.3.280.0.
[source]: Add snippet to disable a test.
[arguments]: Remove GLSLANG_INSTALL_DIR from configure-flags.  Enable tests.
Replace the check phase
[native-inputs]: Add googletest.

Change-Id: Iadf98fc95d0d70c3780159992ebc2fdff6a2d108
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:06:45 -04:00
dan
083c9c0109
gnu: volk: Update to 1.3.280.0.
* gnu/packages/vulkan.scm (volk): Update to 1.3.280.0.

Change-Id: I4f72df2ba6784f3dae93cf60361e1bceaf61d3bb
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:06:10 -04:00
dan
aea7691fdd
gnu: vulkan-loader: Update to 1.3.280.0.
According to
<https://vulkan.lunarg.com/doc/view/1.3.231.1/linux/loader_and_layer_interface.html>,
the Vulkan loader searches for manifest files in several directories, like in
$HOME or ones set during compile-time.  So, expose XDG_DATA_DIRS, which Vulkan
will search, as a search-path to find ones from other packages, like mesa.

* gnu/packages/vulkan.scm (vulkan-loader): Update to 1.3.280.0.
[arguments]<#:phases>: Update the use-system-googletest phase.
[native-search-paths]: New search path, XDG_DATA_DIRS.

Change-Id: Ib270eeeea6500691a75c36612104c7ddb1c28dfb
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:05:53 -04:00
dan
b8ab1f0636
gnu: vulkan-headers: Update to 1.3.280.0.
* gnu/packages/vulkan.scm (vulkan-headers): Update to 1.3.280.0.

Change-Id: Ie4c135fd53a9cacb36e766daba9524ce33fa5630
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:39:09 -04:00
dan
3105649b5a
gnu: shaderc: Update to 2024.0.
* gnu/packages/vulkan.scm (shaderc): Update to 2024.0.
[arguments]<#:configure-flags>: Specify python executable.
<#:phases>: Remove drop-additional-glslang-deps phase.
[inputs]: Move python from here ...
[native-inputs]: ... to here.

Change-Id: I3ca4b6560288f4b8ea9440a7fd0a7815b67471d8
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:36:12 -04:00
dan
474ed54aeb
gnu: spirv-cross: Update to 1.3.280.0.
* gnu/packages/vulkan.scm (spirv-cross): Update to 1.3.280.0.

Change-Id: Ie8e45c6892892c02e3d970a831044ff9f70a9547
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:32:39 -04:00
dan
408a770c8f
gnu: glslang: Update to 1.3.280.0.
* gnu/packages/vulkan.scm (glslang): Update to 1.3.280.0.
  [source]: Remove patch.
  [arguments]: Run tests.
  [inputs]: Add spirv-tools.
* gnu/packages/patches/glslang-install-static-libs.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Ungerister it.

Change-Id: I39ef23565e575179b292a1ab76d2d70c98f84767
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:27:22 -04:00
dan
fb5299f54c
gnu: spirv-tools: Update to 1.3.280.0.
* gnu/packages/vulkan.scm (spirv-tools): Update to 1.3.280.0.

Change-Id: Ie6e438849f8f59a4b7616ab05e81c4a76d64dd9e
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:20:28 -04:00
dan
ded6c9a692
gnu: spirv-headers: Update to 1.3.280.0.
* gnu/packages/vulkan.scm (spirv-headers): Update to 1.3.280.0.

Change-Id: I7a00d3c432a9f6901b3b91b7df2ded887b6101d1
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:19:47 -04:00
John Kehayias
5639756aa0
gnu: librsvg-2.40: Skip tests that fail with cairo 1.18.0.
* gnu/packages/gnome.scm (librsvg-2.40)[arguments]: Skip two tests which fail
after cairo was updated to version 1.18.0.

Change-Id: If3867a9fdee6481da819954d77341f411e85e78b
2024-03-31 20:47:20 -04:00
dan
f7c259b265
gnu: sdl2: Update to 2.30.1.
* gnu/packages/sdl.scm (sdl2): Update to 2.30.1.

Change-Id: I0417cfaa0af55df63f731efad420de9f2b81a3d9
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-03-31 20:47:19 -04:00
John Kehayias
b43d36a556
gnu: mesa: Update to 24.0.3.
* gnu/packages/gl.scm (mesa): Update to 24.0.3.

Co-authored-by: aurtzy <aurtzy@gmail.com>
Change-Id: Id674e81154631daf9e8c33940c299dc1d26c62c5
2024-03-31 20:47:17 -04:00
Josselin Poiret
304d3d9644
gnu: mesa: Hardcode libvulkan.so's dependency for zink.
* gnu/packages/gl.scm (mesa): Add vulkan-loader as an input.  Refer to its
libvulkan.so.1 by full path in the zink gallium driver.

(cherry picked from commit e2875b7bb894f3575b6e61daa9c1f5d5f4c14b84)

Change-Id: I83ff787e6148a45b9403e578dd744f7eb85a221b
2024-03-31 20:47:16 -04:00
Daniel Ziltener
1d488861a0
gnu: libdrm: Update to 2.4.120.
* gnu/packages/xdisorg.scm (libdrm): Update to 2.4.120.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Change-Id: Ibd5be956819bbc6b7df5d5b7cdd02297dc1e2e71
2024-03-31 20:47:14 -04:00
John Kehayias
51ae492e8b
gnu: cairo: Update to 1.18.0.
With this new release of cairo many old configure options were removed and now
meson is used to build it.  The defaults include the tee backend which we had
previously enabled while the xml backend has been dropped from cairo
completely.  Old configure options where were commented out to be enabled have
been removed as they no longer apply to version 1.18.0.

The variable 'cairo' is now a hidden package to work around a dependency cycle
where gtk-doc is needed to build the documentation (which itself depends on
cairo).  The new variable 'cairo-with-documentation' is now the public package
and the module exports 'cairo' for use in other packages.  This follows what
was done for glib.

* gnu/packages/gtk.scm: Export 'cairo'.
(cairo): Update to 1.18.0.
[source]: Remove 'patches' field.
[properties]: Hide package.
[outputs]: Remove (doc output is now in cairo-with-documentation).
[build-system]: Change to meson-build-system.
[arguments]: Add #:glib-or-gtk?.  Remove old flags from #:configure-flags and
add '-Dtests=disabled' to match #:tests?.
[propagated-inputs]: Remove commented out packages.
(cairo-with-documentation): New variable.
(cairo-sans-poppler)[properties]: No longer set hidden as it is now inherited
from cairo.
(cairo-xcb)[properties]: Unhide (inherited from cairo).
[arguments]: Remove obsolete #:configure-flags and properly inherit from cairo.
* gnu/packages/patches/cairo-CVE-2018-19876.patch: Remove.
* gnu/packages/patches/cairo-CVE-2020-35492.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove them.

Change-Id: I2f4c953b23c6b32b1fafaf03db89d7a475fc6956
2024-03-31 20:47:13 -04:00
John Kehayias
adecd321c3
gnu: python-pycairo: Update to 1.26.0.
* gnu/packages/gtk.scm (python-pycairo): Update to 1.26.0.

Change-Id: I7349bd0c68b061d0f3fe46db52b7fdc63acbd69b
2024-03-31 20:47:10 -04:00
John Kehayias
155f23a52e
Merge branch 'master' into mesa-updates
Change-Id: I4cd94a58b62d8c3987e4a60c76b37894ad851e35
2024-03-31 20:46:45 -04:00
Ricardo Wurmus
1cba1f8ce6
gnu: java-rsyntaxtextarea: Install resources.
* gnu/packages/textutils.scm (java-rsyntaxtextarea)[arguments]: Enable tests;
install resources.
[native-inputs]: Add xorg-server-for-tests.

Change-Id: If7c89bc6a38058b9cccd74012fa9b5ba14d560d6
2024-04-01 00:39:15 +02:00
Fabio Natali
470fa47daa
gnu: borgmatic: Update to 1.8.9.
* gnu/packages/backup.scm (borgmatic): Update to 1.8.9.
[arguments]: Apply guix style.
[native-inputs]: Apply guix style.
[inputs]: Apply guix style.

Change-Id: Ic9eb3c9439dc0aade3e4aae0fbe8e2c7bec49754
Signed-off-by: jgart <jgart@dismail.de>
2024-03-31 17:21:27 -05:00
Zheng Junjie
16c7130835
vm: If not the same local architecture, don't enable kvm.
* gnu/system/vm.scm (common-qemu-options): Add target keyword.

Change-Id: Ic9bf18cf60ac5ce623289df31ea050a22c6e604e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-31 22:28:11 +02:00
Zheng Junjie
e6241de15a
vm: add arguments to use virt machine type for qemu-riscv64.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): When target
riscv64, add arguments to set qemu virt machine type.

Change-Id: I974c82fdd2d5bfc01caff9e6411db38e472b5cd4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-31 22:28:01 +02:00
Zheng Junjie
88a300852f
linux-initrd: don't add hid-apple module for riscv64-linux.
* gnu/system/linux-initrd.scm(default-initrd-modules): when target-riscv64,
don't add hid-apple module.

Change-Id: I633468421db0cb1ebd61e0603021fa1c79038473
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-31 22:27:48 +02:00
Zheng Junjie
f72887f6f9
gnu: linux-libre-riscv64-generic: add more options.
This is required by `guix system vm'.

* gnu/packages/linux (linux-libre-riscv64-generic)[#:extra-options]: Add more
option.

Change-Id: I5697ba7158d44ef0ea9cf28cadb4d59f312b4206
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-31 22:27:41 +02:00
Zheng Junjie
ad9832f82e
vm: When target riscv64-linux, use u-boot-qemu-riscv64-bootloader.
* gnu/system/vm.scm (virtualized-operating-system) When target riscv64-linux,
use u-boot-qemu-riscv64-bootloader. Add system, target keyword.

Change-Id: I22d64d00670a705e4b81427e44a83d504598b536
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-31 22:27:02 +02:00
Zheng Junjie
a5deb90fd4
vm: use #$ for kernel-arguments.
Use #$ allow cross-compile to with support current system kernel.

e.g. linux-libre-riscv64-generic.

* gnu/system/vm.scm(system-qemu-image/shared-store-script)
(linux-image-startup-command): use #$ for kernel-arguments.

Change-Id: I9d2e7df296ce590b95cd30996b33f8ca692ac1b1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-31 22:26:27 +02:00
Zheng Junjie
64187b65d3
bootloader: Add u-boot-qemu-riscv64-bootloader.
* gnu/bootloader/u-boot.scm (u-boot-qemu-riscv64-bootloader): New variable.

Change-Id: If6622838d2250c90a26380849b92387aa7122fbb
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-31 22:26:21 +02:00
Ludovic Courtès
d727c39e23
gnu: shepherd: Update to 0.10.4.
* gnu/packages/admin.scm (shepherd-0.10): Update to 0.10.4.

Change-Id: I09b8ac3544c59e47207bf7f640db13e4001a6322
2024-03-31 22:21:06 +02:00
Ludovic Courtès
7bc1f7be62
ui: Autoload some more.
* guix/ui.scm: Autoload a number of modules.

Change-Id: I22d4f719dae73594499522ce6dc8464948f564ec
2024-03-31 18:39:57 +02:00
Vinicius Monego
4d79a9cd6b
gnu: homebank: Update to 5.7.4.
* gnu/packages/finance.scm (homebank): Update to 5.7.4.
[source, home-page]: Follow redirect.
[inputs]: Replace libsoup-minimal-2 with libsoup-minimal.

Change-Id: Ie48020959f104ce7b0de4fdbf67471de5360d008
2024-03-31 11:27:01 -03:00
Vinicius Monego
d747d9e2dd
gnu: python-plotly: Update to 5.20.0.
* gnu/packages/graph.scm (python-plotly): Update to 5.20.0.

Change-Id: I0df931646677dbceb1fea7912781bc74e0207dcb
2024-03-31 07:40:29 -03:00
Vinicius Monego
ea2db1f30c
gnu: weechat: Update to 4.2.1.
* gnu/packages/irc.scm (weechat): Update to 4.2.1.

Change-Id: I9b36ce659762aac88f940d2946304d5cd43c66ee
2024-03-31 07:37:29 -03:00
Vinicius Monego
570f5e567d
gnu: gmt: Update to 6.5.0.
* gnu/packages/geo.scm (gmt): Update to 6.5.0.

Change-Id: Ib6d98494b9b67b23aedccaa50ff785999517c43d
2024-03-31 07:37:25 -03:00
Vinicius Monego
43ed834127
gnu: python-mistletoe: Update to 1.3.0.
* gnu/packages/markup.scm (python-mistletoe): Update to 1.3.0.
[build-system]: Use pyproject-build-system.
[arguments]: Do not override the check phase, skip one test in #:test-flags.
[native-inputs]: Add python-parameterized, python-pytest.

Change-Id: If25e3cbe19d8936d150c830f1b8f4ce8f8cb5692
2024-03-31 07:37:17 -03:00
Efraim Flashner
76ed1e886e
gnu: gtk: Skip failing tests on aarch64-linux.
* gnu/packages/gtk.scm (gtk)[arguments]: When building for aarch64-linux
add a phase to skip a test which can't find the zink driver.

Change-Id: I7b596309f1cbd555bd7ba889379d5b0bb245eabc
2024-03-31 10:58:40 +03:00
John Kehayias
f5558ee0cc
gnu: waybar: Update to 0.10.0.
* gnu/packages/wm.scm (waybar): Update to 0.10.0.

Change-Id: I5f52f2250510575156944a589db739abd71218a4
2024-03-30 18:20:30 -04:00
Timotej Lazar
251c0f31f4
gnu: wlr-randr: Update to 0.4.1.
* gnu/packages/wm.scm (wlr-randr): Update to 0.4.1.

Change-Id: I95732334df46f4cf524ca32de531e36ac3fd8657
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-03-30 18:17:53 -04:00
Timotej Lazar
fb966899db
gnu: wireshark: Update to 4.2.4 [security fixes].
Fixes CVE-2024-2955.

* gnu/packages/networking.scm (wireshark): Update to 4.2.4.

Change-Id: I707fc87d9572034f203616cba9d279a8af3f85a4
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-03-30 18:10:40 -04:00