summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/surface.c1
-rw-r--r--wscript14
2 files changed, 12 insertions, 3 deletions
diff --git a/src/surface.c b/src/surface.c
index d46a77c..a75a737 100644
--- a/src/surface.c
+++ b/src/surface.c
@@ -43,6 +43,7 @@
* PycairoImageSurface,
* PycairoPDFSurface,
* PycairoPSSurface,
+ * PycairoRecordingSurface,
* PycairoSVGSurface,
* PycairoWin32Surface,
* PycairoWin32PrintingSurface,
diff --git a/wscript b/wscript
index 824bb27..82119fa 100644
--- a/wscript
+++ b/wscript
@@ -8,7 +8,8 @@ d = top
APPNAME='py2cairo'
VERSION='1.10.1'
-cairo_version_required = '1.10.0'
+cairo_version_required = '1.10.2'
+xpyb_version_required = '1.3'
def options(ctx):
@@ -27,8 +28,15 @@ def configure(ctx):
ctx.check_tool('python')
ctx.check_python_version((2,6,0))
ctx.check_python_headers()
- ctx.check_cfg(package='cairo', atleast_version=cairo_version_required,
- args='--cflags --libs')
+
+ ctx.check_cfg(package='cairo',
+ atleast_version=cairo_version_required,
+ args='--cflags --libs')
+
+ ctx.check_cfg(package='xpyb',
+ atleast_version=xpyb_version_required,
+ args='--cflags --libs',
+ mandatory=False)
# add gcc options
if env['CC_NAME'] == 'gcc':