diff --git a/package/wlroots/0001-backend-libinput-fix-build-with-libinput-1.31.patch b/package/wlroots/0001-backend-libinput-fix-build-with-libinput-1.31.patch deleted file mode 100644 index c5ef11ecf0..0000000000 --- a/package/wlroots/0001-backend-libinput-fix-build-with-libinput-1.31.patch +++ /dev/null @@ -1,51 +0,0 @@ -From c1452d88114710f5772662b1d8efb9c71edaa34c Mon Sep 17 00:00:00 2001 -From: Aleksei Bavshin -Date: Sat, 7 Feb 2026 17:48:16 -0800 -Subject: [PATCH] backend/libinput: fix build with libinput 1.31 - -Upstream: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/c1452d88114710f5772662b1d8efb9c71edaa34c - -Signed-off-by: Bernd Kuhls ---- - backend/libinput/meson.build | 4 ++++ - backend/libinput/switch.c | 5 +++++ - 2 files changed, 9 insertions(+) - -diff --git a/backend/libinput/meson.build b/backend/libinput/meson.build -index c244eb77a..091b0e0eb 100644 ---- a/backend/libinput/meson.build -+++ b/backend/libinput/meson.build -@@ -29,3 +29,7 @@ features += { 'libinput-backend': true } - wlr_deps += libinput - - internal_config.set10('HAVE_LIBINPUT_BUSTYPE', libinput.version().version_compare('>=1.26.0')) -+internal_config.set10( -+ 'HAVE_LIBINPUT_SWITCH_KEYPAD_SLIDE', -+ libinput.version().version_compare('>=1.30.901') -+) -diff --git a/backend/libinput/switch.c b/backend/libinput/switch.c -index abeec86d7..9dde3c9cb 100644 ---- a/backend/libinput/switch.c -+++ b/backend/libinput/switch.c -@@ -2,6 +2,7 @@ - #include - #include - #include "backend/libinput.h" -+#include "config.h" - - const struct wlr_switch_impl libinput_switch_impl = { - .name = "libinput-switch", -@@ -36,6 +37,10 @@ void handle_switch_toggle(struct libinput_event *event, - case LIBINPUT_SWITCH_TABLET_MODE: - wlr_event.switch_type = WLR_SWITCH_TYPE_TABLET_MODE; - break; -+#if HAVE_LIBINPUT_SWITCH_KEYPAD_SLIDE -+ case LIBINPUT_SWITCH_KEYPAD_SLIDE: -+ return; -+#endif - } - switch (libinput_event_switch_get_switch_state(sevent)) { - case LIBINPUT_SWITCH_STATE_OFF: --- -GitLab - diff --git a/package/wlroots/0002-xcursor.patch b/package/wlroots/0002-xcursor.patch deleted file mode 100644 index d57980fa39..0000000000 --- a/package/wlroots/0002-xcursor.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 47486545b196987f6f07fffe2929bba8f515b8e9 Mon Sep 17 00:00:00 2001 -From: Dale Turner -Date: Wed, 3 Dec 2025 20:02:29 -0400 -Subject: [PATCH] =?UTF-8?q?Add=20"const"=20to=20eliminate=20"error:=20init?= - =?UTF-8?q?ialization=20discards=20=E2=80=98const=E2=80=99=20qualifier=20f?= - =?UTF-8?q?rom=20pointer=20target=20type"?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Upstream: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/47486545b196987f6f07fffe2929bba8f515b8e9 - -Signed-off-by: Bernd Kuhls ---- - xcursor/xcursor.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/xcursor/xcursor.c b/xcursor/xcursor.c -index b5edb9de8..6627fb6cd 100644 ---- a/xcursor/xcursor.c -+++ b/xcursor/xcursor.c -@@ -602,7 +602,7 @@ xcursor_build_fullname(const char *dir, const char *subdir, const char *file) - static const char * - xcursor_next_path(const char *path) - { -- char *colon = strchr(path, ':'); -+ const char *colon = strchr(path, ':'); - - if (!colon) - return NULL; --- -GitLab - diff --git a/package/wlroots/wlroots.hash b/package/wlroots/wlroots.hash index 37ac909693..cd1b83e6e4 100644 --- a/package/wlroots/wlroots.hash +++ b/package/wlroots/wlroots.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature -# https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.19.2/downloads/wlroots-0.19.2.tar.gz.sig +# https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.0/downloads/wlroots-0.20.0.tar.gz.sig # with key 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48 "emersion " -sha256 09a0a8d60104c8b0772fee4f60ba76a89aed7e59dff7659d00960fba06bdf267 wlroots-0.19.2.tar.gz +sha256 33f52414e1b280839aeb70786f0ae2c9f54e27ad4873108d86270a2f89c4934b wlroots-0.20.0.tar.gz # Hashes for license files: sha256 35d427c043dcafe8893b9e7247348f599847c81d9a067703587c80707f3d58df LICENSE diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index bd2e0eb561..5ce634d402 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -4,7 +4,7 @@ # ################################################################################ -WLROOTS_VERSION = 0.19.2 +WLROOTS_VERSION = 0.20.0 WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads WLROOTS_LICENSE = MIT WLROOTS_LICENSE_FILES = LICENSE @@ -26,7 +26,7 @@ WLROOTS_DEPENDENCIES = \ wayland \ wayland-protocols -WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled +WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Dlibliftoff=disabled WLROOTS_RENDERERS = gles2 WLROOTS_BACKENDS = libinput drm