~ruther/guix-local

22a2b66a — John Kehayias 2 years ago
gnu: mesa: Update to 24.2.4.

* gnu/packages/gl.scm (mesa): Update to 24.2.4.

Change-Id: I60a43d0344ff901c18d2b025aad7f0f9b925593b
c2368945 — John Kehayias 2 years ago
gnu: mesa: Update to 24.2.3.

* gnu/packages/gl.scm (mesa): Update to 24.2.3.

Change-Id: I910baba6e1f5b9d4fb15dc37551d3dd5baabb940
6832edf8 — aurtzy 2 years ago
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>
f0dbb3d3 — Zheng Junjie 2 years ago
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
4e13b59c — John Kehayias 2 years ago
gnu: gtk-layer-shell: Update to 0.9.0.

* gnu/packages/gtk.scm (gtk-layer-shell): Update to 0.9.0.

Change-Id: I4e519f95f8afc883d0374c13048d2c13ec6c787f
baef6448 — Zheng Junjie 2 years ago
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
e13f4b10 — Efraim Flashner 2 years ago
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
138273c4 — Rutherther 2 years ago
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>
62a9c2d2 — Rutherther 2 years ago
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>
88a6cb6f — Rutherther 2 years ago
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>
be27601e — John Kehayias 2 years ago
gnu: libinput: Update to 1.26.2.

* gnu/packages/freedesktop.scm (libinput): Update to 1.26.2.

Change-Id: Ifc4c03c7a19d9f61d2e6d8a21e7fb1a139a7e7e7
fda63ca5 — John Kehayias 2 years ago
gnu: mesa: Update configure flags.

Previously, in 1ed0283fcc12b4b48f5b61be026a7b832d9781dc, mesa's configuration
options were altered to use "auto" as needed, while it looks like this was
inadvertently changed in 9b2a3e023f7090d19c98e7582220340df3962555.  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
e00c621c — John Kehayias 2 years ago
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
edf097aa — John Kehayias 2 years ago
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
6ebb5eca — John Kehayias 2 years ago
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
8a602183 — nathan 2 years ago
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>
f0bf6994 — nathan 2 years ago
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>
72535be2 — John Kehayias 2 years ago
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
b86315db — John Kehayias 2 years ago
gnu: wayland-protocols: Update to 1.37.

* gnu/packages/freedesktop.scm (wayland-protocols): Update to 1.37.

Change-Id: I32837fc9c6609532557c31cf94b0f87e999680d8
c824fb8c — John Kehayias 2 years ago
gnu: libdrm: Update to 2.4.123.

* gnu/packages/xdisorg.scm (libdrm): Update to 2.4.123.

Change-Id: I28ace4f3f121a7177cfc78de8e50364753114e8c
Next