Blog
PyClutter 1.0.0
The Python bindings for the Clutter core and integration libraries have been released. this release of the Python bindings map the Clutter 1.0 API cycle.
Download is available at:
http://www.clutter-project.org/sources/pyclutter/1.0/
MD5 checksums:
1cfbb64eceef6828e47e9a64689ffa41 pyclutter-1.0.0.tar.bz2 2e99aaf6100d609b2c0da1655d7c8693 pyclutter-1.0.0.tar.gz
Requirements
- GLib 2.16.0 or higher
- GTK+ 2.10.0 or higher
- Clutter 1.0.0 or higher
- PyCairo 1.0.2 or higher
- PyGObject 2.12.1 or higher
- PyGTK
- Python 2.5.0 or higher
Documentation
an incomplete API reference is available at:
http://www.clutter-project.org/docs/pyclutter/stable/
Python developers are encouraged to submit patches to increase the quality and coverage of the documentation.
Release notes
- This is the first stable release of the 1.* cycle
- Requires Clutter core >= 1.0.0
- The bindings for Clutter-GStreamer and Clutter-GTK have been dropped from the PyClutter module, and they will be shipped separately as PyClutter-GStreamer (pyclutter-gst) and PyClutter-GTK (pyclutter-gtk). The new modules are already available as separate repositories.
Changes from 0.8
- Require Clutter core >= 1.0.0
- Provide better bindings for the Cogl API
- Add more examples ported from the clutter core interactive tests
- Dropped the in-tree bindings of clutter-gtk and clutter-gst: you will have to install pyclutter-gtk and pyclutter-gst respectively to be able to import cluttergtk and cluttergst.
- Allow accessing child properties for clutter.Container
- Allow iterating over the children of a clutter.Container using the native Python iterator support
- Allow creating custom ChildMeta classes from Python
- Mark the classes removed from upstream Clutter as "deprecated"; trying to instantiate one of the deprecated classes will result in the equivalent class in Clutter 1.0 to be created and a warning printed out on the console
- Override the
__repr__and__str__methods for clutter.Color: the former will print out a wtring that can be used through eval() to create a copy of the color; the latter will print out the hexadecimal representation of the color. - Override the
__str__method of clutter.Event: it will now print more information on the event (type, time, source actor) and per-event type fields (button, key, related actor, etc.). - Deprecated
clutter.stage_get_default()in favour of an optional argument toclutter.Stage(); calling:
>>> clutter.Stage(default=True)will return the default Stage singleton; the default argument is optional and it defaults to
False. - Allow passing the following values to methods accepting a clutter.Color:
- a clutter.Color (e.g.: clutter.Color(255, 0, 0, 255))
- a 4-tuple of RGBA values (e.g.: (255, 0, 0, 255))
- a hexadecimal representation of the color (e.g.: '#ff0000ff')
Many thanks to
Bastian Winkler (new maintainer of PyClutter), Young-Ho Cha, Chideok Hwang
PyClutter news
hi everyone;
two weeks ago PyClutter 0.9.2 was released. it was a more low key release than I wanted, so I'll try to make up for it.
the 0.9.2 developer snapshot of PyClutter brings the Python bindings up to the 1.0 API; apart from the Clutter API they provide top notch access to the COGL API, which means that you'll be able to implement actors, containers and do so as efficiently as the C API can.
all this is the result of the hard work of the new PyClutter maintainer, Bastian Winkler, who single-handedly ported PyClutter to the Clutter 1.0 API.
download is available at:
http://www.clutter-project.org/sources/pyclutter/0.9/
MD5 checksums:
c848543847191ab62361d3c705567d52 pyclutter-0.9.2.tar.gz 8019c0b94bbb347b87026a96cdeb9485 pyclutter-0.9.2.tar.bz2
requirements:
- GLib 2.14.0 or higher
- GTK+ 2.10.0 or higher
- Clutter 1.0.0 or higher
- PyCairo 1.0.2 or higher
- PyGObject 2.12.1 or higher
- Python 2.5.0 or higher
optional requirements:
- PyGStreamer
- GTK+ >= 2.10
- PyGTK
this release is supporting the following Clutter releases:
- clutter-core 1.0.0
- clutter-gst 0.10.0
- clutter-gtk 0.10.2
but we're planning on splitting out clutter-gst and clutter-gtk into their own repositories and packages.
Python developers are encouraged to submit patches to increase the quality and coverage of the documentation.
Clutter 1.0.2 - stable release
Clutter 1.0.2 is now available for download here.
MD5 Checksums:
3eb684b468af4ac7e01ef17030178027 clutter-1.0.2.tar.gz 498ac921fbe5881a03701877b7ea3edd clutter-1.0.2.tar.bz2
Clutter currently requires:
- GLib >= 2.16.0
- Cairo >= 1.6
- Pango >= 1.20
- OpenGL >= 1.4, OpenGL|ES 1.1 or OpenGL|ES 2.0
- GLX, SDL, WGL, Quartz or an EGL Implementation
To subscribe to the Clutter mailing list, send mail to: clutter+subscribe@o-hand.com
The official mailing list archive is here.
API reference: Clutter, COGL
Notes
- This is the second stable release of the 1.0.x cycle.
- This version is parallel installable with Clutter 0.8.
- Installing this version will overwrite the files from the installation of a git clone of the current development branch (master).
- The GL|ES backends are still broken; there is a patch attached to bug 1698 which fixes the GL|ES 2.0 COGL backend and the EGLX Clutter backend, and has been applied to the master branch. Before we backport it to the 1.0 branch I'd like to get wider testing for it.
- Bugs should be reported to: http://bugzilla.o-hand.com
What's new in Clutter 1.0.2
- Documentation fixes
- Build fixes
- Update the MingW script for building Clutter on Windows
- Update the build instructions for OS X
- On X11, make sure to destroy the stage Window when switching to a foreign one
- Fix a bug where
clutter_actor_apply_relative_transform()was not using the right vertex to perform the transformation
Many thanks to:
Damien Lespiau, Colin Walters, Joshua Lock, Xu Li