[cairo-commit] cairo-perl ChangeLog, 1.84, 1.85 Makefile.PL, 1.30, 1.31

Torsten Schoenfeld commit at pdx.freedesktop.org
Mon Jan 7 09:34:56 PST 2008


Committed by: tsch

Update of /cvs/cairo/cairo-perl
In directory kemper:/tmp/cvs-serv6834

Modified Files:
	ChangeLog Makefile.PL 
Log Message:
Forgot the Makefile.PL changes.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-perl/ChangeLog,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- ChangeLog	7 Jan 2008 17:34:09 -0000	1.84
+++ ChangeLog	7 Jan 2008 17:34:54 -0000	1.85
@@ -4,6 +4,7 @@
 	* t/CairoSurface.t: Wrap cairo_surface_copy_page and
 	cairo_surface_show_page.
 
+	* Makefile.PL
 	* CairoSurface.xs
 	* t/CairoSurface.t: Wrap cairo_ps_surface_restrict_to_level,
 	cairo_ps_get_levels, and cairo_ps_level_to_string.

Index: Makefile.PL
===================================================================
RCS file: /cvs/cairo/cairo-perl/Makefile.PL,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Makefile.PL	20 Nov 2007 19:10:32 -0000	1.30
+++ Makefile.PL	7 Jan 2008 17:34:54 -0000	1.31
@@ -216,6 +216,7 @@
 
 my $have_cairo_1_2 = ExtUtils::PkgConfig->atleast_version("cairo", "1.2.0");
 my $have_cairo_1_4 = ExtUtils::PkgConfig->atleast_version("cairo", "1.4.0");
+my $have_cairo_1_6 = ExtUtils::PkgConfig->atleast_version("cairo", "1.5.0"); # FIXME: 1.6
 
 if ($have_cairo_1_2) {
 	my %new = (
@@ -289,6 +290,16 @@
 	}
 }
 
+if ($have_cairo_1_6) {
+	$enums{cairo_ps_level_t} = [qw/
+		CAIRO_PS_LEVEL_
+		CAIRO_PS_LEVEL_2
+		CAIRO_PS_LEVEL_3
+	/];
+} else {
+	$enums{cairo_ps_level_t} = [];
+}
+
 # --------------------------------------------------------------------------- #
 
 my %enum_guards = (



More information about the cairo-commit mailing list