[cairo-commit] pycairo ChangeLog, 1.170, 1.171 configure.ac, 1.33,
1.34 NOTES, 1.11, 1.12
Steve Chaplin
commit at pdx.freedesktop.org
Mon Aug 22 16:37:39 EST 2005
Committed by: stevech1097
Update of /cvs/cairo/pycairo
In directory gabe:/tmp/cvs-serv2989
Modified Files:
ChangeLog configure.ac NOTES
Log Message:
'SC'
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -d -r1.170 -r1.171
--- ChangeLog 19 Aug 2005 02:46:54 -0000 1.170
+++ ChangeLog 22 Aug 2005 06:37:37 -0000 1.171
@@ -1,3 +1,14 @@
+2005-08-22 Steve Chaplin <steve1097 at yahoo.com.au>
+
+ * configure.ac: require cairo 0.9.3
+
+ * cairo/cairomodule.c (pycairo_cairo_version_string):
+ (pycairo_cairo_version): new wrappers
+
+ * cairo/pycairo-surface.c (ps_surface_set_dpi): new wrapper
+
+ * NOTES: update to show the cairo_version() functions
+
2005-08-19 Steve Chaplin <steve1097 at yahoo.com.au>
* cairo/cairomodule.c (init_cairo):
Index: configure.ac
===================================================================
RCS file: /cvs/cairo/pycairo/configure.ac,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- configure.ac 12 Aug 2005 07:23:31 -0000 1.33
+++ configure.ac 22 Aug 2005 06:37:37 -0000 1.34
@@ -8,7 +8,7 @@
m4_define(pycairo_version, pycairo_major_version.pycairo_minor_version.pycairo_micro_version)
# versions of packages we require
-m4_define(cairo_required_version, 0.9.0)
+m4_define(cairo_required_version, 0.9.3)
m4_define(gtk_required_version, 2.2.0)
m4_define(pygtk_required_version, 2.2.0)
m4_define(libsvg_cairo_required_version, 0.1.6)
Index: NOTES
===================================================================
RCS file: /cvs/cairo/pycairo/NOTES,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- NOTES 11 Aug 2005 06:14:11 -0000 1.11
+++ NOTES 22 Aug 2005 06:37:37 -0000 1.12
@@ -22,8 +22,14 @@
* Provides a C API that can be used by other Python extensions.
-Constants
----------
+cairo module attributes and functions
+-------------------------------------
+cairo.version # the pycairo version, as a string
+cairo.version_info # the pycairo version, as a tuple
+
+cairo.cairo_version() # calls cairo_version()
+cairo.cairo_version_string() # calls cairo_version_string()
+
The C API has many constant/enumeration values that are translated into
Python as follows:
C Python
More information about the cairo-commit
mailing list