[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 18/23] ui/gtk: -display gtk requires PIXMAN
From: |
marcandre . lureau |
Subject: |
[PATCH v6 18/23] ui/gtk: -display gtk requires PIXMAN |
Date: |
Wed, 25 Oct 2023 23:08:12 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
---
meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 0dbad80fcc..ad1e0155ee 100644
--- a/meson.build
+++ b/meson.build
@@ -1507,7 +1507,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
- Re: [PATCH v6 12/23] virtio-gpu: replace PIXMAN for region/rect test, (continued)
- [PATCH v6 13/23] ui/console: when PIXMAN is unavailable, don't draw placeholder msg, marcandre . lureau, 2023/10/25
- [PATCH v6 16/23] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/10/25
- [PATCH v6 17/23] ui/spice: SPICE/QXL requires PIXMAN, marcandre . lureau, 2023/10/25
- [PATCH v6 18/23] ui/gtk: -display gtk requires PIXMAN,
marcandre . lureau <=
- [PATCH v6 19/23] ui/dbus: do not require PIXMAN, marcandre . lureau, 2023/10/25
- [PATCH v6 21/23] hw/sm501: allow compiling without PIXMAN, marcandre . lureau, 2023/10/25
- [PATCH v6 20/23] arm/kconfig: XLNX_ZYNQMP_ARM depends on PIXMAN, marcandre . lureau, 2023/10/25
- [PATCH v6 22/23] hw/display: make ATI_VGA depend on PIXMAN, marcandre . lureau, 2023/10/25
- [PATCH v6 23/23] build-sys: make pixman actually optional, marcandre . lureau, 2023/10/25