summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-02-08 23:00:18 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-02-08 23:00:18 +0000
commit2487bf5db21890b5712ea7056f5a558a1af8e9bc (patch)
treefc7cd5aeec0685e46786a33ffe83ddd8c0f42872 /dev-libs/weston/files
parentpackage.mask: Last rite x11-misc/easystroke (diff)
downloadgentoo-2487bf5db21890b5712ea7056f5a558a1af8e9bc.tar.gz
gentoo-2487bf5db21890b5712ea7056f5a558a1af8e9bc.tar.bz2
gentoo-2487bf5db21890b5712ea7056f5a558a1af8e9bc.zip
dev-libs/weston: Use upstream patch to fix USE=-desktop on 10.0.0
Closes: https://bugs.gentoo.org/832950 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-libs/weston/files')
-rw-r--r--dev-libs/weston/files/weston-10.0.0-test-deps.patch34
1 files changed, 34 insertions, 0 deletions
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
new file mode 100644
index 000000000000..cc6ad8c6e130
--- /dev/null
+++ b/dev-libs/weston/files/weston-10.0.0-test-deps.patch
@@ -0,0 +1,34 @@
+From 9516859b9fdb2899a37116b55200fb04f7726b45 Mon Sep 17 00:00:00 2001
+From: Daniel Stone <daniels@collabora.com>
+Date: Tue, 8 Feb 2022 22:39:42 +0000
+Subject: [PATCH] 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.
+
+Fixes: #588
+
+Signed-off-by: Daniel Stone <daniels@collabora.com>
+---
+ tests/meson.build | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tests/meson.build b/tests/meson.build
+index d8e96e77d..955c4226c 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -29,8 +29,9 @@ lib_test_client = static_library(
+ 'weston-test-client-helper.c',
+ 'weston-test-fixture-compositor.c',
+ weston_test_client_protocol_h,
+- weston_screenshooter_protocol_c,
+ weston_test_protocol_c,
++ weston_screenshooter_client_protocol_h,
++ weston_screenshooter_protocol_c,
+ viewporter_client_protocol_h,
+ viewporter_protocol_c,
+ 'color_util.h',
+--
+GitLab
+