[cairo-commit] pycairo ChangeLog,1.34,1.35 configure.ac,1.7,1.8

Steve Chaplin commit at pdx.freedesktop.org
Fri Dec 10 07:16:42 PST 2004


Committed by: stevech1097

Update of /cvs/cairo/pycairo
In directory gabe:/tmp/cvs-serv9828

Modified Files:
	ChangeLog configure.ac 
Log Message:
SC 10/12/2004

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- ChangeLog	10 Dec 2004 13:03:35 -0000	1.34
+++ ChangeLog	10 Dec 2004 15:16:40 -0000	1.35
@@ -1,4 +1,17 @@
 2004-12-10  Steve Chaplin  <steve1097 at yahoo.com.au>
+	Add libsvg-cairo support
+	* configure.ac: add checks for libsvg-cairo
+	* cairo/Makefile.am: add libsvg-cairo support
+
+	New files
+	* cairo/cairosvgmodule.c: 
+	* cairo/pycairosvg-context.c: 
+	* cairo/pycairo-misc.h: 
+	* cairo/pycairosvg-private.h: 
+	* examples/svg2png.py: 	
+	* examples/svgview.py: 
+
+2004-12-10  Steve Chaplin  <steve1097 at yahoo.com.au>
 
 	* cairo/cairogtkmodule.c: 
 	* cairo/cairomodule.c: 

Index: configure.ac
===================================================================
RCS file: /cvs/cairo/pycairo/configure.ac,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- configure.ac	28 Nov 2004 08:56:59 -0000	1.7
+++ configure.ac	10 Dec 2004 15:16:40 -0000	1.8
@@ -11,6 +11,7 @@
 m4_define(cairo_required_version,    0.2.0)
 m4_define(gtk_required_version,      2.0.0)
 m4_define(pygtk_required_version,    1.99.16)
+m4_define(libsvg_cairo_required_version, 0.1.4)
 
 AC_INIT(pycairo, pycairo_version)
 
@@ -66,6 +67,15 @@
 fi
 AM_CONDITIONAL(HAVE_NUMPY, $have_numpy)
 
+dnl is libsvg-cairo installed?
+PKG_CHECK_MODULES(LIBSVG_CAIRO, dnl
+  libsvg-cairo >= libsvg_cairo_required_version,
+  [have_libsvg_cairo=true],[have_libsvg_cairo=false])
+if test -n "$export_dynamic"; then
+  LIBSVG_CAIRO_LIBS=`echo $LIBSVG_CAIRO_LIBS | sed -e "s/$export_dynamic//"`
+fi
+AM_CONDITIONAL(HAVE_LIBSVG_CAIRO, $have_libsvg_cairo)
+
 
 # add debugging options ...
 changequote(,)dnl
@@ -93,4 +103,5 @@
 Additional modules:
 	build cairo.gtk   ?	${have_gtk}
 	build cairo.numpy ?	${have_numpy}
+	build cairo.svg   ?     ${have_libsvg_cairo}
 "




More information about the cairo-commit mailing list