From 35fdb4161039bbe4b8ed0c6e304767d7e1367004 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Thu, 17 Sep 2026 19:31:11 +0200 Subject: [PATCH] package/cog: fix build with weston 16.x 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 Signed-off-by: Thomas Petazzoni --- ...-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 +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 + +Upstream: https://github.com/Igalia/cog/pull/789 + +Signed-off-by: Bernd Kuhls +--- + 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 +