[gtk+/wip/meson: 141/181] meson: gtk: set GTK_PRINT_BACKENDS define properly
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/meson: 141/181] meson: gtk: set GTK_PRINT_BACKENDS define properly
- Date: Wed, 26 Apr 2017 16:39:28 +0000 (UTC)
commit d39e8f597aa790969ad382e98d9016c85ddded63
Author: Tim-Philipp Müller <tim centricular com>
Date: Wed Mar 22 18:15:17 2017 +0000
meson: gtk: set GTK_PRINT_BACKENDS define properly
config.h.meson | 2 ++
gtk/meson.build | 1 -
modules/printbackends/meson.build | 2 ++
3 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/config.h.meson b/config.h.meson
index 0e8b63f..65d7e09 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -315,3 +315,5 @@
#mesondefine GTK_DATADIR
#mesondefine GTK_LIBDIR
+
+#mesondefine GTK_PRINT_BACKENDS
diff --git a/gtk/meson.build b/gtk/meson.build
index 85fe62a..55c921a 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -768,7 +768,6 @@ gtk_cargs = [
'-DGTK_SYSCONFDIR="' + get_option('prefix') + '/etc"',
'-DGTK_DATADIR="' + get_option('datadir') + '"',
'-DGTK_DATA_PREFIX="'+ get_option('prefix') + '"',
- '-DGTK_PRINT_BACKENDS="null"', # FIXME
]
gtk_sources += [
diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build
index 80c9469..c9f9706 100644
--- a/modules/printbackends/meson.build
+++ b/modules/printbackends/meson.build
@@ -111,6 +111,8 @@ printbackends_install_dir = join_paths(get_option('libdir'), printbackends_subdi
message('Print backends: ' + ' '.join(print_backends))
+cdata.set_quoted('GTK_PRINT_BACKENDS', ','.join(print_backends))
+
foreach print_backend : print_backends
subdir(print_backend)
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]