Re: libgnomeprint .so versioning



On Fri, 2003-03-28 at 13:49, Chema Celorio wrote:
> On Thu, 2003-03-27 at 16:31, Jody Goldberg wrote:
> > - Given that the api will change in 2.4 as things like cmd line
> >   handling and pango support improve.  I don't see alot of options
> >   other than (B)
> 
> You mean the API will get extended. Right? The API will not change from
> 2.2 to 2.4.

It's very simple:

 If 2.4 is ABI compatible with 2.2, it keeps the same soname as 2.2,
 even if that soname contains the string '2.2'

  GTK+-2.2.0 was libgtk-x11-2.0.so.0.200.0 (On ELF platforms )
  GTK+-2.4.0 will be libgtk-x11-2.0.so.0.400.0.

 (The 200 part isn't required .. you can just follow the 
 libtool rules for handling the release and age, and that
 is what most GNOME libraries do.)

 If 2.4 is not ABI compatible, then change the soname

 (If libgnomeprint-2.2 was a platform library for the GNOME-2.2
  release, then we would need a compatibility runtime and
  set of libraries that can be compiled and installed in 
  parallel with the 2.4 libraries. Binary incompat is a 
  definite hassle.)

Regards,
                                      Owen





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