[tracker-miners] build: Drop unused config.h defines



commit d59ebc198d51b83df7ba12a42cc39d5e04d2e808
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Nov 13 02:00:13 2018 +0100

    build: Drop unused config.h defines
    
    Those are not needed here, since we are not building libraries.

 config.h.meson.in | 15 ---------------
 meson.build       |  9 ---------
 2 files changed, 24 deletions(-)
---
diff --git a/config.h.meson.in b/config.h.meson.in
index 176088724..7b1cf0f24 100644
--- a/config.h.meson.in
+++ b/config.h.meson.in
@@ -111,20 +111,5 @@
 /* Define to the version of this package. */
 #mesondefine PACKAGE_VERSION
 
-/* Define to the Tracker binary age */
-#mesondefine TRACKER_BINARY_AGE
-
-/* Define to the Tracker interface age */
-#mesondefine TRACKER_INTERFACE_AGE
-
-/* Define to the Tracker major version */
-#mesondefine TRACKER_MAJOR_VERSION
-
-/* Define to the Tracker micro version */
-#mesondefine TRACKER_MICRO_VERSION
-
-/* Define to the Tracker minor version */
-#mesondefine TRACKER_MINOR_VERSION
-
 /* Unzip ps.gz files */
 #mesondefine USING_UNZIPPSFILES
diff --git a/meson.build b/meson.build
index d8d12e192..2f3dc10aa 100644
--- a/meson.build
+++ b/meson.build
@@ -297,10 +297,6 @@ else
   systemd_user_services_dir = get_option('systemd_user_services')
 endif
 
-tracker_major_version = meson.project_version().split('.')[0].to_int()
-tracker_minor_version = meson.project_version().split('.')[1].to_int()
-tracker_micro_version = meson.project_version().split('.')[2].to_int()
-
 conf = configuration_data()
 
 # Config that goes in config.h
@@ -335,11 +331,6 @@ conf.set('TRACKER_UI_DIR', '"@0@/@1@/tracker/"'.format(get_option('prefix'), get
 conf.set('GETTEXT_PACKAGE', '"tracker-miners"')
 conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version()))
 conf.set('TRACKER_VERSION', '"@0@"'.format(meson.project_version()))
-conf.set('TRACKER_MAJOR_VERSION', tracker_major_version)
-conf.set('TRACKER_MINOR_VERSION', tracker_minor_version)
-conf.set('TRACKER_MICRO_VERSION', tracker_micro_version)
-conf.set('TRACKER_INTERFACE_AGE', 0)
-conf.set('TRACKER_BINARY_AGE', 100 * tracker_minor_version + tracker_micro_version)
 
 # Config that goes in some other generated files (.desktop, .pc, etc)
 conf.set('exec_prefix', get_option('prefix'))


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