On Wed, Jun 30, 2010 at 09:32:07AM +0200, Fabian Greffrath wrote:
Am 29.06.2010 19:23, schrieb Jonas Smedegaard:
Correct. As the very first sentence of its manpage says:
Check and list dependencies of development library packages

He? IMHO this is neither right nor common practice.

The "dependencies of development library packages" are not necessarily the -dev packages of the libraries that the package in question is linked to.

I mean, if libfoo0 is linked against liba0, libb0 and libc0, then liba-dev, libb-dev and libc-dev are *not* necessarily dependencies of libfoo-dev! Imagine what this would mean for e.g. libavcodec-dev.

Things are different for static libraries, though.

To find out hard dependencies for shared libraries development packages, you should (1) check which headers are included by the public API, (2) check which libraries are referenced by the .pc files and (3) check which libraries are referenced by the .la files.

Thanks for the input.

Would be nice if you could file it as a bugreport against d-shlibs.

Kind regards,

 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to