[gnome-initial-setup/wjt/gnome-40-versioning: 1/2] build: Drop major/minor/micro variables and defines
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/wjt/gnome-40-versioning: 1/2] build: Drop major/minor/micro variables and defines
- Date: Fri, 2 Oct 2020 13:22:15 +0000 (UTC)
commit b0a9dbf05e0bc3009c1128054fa65b2ca44892b7
Author: Will Thompson <wjt endlessm com>
Date: Fri Oct 2 14:20:48 2020 +0100
build: Drop major/minor/micro variables and defines
In the new GNOME versioning scheme, '40.alpha' can not be split into
three integer components. Happily these variables aren't used at all.
Drop them.
meson.build | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/meson.build b/meson.build
index 50cd39fe..85fddbf4 100644
--- a/meson.build
+++ b/meson.build
@@ -31,15 +31,6 @@ conf.set_quoted('G_LOG_DOMAIN', 'InitialSetup')
conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_64')
conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_64')
-version_arr = meson.project_version().split('.')
-major_version = version_arr[0].to_int()
-minor_version = version_arr[1].to_int()
-micro_version = version_arr[2].to_int()
-
-conf.set('GIS_MAJOR_VERSION', major_version)
-conf.set('GIS_MINOR_VERSION', minor_version)
-conf.set('GIS_MICRO_VERSION', micro_version)
-
enable_systemd = get_option('systemd')
if enable_systemd
systemd_dep = dependency('systemd', version: '>= 242', required: false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]