[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 13/18] ui/gtk: -display gtk requires PIXMAN
From: |
marcandre . lureau |
Subject: |
[PATCH v3 13/18] ui/gtk: -display gtk requires PIXMAN |
Date: |
Tue, 10 Oct 2023 11:38:25 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index a84a2f25d0..64d2aca79b 100644
--- a/meson.build
+++ b/meson.build
@@ -1501,7 +1501,11 @@ gtkx11 = not_found
vte = not_found
have_gtk_clipboard = get_option('gtk_clipboard').enabled()
-if not get_option('gtk').auto() or have_system
+if get_option('gtk') \
+ .disable_auto_if(not have_system) \
+ .require(pixman.found(),
+ error_message: 'cannot enable GTK if pixman is not
available') \
+ .allowed()
gtk = dependency('gtk+-3.0', version: '>=3.22.0',
method: 'pkg-config',
required: get_option('gtk'))
--
2.41.0
- [PATCH v3 07/18] virtio-gpu: replace PIXMAN for region/rect test, (continued)
- [PATCH v3 07/18] virtio-gpu: replace PIXMAN for region/rect test, marcandre . lureau, 2023/10/10
- [PATCH v3 11/18] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/10/10
- [PATCH v3 12/18] ui/spice: SPICE/QXL requires PIXMAN, marcandre . lureau, 2023/10/10
- [PATCH v3 15/18] arm/kconfig: XLNX_ZYNQMP_ARM depends on PIXMAN, marcandre . lureau, 2023/10/10
- [PATCH v3 16/18] hw/sm501: allow compiling without PIXMAN, marcandre . lureau, 2023/10/10
- [PATCH v3 18/18] build-sys: make pixman actually optional, marcandre . lureau, 2023/10/10
- [PATCH v3 13/18] ui/gtk: -display gtk requires PIXMAN,
marcandre . lureau <=
- [PATCH v3 14/18] ui/dbus: do not require PIXMAN, marcandre . lureau, 2023/10/10
- [PATCH v3 17/18] hw/display: make ATI_VGA depend on PIXMAN, marcandre . lureau, 2023/10/10