Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/weston: add patch to fix with libdisplay-info 0.4.0
@ 2026-08-24 21:34 Julien Olivain via buildroot
  2026-08-25  8:28 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-24 21:34 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Julien Olivain

Buildroot commit [1] bumped libdisplay-info to 0.4.0.
The weston version 15.0.1 in Buildroot has a strict condition on
libdisplay-info < 0.4.0. See [2].

This commit fixes the issue by adding an upstream patch which relax this
condition.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/16060154054

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/766d3a6e87003bda9ae7ff3f92e17b7fdced82aa
[2] https://gitlab.freedesktop.org/wayland/weston/-/blob/15.0.1/meson.build#L181

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested with command:

    utils/docker-run support/testing/run-tests \
        -d dl -o output_folder \
        tests.package.test_weston
---
 .../0001-Allow-libdisplay-info-0.4.0.patch    | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/weston/0001-Allow-libdisplay-info-0.4.0.patch

diff --git a/package/weston/0001-Allow-libdisplay-info-0.4.0.patch b/package/weston/0001-Allow-libdisplay-info-0.4.0.patch
new file mode 100644
index 0000000000..8d7739e8c4
--- /dev/null
+++ b/package/weston/0001-Allow-libdisplay-info-0.4.0.patch
@@ -0,0 +1,28 @@
+From f0152f4c04d6ef21159dd5bc98700dc46ac8cb04 Mon Sep 17 00:00:00 2001
+From: Tom Pollard <tom.pollard@codethink.co.uk>
+Date: Tue, 28 Jul 2026 10:51:27 +0100
+Subject: [PATCH] Allow libdisplay-info 0.4.0
+
+Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
+Upstream: https://gitlab.freedesktop.org/wayland/weston/-/commit/54cd5c3354c618815addd7e1d82fc66247099136
+Signed-off-by: Julien Olivain <ju.o@free.fr>
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 79256cd6..d6ede4df 100644
+--- a/meson.build
++++ b/meson.build
+@@ -178,7 +178,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',
+-- 
+2.55.0
+
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-25  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-24 21:34 [Buildroot] [PATCH 1/1] package/weston: add patch to fix with libdisplay-info 0.4.0 Julien Olivain via buildroot
2026-08-25  8:28 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox