Overview of changes from pycairo 1.8.8 to pycairo 1.8.10
========================================================
General Changes:
Pycairo 1.8.10 requires cairo 1.8.10 (or later).
New Classes/Types:
Win32PrintingSurface
XCBSurface - add XCB support using xpyb
Bug Fixes:
Fix for libtool 2.2 (#27974).
Mingw32 and pypy fixes (#25203).
Other Changes:
Tests updated.
The Win32PrintingSurface and XCBSurface changes mean that pycairo 1.8.10 is
not binary compatible with pycairo 1.8.8. So modules that use the pycairo C
API (like pygtk) will need to be recompiled to use pycairo 1.8.10.
General Changes:
Pycairo 1.8.8 requires cairo 1.8.8 (or later).
Move from CVS to git.
Add support for the waf build tool.
Updated methods
The PDF/PS/SVGSurface constructors now accept None as a filename.
Overview of changes from pycairo 1.8.4 to pycairo 1.8.6
=======================================================
Bug Fixes:
ImageSurface.create_from_png _read_func fix
ToyFontFace type fix
19221: restore cairo.Matrix '*' operator to the way it originally worked.
Other Changes:
Documentation completed.
Based on maintainer update request by PR 41063.
While here, add commented out LICENSE (LGPL-2.1 or MPL-1.1).
Overview of changes from pycairo 1.8.2 to pycairo 1.8.4
=======================================================
General Changes:
Pycairo 1.8.4 requires cairo 1.8.4 (or later) and Python 2.6
Bug Fixes:
20674: Add get/set_extend for Gradient Patterns
New Classes:
cairo.ToyFontFace
New Methods:
Pattern.get_extend
Pattern.set_extend
ToyFontFace.get_family
ToyFontFace.get_slant
ToyFontFace.get_weight
Deleted Methods:
SurfacePattern.get_extend
SurfacePattern.set_extend
Other Changes:
Threading for surfaces with stream functions has been reenabled.
Documentation updates.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
Overview of changes from pycairo 1.8.0 to pycairo 1.8.2
=======================================================
Pycairo 1.8.0 resulted in crashes for some applications using threads. So
upgrading to 1.8.2 is recommended for threaded applications.
Bug Fixes: #19287: Threading support results in crashes in cairo.ImageSurface
New Methods:
Context.set_scaled_font
API Changes:
Matrix multiplication:
old code: matrix3 = matrix1 * matrix2
new equivalent code: matrix3 = matrix1.multiply(matrix2)
matrix3 = matrix1 * matrix2
is now equivalent to matrix3 = matrix2.multiply(matrix1)
which is consistent with standard matrix multiplication.
Overview of changes from pycairo 1.6.4 to pycairo 1.8.0
=======================================================
General Changes:
Pycairo 1.8.0 requires cairo 1.8.0 (or later).
Add documentation (available separately)
Bug Fixes:
18101: Add support for threading
18947: cairo.SurfacePattern should INCREF the used surface
New Methods:
ScaledFont.get_scale_matrix
Surface.mark_dirty_rectangle
Surface.set_fallback_resolution
New Constants:
cairo.EXTEND_PAD
cairo.HAS_IMAGE_SURFACE
cairo.HAS_USER_FONT
API Changes:
Surface.mark_dirty: no longer accepts keyword arguments with default
values.
PycairoPattern_FromPattern (C API): has a new 'base' argument - to fix
#18947.
Other Changes:
Allow unknown cairo Pattern/Surface types to use the pycairo base
Pattern/Surface type.
changes:
-updated for newer cairo versions
-distutils support (unused in pkgsrc because broken)
-new example to demonstrate pattern masks
-cairo.svg module removed
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
PR pkg/33256.
Cairo is a 2D graphics library with support for multiple output
devices. Currently supported output targets include the X Window
System, win32, and image buffers. Experimental backends include OpenGL
(through glitz), Quartz, XCB, PostScript and PDF file output.
This package contains the Python bindings for Cairo.