[tracker-miners/sam/run-uninstalled-gsettings] run-installed: Set GSETTINGS_SCHEMA_DIR
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/run-uninstalled-gsettings] run-installed: Set GSETTINGS_SCHEMA_DIR
- Date: Wed, 2 Oct 2019 11:38:52 +0000 (UTC)
commit 7ae27993f2e66ae26a24b931171407bc44628e16
Author: Sam Thursfield <sam afuera me uk>
Date: Wed Oct 2 13:38:03 2019 +0200
run-installed: Set GSETTINGS_SCHEMA_DIR
This stops us from depending on installed gsettings schemas.
meson.build | 1 +
run-uninstalled.in | 2 ++
2 files changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index d26753e16..57f1c915e 100644
--- a/meson.build
+++ b/meson.build
@@ -437,6 +437,7 @@ run_uninstalled_conf.set('tracker_uninstalled_nepomuk_ontologies_dir', tracker_u
run_uninstalled_conf.set('tracker_uninstalled_stop_words_dir', tracker_uninstalled_stop_words_dir)
run_uninstalled_conf.set('tracker_uninstalled_testutils_dir', tracker_uninstalled_testutils_dir)
run_uninstalled_conf.set('tracker_uninstalled_writeback_modules_dir',
tracker_uninstalled_writeback_modules_dir)
+run_uninstalled_conf.set('uninstalled_gsettings_schema_dir', tracker_miners_uninstalled_gsettings_schema_dir)
configure_file(
input: 'run-uninstalled.in',
output: 'run-uninstalled',
diff --git a/run-uninstalled.in b/run-uninstalled.in
index 4178480b4..93a302015 100755
--- a/run-uninstalled.in
+++ b/run-uninstalled.in
@@ -41,6 +41,8 @@ env['PATH'] = ':'.join([cli_dir] + path)
pythonpath = env.get('PYTHONPATH', '').split(':')
env['PYTHONPATH'] = ':'.join([testutils_dir] + pythonpath)
+env['GSETTINGS_SCHEMA_DIR'] = '@uninstalled_gsettings_schema_dir@'
+
env['TRACKER_DB_ONTOLOGIES_DIR'] = "@tracker_uninstalled_nepomuk_ontologies_dir@"
env['TRACKER_EXTRACTOR_RULES_DIR'] = "@tracker_uninstalled_extract_rules_dir@"
env['TRACKER_EXTRACTORS_DIR'] = "@tracker_uninstalled_extractors_dir@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]