weston: accept libdisplay-info 0.4

weston 16.0.0 requires libdisplay-info below 0.4.0 while the feed
ships 0.4.0, so meson silently fell back to the bundled 0.2.0
subproject. libweston uses no interface that 0.4.0 lacks; raise the
upper bound of the version constraint so the system library is used.

Fixes: 644a662612 ("weston: update to version 16.0.0")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-09-23 11:16:31 +01:00
1 parent 938621437f
commit a7ca7540f9
1 file changed
+25
@@ -0,0 +1,25 @@
From 306a7b032550bfbdcc7afb9086ff5e55c87461c6 Mon Sep 17 00:00:00 2001
From: Daniel Golle <daniel@makrotopia.org>
Date: Tue, 8 Sep 2026 19:00:55 +0100
Subject: [PATCH] meson: accept libdisplay-info 0.4
libdisplay-info 0.4.0 keeps every function libweston uses; only the
soname changed. Raise the upper bound of the version constraint so a
system 0.4 library is used rather than the bundled 0.2.0 subproject.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/meson.build
+++ b/meson.build
@@ -179,7 +179,7 @@ endif
dep_libdisplay_info = dependency(
'libdisplay-info',
- version: ['>= 0.2.0', '< 0.4.0'],
+ version: ['>= 0.2.0', '< 0.5.0'],
fallback: ['display-info', 'di_dep'],
default_options: [
'werror=false',