Re: versioning the 2.0 release
- From: Owen Taylor <otaylor redhat com>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-devel-list gnome org
- Subject: Re: versioning the 2.0 release
- Date: Tue, 5 Mar 2002 10:09:28 -0500 (EST)
Tor Lillqvist <tml iki fi> writes:
> Owen wrote:
> > Let Z (the micro version) be the last part of the GTK+ release
> > (so 10 for GTK+-1.2.10)
>
> > Let A (the interface age) be the number of releases since we last
> > made additions to the interfaces.
>
> > Then the libtool triplet "current:revision:age" is
> > "Z-A:A:Z-A".
>
> Umm, reading configure.in and the Makefile.am files, that should be
> Z-A:A:B-A, where B is the "binary age", the number of releases since
> last making a binary incompatible change?
>
> LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
> LT_REVISION=$GTK_INTERFACE_AGE
> LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
Yes, but for the GTK+-2.0 series, we are always going to have
BINARY_AGE = GTK_MICRO_VERSION, so I simplified.
> -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
>
> > With standard elf versioning, this produces a library
> > name libgtk-X.Y.so.0.(Z-A).A
>
> Looking at libtool, shouldn't that be libgtk-X.Y.so.(Z-B).(B-A).A
> (where the Z-B is calculated by libtool as "current - age", i.e
> (Z-A)-(B-A)?
Again, I just did the simplifications for B=Z.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]