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

Re: [Help] Versioning of a library



Em Dom, 2006-04-23 às 01:37 +0200, Kurt Roeckx escreveu:
> On Sat, Apr 22, 2006 at 11:10:35PM +0200, Andreas Tille wrote:
> The currently library seems to be libgtkdatabox-0.2.4.so.7.0.0
> and has an soname of libgtkdatabox-0.2.4.so.7.  I guess the the
> new one will have something like libgtkdatabox-0.5.2.so.0?

And this is the important bit; the package name for the package
containing libgtkdatabox-0.2.4.so.7 should be libgtkdatabox-0.2.4-7.

Kurt has described it very well, but just to make it more explicit:

Tthis way of naming the library seems like a very bad idea to me. It
means that, even if there is no ABI breakage you'll be changing package
names, for even the minor version of the library is part of its soname.

You could talk to upstream to name the library libgtkdatabox.so.7, only,
then you'd name the package libgtkdatabox7, and in case version 0.5.2
would break the ABI, it would increment the soversion, so you'd have
libgtkdatabox.so.8, and the package libgtkdatabox8, which is much saner.

See you,

-- 
Gustavo Noronha Silva <kov@debian.org>
http://people.debian.org/~kov/

Attachment: signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente


Reply to: