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

Re: Reply to a RFP on the right way

On Sun, Oct 09, 2011 at 02:15:42PM +0200, Arno Töll wrote:

> > In addition, if you follow the link you will see that the library is
> > called "jsoncpp". What is the right name I should choose for my package?
> > I intend that libjsoncpp is appropriate, because I suppose that all the
> > library packages on Debian are named lib*. Is this true?

> Not all zlib1g is a counter example (although that's a very old library
> following a naming scheme not used anymore). Libraries have a very
> strict naming schema, typically the name is lib<libraryname><soversion.
> Please use the following hacky script to determine the correct name of
> your library:

>  objdump -p /path/to/libfoo-bar.so.1.2.3 | \
>   sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
>   sed -e's/\([0-9]\)\.so\./\1-/; s/\.so\.//'

To clarify: the custom is to use the upstream name for the source package,
and to name the binary package after the library soname.  You don't want to
change the source package name every time the upstream soname changes.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: