summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-04-09 01:43:23 +0000
committerobache <obache@pkgsrc.org>2010-04-09 01:43:23 +0000
commit2dabd9e126e7e0e71a32b612b9be0d85982d819b (patch)
tree84e37968d215953eb77b4111d56c13cd506f809f /graphics
parent90e05d1884cae1bd3f08d0a9689d99ecaf473b5f (diff)
downloadpkgsrc-2dabd9e126e7e0e71a32b612b9be0d85982d819b.tar.gz
Update py-cltter to 1.0.2.
Overview of changes between 1.0.0 and 1.0.2 =========================================== * Fix an import error of the PyCairo C API [Bastian] * Use the GClosure variants for the Alpha API [Emmanuele] * Update the examples [Bastian, Emmanuele] * Allow iterating over the actors references by clutter.Behaviour instances using the Python iteration syntax [Emmanuele] * Override __str__ and __repr__ slots for clutter.Path [Emmanuele] * Add back clutter.Actor.get_allocation_geometry() which was erroneously removed from the bindings [Emmanuele] * Update the build so that PyClutter works with Clutter 1.2 [Bastian] * Add support for the X11 and GLX specific API, under the clutter.x11 and clutter.glx sub-modules, respectively [Bastian] * Add more (optional) parameters to the clutter.Animation constructor [Bastian] * Add __str__ and __repr__ slots for many boxed types [Bastian] * Add richcompare slot for clutter.Color, clutter.Path and clutter.ActorBox [Bastian] * Allow iterating over a clutter.Path [Bastian] * Allow implementing a clutter.ChildMeta in pure Python [Bastian] * Bind clutter.Units [Bastian] * Allow implementing clutter.Scriptable in pure Python [Bastian] * Use a custom codegen script to fix bug #1827 and allow overriding the Python name of a C method [Bastian] * Add docstrings for all methods [Bastian]
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-clutter/Makefile10
-rw-r--r--graphics/py-clutter/PLIST12
-rw-r--r--graphics/py-clutter/distinfo10
-rw-r--r--graphics/py-clutter/patches/patch-aa15
-rw-r--r--graphics/py-clutter/patches/patch-ab38
5 files changed, 22 insertions, 63 deletions
diff --git a/graphics/py-clutter/Makefile b/graphics/py-clutter/Makefile
index b69f7b8caac..a431306053f 100644
--- a/graphics/py-clutter/Makefile
+++ b/graphics/py-clutter/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2010/03/11 05:41:24 obache Exp $
+# $NetBSD: Makefile,v 1.13 2010/04/09 01:43:23 obache Exp $
#
-DISTNAME= pyclutter-1.0.0
+DISTNAME= pyclutter-1.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
-PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.clutter-project.org/sources/pyclutter/1.0/
@@ -26,7 +25,12 @@ PKGCONFIG_OVERRIDE+= pyclutter.pc.in
PY_PATCHPLIST= yes
+PLIST_VARS+= x11
+
.include "../../graphics/clutter/buildlink3.mk"
+.if !empty(PKG_BUILD_OPTIONS.clutter:Mx11)
+PLIST.x11= yes
+.endif
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../lang/python/extension.mk"
diff --git a/graphics/py-clutter/PLIST b/graphics/py-clutter/PLIST
index 0d85fd85bfc..6e6489edc65 100644
--- a/graphics/py-clutter/PLIST
+++ b/graphics/py-clutter/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/10/26 08:59:22 obache Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/04/09 01:43:23 obache Exp $
include/pyclutter-1.0/pyclutter/pyclutter.h
lib/pkgconfig/pyclutter-1.0.pc
${PYSITELIB}/clutter/__init__.py
@@ -8,9 +8,11 @@ ${PYSITELIB}/clutter/_clutter.la
${PYSITELIB}/clutter/deprecation.py
${PYSITELIB}/clutter/deprecation.pyc
${PYSITELIB}/clutter/deprecation.pyo
+${PLIST.x11}${PYSITELIB}/clutter/glx.la
${PYSITELIB}/clutter/keysyms.py
${PYSITELIB}/clutter/keysyms.pyc
${PYSITELIB}/clutter/keysyms.pyo
+${PLIST.x11}${PYSITELIB}/clutter/x11.la
share/gtk-doc/html/pyclutter/ch01.html
share/gtk-doc/html/pyclutter/ch02.html
share/gtk-doc/html/pyclutter/ch03.html
@@ -59,6 +61,14 @@ share/pyclutter/1.0/defs/clutter-base-types.defs
share/pyclutter/1.0/defs/clutter-base.defs
share/pyclutter/1.0/defs/clutter-types.defs
share/pyclutter/1.0/defs/clutter.defs
+${PLIST.x11}share/pyclutter/1.0/defs/clutterglx-base-types.defs
+${PLIST.x11}share/pyclutter/1.0/defs/clutterglx-base.defs
+${PLIST.x11}share/pyclutter/1.0/defs/clutterglx-types.defs
+${PLIST.x11}share/pyclutter/1.0/defs/clutterglx.defs
+${PLIST.x11}share/pyclutter/1.0/defs/clutterx11-base-types.defs
+${PLIST.x11}share/pyclutter/1.0/defs/clutterx11-base.defs
+${PLIST.x11}share/pyclutter/1.0/defs/clutterx11-types.defs
+${PLIST.x11}share/pyclutter/1.0/defs/clutterx11.defs
share/pyclutter/1.0/defs/cogl-base-types.defs
share/pyclutter/1.0/defs/cogl-base.defs
share/pyclutter/1.0/defs/cogl-types.defs
diff --git a/graphics/py-clutter/distinfo b/graphics/py-clutter/distinfo
index 8048d9da05b..48b03cc2302 100644
--- a/graphics/py-clutter/distinfo
+++ b/graphics/py-clutter/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.3 2010/03/11 05:41:24 obache Exp $
+$NetBSD: distinfo,v 1.4 2010/04/09 01:43:23 obache Exp $
-SHA1 (pyclutter-1.0.0.tar.gz) = db45bd969a5db54116aa37a20ac4b6fa2fd3c908
-RMD160 (pyclutter-1.0.0.tar.gz) = e0d10618efed5491ccb4622508554423fcd33818
-Size (pyclutter-1.0.0.tar.gz) = 526655 bytes
-SHA1 (patch-aa) = cf2c042f8932b9a78cd8d4b7b35eed7d96db588a
-SHA1 (patch-ab) = ff1987ad8415c5052a1e2474bf1e7d74566eaa6b
+SHA1 (pyclutter-1.0.2.tar.gz) = c3a7abed60798a97e993773791c9b11c85bf0513
+RMD160 (pyclutter-1.0.2.tar.gz) = 0e48bb8c53c78397dc9943bf0cba966002d70cea
+Size (pyclutter-1.0.2.tar.gz) = 628308 bytes
diff --git a/graphics/py-clutter/patches/patch-aa b/graphics/py-clutter/patches/patch-aa
deleted file mode 100644
index d99a3355945..00000000000
--- a/graphics/py-clutter/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2009/10/26 08:59:22 obache Exp $
-
-fixxref.py from py-gobject is not executable.
-
---- docs/Makefile.in.orig 2009-08-28 11:36:50.000000000 +0000
-+++ docs/Makefile.in
-@@ -482,7 +482,7 @@ install-data-local:
- fi
-
- install-data-hook:
-- @$(PYGOBJECT_FIXXREF) -i $(PYGOBJECT_PYGDOCS) $(DESTDIR)$(TARGET_DIR)
-+ @$(PYTHON) $(PYGOBJECT_FIXXREF) -i $(PYGOBJECT_PYGDOCS) $(DESTDIR)$(TARGET_DIR)
-
- uninstall-local:
- rm -rf $(DESTDIR)$(TARGET_DIR)/*
diff --git a/graphics/py-clutter/patches/patch-ab b/graphics/py-clutter/patches/patch-ab
deleted file mode 100644
index 3127212b25e..00000000000
--- a/graphics/py-clutter/patches/patch-ab
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2010/03/11 05:41:24 obache Exp $
-
-Change CGL_* constants to GL_*
-http://git.clutter-project.org/cgit.cgi?url=bindings/pyclutter/commit/&id=e249844f1dbeb9abb64f4a1245042a0756233330
-
---- clutter/cluttermodule.c.orig 2009-08-28 11:36:36.000000000 +0000
-+++ clutter/cluttermodule.c
-@@ -148,19 +148,19 @@ pycogl_add_gl_constants (PyObject *modul
- * should also be loading PyOpenGL, which exposes all the
- * enumeration values
- */
-- PyModule_AddObject (module, "NEVER", Py_BuildValue ("i", CGL_NEVER));
-- PyModule_AddObject (module, "LESS", Py_BuildValue ("i", CGL_LESS));
-- PyModule_AddObject (module, "LEQUAL", Py_BuildValue ("i", CGL_LEQUAL));
-- PyModule_AddObject (module, "EQUAL", Py_BuildValue ("i", CGL_EQUAL));
-- PyModule_AddObject (module, "NOTEQUAL", Py_BuildValue ("i", CGL_NOTEQUAL));
-- PyModule_AddObject (module, "GEQUAL", Py_BuildValue ("i", CGL_GEQUAL));
-- PyModule_AddObject (module, "GREATER", Py_BuildValue ("i", CGL_GREATER));
-- PyModule_AddObject (module, "ALWAYS", Py_BuildValue ("i", CGL_ALWAYS));
-+ PyModule_AddObject (module, "NEVER", Py_BuildValue ("i", GL_NEVER));
-+ PyModule_AddObject (module, "LESS", Py_BuildValue ("i", GL_LESS));
-+ PyModule_AddObject (module, "LEQUAL", Py_BuildValue ("i", GL_LEQUAL));
-+ PyModule_AddObject (module, "EQUAL", Py_BuildValue ("i", GL_EQUAL));
-+ PyModule_AddObject (module, "NOTEQUAL", Py_BuildValue ("i", GL_NOTEQUAL));
-+ PyModule_AddObject (module, "GEQUAL", Py_BuildValue ("i", GL_GEQUAL));
-+ PyModule_AddObject (module, "GREATER", Py_BuildValue ("i", GL_GREATER));
-+ PyModule_AddObject (module, "ALWAYS", Py_BuildValue ("i", GL_ALWAYS));
-
-- PyModule_AddObject (module, "SRC_ALPHA", Py_BuildValue ("i", CGL_SRC_ALPHA));
-- PyModule_AddObject (module, "ONE_MINUS_SRC_ALPHA", Py_BuildValue ("i", CGL_ONE_MINUS_SRC_ALPHA));
-+ PyModule_AddObject (module, "SRC_ALPHA", Py_BuildValue ("i", GL_SRC_ALPHA));
-+ PyModule_AddObject (module, "ONE_MINUS_SRC_ALPHA", Py_BuildValue ("i", GL_ONE_MINUS_SRC_ALPHA));
-
-- PyModule_AddObject (module, "OBJECT_COMPILE_STATUS", Py_BuildValue ("i", CGL_OBJECT_COMPILE_STATUS));
-+ PyModule_AddObject (module, "OBJECT_COMPILE_STATUS", Py_BuildValue ("i", GL_OBJECT_COMPILE_STATUS_ARB));
-
- if (PyErr_Occurred ())
- PyErr_Print ();