[cairo-commit] cairo ChangeLog, 1.973, 1.974 configure.in, 1.133, 1.134

Owen Taylor commit at pdx.freedesktop.org
Tue Aug 23 15:11:46 PDT 2005


Committed by: otaylor

Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv13022

Modified Files:
	ChangeLog configure.in 
Log Message:
2005-08-23  Owen Taylor  <otaylor at redhat.com>

        * configure.in: Disable XCB and Quartz backends unless
        explicitely enabled. Add a big warning message if they
        are enabled about bugs and API instability.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.973
retrieving revision 1.974
diff -u -d -r1.973 -r1.974
--- ChangeLog	23 Aug 2005 21:53:08 -0000	1.973
+++ ChangeLog	23 Aug 2005 22:11:44 -0000	1.974
@@ -1,5 +1,11 @@
 2005-08-23  Owen Taylor  <otaylor at redhat.com>
 
+	* configure.in: Disable XCB and Quartz backends unless
+	explicitely enabled. Add a big warning message if they
+	are enabled about bugs and API instability.
+
+2005-08-23  Owen Taylor  <otaylor at redhat.com>
+
 	* src/cairo-pattern.c (_cairo_pattern_calc_color_at_pixel):
 	Rip out all the code for doing anything other than linear
 	interpolation between color stops, instead of doing different

Index: configure.in
===================================================================
RCS file: /cvs/cairo/cairo/configure.in,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- configure.in	22 Aug 2005 22:49:04 -0000	1.133
+++ configure.in	23 Aug 2005 22:11:44 -0000	1.134
@@ -115,7 +115,7 @@
 
 AC_ARG_ENABLE(quartz,
   [  --disable-quartz          Disable cairo's quartz backend],
-  [use_quartz=$enableval], [use_quartz=yes])
+  [use_quartz=$enableval], [use_quartz=no])
 
 if test "x$use_quartz" = "xyes"; then
   dnl There is no pkgconfig for quartz; lets do a header check
@@ -134,7 +134,7 @@
 
 AC_ARG_ENABLE(xcb,
   [  --disable-xcb           Disable cairo's XCB backend],
-  [use_xcb=$enableval], [use_xcb=yes])
+  [use_xcb=$enableval], [use_xcb=no])
 
 if test "x$use_xcb" = "xyes"; then
   PKG_CHECK_MODULES(XCB, xcb, [use_xcb=yes], [
@@ -549,3 +549,18 @@
 		  http://freetype.org/	http://fontconfig.org/
 		])
 fi
+
+WARNING_MESSAGE='
+*** The @BACKEND@ backend is still under active development and
+*** is included in this release only as a preview. It does not
+*** fully work yet and incompatible changes may yet be made
+*** to @BACKEND at -backend specific API.
+'
+
+if test x"$use_xcb" == "xyes" ; then
+   echo "$WARNING_MESSAGE" | sed 's/@BACKEND@/XCB/'
+fi
+
+if test x"$use_quartz" == "xyes" ; then
+   echo "$WARNING_MESSAGE" | sed 's/@BACKEND@/Quartz/'
+fi



More information about the cairo-commit mailing list