[cairo] [cairo-announce] cairo release 1.2.2 now available
Tor Lillqvist
tml at iki.fi
Wed Aug 9 11:52:55 PDT 2006
The following patch helped me:
--- /tmp/cairo-1.2.2/configure.in Wed Aug 9 02:05:54 2006
+++ configure.in Wed Aug 9 20:57:04 2006
@@ -451,7 +451,7 @@
dnl ===========================================================================
-CAIRO_BACKEND_ENABLE(ps, PostScript, ps, PS_SURFACE, auto, [], [
+CAIRO_BACKEND_ENABLE(ps, PostScript, ps, PS_SURFACE, auto, [
if test x"$have_ft_load_sfnt_table" != "xyes" ; then
use_ps="no (requires FreeType 2.1.4 or newer)"
else
@@ -466,15 +466,15 @@
dnl ===========================================================================
-CAIRO_BACKEND_ENABLE(pdf, PDF, pdf, PDF_SURFACE, auto, [], [
- if test x"$have_ft_load_sfnt_table" != "xyes" ; then
+CAIRO_BACKEND_ENABLE(pdf, PDF, pdf, PDF_SURFACE, auto, [
+ if test x"$use_win32" != "xyes" -a x"$have_ft_load_sfnt_table" != "xyes" ; then
use_pdf="no (requires FreeType 2.1.4 or newer)"
else
# The pdf backend requires zlib.
AC_CHECK_LIB(z, compress,
[AC_CHECK_HEADER(zlib.h, [],
- [use_ps="no (requires zlib http://www.gzip.org/zlib/)"])],
- [use_ps="no (requires zlib http://www.gzip.org/zlib/)"])
+ [use_pdf="no (requires zlib http://www.gzip.org/zlib/)"])],
+ [use_pdf="no (requires zlib http://www.gzip.org/zlib/)"])
pdf_NONPKGCONFIG_LIBS=-lz
fi
])
@@ -497,7 +497,7 @@
dnl ===========================================================================
-CAIRO_BACKEND_ENABLE(svg, SVG, svg, SVG_SURFACE, auto, [], [
+CAIRO_BACKEND_ENABLE(svg, SVG, svg, SVG_SURFACE, auto, [
if test x"$have_ft_load_sfnt_table" != "xyes" ; then
use_svg="no (requires FreeType 2.1.4 or newer)"
fi
I also had problems with this command in src/Makefile(.in):
(! grep -q cairo_ERROR $@) || ($(RM) $@; false)
for some reason Make said it failed, even if there was no cairo_ERROR
in the produced cairo.def, so I just removed it... don't know what the
root cause for this problem is, maybe the ! command doesn't work for
some reason in Makefiles for me.
--tml
More information about the cairo
mailing list