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

Re: What naming scheme should be used for the Swiss Ephemeris?



On Mon, Apr 4, 2011 at 10:09 AM, Paul Elliott
<pelliott@blackpatchpanel.com> wrote:

> 1) How should my source packages be named?  Is swe_unix_src_1.77.00 OK?

The source package name should be swe and the version number 1.77.00.

> 2) How should by library package be named? I am sure it should start with
> libswe, but then I am not so sure.

Depends on the SONAME, see libpkg-guide for a regex that will give you
the package name for a specific SONAME.

> 3)How should my library -dev package be named?

libswe-dev unless the library has API versioning.

> 4)what should my SONAME be?

The same as upstream. If upstream doesn't build a shared library or
doesn't set the SONAME correctly then you should discuss that with
upstream and ask them to maintain the SONAME properly. If they don't
want to do that then use a Debian-specific SONAME.

> I am not sure how the versioning system used for packaging and libtools should
> interact with my upstream's versioning system which he has a lot invested in.

Best talk to upstream to clarify that.

> 5)Should the library and its include files be in a subdirectory?
> I do not think people want include files from the Swiss Ephemeris in
> /usr/include

That depends on the software. If there is just one public header then
putting it in /usr/include directly would be fine. If there is more
than one header I would suggest a subdir of /usr/include.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: