[cairo-commit] cairo-perl Cairo.xs, 1.6, 1.7 CairoSurface.xs, 1.7, 1.8 ChangeLog, 1.8, 1.9 MANIFEST, 1.4, 1.5 META.yml, 1.2, NONE Makefile.PL, 1.6, 1.7

Torsten Schoenfeld commit at pdx.freedesktop.org
Wed Aug 10 10:01:56 PDT 2005


Committed by: tsch

Update of /cvs/cairo/cairo-perl
In directory gabe:/tmp/cvs-serv21968

Modified Files:
	Cairo.xs CairoSurface.xs ChangeLog MANIFEST Makefile.PL 
Removed Files:
	META.yml 
Log Message:
	* t/Cairo.t, Cairo.xs: Bind cairo_set_antialias and
	cairo_get_antialias.

	* t/CairoSurface.t, CairoSurface.xs: Bind cairo_surface_flush,
	cairo_surface_mark_dirty, cairo_surface_mark_dirty_rectangle.

	* MANIFEST, META.yml: Remove META.yml; let EU::MakeMaker generate
	it on "make dist".

	* Makefile.PL: Require cairo 0.9.0.  Add our prerequisites to the
	WriteMakefile call so that they appear in the generated META.yml.
	Support CAIRO_STATUS_FILE_NOT_FOUND.


Index: Cairo.xs
===================================================================
RCS file: /cvs/cairo/cairo-perl/Cairo.xs,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Cairo.xs	29 Jul 2005 17:19:55 -0000	1.6
+++ Cairo.xs	10 Aug 2005 17:01:53 -0000	1.7
@@ -203,6 +203,8 @@
 
 void cairo_set_tolerance (cairo_t * cr, double tolerance);
 
+void cairo_set_antialias (cairo_t *cr, cairo_antialias_t antialias);
+
 void cairo_set_fill_rule (cairo_t * cr, cairo_fill_rule_t fill_rule);
 
 void cairo_set_line_width (cairo_t * cr, double width);
@@ -400,6 +402,8 @@
 
 double cairo_get_tolerance (cairo_t *cr);
 
+cairo_antialias_t cairo_get_antialias (cairo_t *cr);
+
 void cairo_get_current_point (cairo_t *cr, OUTLIST double x, OUTLIST double y);
 
 cairo_fill_rule_t cairo_get_fill_rule (cairo_t *cr);

Index: CairoSurface.xs
===================================================================
RCS file: /cvs/cairo/cairo-perl/CairoSurface.xs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CairoSurface.xs	29 Jul 2005 17:19:55 -0000	1.7
+++ CairoSurface.xs	10 Aug 2005 17:01:53 -0000	1.8
@@ -45,6 +45,12 @@
     OUTPUT:
 	RETVAL
 
+void cairo_surface_flush (cairo_surface_t *surface);
+
+void cairo_surface_mark_dirty (cairo_surface_t *surface);
+
+void cairo_surface_mark_dirty_rectangle (cairo_surface_t *surface, int x, int y, int width, int height);
+
 #ifdef CAIRO_HAS_PNG_FUNCTIONS
 
 cairo_status_t cairo_surface_write_to_png (cairo_surface_t *surface, const char *filename);

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-perl/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ChangeLog	29 Jul 2005 17:19:55 -0000	1.8
+++ ChangeLog	10 Aug 2005 17:01:53 -0000	1.9
@@ -1,3 +1,18 @@
+2005/08/10	tsch
+
+	* t/Cairo.t, Cairo.xs: Bind cairo_set_antialias and
+	cairo_get_antialias.
+
+	* t/CairoSurface.t, CairoSurface.xs: Bind cairo_surface_flush,
+	cairo_surface_mark_dirty, cairo_surface_mark_dirty_rectangle.
+
+	* MANIFEST, META.yml: Remove META.yml; let EU::MakeMaker generate
+	it on "make dist".
+
+	* Makefile.PL: Require cairo 0.9.0.  Add our prerequisites to the
+	WriteMakefile call so that they appear in the generated META.yml.
+	Support CAIRO_STATUS_FILE_NOT_FOUND.
+
 2005/07/29	tsch
 
 	* t/Cairo.t, xs/Cairo.xs: Wrap cairo_get_font_options.

Index: MANIFEST
===================================================================
RCS file: /cvs/cairo/cairo-perl/MANIFEST,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- MANIFEST	28 Nov 2004 18:27:10 -0000	1.4
+++ MANIFEST	10 Aug 2005 17:01:54 -0000	1.5
@@ -1,29 +1,31 @@
-cairo-perl.h
-cairo-perl.typemap
 Cairo.pm
 Cairo.xs
 CairoFont.xs
 CairoMatrix.xs
+CairoPath.xs
 CairoPattern.xs
 CairoSurface.xs
 ChangeLog
+LICENSE
+MANIFEST
+MANIFEST.SKIP
+MakeHelper.pm
+Makefile.PL
+README
+TODO
+cairo-perl.h
+cairo-perl.typemap
+examples/png/README
 examples/png/caps_joins.pl
 examples/png/hering.pl
 examples/png/outline.pl
-examples/png/README
 examples/png/spiral.pl
 examples/png/splines_tolerance.pl
 examples/png/stars.pl
 examples/simple.pl
-LICENSE
-Makefile.PL
-MakeHelper.pm
-MANIFEST
-MANIFEST.SKIP
-META.yml
-README
 t/Cairo.t
+t/CairoFont.t
 t/CairoMatrix.t
+t/CairoPath.t
 t/CairoPattern.t
 t/CairoSurface.t
-TODO

--- META.yml DELETED ---

Index: Makefile.PL
===================================================================
RCS file: /cvs/cairo/cairo-perl/Makefile.PL,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile.PL	29 Jul 2005 17:19:55 -0000	1.6
+++ Makefile.PL	10 Aug 2005 17:01:54 -0000	1.7
@@ -18,7 +18,12 @@
 mkdir $autogen_dir unless (-d $autogen_dir);
 $MakeHelper::autogen_dir = $autogen_dir;
 
-my %cairo_cfg = ExtUtils::PkgConfig->find ('cairo >= 0.6.0');
+our %prereqs = (
+	'ExtUtils::Depends'   => 0.2,
+	'ExtUtils::PkgConfig' => 1.0,
+);
+
+my %cairo_cfg = ExtUtils::PkgConfig->find ('cairo >= 0.9.0');
 
 my %objects = (
 	'cairo_t *' => 'Cairo::Context',
@@ -113,6 +118,7 @@
 			CAIRO_STATUS_INVALID_CONTENT
 			CAIRO_STATUS_INVALID_FORMAT
 			CAIRO_STATUS_INVALID_VISUAL
+			CAIRO_STATUS_FILE_NOT_FOUND
 	/],
 	cairo_filter_t => [qw/
 			CAIRO_FILTER_
@@ -203,6 +209,7 @@
 WriteMakefile (
 	NAME => 'Cairo',
 	VERSION_FROM => 'Cairo.pm',
+	PREREQ_PM => \%prereqs,
 	XSPROTOARG => '-noprototypes',
 	$dep->get_makefile_vars,
 );




More information about the cairo-commit mailing list