[cairo-commit] pycairo NEWS, 1.14, 1.15 README, 1.19, 1.20 RELEASING, 1.11, 1.12 setup.py, 1.4, 1.5

Steve Chaplin commit at pdx.freedesktop.org
Wed Aug 31 16:37:49 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo
In directory gabe:/tmp/cvs-serv18474

Modified Files:
	NEWS README RELEASING setup.py 
Log Message:
'SC'

Index: NEWS
===================================================================
RCS file: /cvs/cairo/pycairo/NEWS,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- NEWS	10 Aug 2005 16:08:45 -0000	1.14
+++ NEWS	31 Aug 2005 23:37:47 -0000	1.15
@@ -1,3 +1,30 @@
+Overview of changes from pycairo 0.9.0 to pycairo 1.0.0
+=======================================================
+General changes:
+Pycairo has been updated to work with cairo 1.0.0.
+
+New cairo functions supported:
+    cairo.cairo_version()
+    cairo.cairo_version_string()
+    PSSurface.set_dpi()
+
+Patterns are now implemented in a class hierarchy, the new constructors are:
+    cairo.SolidPattern (r, g, b, a=1.0)
+    cairo.SurfacePattern (surface)
+    cairo.LinearGradient (x0, y0, x1, y1)
+    cairo.RadialGradient (cx0, cy0, radius0, cx1, cy1, radius1)
+
+Updated functions:
+    Surface.write_to_png() now accepts a file object as well as a filename
+
+Updated examples:
+    The gtk examples now work with pygtk >= 2.7.0 without requiring the
+    cairo.gtk module
+
+Bug Fixes
+    fix "initializer element is not constant" compiler warnings
+
+
 Overview of changes from pycairo 0.6.0 to pycairo 0.9.0
 =======================================================
 General changes:

Index: README
===================================================================
RCS file: /cvs/cairo/pycairo/README,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- README	10 Aug 2005 16:08:45 -0000	1.19
+++ README	31 Aug 2005 23:37:47 -0000	1.20
@@ -7,7 +7,7 @@
 
 Dependencies
 ------------
-    cairo  		>= 0.9.0
+    cairo  		>= 1.0.0
     Python 		>= 2.3
     libsvg-cairo	optional >= 0.1.6
     Numeric Python	optional

Index: RELEASING
===================================================================
RCS file: /cvs/cairo/pycairo/RELEASING,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- RELEASING	12 Aug 2005 01:09:03 -0000	1.11
+++ RELEASING	31 Aug 2005 23:37:47 -0000	1.12
@@ -1,9 +1,4 @@
-So far, cairo (and pycairo) hasn't reached an initial release. But we can
-still form good habits now by practicing the release process with the current
-snapshots.
-
-A new snapshot is needed whenever significant new features or bug
-fixes are committed. Here are the steps to follow:
+Here are the steps to follow to create a new pycairo release:
 
 1) Ensure that there are no local, uncommitted modifications. The best
    thing to do here may be to begin with a fresh checkout from CVS:
@@ -15,26 +10,25 @@
 
 2) Fill out an entry in the NEWS file
 
-	Sift through the information in ChangeLog since the last
-	snapshot. Summarize major changes briefly in a style similar
-	to other entries in NEWS.
+   Sift through the information in ChangeLog since the last release. Summarize
+   major changes briefly in a style similar to other entries in NEWS.
 
 3) Increment pycairo_major/minor/micro_version in configure.ac
 
-	Increase the cairo_required_version.
-	Increment pycairo_major/minor version to match the cairo major/minor
-	version that pycairo requires (and increment the micro version if
-	necessary for any subsequent pycairo updates).
-	Also increment version numbers in README and setup.py
+    Increase the cairo_required_version.
+    Increment pycairo_major/minor version to match the cairo major/minor
+    version that pycairo requires (and increment the micro version if
+    necessary for any subsequent pycairo updates).
+    Also increment version numbers in README and setup.py
 
 (install fresh copy, run examples, run any other tests)
 
-4) Commit the changes to NEWS and configure.ac
+4) Commit the changes to NEWS, configure.ac etc
 
-	Don't forget to fill out the ChangeLog just like with any
-	other commit. It's especially important to mention the new
-	version number in the ChangeLog.
-	Add a '=== Pycairo x.x.x ===' header to ChangeLog
+    Don't forget to fill out the ChangeLog just like with any other commit.
+    It's especially important to mention the new version number in the
+    ChangeLog.
+    Add a '=== Pycairo x.x.x ===' header to ChangeLog
 
 5) Run "make distcheck" and verify that it gives in no warnings or errors and
    ends with a message of the form:
@@ -47,31 +41,21 @@
 6) Run "make release-publish" which will perform the following steps
    for you:
 
+	* Check that the version number ends with an even micro component
 	* Check that no release exists with the current version
 	* Verify that make distcheck completes successfully
 	* Generate the final tar file
 	* Generate an md5sum file
-	* scp both files to cairographics.org:/home/www/cairo/snapshots
+	* scp both files to appear on http://cairographics.org/releases
+	* Place local copies of the files in the releases directory
 	* Create a LATEST-package-version file (after deleting any old one)
-	* Place local copies of both files in the releases directory
+	* Tag the entire source tree with a tag of the form RELEASE_X_Y_Z
 	* Provide some text for the release announcement (see below).
 
-7) Tag the entire source tree with a tag of the form SNAPSHOT_X_Y_Z:
-
-	cvs tag SNAPSHOT_X_Y_Z
-
-8) Send a message to cairo-announce at cairographics.org to announce the
-   new snapshot using the text provided from "make release-publish".
-
-9) Mail message
-   To: python-announce-list at python.org
-
-   Subject: ANN: pycairo x.x.x
-
-   Pycairo is a set of Python bindings for the vector graphics library cairo.
-   http://www.cairographics.org
-   http://www.cairographics.org/pycairo
-
-   <insert the .tar.gz lines from make release-publish output>
+7) Increment pycairo_version_micro to the next larger (odd) number in
+   configure, and commit.
 
-   <insert the latest NEWS item>
+8) Send a message to cairo-announce at cairographics.org
+              and CC python-announce-list at python.org
+   to announce the new release using the text provided from
+   "make release-publish".

Index: setup.py
===================================================================
RCS file: /cvs/cairo/pycairo/setup.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- setup.py	10 Aug 2005 16:08:45 -0000	1.4
+++ setup.py	31 Aug 2005 23:37:47 -0000	1.5
@@ -33,7 +33,7 @@
         )
 
 setup( name = "pycairo",
-    version = "0.9.0",
+    version = "1.0.0",
     description = "python interface for cairo",
 
     packages = ['cairo'],



More information about the cairo-commit mailing list