[tracker-miners/sam/meson-warnings-fix] meson: Fix warnings about empty configuration data; require >= 0.47



commit 0ffc0c14c5c0cb59336f605b890805c717fcb136
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Nov 18 20:43:20 2018 +0100

    meson: Fix warnings about empty configuration data; require >= 0.47
    
    Fixes https://gitlab.gnome.org/GNOME/tracker-miners/issues/15 and
    https://gitlab.gnome.org/GNOME/tracker-miners/issues/40.

 meson.build                     | 4 +++-
 src/tracker-extract/meson.build | 3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 14fdc9575..550001d2b 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,6 @@
-project('tracker-miners', 'c', 'vala', version: '2.2.0-alpha1')
+project('tracker-miners', 'c', 'vala',
+        version: '2.2.0-alpha1',
+        meson_version: '>=0.47')
 
 gnome = import('gnome')
 i18n = import('i18n')
diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build
index 325f68329..2344ee9ff 100644
--- a/src/tracker-extract/meson.build
+++ b/src/tracker-extract/meson.build
@@ -132,11 +132,10 @@ foreach module : modules
 
   # Populate tracker_uninstalled_extract_rules_dir with the enabled .rule files.
   foreach rule: rules
-    empty_conf = configuration_data()
     configure_file(
       input: rule,
       output: rule,
-      configuration: empty_conf)
+      copy: true)
   endforeach
 endforeach
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]