Commit graph

39 commits

Author SHA1 Message Date
hans
3aabd9495c Fix build on SunOS. 2011-09-14 16:53:38 +00:00
alnsn
666ec6c3b4 Make GNU patch happy.
Ok by wiz@.
2011-06-30 22:50:21 +00:00
wiz
f09b8dbca6 Let's assume for now that everything that worked with python-2.6 also
works with python-2.7.
2011-02-25 09:47:18 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
wiz
375ce3c542 Due to py-cairo 1.8.8<>1.8.10 binary incompatibility, bump dependency pattern
in buildlink3.mk and PKGREVISION of dependencies.
2010-12-02 13:36:56 +00:00
wiz
a481371dba Update to 1.8.10:
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.
2010-12-02 13:30:50 +00:00
obache
4a22ff3aad Fixes LICENSE name for mpl-1.1. 2010-11-19 11:07:34 +00:00
wiz
200e3c4a04 Bump dependency on pixman to 0.18.4 because cairo-1.10 needs that
version, and bump all depends.

Per discussion on pkgsrc-changes.
2010-09-14 11:00:44 +00:00
markd
af5869b71d py-Numeric was dropped as a dependency back at 1.4.0 so remove the
pkgsrc dependency.
2010-08-22 20:48:18 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
wiz
0f8c9b00f2 Update to 1.8.8:
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.
2009-08-31 08:04:32 +00:00
wiz
1a49a263ad Does not build against python-2.4, remove it from accepted versions. 2009-08-15 14:26:38 +00:00
wiz
d87d1e8d11 Update to 1.8.6, set LICENSE.
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.
2009-07-22 12:55:20 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
obache
f7e3339d42 Update pycairo to 1.8.4.
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.
2009-05-13 12:56:46 +00:00
snj
f70c621512 Accept python26. 2009-04-19 15:05:53 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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.
2009-03-20 19:23:50 +00:00
joerg
0d0e90a320 Include pyversion.mk include the protected part of the buildlink3.mk
files, not over and over again.
2009-03-20 17:30:09 +00:00
joerg
be089192f3 Sort PYTHON_VERSIONS_ACCEPTED. 2009-02-11 14:23:31 +00:00
wiz
b58016f758 Update to 1.8.2:
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.
2009-01-18 17:12:56 +00:00
wiz
86e6ce6164 Fix cairo DEPENDS. 2009-01-07 21:06:02 +00:00
wiz
2ef9d845c0 Update to 1.8.0:
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.
2009-01-07 21:05:22 +00:00
drochner
f2bb98e568 make this work with python-2.4 again 2008-11-18 12:46:52 +00:00
wiz
7878154b9f Update to 1.6.4:
Overview of changes from pycairo 1.4.0 to pycairo 1.6.4
========================================================
General changes:
    Pycairo 1.6.4 requires cairo 1.6.4 (or later).
                  requires Python 2.5 (or later).

Bug fixes:
    16112: Fix win32 'python setup.py ...' build -- use double quotes

New Methods:
    Context.has_current_point
    Context.path_extents
    ImageSurface.format_stride_for_width
    PSSurface.get_eps
    PSSurface.set_eps
    PSSurface.ps_level_to_string
    PSSurface.restrict_to_level
    Surface.copy_page
    Surface.show_page

New Constants:
    cairo.PS_LEVEL_2, cairo.PS_LEVEL_3

Other changes:
    test/pygame-test1.py, test/pygame-test2.py : pygame tests

    examples/cairo_snippets/snippets/ellipse.py : Update
    so line-width is a constant width in device-space not user-space
2008-11-10 22:10:08 +00:00
abs
3144db8e64 PYTHON_VERSIONS_ACCEPTED+=25 2008-04-16 12:15:28 +00:00
drochner
e0a13b4725 update to 1.4.12
changes:
-minor build framework fixes
-allow cairo.Context to be subclassed
2008-03-12 20:54:52 +00:00
heinz
33e5fb251e The package supports installation to DESTDIR. 2007-08-23 20:50:52 +00:00
obache
883648963d Need cairo>=1.4.0. 2007-04-02 07:38:00 +00:00
drochner
91d8cc5c58 update to 1.4.0: catch up with cairo-1.4.x 2007-03-23 20:50:35 +00:00
drochner
b299a39994 update to 1.2.2
changes:
-updated for newer cairo versions
-distutils support (unused in pkgsrc because broken)
-new example to demonstrate pattern masks
-cairo.svg module removed
2006-10-12 14:43:17 +00:00
tron
cae5ada137 Regenerate after "patch-aa" has been added. 2006-09-21 10:40:01 +00:00
joerg
b6368304ee Fix build with Cairo 1.2 API and require it. Bump revision since DSO
changed.
2006-09-20 12:57:46 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
46608f39e7 Fixed the automatic changes done by revbump. It had replaced
${PYPKGPREFIX} with py24. While here, fixed pkglint warnings.
2006-05-23 11:17:33 +00:00
wiz
fe52c2eb72 Add untested patch by the maintainer to fix build on 1.6.2. 2006-04-23 17:13:03 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
minskim
ba48e0f310 Import py-cairo from pkgsrc-wip. Packaged by Christoph Leuzinger in
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.
2006-04-15 18:25:07 +00:00