[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Top 20 unnecessary dependencies [was: Re: A plan to get rid of unnecessary package dependencies]

On Thu, Sep 28, 2006 at 10:20:18PM +0200, Martijn van Oosterhout <kleptog@gmail.com> wrote:
> On 9/28/06, Kurt Roeckx <kurt@roeckx.be> wrote:
> >Note that Requires.private is used for cflags since the last version
> >of pkg-config.  Please see http://bugs.debian.org/340904
> Well, then something wierd is going on. I have 0.21-1 installed and I
> get this. This first time is with Requires, the second is with
> Requires.private. My understanding is that the results should be the
> same?
> vali:/usr/lib/pkgconfig# dpkg -l pkg-config
> <snip>
> ii  pkg-config                 0.21-1                     manage
> compile and link flags for libraries
> vali:/usr/lib/pkgconfig# pkg-config --cflags gtk+-2.0
> -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/X11R6/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng12
> vali:/usr/lib/pkgconfig# joe gtk+-2.0.pc
> <editted Requires to Requires.private>
> File gtk+-2.0.pc saved.
> vali:/usr/lib/pkgconfig# pkg-config --cflags gtk+-2.0
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo

I don't know what pkg-config is supposed to do, but surely you don't
need the freetype2 nor the pango, nor the X11 includes files to build
gtk applications.


Reply to: