Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/cog: fix build with weston 16.x
@ 2026-09-17 17:31 Bernd Kuhls
  2026-09-18  8:02 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-09-17 17:31 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro

Buildroot commit c5c0a76751a7e9ba1a8816da68218db9e1379eb9 bumped weston
to 16.0.0 causing a configure error with cog:

Run-time dependency libweston-15-protocols found: NO  (tried pkg-config)
Run-time dependency libweston-14-protocols found: NO  (tried pkg-config)
Run-time dependency libweston-13-protocols found: NO  (tried pkg-config)
Run-time dependency libweston-12-protocols found: NO  (tried pkg-config)
Run-time dependency libweston-11-protocols found: NO  (tried pkg-config)
Run-time dependency libweston-10-protocols found: NO  (tried pkg-config)
Run-time dependency libweston-9-protocols found: NO  (tried pkg-config)
Run-time dependency libweston-8-protocols found: NO  (tried pkg-config)

output/build/cog-0.18.5/platform/wayland/meson.build:67:8: ERROR:
 Problem encountered: No usable weston-protocols dependency found

This error was not yet found by the autobuilders and is solved by adding
a patch James Hilliard sent upstream.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 ...-Add-support-for-weston-16-protocols.patch | 32 +++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 package/cog/0002-Add-support-for-weston-16-protocols.patch

diff --git a/package/cog/0002-Add-support-for-weston-16-protocols.patch b/package/cog/0002-Add-support-for-weston-16-protocols.patch
new file mode 100644
index 0000000000..1ba9f4dc6a
--- /dev/null
+++ b/package/cog/0002-Add-support-for-weston-16-protocols.patch
@@ -0,0 +1,32 @@
+From 7be8cae20d50d1d991bf5a0ad0155e0f784b0b60 Mon Sep 17 00:00:00 2001
+From: James Hilliard <james.hilliard1@gmail.com>
+Date: Tue, 1 Oct 2024 10:24:56 -0600
+Subject: [PATCH] Add support for weston 16 protocols
+
+Weston 15 was released recently and the weston development branch is
+now using libweston-16-protocols.
+
+Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
+
+Upstream: https://github.com/Igalia/cog/pull/789
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ platform/wayland/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/platform/wayland/meson.build b/platform/wayland/meson.build
+index dad47a6..3ecf9d8 100644
+--- a/platform/wayland/meson.build
++++ b/platform/wayland/meson.build
+@@ -49,6 +49,7 @@ wayland_protocols_path = wayland_protocols_dep.get_variable(pkgconfig: 'pkgdatad
+ 
+ if wayland_platform_weston_protocols.length() > 0
+     foreach weston_dep_name : [
++            'libweston-16-protocols',
+             'libweston-15-protocols',
+             'libweston-14-protocols',
+             'libweston-13-protocols',
+-- 
+2.47.3
+
-- 
2.47.3

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

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

* Re: [Buildroot] [PATCH 1/1] package/cog: fix build with weston 16.x
  2026-09-17 17:31 [Buildroot] [PATCH 1/1] package/cog: fix build with weston 16.x Bernd Kuhls
@ 2026-09-18  8:02 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-18  8:02 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Adrian Perez de Castro

On Thu, Sep 17, 2026 at 07:31:11PM +0200, Bernd Kuhls wrote:
> Buildroot commit c5c0a76751a7e9ba1a8816da68218db9e1379eb9 bumped weston
> to 16.0.0 causing a configure error with cog:
> 
> Run-time dependency libweston-15-protocols found: NO  (tried pkg-config)
> Run-time dependency libweston-14-protocols found: NO  (tried pkg-config)
> Run-time dependency libweston-13-protocols found: NO  (tried pkg-config)
> Run-time dependency libweston-12-protocols found: NO  (tried pkg-config)
> Run-time dependency libweston-11-protocols found: NO  (tried pkg-config)
> Run-time dependency libweston-10-protocols found: NO  (tried pkg-config)
> Run-time dependency libweston-9-protocols found: NO  (tried pkg-config)
> Run-time dependency libweston-8-protocols found: NO  (tried pkg-config)
> 
> output/build/cog-0.18.5/platform/wayland/meson.build:67:8: ERROR:
>  Problem encountered: No usable weston-protocols dependency found
> 
> This error was not yet found by the autobuilders and is solved by adding
> a patch James Hilliard sent upstream.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks!

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-09-18  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-17 17:31 [Buildroot] [PATCH 1/1] package/cog: fix build with weston 16.x Bernd Kuhls
2026-09-18  8:02 ` Thomas Petazzoni via buildroot

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