[Spice-devel] [PATCH v2 2/2] Release 0.11.0
Alon Levy
alevy at redhat.com
Tue Jun 12 05:03:59 PDT 2012
On Tue, 2012-06-12 at 13:01 +0100, Daniel P. Berrange wrote:
> On Tue, Jun 12, 2012 at 02:53:02PM +0300, Alon Levy wrote:
> > Current bumped and age bumped. Current bumped twice since previous
> > values (current = 1, age = 2) were illegal - age must be smaller or
> > equal to current, since it's interpreted as meaning our library supports
> > t interfaces [current, current - age].
> >
> > New libtool version is thus 3.0.3, since there are added interfaces:
> >
> > spice_server_set_name;
> > spice_server_set_uuid;
> > spice_server_set_listen_socket_fd;
> > spice_server_is_server_mouse;
> > ---
> > NEWS | 33 +++++++++++++++++++++++++++++++++
> > configure.ac | 8 ++++----
> > 2 files changed, 37 insertions(+), 4 deletions(-)
> >
> > diff --git a/configure.ac b/configure.ac
> > index abe9092..0f5309e 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -10,8 +10,8 @@ AC_PREREQ([2.57])
> > # *additionally* follow the rules below for the libtool version.
> >
> > m4_define([SPICE_MAJOR], 0)
> > -m4_define([SPICE_MINOR], 10)
> > -m4_define([SPICE_MICRO], 1)
> > +m4_define([SPICE_MINOR], 11)
> > +m4_define([SPICE_MICRO], 0)
> > # See info libtool or http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
> > # Here are the 6 rules: (rule 1 here just to avoid saying what I omitted)
> >
> > @@ -34,9 +34,9 @@ m4_define([SPICE_MICRO], 1)
> > # 6. If any interfaces have been removed or changed since the last
> > # public release, then set AGE to 0.
> >
> > -m4_define([SPICE_CURRENT], [1])
> > +m4_define([SPICE_CURRENT], [3])
> > m4_define([SPICE_REVISION], [0])
> > -m4_define([SPICE_AGE], [2])
> > +m4_define([SPICE_AGE], [3])
>
>
> Unless I'm mis-understanding, I still think this results in a change
> in SONAME for libspice-server. IIUC, soname number == AGE - CURRENT,
> which was previously '1' and is now '0'
Actually the resulting library name is .so.3.0.3, so even stranger (I
expected .0.0.3 as well). According to libtool's version definition age
should always be smaller or equal to current. Since we already broke
that, I guess we can keep breaking it in the same way, since obviously
it works fine in practice.. I'll just go ahead and shoot this commit in
the head and increment both current and age.
>
> Regards,
> Daniel
More information about the Spice-devel
mailing list