[atk] Using atk_major_version on the binary_age
- From: Alejandro PiÃeiro Iglesias <apinheiro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk] Using atk_major_version on the binary_age
- Date: Tue, 19 Jul 2011 10:23:33 +0000 (UTC)
commit 01cec7262f067b42f8359a3f4ccf3bca84f4b3e9
Author: Alejandro PiÃeiro <apinheiro igalia com>
Date: Mon Jul 18 13:04:37 2011 +0200
Using atk_major_version on the binary_age
This was required in order to avoid a shlib downgrade due the
bump to 2.0
The ideal would be to update all the 1.0 stuff to 2.0. But that
would required libraries using atk-1.0 to be modified in order
to link against 2.0. Taking into account that ATK 2.0 is
fully API and ABI compatible with ATK 1.0, this seems an
overkill.
configure.ac | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6328c3b..0936fb8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,17 +21,18 @@ m4_define([atk_micro_version], [1])
m4_define([atk_version],
[atk_major_version.atk_minor_version.atk_micro_version])
-dnl The X.Y in -latk-X.Y line. This is expected to stay 1.0 until Atk 2.
+dnl The X.Y in -latk-X.Y line. This is expected to stay 1.0 until Atk 3.
m4_define([atk_api_version], [1.0])
dnl Number of releases since we've added interfaces
m4_define([atk_interface_age], [1])
+dnl binary_age includes major version as ATK 2 is still fully API and ABI compatible
m4_define([atk_binary_age],
- [m4_eval(100 * atk_minor_version + 10 + atk_micro_version)])
+ [m4_eval(10000 * atk_major_version + 100 * atk_minor_version + 10 + atk_micro_version)])
m4_define([lt_current],
- [m4_eval(100 * atk_minor_version + 10 + atk_micro_version - atk_interface_age)])
+ [m4_eval(10000 * atk_major_version + 100 * atk_minor_version + 10 + atk_micro_version - atk_interface_age)])
m4_define([lt_revision], [atk_interface_age])
m4_define([lt_age], [m4_eval(atk_binary_age - atk_interface_age)])
m4_define([lt_version_info], [lt_current:lt_revision:lt_age])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]