summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
diff options
context:
space:
mode:
authorMaxim Paymushkin <bmx666@users.noreply.github.com>2022-10-24 21:42:02 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2022-10-24 19:31:13 -0300
commitd2e7b242e15a990c64b5b8e954721991a0cf68f7 (patch)
tree789eeb73d50dd5f5e4dc13ea4d04d47397ddb656 /recipes-graphics/wayland
parente7a87526ae38d7b23982d061cfbbead8d1bed151 (diff)
downloadmeta-freescale-d2e7b242e15a990c64b5b8e954721991a0cf68f7.tar.gz
weston: fix build test-internal-screenshot
tests: Add dependency on screenshooter client protocol Given that the test-helper code relies on the screenshooter protocol, make sure it's available for us to build, and the dependency ensures we build in order. Link: https://github.com/wayland-project/weston Commit: 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Fixes: #1273 Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com>
Diffstat (limited to 'recipes-graphics/wayland')
-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"