summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-graphics/wayland/weston/0001-tests-Add-dependency-on-screenshooter-client-protoco.patch33
-rw-r--r--recipes-graphics/wayland/weston_10.0.0.imx.bb1
2 files changed, 34 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston/0001-tests-Add-dependency-on-screenshooter-client-protoco.patch b/recipes-graphics/wayland/weston/0001-tests-Add-dependency-on-screenshooter-client-protoco.patch
new file mode 100644
index 00000000..46538600
--- /dev/null
+++ b/recipes-graphics/wayland/weston/0001-tests-Add-dependency-on-screenshooter-client-protoco.patch
@@ -0,0 +1,33 @@
1From 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Mon Sep 17 00:00:00 2001
2From: Daniel Stone <daniels@collabora.com>
3Date: Tue, 8 Feb 2022 22:39:42 +0000
4Subject: [PATCH] tests: Add dependency on screenshooter client protocol
5
6Given that the test-helper code relies on the screenshooter protocol,
7make sure it's available for us to build, and the dependency ensures we
8build in order.
9
10Fixes: #588
11
12Signed-off-by: Daniel Stone <daniels@collabora.com>
13---
14 tests/meson.build | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17diff --git a/tests/meson.build b/tests/meson.build
18index 2d464ddcc..222091cd1 100644
19--- a/tests/meson.build
20+++ b/tests/meson.build
21@@ -29,8 +29,9 @@ lib_test_client = static_library(
22 'weston-test-client-helper.c',
23 'weston-test-fixture-compositor.c',
24 weston_test_client_protocol_h,
25- weston_screenshooter_protocol_c,
26 weston_test_protocol_c,
27+ weston_screenshooter_client_protocol_h,
28+ weston_screenshooter_protocol_c,
29 viewporter_client_protocol_h,
30 viewporter_protocol_c,
31 'color_util.h',
32
33
diff --git a/recipes-graphics/wayland/weston_10.0.0.imx.bb b/recipes-graphics/wayland/weston_10.0.0.imx.bb
index cc60b4d7..effef386 100644
--- a/recipes-graphics/wayland/weston_10.0.0.imx.bb
+++ b/recipes-graphics/wayland/weston_10.0.0.imx.bb
@@ -163,6 +163,7 @@ SRC_URI:remove = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
163SRC_URI:prepend = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=https;branch=${SRCBRANCH} " 163SRC_URI:prepend = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=https;branch=${SRCBRANCH} "
164SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch \ 164SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch \
165 file://0001-g2d-renderer.c-Include-sys-stat.h.patch \ 165 file://0001-g2d-renderer.c-Include-sys-stat.h.patch \
166 file://0001-tests-Add-dependency-on-screenshooter-client-protoco.patch \
166 " 167 "
167SRCBRANCH = "weston-imx-10.0" 168SRCBRANCH = "weston-imx-10.0"
168SRCREV = "c8c6e3106b03441db1037afa995f95fcb2f9f17d" 169SRCREV = "c8c6e3106b03441db1037afa995f95fcb2f9f17d"