Bug#504220: PATCH: Re: Bug#475031: pkg-config: New behaviour of Requires.private breaks existing packages

Loïc Minier lool at dooz.org
Tue Nov 25 13:56:51 UTC 2008


tags 475031 + patch
stop

        Hi folks,

 This is a followup on Debian #475031: pkg-config: New behaviour of
 Requires.private breaks existing packages.

On Tue, Apr 08, 2008, Michael Biebl wrote:
> it seems as if the handling of Requires.private has changed.
> pkg-config --atleast-version=2.19 deskbar-applet

 I agree this is unfortunate; pkg-config can extract most of the
 information from .pc files without parsing down all Requires.private
 fields all the time.

 The original thread which hinted me at this bug was about Debian
 #504220: missing dependencies in libavcodec-dev, libavformat-dev which
 use Requires.private but don't depend on the packages providing the
 relevant modules.
   This is always incorrect and these packages -- including
 deskbar-applet -- need to be fixed to allow reverse build-deps to query
 useful data such as Cflags.  I don't know why deskbar-applet Requires
 pygtk.


 That said, pkg-config could work in many more cases and is very picky
 about Requires.private (and Requires!) even when these aren't needed.
   I've prepared a stack of patches to extend the testsuite for these
 cases and to handle them properly.  It's in the
 misc-requires-private-fixes branch of this git repository:
    git.debian.org:/git/users/lool/pkg-config
 (but I guess I could provide it under a different format)

   Cheers,

PS: control Bcc:ed
-- 
Loïc Minier





More information about the pkg-multimedia-maintainers mailing list