aboutsummaryrefslogtreecommitdiff
path: root/multimedia/py-kaa-base
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2009-01-31 09:39:12 +0000
committerBeech Rintoul <beech@FreeBSD.org>2009-01-31 09:39:12 +0000
commit57a07b183c66284b5d21c92f70023267ac18ca4d (patch)
tree95db83f8bf03a0eefe81550188dccab04fcdeffa /multimedia/py-kaa-base
parent93d899e3159b47fde8d3bab0abb3161ecf63c20a (diff)
The Kaa Media Repository is a set of python modules related to
media. Kaa modules are based on parts from Freevo and modules created for MeBox. Kaa exists to encourage code sharing between these projects, and to serve as an umbrella for several previously disparate media-related modules in order to make them available from one (unique) namespace. Kaa provides a base module that implements the common features needed for application development, such as mainloop management, timers, signals, callbacks, file descriptor monitors, etc. Kaa's other modules provide specific media-related functionality, such as retrieving metadata on arbitrary media files (kaa.metadata, previously called mmpython), Python wrappers for Imlib2, Xine, and Evas, and many other high level APIs for easily creating applications that deal with video and audio. Kaa is named after the python character in the Jungle Book by Rudyard Kipling. WWW: http://doc.freevo.org/2.0/Kaa PR: ports/130522 Submitted by: J.R. Oldroyd <fbsd at opal.com>
Notes
Notes: svn path=/head/; revision=227247
Diffstat (limited to 'multimedia/py-kaa-base')
-rw-r--r--multimedia/py-kaa-base/Makefile26
-rw-r--r--multimedia/py-kaa-base/distinfo3
-rw-r--r--multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h13
-rw-r--r--multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c17
-rw-r--r--multimedia/py-kaa-base/pkg-descr22
-rw-r--r--multimedia/py-kaa-base/pkg-plist156
6 files changed, 237 insertions, 0 deletions
diff --git a/multimedia/py-kaa-base/Makefile b/multimedia/py-kaa-base/Makefile
new file mode 100644
index 000000000000..9422d1a819a1
--- /dev/null
+++ b/multimedia/py-kaa-base/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: py-kaa-base
+# Date created: 2009 January 10
+# Whom: J.R. Oldroyd <fbsd@opal.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kaa-base
+PORTVERSION= 0.4.0
+CATEGORIES= multimedia python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= freevo
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= fbsd@opal.com
+COMMENT= Kaa Media Repository
+
+LIB_DEPENDS= glib-2.0:${PORTSDIR}/devel/glib20
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
+ ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/multimedia/py-kaa-base/distinfo b/multimedia/py-kaa-base/distinfo
new file mode 100644
index 000000000000..5441f3c4e969
--- /dev/null
+++ b/multimedia/py-kaa-base/distinfo
@@ -0,0 +1,3 @@
+MD5 (kaa-base-0.4.0.tar.gz) = f45ae6dbc78f762752cc423106d4e4f7
+SHA256 (kaa-base-0.4.0.tar.gz) = 7795e5e1505bb66526c198b78309a2a111135e5d5c679ef713974b71d6580b46
+SIZE (kaa-base-0.4.0.tar.gz) = 169848
diff --git a/multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h b/multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h
new file mode 100644
index 000000000000..c13166da4726
--- /dev/null
+++ b/multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h
@@ -0,0 +1,13 @@
+--- src/extensions/inotify/fallback-inotify.h.orig Sat Mar 10 11:49:38 2007
++++ src/extensions/inotify/fallback-inotify.h Sat Mar 10 17:02:21 2007
+@@ -7,7 +7,9 @@
+ #ifndef _LINUX_INOTIFY_H
+ #define _LINUX_INOTIFY_H
+
+-#include <linux/types.h>
++#include <sys/types.h>
++typedef int __s32;
++typedef unsigned int __u32;
+
+ /*
+ * struct inotify_event - structure read from the inotify device for each event
diff --git a/multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c b/multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c
new file mode 100644
index 000000000000..982946d5a840
--- /dev/null
+++ b/multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c
@@ -0,0 +1,17 @@
+--- src/extensions/shmmodule.c.orig Sat Mar 10 11:49:38 2007
++++ src/extensions/shmmodule.c Sat Mar 10 16:59:55 2007
+@@ -114,12 +114,13 @@
+
+ /* Uncomment the following line if <sys/sem.h> defines "union semun" */
+
+-/* #define HAVE_UNION_SEMUN */
++#define HAVE_UNION_SEMUN
+
+ /* ------------------------------------------------------------------------- */
+ #include "Python.h"
+ #include "structmember.h"
+
++#include <machine/param.h>
+ #include <sys/types.h>
+ #include <sys/ipc.h> /* for system's IPC_xxx definitions */
+ #include <sys/shm.h> /* for shmget, shmat, shmdt, shmctl */
diff --git a/multimedia/py-kaa-base/pkg-descr b/multimedia/py-kaa-base/pkg-descr
new file mode 100644
index 000000000000..050ba111a406
--- /dev/null
+++ b/multimedia/py-kaa-base/pkg-descr
@@ -0,0 +1,22 @@
+The Kaa Media Repository is a set of python modules related to
+media.
+
+Kaa modules are based on parts from Freevo and modules created for
+MeBox. Kaa exists to encourage code sharing between these projects,
+and to serve as an umbrella for several previously disparate
+media-related modules in order to make them available from one
+(unique) namespace.
+
+Kaa provides a base module that implements the common features
+needed for application development, such as mainloop management,
+timers, signals, callbacks, file descriptor monitors, etc. Kaa's
+other modules provide specific media-related functionality, such
+as retrieving metadata on arbitrary media files (kaa.metadata,
+previously called mmpython), Python wrappers for Imlib2, Xine, and
+Evas, and many other high level APIs for easily creating applications
+that deal with video and audio.
+
+Kaa is named after the python character in the Jungle Book by Rudyard
+Kipling.
+
+WWW: http://doc.freevo.org/2.0/Kaa
diff --git a/multimedia/py-kaa-base/pkg-plist b/multimedia/py-kaa-base/pkg-plist
new file mode 100644
index 000000000000..841c6bc5d1a7
--- /dev/null
+++ b/multimedia/py-kaa-base/pkg-plist
@@ -0,0 +1,156 @@
+%%PYTHON_SITELIBDIR%%/kaa/utils.py
+%%PYTHON_SITELIBDIR%%/kaa/strutils.py
+%%PYTHON_SITELIBDIR%%/kaa/xmlutils.py
+%%PYTHON_SITELIBDIR%%/kaa/logger.py
+%%PYTHON_SITELIBDIR%%/kaa/rpc.py
+%%PYTHON_SITELIBDIR%%/kaa/tmpfile.py
+%%PYTHON_SITELIBDIR%%/kaa/version.py
+%%PYTHON_SITELIBDIR%%/kaa/ioctl.py
+%%PYTHON_SITELIBDIR%%/kaa/config.py
+%%PYTHON_SITELIBDIR%%/kaa/db.py
+%%PYTHON_SITELIBDIR%%/kaa/__init__.py
+%%PYTHON_SITELIBDIR%%/kaa/weakref.py
+%%PYTHON_SITELIBDIR%%/kaa/inotify/__init__.py
+%%PYTHON_SITELIBDIR%%/kaa/inotify/_inotify.so
+%%PYTHON_SITELIBDIR%%/kaa/inotify/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kaa/inotify/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kaa/net/url.py
+%%PYTHON_SITELIBDIR%%/kaa/net/tls.py
+%%PYTHON_SITELIBDIR%%/kaa/net/__init__.py
+%%PYTHON_SITELIBDIR%%/kaa/net/mdns.py
+%%PYTHON_SITELIBDIR%%/kaa/net/url.pyc
+%%PYTHON_SITELIBDIR%%/kaa/net/tls.pyc
+%%PYTHON_SITELIBDIR%%/kaa/net/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kaa/net/mdns.pyc
+%%PYTHON_SITELIBDIR%%/kaa/net/url.pyo
+%%PYTHON_SITELIBDIR%%/kaa/net/tls.pyo
+%%PYTHON_SITELIBDIR%%/kaa/net/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kaa/net/mdns.pyo
+%%PYTHON_SITELIBDIR%%/kaa/distribution/core.py
+%%PYTHON_SITELIBDIR%%/kaa/distribution/svn2log.py
+%%PYTHON_SITELIBDIR%%/kaa/distribution/xmlconfig.py
+%%PYTHON_SITELIBDIR%%/kaa/distribution/build_py.py
+%%PYTHON_SITELIBDIR%%/kaa/distribution/version.py
+%%PYTHON_SITELIBDIR%%/kaa/distribution/__init__.py
+%%PYTHON_SITELIBDIR%%/kaa/distribution/core.pyc
+%%PYTHON_SITELIBDIR%%/kaa/distribution/svn2log.pyc
+%%PYTHON_SITELIBDIR%%/kaa/distribution/xmlconfig.pyc
+%%PYTHON_SITELIBDIR%%/kaa/distribution/build_py.pyc
+%%PYTHON_SITELIBDIR%%/kaa/distribution/version.pyc
+%%PYTHON_SITELIBDIR%%/kaa/distribution/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kaa/distribution/core.pyo
+%%PYTHON_SITELIBDIR%%/kaa/distribution/svn2log.pyo
+%%PYTHON_SITELIBDIR%%/kaa/distribution/xmlconfig.pyo
+%%PYTHON_SITELIBDIR%%/kaa/distribution/build_py.pyo
+%%PYTHON_SITELIBDIR%%/kaa/distribution/version.pyo
+%%PYTHON_SITELIBDIR%%/kaa/distribution/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kaa/input/lirc.py
+%%PYTHON_SITELIBDIR%%/kaa/input/stdin.py
+%%PYTHON_SITELIBDIR%%/kaa/input/__init__.py
+%%PYTHON_SITELIBDIR%%/kaa/input/lirc.pyc
+%%PYTHON_SITELIBDIR%%/kaa/input/stdin.pyc
+%%PYTHON_SITELIBDIR%%/kaa/input/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kaa/input/lirc.pyo
+%%PYTHON_SITELIBDIR%%/kaa/input/stdin.pyo
+%%PYTHON_SITELIBDIR%%/kaa/input/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/timer.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/thread.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/gobject.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/popen.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_wrapper.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/signals.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/sockets.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/main.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/async.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_thread.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/event.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/coroutine.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/__init__.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/reactor.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/callback.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_twisted.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/log.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_gtk.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/version.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_generic.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/__init__.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/dispatch.py
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_twisted.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/log.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_gtk.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/version.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_generic.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/dispatch.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_twisted.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/log.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_gtk.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/version.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_generic.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/dispatch.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/timer.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/thread.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/gobject.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/popen.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_wrapper.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/signals.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/sockets.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/main.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/async.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_thread.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/event.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/coroutine.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/reactor.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/callback.pyc
+%%PYTHON_SITELIBDIR%%/kaa/notifier/timer.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/thread.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/gobject.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/popen.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_wrapper.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/signals.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/sockets.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/main.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/async.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_thread.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/event.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/coroutine.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/reactor.pyo
+%%PYTHON_SITELIBDIR%%/kaa/notifier/callback.pyo
+%%PYTHON_SITELIBDIR%%/kaa/shmmodule.so
+%%PYTHON_SITELIBDIR%%/kaa/_objectrow.so
+%%PYTHON_SITELIBDIR%%/kaa/_utils.so
+%%PYTHON_SITELIBDIR%%/kaa/utils.pyc
+%%PYTHON_SITELIBDIR%%/kaa/strutils.pyc
+%%PYTHON_SITELIBDIR%%/kaa/xmlutils.pyc
+%%PYTHON_SITELIBDIR%%/kaa/logger.pyc
+%%PYTHON_SITELIBDIR%%/kaa/rpc.pyc
+%%PYTHON_SITELIBDIR%%/kaa/tmpfile.pyc
+%%PYTHON_SITELIBDIR%%/kaa/version.pyc
+%%PYTHON_SITELIBDIR%%/kaa/ioctl.pyc
+%%PYTHON_SITELIBDIR%%/kaa/config.pyc
+%%PYTHON_SITELIBDIR%%/kaa/db.pyc
+%%PYTHON_SITELIBDIR%%/kaa/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kaa/weakref.pyc
+%%PYTHON_SITELIBDIR%%/kaa/utils.pyo
+%%PYTHON_SITELIBDIR%%/kaa/strutils.pyo
+%%PYTHON_SITELIBDIR%%/kaa/xmlutils.pyo
+%%PYTHON_SITELIBDIR%%/kaa/logger.pyo
+%%PYTHON_SITELIBDIR%%/kaa/rpc.pyo
+%%PYTHON_SITELIBDIR%%/kaa/tmpfile.pyo
+%%PYTHON_SITELIBDIR%%/kaa/version.pyo
+%%PYTHON_SITELIBDIR%%/kaa/ioctl.pyo
+%%PYTHON_SITELIBDIR%%/kaa/config.pyo
+%%PYTHON_SITELIBDIR%%/kaa/db.pyo
+%%PYTHON_SITELIBDIR%%/kaa/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kaa/weakref.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/kaa/inotify
+@dirrm %%PYTHON_SITELIBDIR%%/kaa/net
+@dirrm %%PYTHON_SITELIBDIR%%/kaa/distribution
+@dirrm %%PYTHON_SITELIBDIR%%/kaa/input
+@dirrm %%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier
+@dirrm %%PYTHON_SITELIBDIR%%/kaa/notifier
+@dirrm %%PYTHON_SITELIBDIR%%/kaa
+@dirrmtry %%PYTHON_SITELIBDIR%%