[grilo-plugins] tracker: deprecate version 2



commit bae400f9fb0de6d3f4157cf8160a8f6ab35085e2
Author: Victor Toso <victortoso gnome org>
Date:   Fri Mar 26 18:18:35 2021 +0100

    tracker: deprecate version 2
    
    warning() method was introduced in meson 0.44 so we bump it just to
    avoid warning messages from meson.

 meson.build             | 2 +-
 meson_options.txt       | 2 +-
 src/tracker/meson.build | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index e6614f39..8d97a137 100644
--- a/meson.build
+++ b/meson.build
@@ -13,7 +13,7 @@ project('grilo-plugins', 'c',
             'warning_level=1'
         ],
         license: 'LGPL 2.1',
-        meson_version: '>= 0.37.0')
+        meson_version: '>= 0.44.0')
 
 plugin_version = meson.project_version()
 version_array = plugin_version.split('.')
diff --git a/meson_options.txt b/meson_options.txt
index 77558aed..c2aa8375 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -19,7 +19,7 @@ option('enable-raitv', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: '
 option('enable-shoutcast', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 
'Enable Shoutcast plugin')
 option('enable-thetvdb', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 
'Enable Thetvdb plugin')
 option('enable-tmdb', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable 
TMDb plugin')
-option('enable-tracker', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 
'Enable Tracker plugin')
+option('enable-tracker', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 
'Enable Tracker plugin (DEPRECATED)')
 option('enable-tracker3', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 
'Enable Tracker3 plugin')
 option('enable-vimeo', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable 
Vimeo plugin')
 option('enable-youtube', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 
'Enable YouTube plugin')
diff --git a/src/tracker/meson.build b/src/tracker/meson.build
index 6f4440f1..167b8b88 100644
--- a/src/tracker/meson.build
+++ b/src/tracker/meson.build
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2016 Igalia S.L. All rights reserved.
 
+warning('Tracker 2 is deprecated and will be removed in the next release')
+
 tracker_sources = [
     'grl-tracker-request-queue.c',
     'grl-tracker-request-queue.h',


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