[gxml] Setting version to 0.15.90 in preparation for 0.16.0 release



commit 17fe35e62a60a5558686573fcfdd01eecbc6cf94
Author: Daniel Espinosa <esodan gmail com>
Date:   Mon Dec 4 11:11:20 2017 -0600

    Setting version to 0.15.90 in preparation for 0.16.0 release
    
    For now on, no new API or ABI changes are accepted. Just fixes
    on existing features.
    
    Fixed politic for ABI versioning and sync Autotools and Meson
    to follow it.
    
    0.16 may will be next stable ABI/API in front of 1.0 release.
    
    Consider that any Interface no implemented into 0.16 series and
    no updated to follow's Vala/C API conventions, is suitable to change
    its name for methods and properties, some times their accessors'
    type, in order to provide an stable API/ABI for 1.0 release.

 configure.ac     |   17 +++++++++--------
 gxml/meson.build |   19 ++++++++++++-------
 2 files changed, 21 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9d44d79..f2f079e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,18 +9,19 @@
 
 ### Version numbers
 
-# Release Version
+# Release Version for API related changes
 m4_define([project_major_version], [0])
 m4_define([project_minor_version], [15])
-m4_define([project_micro_version], [3])
+m4_define([project_micro_version], [90])
 m4_define([project_nano_version], [0])
 
-# LT_VERSION
-#   If public symbols have been removed or changed since last release,
-#     increment current and set revision and age to 0
-#   If library source has changed since last release, increment revision
-#   If public symbols have been added since last release, increment age
-m4_define([project_lt_current], [15])
+# LT_VERSION for ABI related changes
+# From: https://autotools.io/libtool/version.html
+# Always increase revision value whenever an interface has been added, removed or changed.
+# Increase the current value whenever an interface has been added, removed or changed.
+# Increase the age value only if the changes made to the ABI are backward compatible.
+# Reset current to 1 and revision and age to 0 if library's name is changed
+m4_define([project_lt_current], [1])
 m4_define([project_lt_revision], [0])
 m4_define([project_lt_age], [0])
 
diff --git a/gxml/meson.build b/gxml/meson.build
index fe2059a..421f6aa 100644
--- a/gxml/meson.build
+++ b/gxml/meson.build
@@ -130,17 +130,22 @@ sources = files ([
 inc_libh = include_directories ('.')
 inc_libh_dep = declare_dependency (include_directories : inc_libh)
 
-#   If public symbols have been removed or changed since last release,
-#     increment current and set revision and age to 0
-#   If library source has changed since last release, increment revision
-#   If public symbols have been added since last release, increment age
-LT_CURRENT='15'
+# LT_VERSION for ABI related changes
+# From: https://autotools.io/libtool/version.html
+# This rules applies to Meson 0.43
+# Increase the current value whenever an interface has been added, removed or changed.
+# Always increase revision value whenever an interface has been added, removed or changed.
+# Increase the age value only if the changes made to the ABI are backward compatible.
+# Set version to the value of subtract age from current
+# Reset current and version to 1 and, age and version to 0 if library's name is changed
+LT_CURRENT='1'
 LT_REVISION='0'
 LT_AGE='0'
+LT_VERSION='1'
 lib = library(VERSIONED_PROJECT_NAME,
        valasources+sources+configvapi,
-       version : LT_CURRENT+'.'+LT_REVISION+'.'+LT_AGE,
-       soversion : LT_CURRENT,
+       version : LT_VERSION,
+       soversion : LT_VERSION+'.'+LT_AGE+'.'+LT_REVISION,
        vala_header : PROJECT_NAME+'.h',
        vala_vapi : VAPI_NAME,
        vala_gir : GIR_NAME,


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