Re: Imported io-lib, a Staden library
On Wed, Jun 03, 2009 at 01:57:10PM +0900, Charles Plessy wrote:
> I finally almost finished the packaging of a libtoolized version of the Staden
> io_lib, which we agreed to rename libstaden-read in Debian, following what is
> already done in Fedora.
Indeed the name change we already agreed on - makes a lot of sense for
the library name.
> One last question I would like before sumbitting the package for inclusion in
> the Debian archive is about the sonames. Are there values that you recommend,
> or should Debian use values lower than 1 before you provide upstream support
> for dynamic io_lib ?
I'd use something containing the library name (libstaden-read) and the
existing version number minus patch level, (1.11). Can sonames exist
in non-dynamic libraries? I assume not, in which case
libstaden-read.so.1.11 would make sense as the soname.
The fact that it's a dynamic library rather than a static one
shouldn't matter should it? If my understanding is correct the
purpose of soname is to indicate an API conformance rather than
specifics of the compilation or library construction.
Perhaps if I was more rigorous then only the major version number need
be in the soname field, but I can't guarantee that would mean
precisely the same API from 1.1 all the way to 1.11. Typically I add
new functions and try not to change old ones.
It's also worth noting that the major version number isn't likely to
change soon (despite plans to do it for the last 10 years!) and so
it's far more likely that a user would say "I need version 1.10 and
above" than "I need version 1.x". I'm not fully up to speed on how
versioning and soname should work though so how does soname cover
"version x and above" requirements? Is it simply smarts in the linker
that knows 1.12 should be 1.11 + more?
James Bonfield (firstname.lastname@example.org) | Hora aderat briligi. Nunc et Slythia Tova
| Plurima gyrabant gymbolitare vabo;
A Staden Package developer: | Et Borogovorum mimzebant undique formae,
https://sf.net/projects/staden/ | Momiferique omnes exgrabure Rathi.
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.