Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/weston/files/, dev-libs/weston/
Date: Tue, 08 Feb 2022 23:00:55
Message-Id: 1644361218.2487bf5db21890b5712ea7056f5a558a1af8e9bc.chewi@gentoo
1 commit: 2487bf5db21890b5712ea7056f5a558a1af8e9bc
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 8 23:00:18 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 8 23:00:18 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2487bf5d
7
8 dev-libs/weston: Use upstream patch to fix USE=-desktop on 10.0.0
9
10 Closes: https://bugs.gentoo.org/832950
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 .../weston/files/weston-10.0.0-test-deps.patch | 34 ++++++++++++++++++++++
14 dev-libs/weston/weston-10.0.0.ebuild | 1 +
15 2 files changed, 35 insertions(+)
16
17 diff --git a/dev-libs/weston/files/weston-10.0.0-test-deps.patch b/dev-libs/weston/files/weston-10.0.0-test-deps.patch
18 new file mode 100644
19 index 000000000000..cc6ad8c6e130
20 --- /dev/null
21 +++ b/dev-libs/weston/files/weston-10.0.0-test-deps.patch
22 @@ -0,0 +1,34 @@
23 +From 9516859b9fdb2899a37116b55200fb04f7726b45 Mon Sep 17 00:00:00 2001
24 +From: Daniel Stone <daniels@×××××××××.com>
25 +Date: Tue, 8 Feb 2022 22:39:42 +0000
26 +Subject: [PATCH] tests: Add dependency on screenshooter client protocol
27 +
28 +Given that the test-helper code relies on the screenshooter protocol,
29 +make sure it's available for us to build, and the dependency ensures we
30 +build in order.
31 +
32 +Fixes: #588
33 +
34 +Signed-off-by: Daniel Stone <daniels@×××××××××.com>
35 +---
36 + tests/meson.build | 3 ++-
37 + 1 file changed, 2 insertions(+), 1 deletion(-)
38 +
39 +diff --git a/tests/meson.build b/tests/meson.build
40 +index d8e96e77d..955c4226c 100644
41 +--- a/tests/meson.build
42 ++++ b/tests/meson.build
43 +@@ -29,8 +29,9 @@ lib_test_client = static_library(
44 + 'weston-test-client-helper.c',
45 + 'weston-test-fixture-compositor.c',
46 + weston_test_client_protocol_h,
47 +- weston_screenshooter_protocol_c,
48 + weston_test_protocol_c,
49 ++ weston_screenshooter_client_protocol_h,
50 ++ weston_screenshooter_protocol_c,
51 + viewporter_client_protocol_h,
52 + viewporter_protocol_c,
53 + 'color_util.h',
54 +--
55 +GitLab
56 +
57
58 diff --git a/dev-libs/weston/weston-10.0.0.ebuild b/dev-libs/weston/weston-10.0.0.ebuild
59 index ef2891bf73bb..d488637fff57 100644
60 --- a/dev-libs/weston/weston-10.0.0.ebuild
61 +++ b/dev-libs/weston/weston-10.0.0.ebuild
62 @@ -98,6 +98,7 @@ BDEPEND="
63
64 PATCHES=(
65 "${FILESDIR}"/${PN}-10.0.0-backend-default.patch
66 + "${FILESDIR}"/${PN}-10.0.0-test-deps.patch
67 )
68
69 src_configure() {