package/cog: fix build with weston 16.x
PATCH 1/1 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.
--- ...-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
package/cog/0002-Add-support-for-weston-16-protocols.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 7be8cae20d50d1d991bf5a0ad0155e0f784b0b60 Mon Sep 17 00:00:00 2001 +From: James Hilliard <[email protected]> +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 <[email protected]> + +Upstream: https://github.com/Igalia/cog/pull/789 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + 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 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 12 lines · Bernd Kuhls
Buildroot commit
c5c0a76751a7e9ba1a8816da68218db9e1379eb9bumped 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)
Quoted 7 lines
output/build/cog-0.18.5/platform/wayland/meson.build:67:8: ERROR:
Problem encountered: No usable weston-protocols dependency foundThis error was not yet found by the autobuilders and is solved by adding a patch James Hilliard sent upstream.
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot