Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2008 19:35:33 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124707: [patch] audio/libgpod - add python support again
Message-ID:  <20080618093533.CFCD74E2@k7.mavetju>
Resent-Message-ID: <200806180940.m5I9e6WF038789@freefall.freebsd.org>

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

>Number:         124707
>Category:       ports
>Synopsis:       [patch] audio/libgpod - add python support again
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 18 09:40:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Wed May 28 08:12:56 EST 2008 edwin@k7.mavetju:/usr/src/sys/i386/compile/k7 i386


>Description:

As described in ports/116168, add python support again

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/libgpod/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	6 Jun 2008 13:06:51 -0000	1.18
+++ Makefile	18 Jun 2008 09:34:17 -0000
@@ -15,15 +15,24 @@
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	A library for direct access of iPod's contents
 
+LIB_DEPENDS=	tag.5:${PORTSDIR}/audio/taglib \
+		hal.1:${PORTSDIR}/sysutils/hal
+BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/pygtk.pyo:${PORTSDIR}/devel/py-gobject \
+		${PYTHON_SITELIBDIR}/mutagen/__init__.pyo:${PORTSDIR}/audio/py-mutagen \
+		swig:${PORTSDIR}/devel/swig13
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pygtk.pyo:${PORTSDIR}/devel/py-gobject \
+		${PYTHON_SITELIBDIR}/mutagen/__init__.pyo:${PORTSDIR}/audio/py-mutagen \
+		swig:${PORTSDIR}/devel/swig13
+
 USE_GNOME=	gtk20
+USE_PYTHON=	yes
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-# Disable python bindings for now, something does not work there
-CONFIGURE_ARGS=	--without-python
+#CONFIGURE_ARGS=	--with-python
 
 .if !defined(NOPORTDOCS)
 CONFIGURE_ARGS+=	--with-html-dir="${PREFIX}/share/doc"
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/audio/libgpod/pkg-plist,v
retrieving revision 1.7
diff -u -r1.7 pkg-plist
--- pkg-plist	6 Jan 2008 22:46:02 -0000	1.7
+++ pkg-plist	18 Jun 2008 09:34:17 -0000
@@ -6,6 +6,22 @@
 lib/libgpod.la
 lib/libgpod.a
 libdata/pkgconfig/libgpod-1.0.pc
+%%PYTHON_SITELIBDIR%%/gpod/__init__.py
+%%PYTHON_SITELIBDIR%%/gpod/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gpod/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gpod/_gpod.a
+%%PYTHON_SITELIBDIR%%/gpod/_gpod.la
+%%PYTHON_SITELIBDIR%%/gpod/_gpod.so
+%%PYTHON_SITELIBDIR%%/gpod/gpod.py
+%%PYTHON_SITELIBDIR%%/gpod/gpod.pyc
+%%PYTHON_SITELIBDIR%%/gpod/gpod.pyo
+%%PYTHON_SITELIBDIR%%/gpod/gtkpod.py
+%%PYTHON_SITELIBDIR%%/gpod/gtkpod.pyc
+%%PYTHON_SITELIBDIR%%/gpod/gtkpod.pyo
+%%PYTHON_SITELIBDIR%%/gpod/ipod.py
+%%PYTHON_SITELIBDIR%%/gpod/ipod.pyc
+%%PYTHON_SITELIBDIR%%/gpod/ipod.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/gpod
 share/locale/de/LC_MESSAGES/libgpod.mo
 share/locale/es/LC_MESSAGES/libgpod.mo
 share/locale/fr/LC_MESSAGES/libgpod.mo
>Release-Note:
>Audit-Trail:
>Unformatted:



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