Debian Developers - Re: Top 20 unnecessary dependencies [was: Re: A plan to get rid of unnecessary package

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > September 2006 > Re: Top 20 unnecessary dependencies [was: Re: A plan to get rid of unnecessary package





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Top 20 unnecessary dependencies [was: Re: A plan to get rid of unnecessary package
Martijn van Oosterhout

2006-09-28, 7:29 pm

On 9/28/06, Mike Hommey <mh@glandium.org> wrote:
>
> 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.


Have you tried?

Try a simple #include <gtk/gtk.h> and you get errors like this:

In file included from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from gtktest.c:10:
/usr/include/gtk-2.0/gdk/gdktypes.h:33:25: error: pango/pango.h: No
such file or directory
In file included from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from gtktest.c:10:
/usr/include/gtk-2.0/gdk/gdkcairo.h:25:30: error: pango/pangocairo.h:
No such file or directory

If you add /usr/include/pango-1.0 it works.

Perhaps Requires.private is not recursive? It's not mentioned in the
manpage, but I would've expected the there to be no difference between
Requires and Requires.private when looking at cflags. At least, that's
my interpretation of this thread.

Have a nice day,
--
Martijn van Oosterhout <kleptog@gmail.com> http://svana.org/kleptog/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com