update to 1.4.0

from maintainer Eric Faurot
This commit is contained in:
steven 2007-05-22 21:08:17 +00:00
parent 9fd3895989
commit 5e7841c2ad
4 changed files with 23 additions and 33 deletions

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.9 2007/03/26 20:32:11 alek Exp $ # $OpenBSD: Makefile,v 1.10 2007/05/22 21:08:17 steven Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
COMMENT= "cairo bindings for Python" COMMENT= "cairo bindings for Python"
DISTNAME= pycairo-1.2.6 V= 1.4.0
PKGNAME= ${DISTNAME:S/py/py-/} DISTNAME= pycairo-${V}
PKGNAME= py-cairo-${V}
CATEGORIES= graphics CATEGORIES= graphics
HOMEPAGE= http://cairographics.org/introduction/ HOMEPAGE= http://cairographics.org/introduction/
@ -20,17 +21,14 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://cairographics.org/releases/ MASTER_SITES= http://cairographics.org/releases/
WANTLIB= X11 Xext Xrender fontconfig freetype m z glitz png WANTLIB= X11 Xrender Xau Xdmcp expat fontconfig freetype m z glitz png
MODULES= lang/python MODULES= lang/python
LIB_DEPENDS= cairo.>=4::graphics/cairo LIB_DEPENDS= cairo.>=6::graphics/cairo
RUN_DEPENDS= :py-Numeric-*:math/py-Numeric
BUILD_DEPENDS= ${RUN_DEPENDS}
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
USE_X11= Yes USE_X11= Yes
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --without-pygtk
CONFIGURE_ENV= PYTHON=${MODPY_BIN} CONFIGURE_ENV= PYTHON=${MODPY_BIN}
pre-install: pre-install:

View File

@ -1,5 +1,5 @@
MD5 (pycairo-1.2.6.tar.gz) = FmsExIAMAauhpsixTofgvA== MD5 (pycairo-1.4.0.tar.gz) = 4m53kZtgYRP1ZdcANsH1BA==
RMD160 (pycairo-1.2.6.tar.gz) = e0bvp4/TwwOqegEb9ey+cTJV7aw= RMD160 (pycairo-1.4.0.tar.gz) = X7OkALJzkznuZi94AJXgXRb6H2U=
SHA1 (pycairo-1.2.6.tar.gz) = QumuZNK+WeRuUD5S01xxUGUns+k= SHA1 (pycairo-1.4.0.tar.gz) = eZkFV4EBJJ0DxhMHSDR2OL54dNo=
SHA256 (pycairo-1.2.6.tar.gz) = KPAXKZRnIb7CNhSA8oAtpQFeEnHOXNvm/5ehRCoZxZU= SHA256 (pycairo-1.4.0.tar.gz) = khKv/+5yfjmumUBrWlmrMkhVa8/r+uJNgngxNngUfjI=
SIZE (pycairo-1.2.6.tar.gz) = 480714 SIZE (pycairo-1.4.0.tar.gz) = 479455

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-cairo_pycairo-font_c,v 1.2 2007/03/26 20:32:11 alek Exp $
--- cairo/pycairo-font.c.orig Sun Mar 25 21:17:08 2007
+++ cairo/pycairo-font.c Sun Mar 25 21:18:57 2007
@@ -197,6 +197,7 @@ scaled_font_new (PyTypeObject *type, PyO
PycairoFontFace *ff;
PycairoFontOptions *fo;
PycairoMatrix *mx1, *mx2;
+ PyObject *o;
if (!PyArg_ParseTuple(args, "O!O!O!O!:ScaledFont.__new__",
&PycairoFontFace_Type, &ff,
@@ -205,7 +206,7 @@ scaled_font_new (PyTypeObject *type, PyO
&PycairoFontOptions_Type, &fo))
return NULL;
- PyObject *o = type->tp_alloc(type, 0);
+ o = type->tp_alloc(type, 0);
if (o != NULL) {
cairo_scaled_font_t *scaled_font = cairo_scaled_font_create
(ff->font_face, &mx1->matrix, &mx2->matrix, fo->font_options);

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2007/05/22 21:08:17 steven Exp $
--- configure.orig Tue May 22 18:09:01 2007
+++ configure Tue May 22 18:09:27 2007
@@ -18838,7 +18838,7 @@ echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
# Checks for libraries ---
# get rid of the -export-dynamic stuff from the configure flags ...
-export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
+export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | SED=/usr/bin/sed sh`
# cairo