Aleksander Piotrowski wrote:
Hi

Config.log says that cairo isn't available as symbols from libfreetype
aren't found while linking libcairo in.

Maybe it's because of recent XF4 changes?  Anyone else has similar
problem?


Yes. This is indeed caused by the freetype update, part of XF4 changes.
There are in fact 2 bugs revelead by this. I've already commited a fix for the first one (freetype2.pc was incorrect). The second one is in cairo. It's generating an incorrect cairo.pc when freetype is located using pkg-config instead of freetype-config (the only method available in freetype 2.1.8). Patch attached.


--
                                        Matthieu
Index: patches/patch-cairo_pc_in
===================================================================
RCS file: patches/patch-cairo_pc_in
diff -N patches/patch-cairo_pc_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-cairo_pc_in   2 Jan 2006 22:07:40 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- cairo.pc.orig      Thu Aug 18 00:57:45 2005
++++ cairo.pc.in        Mon Jan  2 22:51:03 2006
+@@ -8,5 +8,5 @@
+ Version: @VERSION@
+ 
+ @PKGCONFIG_REQUIRES@: @FREETYPE_REQUIRES@ @XRENDER_REQUIRES@ @PNG_REQUIRES@ 
@GLITZ_REQUIRES@
+-Libs: @FREETYPE_CONFIG_LIBS@ -L${libdir} -lcairo 
+-Cflags: @FREETYPE_CONFIG_CFLAGS@ -I${includedir}/cairo
++Libs: @FREETYPE_LIBS@ -L${libdir} -lcairo 
++Cflags: @FREETYPE_CFLAGS@ -I${includedir}/cairo

Reply via email to