Bug#504220: Missing dependencies

Reinhard Tartler siretart at tauware.de
Mon Nov 3 09:27:38 UTC 2008


Loïc Minier <lool at dooz.org> writes:

> On Mon, Nov 03, 2008, Reinhard Tartler wrote:
>> We are a bit confused about the behavior of Requires.private fields in
>> *.pc files. Could you please as pkg-config maintainer and upstream
>> please read the buglog of #504220 and give us your opinion on the issue?
>
>  I think you missed my comment on why it's needed:
>  http://article.gmane.org/gmane.linux.debian.devel.bugs.general/503357
>
>  These packages should be depended upon because pkg-config will append
>  Cflags of Required.private modules.  This allows building when headers
>  from a module include headers from another module, but you only link to
>  the former.

In the case of libavcodec, there are no includes to headers of libtheora
and the like. libavcodec internally links against other libraries, but
that is an implementation detail that potentially could change at any
time [1].

So in the end, for the case of *dynamic* linking gstreamer0.10-ffmpeg
against libavcodec, why should pkg-config care about this implementation
detail?


[1] and such changes DO happen. Recently, the dependency on liba52 was
dropped because ffmpeg got a much superiour internal implementation. The
same could happen for other external dependencies as well.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4





More information about the pkg-multimedia-maintainers mailing list