diff options
-rw-r--r-- | recipes-graphics/wayland/weston/0001-tests-Add-dependency-on-screenshooter-client-protoco.patch | 33 | ||||
-rw-r--r-- | recipes-graphics/wayland/weston_10.0.0.imx.bb | 1 |
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 @@ | |||
1 | From 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Mon Sep 17 00:00:00 2001 | ||
2 | From: Daniel Stone <daniels@collabora.com> | ||
3 | Date: Tue, 8 Feb 2022 22:39:42 +0000 | ||
4 | Subject: [PATCH] tests: Add dependency on screenshooter client protocol | ||
5 | |||
6 | Given that the test-helper code relies on the screenshooter protocol, | ||
7 | make sure it's available for us to build, and the dependency ensures we | ||
8 | build in order. | ||
9 | |||
10 | Fixes: #588 | ||
11 | |||
12 | Signed-off-by: Daniel Stone <daniels@collabora.com> | ||
13 | --- | ||
14 | tests/meson.build | 3 ++- | ||
15 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/tests/meson.build b/tests/meson.build | ||
18 | index 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" | |||
163 | SRC_URI:prepend = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=https;branch=${SRCBRANCH} " | 163 | SRC_URI:prepend = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=https;branch=${SRCBRANCH} " |
164 | SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch \ | 164 | SRC_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 | " |
167 | SRCBRANCH = "weston-imx-10.0" | 168 | SRCBRANCH = "weston-imx-10.0" |
168 | SRCREV = "c8c6e3106b03441db1037afa995f95fcb2f9f17d" | 169 | SRCREV = "c8c6e3106b03441db1037afa995f95fcb2f9f17d" |