Re: [g-a-devel]atk versioning patch



I prefer the attached patch.

The first release of the library will be called libatk-1.0.so.0.100.0.
If no interfaces are added for the next release it will be called 
libatk-1.0.so.0.100.1. If an interface is added it will be called 
libatk-1.0.so.0.101.0.

I have attempted to follow what I perceive to me the naming standard being used 
for GTK.

Padraig
> Hi:
> 
> Attached is a patch to ATK which increments the version in HEAD to
> 1.1.0, and resets the INTERFACE_AGE to 0 since we've added an enum.
> 
> We're testing to make sure the soname doesn't change unexpectedly, etc.,
> before committing.
> 
> regards,
> 
> -Bill
> 
> 
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/atk/ChangeLog,v
retrieving revision 1.207
diff -u -p -r1.207 ChangeLog
--- ChangeLog	9 Sep 2002 11:08:33 -0000	1.207
+++ ChangeLog	13 Sep 2002 17:01:16 -0000
@@ -1,3 +1,10 @@
+2002-09-13  Bill Haneman     <bill haneman sun com>
+
+	* configure.in:
+	increment version to 1.1.0, in view of the fact that we've 
+	branched for GNOME-2 and GTK+-2.0, and this is HEAD.
+	Also reset INTERFACE_AGE to zero, since an enum was added.
+
 2002-09-06  Mark McLoughlin  <mark skynet ie>
 
 	* atk/atkobject.h: add ATK_LAYER_WINDOW.
Index: configure.in
===================================================================
RCS file: /cvs/gnome/atk/configure.in,v
retrieving revision 1.35
diff -u -p -r1.35 configure.in
--- configure.in	16 Aug 2002 15:36:48 -0000	1.35
+++ configure.in	13 Sep 2002 17:01:16 -0000
@@ -26,20 +26,17 @@ dnl set ATK_BINARY_AGE _and_ ATK_INTERFA
 
 dnl The triplet 
 ATK_MAJOR_VERSION=1
-ATK_MINOR_VERSION=0
-ATK_MICRO_VERSION=3
+ATK_MINOR_VERSION=1
+ATK_MICRO_VERSION=0
 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.
 ATK_API_VERSION=1.0
 
 dnl Number of releases since we've added interfaces
-ATK_INTERFACE_AGE=3
+ATK_INTERFACE_AGE=0
 
-dnl Number of releases since we've broken binary compatibility. Should equal
-dnl ATK_MICRO_VERSION for a stable release
-# ATK_BINARY_AGE=0
-ATK_BINARY_AGE=$ATK_MICRO_VERSION
+ATK_BINARY_AGE=100
 
 AC_SUBST(ATK_MAJOR_VERSION)
 AC_SUBST(ATK_MINOR_VERSION)
@@ -50,7 +47,7 @@ AC_SUBST(ATK_INTERFACE_AGE)
 AC_SUBST(ATK_BINARY_AGE)
 
 dnl libtool versioning
-lt_current=`expr $ATK_MICRO_VERSION - $ATK_INTERFACE_AGE`
+lt_current=`expr 100 '*' $ATK_MINOR_VERSION + $ATK_MICRO_VERSION - $ATK_INTERFACE_AGE`
 lt_revision=$ATK_INTERFACE_AGE
 lt_age=`expr $ATK_BINARY_AGE - $ATK_INTERFACE_AGE`
 LT_VERSION_INFO="$lt_current:$lt_revision:$lt_age"


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