Skip to contentSkip to conversation

package/cog: fix build with Weston 15

PATCH Applied James Hilliard 2 participants 2 messages May 19 – May 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/cog: fix build with Weston 15

The current cog release only supports weston protocols up to weston 14

When weston was bumped to version 15 in 2e6b2b82d5301977cf2f59adfd633d8774830f69 it broke building cog.

Backport a patch adding weston 15 support to cog.

Fixes No usable weston-protocols dependency found
---
 ...-Add-support-for-weston-15-protocols.patch | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 package/cog/0001-Add-support-for-weston-15-protocols.patch
package/cog/0001-Add-support-for-weston-15-protocols.patch new file +29 -0
new file mode 100644
index 0000000000..c737ae6a66
@@ -0,0 +1,29 @@
+From b59d3a3c0feceecb10f0376ac2695d9466c9ecf6 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 15 protocols
+
+Weston 14 was released recently and the weston development branch is
+now using libweston-15-protocols.
+
+Signed-off-by: James Hilliard <[email protected]>
+Upstream: https://github.com/Igalia/cog/commit/b59d3a3c0feceecb10f0376ac2695d9466c9ecf6
+---
+ platform/wayland/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/platform/wayland/meson.build b/platform/wayland/meson.build
+index 74215f0..dad47a6 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-15-protocols',
+             'libweston-14-protocols',
+             'libweston-13-protocols',
+             'libweston-12-protocols',
+-- 
+2.53.0
+
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · James Hilliard

The current cog release only supports weston protocols up to weston 14

When weston was bumped to version 15 in 2e6b2b82d5301977cf2f59adfd633d8774830f69 it broke building cog.

Backport a patch adding weston 15 support to cog.

Fixes No usable weston-protocols dependency found

Applied to master, thanks.

Regards,
Arnout

Quoted 30 lines
---
  ...-Add-support-for-weston-15-protocols.patch | 29 +++++++++++++++++++
  1 file changed, 29 insertions(+)

create mode 100644 package/cog/0001-Add-support-for-weston-15-protocols.patch

package/cog/0001-Add-support-for-weston-15-protocols.patch new file +19 -0
new file mode 100644
index 0000000000..c737ae6a66
@@ -0,0 +1,29 @@
+From b59d3a3c0feceecb10f0376ac2695d9466c9ecf6 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 15 protocols
+
+Weston 14 was released recently and the weston development branch is
+now using libweston-15-protocols.
+
+Signed-off-by: James Hilliard <[email protected]>
+Upstream: https://github.com/Igalia/cog/commit/b59d3a3c0feceecb10f0376ac2695d9466c9ecf6
+---
+ platform/wayland/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/platform/wayland/meson.build b/platform/wayland/meson.build
+index 74215f0..dad47a6 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

package/cog/0001-Add-support-for-weston-15-protocols.patch line 29

Quoted 10 lines
package/cog/0001-Add-support-for-weston-15-protocols.patch new file +10 -0
+
+ if wayland_platform_weston_protocols.length() > 0
+     foreach weston_dep_name : [
++            'libweston-15-protocols',
+             'libweston-14-protocols',
+             'libweston-13-protocols',
+             'libweston-12-protocols',
+--
+2.53.0
+

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot