package-name-doesnt-match-sonames

2007-10-14 Thread Eriberto
Hi mentors!

I am packaging a tool to translate words (KTranslator). I fixed some
warnings and erros showed by lintian. But I don't understood very well
this warning:

W: ktranslator: package-name-doesnt-match-sonames
libktranslatordictionaryinterfaces0 libktranslatoruiinterfaces0

The lintian -i explain it how showed above:

N:
N:   The package name of a library package should usually reflect the
N:   soname of the included library. The package name can determined from
N:   the library file name with the following code snippet:
N:
N:$ 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\.//'
N:
N:   Refer to Library Packaging guide 5 for details.


Currently, I have one package only. I will need extract the libraries
from tarball and make a lib package? Or I can make an override in that
case? The libs are specifics to this program.

Thanks in advance.

Regards,

Eriberto - Brazil


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: package-name-doesnt-match-sonames

2007-10-14 Thread Neil Williams
On Sun, 14 Oct 2007 23:10:52 -0200
Eriberto <[EMAIL PROTECTED]> wrote:

> Hi mentors!
> 
> I am packaging a tool to translate words (KTranslator). I fixed some

Your most important comment is right at the end:

> The libs are specifics to this program.

In which case, the libs MUST NOT be in /usr/lib/ but in /usr/lib/foo -
in your case probably /usr/lib/ktranslator/. Then lintian won't bother
you. You aren't building a library package, you are building an
application that uses some private libraries. Don't make them public,
ensure that the private libraries STAY private.

> N:   Refer to Library Packaging guide 5 for details.
> 
> 
> Currently, I have one package only. I will need extract the libraries
> from tarball and make a lib package? Or I can make an override in that
> case? 

Do not override this warning - fix the error!

-- 


Neil Williams
=
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/



pgpyyizYZYbJt.pgp
Description: PGP signature


Re: lintian .packlist warning and debian/rules modification

2007-10-14 Thread Russ Allbery
Justin Pryzby <[EMAIL PROTECTED]> writes:

> The debhelper tools (dh_install) used to use debian/tmp but now
> (depending on DH_COMPAT) use debian/$package.  So this is a small-ish
> lintian bug.

I've changed the lintian message to use debian/ instead.

-- 
Russ Allbery ([EMAIL PROTECTED])   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: package-name-doesnt-match-sonames

2007-10-14 Thread Eriberto
I understand now. It worked fine. Thanks.

Regards,

Eriberto - Brazil

Neil Williams escreveu:
> In which case, the libs MUST NOT be in /usr/lib/ but in /usr/lib/foo -
> in your case probably /usr/lib/ktranslator/. Then lintian won't bother
> you. You aren't building a library package, you are building an
> application that uses some private libraries. Don't make them public,
> ensure that the private libraries STAY private.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]