libtool
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: [Mesa3d-dev] Re: libtool]


From: Brian Paul
Subject: Re: address@hidden: Re: [Mesa3d-dev] Re: libtool]
Date: Thu, 07 Jun 2001 11:50:44 -0600

Peter Eisentraut wrote:
> 
> Sven M. Hallberg writes:
> 
> > We use the formula
> >  version-info = Major+minor:Mesa_version:Minor
> > to compute proper libtool version-info from the OpenGL version number (1.2)
> > and our current Mesa release number (MM.Mm.Mt, e.g. 3.5.0). So, Mesa_version
> > is an integer derived from that release number. We'd like to use
> >  Mesa_version = MM * 10^4 + Mm * 10^2 + Mt
> > which would yield something like 30500. However libtool only accepts three
> > digits for the REVISION part of the version-info (as Marcelo mentions 
> > below).
> 
> You must have missed the part of the documentation that says:
> 
> :    *_Never_* try to set the interface numbers so that they correspond
> : to the release number of your package.  This is an abuse that only
> : fosters misunderstanding of the purpose of library versions.
> 
> (not my emphasis)
> 
> The documentation describes in detail how you are supposed to set the
> three version fields.  Anything else will be trouble.

I'm not going to put a lot of effort into explaining this but here's
the story.

Mesa's used the convention libGL.so.1.2.xxyyzz for some years now.
The "1.2" indicates the library implements the OpenGL 1.2 API.
Anything else there would be VERY confusing for end users at this
point.

The last part "xxyyzz" is usually something like 030402 to indicate
Mesa version 3.4.2.  With this convention, people can look at their
libGL.so.1.2.xxyyzz file and determine which version of Mesa they're
using.  It also allows various versions of libGL.so.1.2.* to coexist.
This very useful for the developers so we may easily switch between
versions when doing regression testing.

I understand that libtool has a specific versioning convention and
we don't want you to change that.  It's just that if the REVISION
part could accomodate a 6-digit number (with leading zeros) we'd
be grateful.

-Brian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]