[desktop-discuss] b70 - 'pkg-config --cflags --exists gtk+-2.0' fails
paulcun at talk21.com
paulcun at talk21.com
Tue Sep 4 07:14:05 PDT 2007
Hi all,
This may not be the right place to ask this (so sorry
if it is not).
On Solaris Nevada b70 the following pkg-config fails
...
# pkg-config --cflags --exists gtk+-2.0
this is because the following also fail ...
# /usr/bin/pkg-config --exists "cairo"
&
# /usr/bin/pkg-config --exists "xrender"
these fail because their /usr/lib/pkgconfig/*.pc file
"Requires.private:" line contains 'x11'.
Is this a bug?
Removeing 'x11' from both *.pc files (see diff below)
allows the ...
# pkg-config --cflags --exists gtk+-2.0
to work okay.
Diffs ...
--- /usr/lib/pkgconfig/cairo.pc.orig Tue Sep 4
14:52:52 2007
+++ /usr/lib/pkgconfig/cairo.pc Tue Sep 4 14:53:06
2007
@@ -7,7 +7,7 @@
Description: Multi-platform 2D graphics library
Version: 1.4.6
-Requires.private: freetype2 >= 8.0.2 fontconfig
libpng12 xrender >= 0.6 x11
+Requires.private: freetype2 >= 8.0.2 fontconfig
libpng12 xrender >= 0.6
Libs: -L${libdir} -lcairo
Libs.private: -lz -lm
Cflags: -I${includedir}/cairo
--- /usr/lib/pkgconfig/xrender.pc.orig Tue Sep 4
14:48:39 2007
+++ /usr/lib/pkgconfig/xrender.pc Tue Sep 4
14:49:00 2007
@@ -6,7 +6,7 @@
Name: Xrender
Description: X Render Library
Version: 0.9.2
-Requires: xproto renderproto >= 0.9 x11
+Requires: xproto renderproto >= 0.9
Cflags: -I${includedir}
Libs: -L${libdir} -R${libdir} -lXrender
Note also its in ...
cairo-xlib.pc:Requires: cairo x11
xpm.pc:Requires: x11
Thanks for any help
Paul
More information about the desktop-discuss
mailing list