package/wlroots: bump version to 0.20.0

While at it, drop the two patches, as they are part of this version.
Release notes:

  https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.0

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Adrian Perez de Castro
2026-04-20 10:57:50 +03:00
committed by Julien Olivain
parent cd52acda14
commit 892aed53e0
4 changed files with 4 additions and 88 deletions

View File

@@ -1,51 +0,0 @@
From c1452d88114710f5772662b1d8efb9c71edaa34c Mon Sep 17 00:00:00 2001
From: Aleksei Bavshin <alebastr89@gmail.com>
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 <bernd@kuhls.net>
---
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 <libinput.h>
#include <wlr/interfaces/wlr_switch.h>
#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

View File

@@ -1,33 +0,0 @@
From 47486545b196987f6f07fffe2929bba8f515b8e9 Mon Sep 17 00:00:00 2001
From: Dale Turner <rxguyrx@gmail.com>
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 <bernd@kuhls.net>
---
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

View File

@@ -1,7 +1,7 @@
# Locally calculated after checking pgp signature # 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 <contact@emersion.fr>" # with key 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48 "emersion <contact@emersion.fr>"
sha256 09a0a8d60104c8b0772fee4f60ba76a89aed7e59dff7659d00960fba06bdf267 wlroots-0.19.2.tar.gz sha256 33f52414e1b280839aeb70786f0ae2c9f54e27ad4873108d86270a2f89c4934b wlroots-0.20.0.tar.gz
# Hashes for license files: # Hashes for license files:
sha256 35d427c043dcafe8893b9e7247348f599847c81d9a067703587c80707f3d58df LICENSE sha256 35d427c043dcafe8893b9e7247348f599847c81d9a067703587c80707f3d58df LICENSE

View File

@@ -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_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads
WLROOTS_LICENSE = MIT WLROOTS_LICENSE = MIT
WLROOTS_LICENSE_FILES = LICENSE WLROOTS_LICENSE_FILES = LICENSE
@@ -26,7 +26,7 @@ WLROOTS_DEPENDENCIES = \
wayland \ wayland \
wayland-protocols wayland-protocols
WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Dlibliftoff=disabled
WLROOTS_RENDERERS = gles2 WLROOTS_RENDERERS = gles2
WLROOTS_BACKENDS = libinput drm WLROOTS_BACKENDS = libinput drm