[Buildroot] [PATCH 1/1] package/weston: fix DRM backend build with libdisplay-info 0.3.0
Fiona Klute
fiona.klute at gmx.de
Mon Oct 6 14:39:47 UTC 2025
From: "Fiona Klute (WIWA)" <fiona.klute at gmx.de>
Weston 14.0.2 has a "< 0.3.0" version constraint for the
libdisplay-info dependency. Upstream has relaxed the dependency,
explicitly stating "There are no breaking changes for the high-level
API that Weston uses" [1], but there is no release with the change
yet.
The change had to be backported due to restructuring on upstream
"main" since, where libdisplay-info has become a dependency of Weston
in general, not just the DRM backend.
[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/683eabb61ec43a270f2e3ed67c63bbe3754b1214
Fixes: 1a66cdf7b34328d2b2065bfd22f190c92318e499
Signed-off-by: Fiona Klute (WIWA) <fiona.klute at gmx.de>
---
...01-build-Allow-libdisplay-info-0.3.0.patch | 37 +++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 package/weston/0001-build-Allow-libdisplay-info-0.3.0.patch
diff --git a/package/weston/0001-build-Allow-libdisplay-info-0.3.0.patch b/package/weston/0001-build-Allow-libdisplay-info-0.3.0.patch
new file mode 100644
index 0000000000..d97d1a9bf4
--- /dev/null
+++ b/package/weston/0001-build-Allow-libdisplay-info-0.3.0.patch
@@ -0,0 +1,37 @@
+From 83b49400c1dfb72e3019267fd03f165d0bffec76 Mon Sep 17 00:00:00 2001
+From: Fiona Klute <fiona.klute at gmx.de>
+Date: Mon, 6 Oct 2025 15:20:26 +0200
+Subject: [PATCH] build: Allow libdisplay-info 0.3.0
+
+This is a backport of the change in upstream commit
+683eabb61ec43a270f2e3ed67c63bbe3754b1214 "build: Allow libdisplay-info 0.3.0"
+[1], applying the loosened version limit to the DRM backend only. The dependency
+definition was moved to the top level meson.build in [2], and the lower bound
+increased in [3].
+
+[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/683eabb61ec43a270f2e3ed67c63bbe3754b1214
+[2] https://gitlab.freedesktop.org/wayland/weston/-/commit/76e659f45edd23a8b1b253a93316ec73c709bc71
+[3] https://gitlab.freedesktop.org/wayland/weston/-/commit/82c5b386d860a479ed5a157f4dde58ffe202b948
+
+Upstream: https://gitlab.freedesktop.org/wayland/weston/-/commit/683eabb61ec43a270f2e3ed67c63bbe3754b1214 (backported)
+Signed-off-by: Fiona Klute (WIWA) <fiona.klute at gmx.de>
+---
+ libweston/backend-drm/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libweston/backend-drm/meson.build b/libweston/backend-drm/meson.build
+index 002669e6..a8f2ea59 100644
+--- a/libweston/backend-drm/meson.build
++++ b/libweston/backend-drm/meson.build
+@@ -4,7 +4,7 @@ endif
+
+ dep_libdisplay_info = dependency(
+ 'libdisplay-info',
+- version: ['>= 0.1.1', '< 0.3.0'],
++ version: ['>= 0.1.1', '< 0.4.0'],
+ fallback: ['display-info', 'di_dep'],
+ default_options: [
+ 'werror=false',
+--
+2.51.0
+
--
2.51.0
More information about the buildroot
mailing list