Re: libtool versioning (was Re: Getting a list of open files, the smart way?)



Il giorno gio, 15/05/2008 alle 21.35 +0200, Benoît Dejean ha scritto:
> Bastien Nocera a écrit :
> > On Thu, 2008-05-15 at 20:26 +0200, Benoît Dejean wrote:
> >   
> >>> On 5/15/08, Benoît Dejean <benoit placenet org> wrote:
> >>> I'm going to comment about your log message instead which says:
> >>>       
> >> Updated libtool versioning: API addition does not change the ABI, so 
> >> only increased revision. gnome-2.22 is 8.1.1 so trunk is now 8.2.1.
> >>     
> >
> > That's not correct. You're supposed to increase both current, and age,
> > so 8:1:1 would become 9:1:2.
> >   
> even if they are no new symbols ?


Shouldn't it be 8:1:1 -> 9:0:2, given it's the first revision of the new
interface?

From the libtool info page:

  Here are a set of rules to help you update your library version
information:

  1. Start with version information of `0:0:0' for each libtool library.

  2. Update the version information only immediately before a public
     release of your software.  More frequent updates are unnecessary,
     and only guarantee that the current interface number gets larger
     faster.

  3. If the library source code has changed at all since the last
     update, then increment REVISION (`C:R:A' becomes `C:r+1:A').

  4. If any interfaces have been added, removed, or changed since the
     last update, increment CURRENT, and set REVISION to 0.

  5. If any interfaces have been added since the last public release,
     then increment AGE.

  6. If any interfaces have been removed since the last public release,
     then set AGE to 0.


We should apply rule 4 and 5, I believe.

Hi,
Matteo

Attachment: signature.asc
Description: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente



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