[devhelp] build: better (manual) algorithm for updating the libtool version
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] build: better (manual) algorithm for updating the libtool version
- Date: Fri, 3 Apr 2020 23:45:52 +0000 (UTC)
commit 913b69f17db6f155e1d48bdcb25e53d6760e3410
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Apr 4 01:10:08 2020 +0200
build: better (manual) algorithm for updating the libtool version
It's longer, but it's the official algorithm, and I'm not sure that the
shorter version was identical.
meson.build | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index f4482c77..6744068a 100644
--- a/meson.build
+++ b/meson.build
@@ -21,12 +21,26 @@ LIBDEVHELP_API_VERSION = '3'
# everywhere.
LIBDEVHELP_API_VERSION_FULL = '3.0'
-# Libtool version numbers, remember to change them just *before* a release.
-# A good time to update it is for the GNOME x.y.90 version, at API freeze,
-# so that packagers have the time to update the package.
-# (Interfaces removed: CURRENT++, AGE=0, REVISION=0)
-# (Interfaces added: CURRENT++, AGE++, REVISION=0)
-# (No interfaces changed: REVISION++)
+# Libtool versioning
+#
+# A good time to update it is for the GNOME x.y.90 version, at API freeze, so
+# that packagers have the time to update the package. For other development
+# releases (if the minor package version is odd), keep the same Libtool
+# version.
+#
+# To update the Libtool version, apply the following algorithm step by step:
+# 1. If the library source code has changed at all since the last
+# update, then increment REVISION.
+# 2. If any exported functions or data have been added, removed, or
+# changed since the last update, increment CURRENT and set REVISION
+# to 0.
+# 3. If any exported functions or data have been added since the last
+# public release, increment AGE.
+# 4. If any exported functions or data have been removed since the last
+# public release, set AGE to 0.
+#
+# When incrementing the API version (usually for a new major package version),
+# set CURRENT, REVISION and AGE to 0 since it's like a new library.
lt_current = 6
lt_revision = 2
lt_age = 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]