0001-tests-Add-dependency-on-screenshooter-client-protocol.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. Given that the test-helper code relies on the screenshooter protocol,
  6. make sure it's available for us to build, and the dependency ensures we
  7. build in order.
  8. Fixes: #588
  9. Signed-off-by: Daniel Stone <daniels@collabora.com>
  10. [Retrieved from:
  11. https://gitlab.freedesktop.org/wayland/weston/-/commit/2ac6b6b084a877adde64db7faff2ed22eb3ea97a]
  12. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  13. ---
  14. tests/meson.build | 3 ++-
  15. 1 file changed, 2 insertions(+), 1 deletion(-)
  16. diff --git a/tests/meson.build b/tests/meson.build
  17. index 2d464ddcc..222091cd1 100644
  18. --- a/tests/meson.build
  19. +++ b/tests/meson.build
  20. @@ -29,8 +29,9 @@ lib_test_client = static_library(
  21. 'weston-test-client-helper.c',
  22. 'weston-test-fixture-compositor.c',
  23. weston_test_client_protocol_h,
  24. - weston_screenshooter_protocol_c,
  25. weston_test_protocol_c,
  26. + weston_screenshooter_client_protocol_h,
  27. + weston_screenshooter_protocol_c,
  28. viewporter_client_protocol_h,
  29. viewporter_protocol_c,
  30. 'color_util.h',
  31. --
  32. GitLab