[gtk/macos-ci: 3/7] printing: Remove cairo header checks
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/macos-ci: 3/7] printing: Remove cairo header checks
- Date: Mon, 4 Jan 2021 02:26:59 +0000 (UTC)
commit 96bac5c87bcab70db6b4756523bbc042c226171a
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 3 11:59:14 2021 -0500
printing: Remove cairo header checks
cc.has_header doesn't work with subprojects, and all this
check does is to make the build fail, so we can just...
let the build fail instead.
modules/printbackends/meson.build | 13 -------------
1 file changed, 13 deletions(-)
---
diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build
index c5d7b4cdaa..64d8a41974 100644
--- a/modules/printbackends/meson.build
+++ b/modules/printbackends/meson.build
@@ -1,18 +1,5 @@
print_backends = []
-if not cc.has_header('cairo-pdf.h', dependencies : cairo_dep)
- error('Cannot find cairo-pdf.h. You must build Cairo with the pdf backend enabled.')
-endif
-
-if os_unix
- if not cc.has_header('cairo-ps.h', dependencies : cairo_dep)
- error('Cannot find cairo-ps.h. You must build Cairo with the postscript backend enabled.')
- endif
- if not cc.has_header('cairo-svg.h', dependencies : cairo_dep)
- error('Cannot find cairo-svg.h. You must build Cairo with the svg backend enabled.')
- endif
-endif
-
printbackends_subdir = 'gtk-4.0/@0@/printbackends'.format(gtk_binary_version)
printbackends_install_dir = join_paths(get_option('libdir'), printbackends_subdir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]