~ruther/guix-local

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
4c56d0cc — Jakob Kirsch 2 years ago
gnu: guix: Build reproducibly.

* gnu/packages/package-management.scm (guix)[arguments]<#:parallel-build?>:
Disable.

Modified-by: Hilton Chain <hako@ultrarare.space>
Change-Id: I316b5ea57b11256919488334a6cc519af1f6ed2f
254f465b — Navid Afkhami 2 years ago
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>
33665c52 — Zheng Junjie 2 years ago
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
85d00a60 — Nicolas Graves 2 years ago
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.
b6e6960b — Nicolas Graves 2 years ago
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.
a2a72a3e — Nicolas Graves 2 years ago
gnu: maradns: Improve style.

* gnu/packages/dns.scm (maradns)[arguments]: Use gexps.
Next