[grilo-plugins/wip/carlosg/tracker3: 11/11] build: Make tracker and tracker3 modules mutually exclusive
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/wip/carlosg/tracker3: 11/11] build: Make tracker and tracker3 modules mutually exclusive
- Date: Mon, 29 Jun 2020 13:37:44 +0000 (UTC)
commit dbe2b4b70b4b3dbbc8f26104f0445faad0d8883b
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Jun 28 17:50:49 2020 +0200
build: Make tracker and tracker3 modules mutually exclusive
Even though both can be compiled and installed separately, the usual
approach to grl_registry_load_all_plugins() will cause GType clashes
as both plugins will be attempted to be initialized.
Even if we could make that work, the benefits are theoretical since
other dependencies (eg. gtk) have explicit dependencies on one or
another Tracker version, so it's more a distributor-level choice
really...
meson.build | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/meson.build b/meson.build
index 5b00a9df..6d844e81 100644
--- a/meson.build
+++ b/meson.build
@@ -176,6 +176,12 @@ if lua_factory_enabled
endif
endif
+# Special case: tracker and tracker3 modules are mutually exclusive
+if tracker3_enabled and tracker_enabled
+ message('Disabling tracker module, tracker3 is enabled')
+ tracker_enabled = false
+endif
+
message('Plugins:')
foreach p: plugins
name = p[NAME].underscorify() + '_enabled'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]