[cairo-commit] cairo/test Makefile.am, 1.101, 1.102 svg-clip.c, NONE, 1.1 svg-surface.c, NONE, 1.1

Emmanuel Pacaud commit at pdx.freedesktop.org
Thu Dec 8 13:09:29 PST 2005


Committed by: emmanuel

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv27491/test

Modified Files:
	Makefile.am 
Added Files:
	svg-clip.c svg-surface.c 
Log Message:
2005-12-08  Emmanuel Pacaud <emmanuel.pacaud at free.fr>

	* configure.in: add optionnal disabled by default SVG backend.
	
	* src/Makefile.am: include SVG backend files.
	* src/cairo-features.h.in: include SVG_SURFACE_FEATURE.
	* src/cairo-output-stream.c: rename dtostr to _cairo_dtostr for use in
	cairo-svg-surface.c.
	* src/cairoint.h: _cairo_dtostr declaration.
	* src/cairo-svg.h: new.
	* src/cairo-svg-surface.c: new.
	
	* test/Makefile.am: build svg-surface and svg-clip.
	* test/svg-surface.c: new.
	* test/svg-surface.h: new.


Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- Makefile.am	8 Dec 2005 00:06:12 -0000	1.101
+++ Makefile.am	8 Dec 2005 21:09:27 -0000	1.102
@@ -73,6 +73,10 @@
 TESTS += pdf-surface pdf-clip
 endif
 
+if CAIRO_HAS_SVG_SURFACE
+TESTS += svg-surface svg-clip
+endif
+
 if CAIRO_HAS_PS_SURFACE
 TESTS += ps-surface
 endif
@@ -294,7 +298,9 @@
 paint_with_alpha_LDADD = $(LDADDS)
 path_data_LDADD = $(LDADDS)
 pdf_surface_LDADD = $(LDADDS)
+svg_surface_LDADD = $(LDADDS)
 pdf_clip_LDADD = $(LDADDS)
+svg_clip_LDADD = $(LDADDS)
 pixman_rotate_LDADD = $(LDADDS)
 ps_surface_LDADD = $(LDADDS)
 pthread_show_text_LDADD = $(LDADDS)
@@ -340,7 +346,9 @@
 	*.log					\
 	ps-surface.ps				\
 	pdf-surface.pdf				\
-	pdf-clip.pdf
+	svg-surface.svg				\
+	pdf-clip.pdf				\
+	svg-clip.svg
 
 check-valgrind:
 	TESTS_ENVIRONMENT="libtool --mode=execute valgrind --tool=memcheck --suppressions=./.valgrind-suppressions --leak-check=yes --show-reachable=yes" $(MAKE) check 2>&1 | tee valgrind.log

--- NEW FILE: svg-clip.c ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: svg-surface.c ---
(This appears to be a binary file; contents omitted.)



More information about the cairo-commit mailing list