[cairo-commit] pycairo ChangeLog, 1.231, 1.232 NOTES, 1.22,
1.23 INSTALL, 1.5, 1.6
Steve Chaplin
commit at pdx.freedesktop.org
Mon Aug 14 01:21:36 PDT 2006
Committed by: stevech1097
Update of /cvs/cairo/pycairo
In directory kemper:/tmp/cvs-serv18516
Modified Files:
ChangeLog NOTES INSTALL
Log Message:
'SC'
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -d -r1.231 -r1.232
--- ChangeLog 7 Aug 2006 12:50:30 -0000 1.231
+++ ChangeLog 14 Aug 2006 08:21:34 -0000 1.232
@@ -1,3 +1,9 @@
+2006-08-14 Steve Chaplin <steve1097 # yahoo.com.au>
+
+ * NOTES : update to note surface creation supports file-like objects.
+
+ * INSTALL: update
+
2006-08-07 Steve Chaplin <steve1097 # yahoo.com.au>
* examples/Makefile.am:
Index: NOTES
===================================================================
RCS file: /cvs/cairo/pycairo/NOTES,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- NOTES 7 May 2006 02:48:54 -0000 1.22
+++ NOTES 14 Aug 2006 08:21:34 -0000 1.23
@@ -175,9 +175,10 @@
surface = cairo_svg_surface_create (filename, width_in_points,
height_in_points);
-Py: surface = cairo.PDFSurface (filename, width_in_points, height_in_points)
- surface = cairo.PSSurface (filename, width_in_points, height_in_points)
- surface = cairo.SVGSurface (filename, width_in_points, height_in_points)
+Py: surface = cairo.PDFSurface (f, width_in_points, height_in_points)
+ surface = cairo.PSSurface (f, width_in_points, height_in_points)
+ surface = cairo.SVGSurface (f, width_in_points, height_in_points)
+ where 'f' is a filename, a file object, or a file-like object
Methods supporting default argument values:
surface.mark_dirty (x=0, y=0, width=-1, height=-1)
Index: INSTALL
===================================================================
RCS file: /cvs/cairo/pycairo/INSTALL,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- INSTALL 4 Aug 2006 02:24:21 -0000 1.5
+++ INSTALL 14 Aug 2006 08:21:34 -0000 1.6
@@ -1,17 +1,13 @@
-This package uses automake
-
- $ python -c "import sys; print sys.prefix"
- # make a note of the python prefix
-
-To build from CVS:
- $ ./autogen.sh --prefix=<python_prefix>
-or to build from a snapshot release:
- $ ./configure --prefix=<python_prefix>
+Pycairo uses the same method of install as cairo - GNU autotools.
-After that, standard build procedures apply:
+ $ python -c "import sys; print sys.prefix"
+ # make a note of the python prefix
+ $ ./configure --prefix=<python_prefix>
+ $ make
+ $ make install # may require superuser access
- $ make
- # make install
+To build from CVS, use this line instead of the configure line above:
+ $ ./autogen.sh --prefix=<python_prefix>
If you're installing to another prefix than the one where Python is installed
Python will not be able to find the cairo module until you add
@@ -21,6 +17,5 @@
However, if PyGTK >= 2.7.0 is detected then cairo.gtk is not built since
pycairo is now supported directly by PyGTK.
-To disable PyGTK support use
-
+To disable PyGTK support use:
$ ./configure --without-pygtk
More information about the cairo-commit
mailing list