Re: Libtool versioning made easy (was Re: Converting libraries andpluginsto use gtk3

2010-07-01 Thread Josselin Mouette
Le jeudi 01 juillet 2010 à 11:35 -0400, Behdad Esfahbod a écrit : > However, do the libraries that break ABI all the time, really bump their major > so-version with every break? They don’t, and this breaks some systems. Any initiative that reduces the amount of such breakage is welcome. This is t

Re: Libtool versioning made easy (was Re: Converting libraries andpluginsto use gtk3

2010-07-01 Thread Behdad Esfahbod
On 07/01/2010 02:15 AM, dma...@netspace.org wrote: > INTERFACE_CHANGE=2 > INTERFACE_BREAK=2 > > when you change the interface (in any way) you bump I_C. When you break > backward compatibility, you also bump I_B. This is very close to what we used to do before (and many libraries do today).

Re: Libtool versioning made easy (was Re: Converting libraries andpluginsto use gtk3

2010-07-01 Thread Behdad Esfahbod
On 07/01/2010 04:15 AM, Steve Frécinaux wrote: > VERSION=2.22.5 > LAST_INTERFACE_CHANGE=2.22.0 > LAST_INTERFACE_BREAK=2.20.0 > > This is the only scheme that would not require extent knowledge on how > libtool versioning works. I can do something like that too. However, do the libraries that br

Re: Libtool versioning made easy (was Re: Converting libraries andpluginsto use gtk3

2010-07-01 Thread Steve Frécinaux
On 07/01/2010 03:58 PM, Dan Winship wrote: On 07/01/2010 04:15 AM, Steve Frécinaux wrote: VERSION=2.22.5 LAST_INTERFACE_CHANGE=2.22.0 LAST_INTERFACE_BREAK=2.20.0 I like this (though I think you'll need a few more variables to make this be able to pick up where the version numbers from the prev

Re: Libtool versioning made easy (was Re: Converting libraries andpluginsto use gtk3

2010-07-01 Thread Dan Winship
On 07/01/2010 04:15 AM, Steve Frécinaux wrote: > VERSION=2.22.5 > LAST_INTERFACE_CHANGE=2.22.0 > LAST_INTERFACE_BREAK=2.20.0 I like this (though I think you'll need a few more variables to make this be able to pick up where the version numbers from the previous system left off). On 06/30/2010 11:

Re: Libtool versioning made easy (was Re: Converting libraries andpluginsto use gtk3

2010-07-01 Thread Emmanuele Bassi
On Thu, 2010-07-01 at 02:15 -0400, dma...@netspace.org wrote: > Alright, but... > > > - No API is added during minor releases. I admit that as Pango maintainer > > I've added one here or there over the years. But then again, I got to > say, > > the rule is to not add any in normal circu

Re: Libtool versioning made easy (was Re: Converting libraries andpluginsto use gtk3

2010-07-01 Thread Steve Frécinaux
On 07/01/2010 08:15 AM, dma...@netspace.org wrote: In summary, I think the proposal simplifies libtool versioning to a great > extent and reduces errors without introducing major drawbacks. How about a simplified set of variables that are still manually adjusted? Something like: INTERFACE_C

Re: Libtool versioning made easy (was Re: Converting libraries andpluginsto use gtk3

2010-06-30 Thread dmacks
On Wed, 30 Jun 2010 23:25:59 -0400, Behdad Esfahbod wrote: On 06/30/2010 05:07 PM, dma...@netspace.org wrote: > > > > The instructions give a clear flowchart about what sorts of library > > changes should result in what changes to the -version-info flag. It's > > pretty different from othe