Bug#326199: libgtk2.0-dev breaks pkg-config with unsatisfiable
requirement
Loïc Minier
lool at dooz.org
Tue Oct 4 14:18:03 UTC 2005
tags 326199 + unreproducible
thanks
Hi,
On Tue, Oct 04, 2005, Fionn Behrens wrote:
> Actually AFAIR I just removed the x11 dependency from the gdk-2.0.pc
> file. It had not been there before, so there. After that I could compile
> my software like before.
In 2.8.3, I couldn't find the "x11" dependency you mention, this is
what I saw in gdk-2.0.pc:
Requires: gdk-pixbuf-2.0 pango pangocairo fontconfig xcursor
(Other pcs:
gdk-pixbuf-2.0.pc: Requires: gobject-2.0,gmodule-no-export-2.0
gdk-pixbuf-xlib-2.0.pc: Requires: gobject-2.0,gmodule-2.0,gdk-pixbuf-2.0
gdk-x11-2.0.pc: Requires: gdk-pixbuf-2.0 pango pangocairo
fontconfig xcursor
gtk+-2.0.pc: Requires: gdk-x11-2.0 atk cairo
gtk+-x11-2.0.pc: Requires: gdk-x11-2.0 atk cairo
)
I checked the configure script for Gtk 2.8.3, it only adds x11 to the
Requires if pkg-config finds a x11 package. I couldn't find relevant
changes after 2.8.2, but found:
2005-08-15 Owen Taylor <otaylor at redhat.com>
* configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
files for x11/xext. (Jonas Bonn)
or:
2005-08-15 Owen Taylor <otaylor at redhat.com>
* configure.in: Fix have_base_pc / have_base_x_pc typo.
* gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
(#313417, James Andrewartha)
* configure.in: Add fontconfig to X_PACKAGES, since we use it for
FcNameConstant(). (More of #313417)
Anyway, x11 isn't a problem here, and even if xcursor might have been a
problem, libxcursor-dev ships a .pc. xcursor Requires xrender, and
xrender Requires nothing.
I checked pango and pangocairo, and I'm quite sure for fontconfig, so
everything seems ok to me.
(Surprisingly, the packages are supposed to be comma-separated, not
space-separated, but a lot of pkg-config files seem to use spaces.)
Please provide a way to reproduce your build failure so that I can
diagnose which pkg-config is to be fixed.
Thanks,
--
Loïc Minier <lool at dooz.org>
More information about the Pkg-gnome-maintainers
mailing list