svn commit: r302007 - in head/multimedia/mythtv: . files
Bernhard Froehlich
decke at FreeBSD.org
Sat Aug 4 08:10:49 UTC 2012
Author: decke
Date: Sat Aug 4 08:10:48 2012
New Revision: 302007
URL: http://svn.freebsd.org/changeset/ports/302007
Log:
- Update to 0.25.2
- Fix Perl and Python bindings and enable per default
- Fix PHP bindings for PHP 5.4
Added:
head/multimedia/mythtv/files/patch-bindings__php__MythBase.php (contents, props changed)
Modified:
head/multimedia/mythtv/Makefile (contents, props changed)
head/multimedia/mythtv/distinfo (contents, props changed)
head/multimedia/mythtv/files/patch-bindings__python__setup.py (contents, props changed)
head/multimedia/mythtv/pkg-plist (contents, props changed)
Modified: head/multimedia/mythtv/Makefile
==============================================================================
--- head/multimedia/mythtv/Makefile Sat Aug 4 07:54:44 2012 (r302006)
+++ head/multimedia/mythtv/Makefile Sat Aug 4 08:10:48 2012 (r302007)
@@ -7,8 +7,7 @@
# $FreeBSD$
PORTNAME= mythtv
-PORTVERSION= 0.25
-PORTREVISION= 1
+PORTVERSION= 0.25.2
CATEGORIES= multimedia
MASTER_SITES= http://ftp.osuosl.org/pub/mythtv/ \
http://ftp.osuosl.org/pub/mythtv/old_releases/ \
@@ -57,7 +56,7 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" --d
QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
-OPTIONS= BINDINGS "Perl and Python bindings" off \
+OPTIONS= BINDINGS "Perl and Python bindings" on \
LIRC "Native LIRC Support" off \
MYSQL_LOCAL "RUN_DEPEND on selected MySQL server" off \
OPENGL "OpenGL support" on \
@@ -71,18 +70,25 @@ SUB_FILES= pkg-message
USE_PYTHON= yes
INSTALLS_EGGINFO=yes
PYDISTUTILS_PKGNAME=MythTV
-PYDISTUTILS_PKGVERSION=${PORTVERSION}.0
+PYDISTUTILS_PKGVERSION=${PORTVERSION}
BUILD_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb \
- ${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber
+ ${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber \
+ p5-HTTP-Request-Params>=0:${PORTSDIR}/www/p5-HTTP-Request-Params \
+ p5-LWP-UserAgent-Determined>=0:${PORTSDIR}/www/p5-LWP-UserAgent-Determined \
+ p5-Net-UPnP>=0:${PORTSDIR}/multimedia/p5-Net-UPnP \
+ p5-IO-Socket-INET6>=2.51:${PORTSDIR}/net/p5-IO-Socket-INET6
RUN_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb \
- ${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber
-CONFIGURE_ARGS+=--without-bindings=perl,php
+ ${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber \
+ p5-HTTP-Request-Params>=0:${PORTSDIR}/www/p5-HTTP-Request-Params \
+ p5-LWP-UserAgent-Determined>=0:${PORTSDIR}/www/p5-LWP-UserAgent-Determined \
+ p5-Net-UPnP>=0:${PORTSDIR}/multimedia/p5-Net-UPnP \
+ p5-IO-Socket-INET6>=2.51:${PORTSDIR}/net/p5-IO-Socket-INET6
PLIST_SUB+= BINDINGS=""
.else
-CONFIGURE_ARGS+=--without-bindings=perl,python,php
+CONFIGURE_ARGS+=--without-bindings=perl,python
PLIST_SUB+= BINDINGS="@comment "
.endif
Modified: head/multimedia/mythtv/distinfo
==============================================================================
--- head/multimedia/mythtv/distinfo Sat Aug 4 07:54:44 2012 (r302006)
+++ head/multimedia/mythtv/distinfo Sat Aug 4 08:10:48 2012 (r302007)
@@ -1,2 +1,2 @@
-SHA256 (mythtv-0.25.tar.bz2) = 341d6efdfe22540a62af7926ef8245c48fe1b256df8bc5f69c38a936436b68f0
-SIZE (mythtv-0.25.tar.bz2) = 31883030
+SHA256 (mythtv-0.25.2.tar.bz2) = d6b7f1692f30b3dde170d2b755453675de1d222aa8556197e62b8d8617beeac6
+SIZE (mythtv-0.25.2.tar.bz2) = 31838320
Added: head/multimedia/mythtv/files/patch-bindings__php__MythBase.php
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/mythtv/files/patch-bindings__php__MythBase.php Sat Aug 4 08:10:48 2012 (r302007)
@@ -0,0 +1,11 @@
+--- bindings/php/MythBase.php.orig 2012-07-16 17:21:00.000000000 +0200
++++ bindings/php/MythBase.php 2012-07-29 14:13:02.915720097 +0200
+@@ -47,7 +47,7 @@
+
+ public function __destruct() {
+ if (!is_null($this->cacheKey))
+- Cache::setObject($this->cacheKey, &$this, $this->cacheLifetime);
++ Cache::setObject($this->cacheKey, $this, $this->cacheLifetime);
+ $this->cacheKey = null;
+ }
+
Modified: head/multimedia/mythtv/files/patch-bindings__python__setup.py
==============================================================================
--- head/multimedia/mythtv/files/patch-bindings__python__setup.py Sat Aug 4 07:54:44 2012 (r302006)
+++ head/multimedia/mythtv/files/patch-bindings__python__setup.py Sat Aug 4 08:10:48 2012 (r302007)
@@ -4,8 +4,8 @@
setup(
name='MythTV',
-- version='0.24.0',
-+ version='0.25.0',
+- version='0.25.0',
++ version='0.25.2',
description='MythTV Python bindings.',
long_description='Provides canned database and protocol access to the MythTV database, mythproto, mythxml, and frontend remote control.',
packages=['MythTV', 'MythTV/tmdb', 'MythTV/tmdb3', 'MythTV/ttvdb', 'MythTV/wikiscripts'],
Modified: head/multimedia/mythtv/pkg-plist
==============================================================================
--- head/multimedia/mythtv/pkg-plist Sat Aug 4 07:54:44 2012 (r302006)
+++ head/multimedia/mythtv/pkg-plist Sat Aug 4 08:10:48 2012 (r302007)
@@ -1,4 +1,4 @@
- at comment $FreeBSD: /tmp/pcvs/ports/multimedia/mythtv/pkg-plist,v 1.12 2012-05-10 08:21:13 decke Exp $
+ at comment $FreeBSD$
bin/mythavtest
bin/mythbackend
bin/mythccextractor
@@ -469,6 +469,8 @@ include/mythtv/xmlparse.h
%%BINDINGS%%%%PYTHON_SITELIBDIR%%/MythTV/tmdb3/request.pyc
%%BINDINGS%%%%PYTHON_SITELIBDIR%%/MythTV/tmdb3/tmdb_api.py
%%BINDINGS%%%%PYTHON_SITELIBDIR%%/MythTV/tmdb3/tmdb_api.pyc
+%%BINDINGS%%%%PYTHON_SITELIBDIR%%/MythTV/tmdb3/tmdb_auth.py
+%%BINDINGS%%%%PYTHON_SITELIBDIR%%/MythTV/tmdb3/tmdb_auth.pyc
%%BINDINGS%%%%PYTHON_SITELIBDIR%%/MythTV/tmdb3/tmdb_exceptions.py
%%BINDINGS%%%%PYTHON_SITELIBDIR%%/MythTV/tmdb3/tmdb_exceptions.pyc
%%BINDINGS%%%%PYTHON_SITELIBDIR%%/MythTV/tmdb3/util.py
@@ -583,6 +585,14 @@ lib/mythtv/filters/libyadif.so
%%DATADIR%%/MXML_scpd.xml
%%DATADIR%%/backend-config/config_backend_database.xml
%%DATADIR%%/backend-config/config_backend_general.xml
+%%DATADIR%%/bindings/php/MythBackend.php
+%%DATADIR%%/bindings/php/MythBase.php
+%%DATADIR%%/bindings/php/MythFrontend.php
+%%DATADIR%%/bindings/php/MythTVChannel.php
+%%DATADIR%%/bindings/php/MythTV.php
+%%DATADIR%%/bindings/php/MythTVProgram.php
+%%DATADIR%%/bindings/php/MythTVRecording.php
+%%DATADIR%%/bindings/php/MythTVStorageGroup.php
%%DATADIR%%/database/mc.sql
%%DATADIR%%/devicemaster.xml
%%DATADIR%%/deviceslave.xml
@@ -2136,6 +2146,8 @@ lib/mythtv/filters/libyadif.so
@dirrm %%DATADIR%%/hardwareprofile
@dirrm %%DATADIR%%/fonts
@dirrm %%DATADIR%%/database
+ at dirrm %%DATADIR%%/bindings/php
+ at dirrm %%DATADIR%%/bindings
@dirrm %%DATADIR%%/backend-config
@dirrmtry %%DATADIR%%
@dirrm lib/mythtv/filters
More information about the svn-ports-all
mailing list