Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Julien Olivain <ju.o@free.fr>
Subject: [Buildroot] [PATCH 1/1] package/weston: add patch to fix with libdisplay-info 0.4.0
Date: Mon, 24 Aug 2026 23:34:44 +0200	[thread overview]
Message-ID: <20260824213444.1189360-1-ju.o@free.fr> (raw)

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

             reply	other threads:[~2026-08-24 21:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-24 21:34 Julien Olivain via buildroot [this message]
2026-08-25  8:28 ` [Buildroot] [PATCH 1/1] package/weston: add patch to fix with libdisplay-info 0.4.0 Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260824213444.1189360-1-ju.o@free.fr \
    --to=buildroot@buildroot.org \
    --cc=ju.o@free.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox