Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2009 19:02:54 -0500 (EST)
From:      "J.R. Oldroyd" <fbsd@opal.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/130522: new port: multimedia/py-kaa-base KAA media repository
Message-ID:  <200901140002.n0E02sck072265@homobox.opal.com>
Resent-Message-ID: <200901140010.n0E0A2wA020631@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130522
>Category:       ports
>Synopsis:       new port: multimedia/py-kaa-base KAA media repository
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 14 00:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     J.R. Oldroyd
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD xx.opal.com 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Mar 13 12:42:33 EDT 2008 xx@opal.com:/usr/src/sys/i386/compile/XX i386
>Description:
new port: multimedia/py-kaa-base KAA media repository
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	multimedia/py-kaa-base/
#	multimedia/py-kaa-base/files
#	multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c
#	multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h
#	multimedia/py-kaa-base/pkg-descr
#	multimedia/py-kaa-base/pkg-plist
#	multimedia/py-kaa-base/Makefile
#	multimedia/py-kaa-base/distinfo
#
echo c - multimedia/py-kaa-base/
mkdir -p multimedia/py-kaa-base/ > /dev/null 2>&1
echo c - multimedia/py-kaa-base/files
mkdir -p multimedia/py-kaa-base/files > /dev/null 2>&1
echo x - multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c
sed 's/^X//' >multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c << 'END-of-multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c'
X--- src/extensions/shmmodule.c.orig	Sat Mar 10 11:49:38 2007
X+++ src/extensions/shmmodule.c	Sat Mar 10 16:59:55 2007
X@@ -114,12 +114,13 @@
X 
X /* Uncomment the following line if <sys/sem.h> defines "union semun" */
X 
X-/* #define HAVE_UNION_SEMUN */
X+#define HAVE_UNION_SEMUN
X 
X /* ------------------------------------------------------------------------- */
X #include "Python.h"
X #include "structmember.h"
X 
X+#include <machine/param.h>
X #include <sys/types.h>
X #include <sys/ipc.h>		/* for system's IPC_xxx definitions */
X #include <sys/shm.h>		/* for shmget, shmat, shmdt, shmctl */
END-of-multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c
echo x - multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h
sed 's/^X//' >multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h << 'END-of-multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h'
X--- src/extensions/inotify/fallback-inotify.h.orig	Sat Mar 10 11:49:38 2007
X+++ src/extensions/inotify/fallback-inotify.h	Sat Mar 10 17:02:21 2007
X@@ -7,7 +7,9 @@
X #ifndef _LINUX_INOTIFY_H
X #define _LINUX_INOTIFY_H
X 
X-#include <linux/types.h>
X+#include <sys/types.h>
X+typedef int		__s32;
X+typedef unsigned int	__u32;
X 
X /*
X  * struct inotify_event - structure read from the inotify device for each event
END-of-multimedia/py-kaa-base/files/patch-base-src-extensions-inotify-fallback-inotify.h
echo x - multimedia/py-kaa-base/pkg-descr
sed 's/^X//' >multimedia/py-kaa-base/pkg-descr << 'END-of-multimedia/py-kaa-base/pkg-descr'
XThe Kaa Media Repository is a set of python modules related to
Xmedia.
X
XKaa modules are based on parts from Freevo and modules created for
XMeBox. Kaa exists to encourage code sharing between these projects,
Xand to serve as an umbrella for several previously disparate
Xmedia-related modules in order to make them available from one
X(unique) namespace.
X
XKaa provides a base module that implements the common features
Xneeded for application development, such as mainloop management,
Xtimers, signals, callbacks, file descriptor monitors, etc. Kaa's
Xother modules provide specific media-related functionality, such
Xas retrieving metadata on arbitrary media files (kaa.metadata,
Xpreviously called mmpython), Python wrappers for Imlib2, Xine, and
XEvas, and many other high level APIs for easily creating applications
Xthat deal with video and audio.
X
XKaa is named after the python character in the Jungle Book by Rudyard
XKipling.
X
XWWW: http://doc.freevo.org/2.0/Kaa
END-of-multimedia/py-kaa-base/pkg-descr
echo x - multimedia/py-kaa-base/pkg-plist
sed 's/^X//' >multimedia/py-kaa-base/pkg-plist << 'END-of-multimedia/py-kaa-base/pkg-plist'
X%%PYTHON_SITELIBDIR%%/kaa/utils.py
X%%PYTHON_SITELIBDIR%%/kaa/strutils.py
X%%PYTHON_SITELIBDIR%%/kaa/xmlutils.py
X%%PYTHON_SITELIBDIR%%/kaa/logger.py
X%%PYTHON_SITELIBDIR%%/kaa/rpc.py
X%%PYTHON_SITELIBDIR%%/kaa/tmpfile.py
X%%PYTHON_SITELIBDIR%%/kaa/version.py
X%%PYTHON_SITELIBDIR%%/kaa/ioctl.py
X%%PYTHON_SITELIBDIR%%/kaa/config.py
X%%PYTHON_SITELIBDIR%%/kaa/db.py
X%%PYTHON_SITELIBDIR%%/kaa/__init__.py
X%%PYTHON_SITELIBDIR%%/kaa/weakref.py
X%%PYTHON_SITELIBDIR%%/kaa/inotify/__init__.py
X%%PYTHON_SITELIBDIR%%/kaa/inotify/_inotify.so
X%%PYTHON_SITELIBDIR%%/kaa/inotify/__init__.pyc
X%%PYTHON_SITELIBDIR%%/kaa/inotify/__init__.pyo
X%%PYTHON_SITELIBDIR%%/kaa/net/url.py
X%%PYTHON_SITELIBDIR%%/kaa/net/tls.py
X%%PYTHON_SITELIBDIR%%/kaa/net/__init__.py
X%%PYTHON_SITELIBDIR%%/kaa/net/mdns.py
X%%PYTHON_SITELIBDIR%%/kaa/net/url.pyc
X%%PYTHON_SITELIBDIR%%/kaa/net/tls.pyc
X%%PYTHON_SITELIBDIR%%/kaa/net/__init__.pyc
X%%PYTHON_SITELIBDIR%%/kaa/net/mdns.pyc
X%%PYTHON_SITELIBDIR%%/kaa/net/url.pyo
X%%PYTHON_SITELIBDIR%%/kaa/net/tls.pyo
X%%PYTHON_SITELIBDIR%%/kaa/net/__init__.pyo
X%%PYTHON_SITELIBDIR%%/kaa/net/mdns.pyo
X%%PYTHON_SITELIBDIR%%/kaa/distribution/core.py
X%%PYTHON_SITELIBDIR%%/kaa/distribution/svn2log.py
X%%PYTHON_SITELIBDIR%%/kaa/distribution/xmlconfig.py
X%%PYTHON_SITELIBDIR%%/kaa/distribution/build_py.py
X%%PYTHON_SITELIBDIR%%/kaa/distribution/version.py
X%%PYTHON_SITELIBDIR%%/kaa/distribution/__init__.py
X%%PYTHON_SITELIBDIR%%/kaa/distribution/core.pyc
X%%PYTHON_SITELIBDIR%%/kaa/distribution/svn2log.pyc
X%%PYTHON_SITELIBDIR%%/kaa/distribution/xmlconfig.pyc
X%%PYTHON_SITELIBDIR%%/kaa/distribution/build_py.pyc
X%%PYTHON_SITELIBDIR%%/kaa/distribution/version.pyc
X%%PYTHON_SITELIBDIR%%/kaa/distribution/__init__.pyc
X%%PYTHON_SITELIBDIR%%/kaa/distribution/core.pyo
X%%PYTHON_SITELIBDIR%%/kaa/distribution/svn2log.pyo
X%%PYTHON_SITELIBDIR%%/kaa/distribution/xmlconfig.pyo
X%%PYTHON_SITELIBDIR%%/kaa/distribution/build_py.pyo
X%%PYTHON_SITELIBDIR%%/kaa/distribution/version.pyo
X%%PYTHON_SITELIBDIR%%/kaa/distribution/__init__.pyo
X%%PYTHON_SITELIBDIR%%/kaa/input/lirc.py
X%%PYTHON_SITELIBDIR%%/kaa/input/stdin.py
X%%PYTHON_SITELIBDIR%%/kaa/input/__init__.py
X%%PYTHON_SITELIBDIR%%/kaa/input/lirc.pyc
X%%PYTHON_SITELIBDIR%%/kaa/input/stdin.pyc
X%%PYTHON_SITELIBDIR%%/kaa/input/__init__.pyc
X%%PYTHON_SITELIBDIR%%/kaa/input/lirc.pyo
X%%PYTHON_SITELIBDIR%%/kaa/input/stdin.pyo
X%%PYTHON_SITELIBDIR%%/kaa/input/__init__.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/timer.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/thread.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/gobject.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/popen.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_wrapper.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/signals.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/sockets.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/main.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/async.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_thread.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/event.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/coroutine.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/__init__.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/reactor.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/callback.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_twisted.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/log.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_gtk.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/version.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_generic.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/__init__.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/dispatch.py
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_twisted.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/log.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_gtk.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/version.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_generic.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/__init__.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/dispatch.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_twisted.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/log.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_gtk.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/version.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/nf_generic.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/__init__.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier/dispatch.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/timer.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/thread.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/gobject.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/popen.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_wrapper.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/signals.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/sockets.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/main.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/async.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_thread.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/event.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/coroutine.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/__init__.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/reactor.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/callback.pyc
X%%PYTHON_SITELIBDIR%%/kaa/notifier/timer.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/thread.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/gobject.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/popen.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_wrapper.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/signals.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/sockets.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/main.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/async.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/nf_thread.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/event.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/coroutine.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/__init__.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/reactor.pyo
X%%PYTHON_SITELIBDIR%%/kaa/notifier/callback.pyo
X%%PYTHON_SITELIBDIR%%/kaa/shmmodule.so
X%%PYTHON_SITELIBDIR%%/kaa/_objectrow.so
X%%PYTHON_SITELIBDIR%%/kaa/_utils.so
X%%PYTHON_SITELIBDIR%%/kaa/utils.pyc
X%%PYTHON_SITELIBDIR%%/kaa/strutils.pyc
X%%PYTHON_SITELIBDIR%%/kaa/xmlutils.pyc
X%%PYTHON_SITELIBDIR%%/kaa/logger.pyc
X%%PYTHON_SITELIBDIR%%/kaa/rpc.pyc
X%%PYTHON_SITELIBDIR%%/kaa/tmpfile.pyc
X%%PYTHON_SITELIBDIR%%/kaa/version.pyc
X%%PYTHON_SITELIBDIR%%/kaa/ioctl.pyc
X%%PYTHON_SITELIBDIR%%/kaa/config.pyc
X%%PYTHON_SITELIBDIR%%/kaa/db.pyc
X%%PYTHON_SITELIBDIR%%/kaa/__init__.pyc
X%%PYTHON_SITELIBDIR%%/kaa/weakref.pyc
X%%PYTHON_SITELIBDIR%%/kaa/utils.pyo
X%%PYTHON_SITELIBDIR%%/kaa/strutils.pyo
X%%PYTHON_SITELIBDIR%%/kaa/xmlutils.pyo
X%%PYTHON_SITELIBDIR%%/kaa/logger.pyo
X%%PYTHON_SITELIBDIR%%/kaa/rpc.pyo
X%%PYTHON_SITELIBDIR%%/kaa/tmpfile.pyo
X%%PYTHON_SITELIBDIR%%/kaa/version.pyo
X%%PYTHON_SITELIBDIR%%/kaa/ioctl.pyo
X%%PYTHON_SITELIBDIR%%/kaa/config.pyo
X%%PYTHON_SITELIBDIR%%/kaa/db.pyo
X%%PYTHON_SITELIBDIR%%/kaa/__init__.pyo
X%%PYTHON_SITELIBDIR%%/kaa/weakref.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/kaa/inotify
X@dirrm %%PYTHON_SITELIBDIR%%/kaa/net
X@dirrm %%PYTHON_SITELIBDIR%%/kaa/distribution
X@dirrm %%PYTHON_SITELIBDIR%%/kaa/input
X@dirrm %%PYTHON_SITELIBDIR%%/kaa/notifier/pynotifier
X@dirrm %%PYTHON_SITELIBDIR%%/kaa/notifier
X@dirrm %%PYTHON_SITELIBDIR%%/kaa
X@dirrmtry %%PYTHON_SITELIBDIR%%
END-of-multimedia/py-kaa-base/pkg-plist
echo x - multimedia/py-kaa-base/Makefile
sed 's/^X//' >multimedia/py-kaa-base/Makefile << 'END-of-multimedia/py-kaa-base/Makefile'
X# New ports collection makefile for:	py-kaa-base
X# Date created:		2009 January 10
X# Whom:			J.R. Oldroyd <fbsd@opal.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	kaa-base
XPORTVERSION=	0.4.0
XCATEGORIES=	multimedia python
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	kaa-base
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	fbsd@opal.com
XCOMMENT=	Kaa Media Repository
X
XLIB_DEPENDS=	glib-2.0:${PORTSDIR}/devel/glib20
XBUILD_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
X		${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
X
X.include <bsd.port.mk>
END-of-multimedia/py-kaa-base/Makefile
echo x - multimedia/py-kaa-base/distinfo
sed 's/^X//' >multimedia/py-kaa-base/distinfo << 'END-of-multimedia/py-kaa-base/distinfo'
XMD5 (kaa-base-0.4.0.tar.gz) = f45ae6dbc78f762752cc423106d4e4f7
XSHA256 (kaa-base-0.4.0.tar.gz) = 7795e5e1505bb66526c198b78309a2a111135e5d5c679ef713974b71d6580b46
XSIZE (kaa-base-0.4.0.tar.gz) = 169848
END-of-multimedia/py-kaa-base/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901140002.n0E02sck072265>