[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/22: gnu: wlroots: Remove unneeded hwdata patch.
From: |
guix-commits |
Subject: |
12/22: gnu: wlroots: Remove unneeded hwdata patch. |
Date: |
Sat, 19 Oct 2024 10:40:33 -0400 (EDT) |
andreas pushed a commit to branch mesa-updates
in repository guix.
commit 5d87f979a1e50ecd3d6ae25ce25bc0d2d3b9387d
Author: Rutherther <rutherther@protonmail.com>
AuthorDate: Sun Sep 8 18:26:15 2024 +0000
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>
---
gnu/local.mk | 1 -
gnu/packages/patches/wlroots-hwdata-fallback.patch | 46 ----------------------
gnu/packages/wm.scm | 4 +-
3 files changed, 1 insertion(+), 50 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 89a795bfbd..9068221ce5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2310,7 +2310,6 @@ dist_patch_DATA =
\
%D%/packages/patches/webrtc-audio-processing-x86-no-sse.patch \
%D%/packages/patches/webrtc-for-telegram-desktop-unbundle-libsrtp.patch \
%D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch \
- %D%/packages/patches/wlroots-hwdata-fallback.patch \
%D%/packages/patches/wmctrl-64-fix.patch \
%D%/packages/patches/wmfire-dont-inline-draw-fire.patch \
%D%/packages/patches/wmfire-update-for-new-gdk-versions.patch \
diff --git a/gnu/packages/patches/wlroots-hwdata-fallback.patch
b/gnu/packages/patches/wlroots-hwdata-fallback.patch
deleted file mode 100644
index 6468c7cbf3..0000000000
--- a/gnu/packages/patches/wlroots-hwdata-fallback.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-backend/drm: add hardcoded hwdata path fallback
-
-Add hardcoded fallback "/usr/share/hwdata/pnp.ids" as a
-temporary solution to get things working in Guix until
-hwdata ships with pkg-config file.
-
-diff --git a/backend/drm/meson.build b/backend/drm/meson.build
-index 6fcb2c15..ed95360a 100644
---- a/backend/drm/meson.build
-+++ b/backend/drm/meson.build
-@@ -1,8 +1,7 @@
- hwdata = dependency(
- 'hwdata',
-- required: 'drm' in backends,
-+ required: false,
- native: true,
-- not_found_message: 'Required for the DRM backend.',
- )
-
- libdisplay_info = dependency(
-@@ -19,15 +18,21 @@ libliftoff = dependency(
- required: false,
- )
-
--if not (hwdata.found() and libdisplay_info.found() and features['session'])
-+if hwdata.found()
-+ hwdata_dir = hwdata.get_variable(pkgconfig: 'pkgdatadir')
-+ pnp_ids = files(hwdata_dir / 'pnp.ids')
-+else
-+ pnp_ids = files('/usr/share/hwdata/pnp.ids')
-+endif
-+
-+if not (libdisplay_info.found() and features['session'])
- subdir_done()
- endif
-
--hwdata_dir = hwdata.get_variable(pkgconfig: 'pkgdatadir')
- pnpids_c = custom_target(
- 'pnpids.c',
- output: 'pnpids.c',
-- input: files(hwdata_dir / 'pnp.ids'),
-+ input: pnp_ids,
- feed: true,
- capture: true,
- command: files('gen_pnpids.sh'),
-
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 38cb8cc717..9e86a359b3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1735,9 +1735,7 @@ functionality to display information about the most
commonly used services.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0niigjpy8xxrnw3v9b3bsksw2q3yy3qsa2xx0aazwpycw5zrff83"))
- ;; This patch can be removed once hwdata in Guix supports pkg-config
- (patches (search-patches "wlroots-hwdata-fallback.patch"))))
+ (base32 "0niigjpy8xxrnw3v9b3bsksw2q3yy3qsa2xx0aazwpycw5zrff83"))))
(build-system meson-build-system)
(arguments
`(#:phases
- 05/22: gnu: volk: Hard-code path of vulkan-loader for dynamic loading, (continued)
- 05/22: gnu: volk: Hard-code path of vulkan-loader for dynamic loading, guix-commits, 2024/10/19
- 04/22: gnu: vulkan-headers: Hard-code libvulkan.so file name., guix-commits, 2024/10/19
- 08/22: gnu: mesa: Update to 24.2.2., guix-commits, 2024/10/19
- 11/22: gnu: wayland: Update to 1.23.1., guix-commits, 2024/10/19
- 14/22: gnu: mesa: Fix build on arm architectures., guix-commits, 2024/10/19
- 16/22: gnu: gtk-layer-shell: Update to 0.9.0., guix-commits, 2024/10/19
- 18/22: gnu: mesa: Enable NVK driver for x86_64 architecture., guix-commits, 2024/10/19
- 22/22: gnu: mesa: Update to 24.2.5., guix-commits, 2024/10/19
- 06/22: gnu: llvm-for-mesa: Update to llvm-18., guix-commits, 2024/10/19
- 10/22: gnu: libinput: Update to 1.26.2., guix-commits, 2024/10/19
- 12/22: gnu: wlroots: Remove unneeded hwdata patch.,
guix-commits <=
- 19/22: gnu: mesa: Update to 24.2.3., guix-commits, 2024/10/19
- 13/22: gnu: wlroots: Update to 0.18., guix-commits, 2024/10/19
- 15/22: gnu: qtwayland-6: Fix build., guix-commits, 2024/10/19
- 17/22: gnu: qtwayland: Fix build., guix-commits, 2024/10/19
- 21/22: gnu: sdl2: Update to 2.30.8., guix-commits, 2024/10/19
- 03/22: gnu: Remove wayland-protocols-next., guix-commits, 2024/10/19
- 09/22: gnu: mesa: Update configure flags., guix-commits, 2024/10/19
- 02/22: gnu: wayland-protocols: Update to 1.37., guix-commits, 2024/10/19
- 07/22: gnu: llvm-for-mesa: Build all targets., guix-commits, 2024/10/19
- 20/22: gnu: mesa: Update to 24.2.4., guix-commits, 2024/10/19