Bug#504220: Missing dependencies

Sebastian Dröge slomo at circular-chaos.org
Mon Nov 3 07:08:16 UTC 2008


Am Sonntag, den 02.11.2008, 22:17 +0100 schrieb Reinhard Tartler:
> tags 504220 help
> stop
> 
> Sebastian Dröge <slomo at circular-chaos.org> writes:
> 
> > No idea about pkg-config documentation... it's one of the most used but
> > worst documented pieces of software :)
> 
> Then that's something that should be fixed first. There is no point in
> adding further breakage and inconsistencies before we know it things are
> supposed to work. cf. also with #341977
> 
> > Requires.private corresponds to Requires, i.e. it contains references to
> > required pkg-config files (with optional versions, ...) but the LIBS of
> > them will only be used for static linking.
> >
> > Libs.private is the same for Libs, i.e. it contains linker flags
> > (-lfoobar -L/usr/include/blingblong) that will only be used for static
> > linking.
> >
> > If something is in Requires.private -dev packages _must_ depend on it,
> > if it's in Libs.private -dev packages only need to depend on it if they
> > ship static libraries (AFAIK).
> 
> AFAIUI that is not necessary and only packages that link statically
> against libavcodec and libavformat would break. If I understand you
> correctly, that happens also for packages that link dynamically to
> libavcodec/libavformat. Is that correct?
> 
> If yes, then this seems to a manifestation of #475031. If that is
> correct, then this bug is a dupe AFAIUI.

Even if this is a dupe of #475031 ffmpeg should be fixed as it currently
breaks packages depending on it (gstreamer0.10-ffmpeg FTBFS because the
pkg-config check for libavcodec fails because libtheora is not pulled in
by libavcodec-dev).

If at some point the behaviour in pkg-config is fixed/changed in some
way ffmpeg's dependencies can change again but as it is now you should
add the dependencies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20081103/b193cdb9/attachment.pgp 


More information about the pkg-multimedia-maintainers mailing list