Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2012 08:13:02 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302009 - in head/www/mythplugin-mythweb: . files
Message-ID:  <201208040813.q748D27v028572@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Sat Aug  4 08:13:01 2012
New Revision: 302009
URL: http://svn.freebsd.org/changeset/ports/302009

Log:
  - Update to 0.25.2
  - Add fixes for PHP 5.4

Added:
  head/www/mythplugin-mythweb/files/patch-mythweb__includes__sorting.php   (contents, props changed)
  head/www/mythplugin-mythweb/files/patch-mythweb__modules__tv__tmpl__default__schedules.php   (contents, props changed)
Modified:
  head/www/mythplugin-mythweb/Makefile   (contents, props changed)
  head/www/mythplugin-mythweb/distinfo   (contents, props changed)
  head/www/mythplugin-mythweb/pkg-plist   (contents, props changed)

Modified: head/www/mythplugin-mythweb/Makefile
==============================================================================
--- head/www/mythplugin-mythweb/Makefile	Sat Aug  4 08:11:52 2012	(r302008)
+++ head/www/mythplugin-mythweb/Makefile	Sat Aug  4 08:13:01 2012	(r302009)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mythweb
-PORTVERSION=	0.25
+PORTVERSION=	0.25.2
 CATEGORIES=	www
 MASTER_SITES=	http://ftp.osuosl.org/pub/mythtv/ \
 		http://ftp.osuosl.org/pub/mythtv/old_releases/ \
@@ -48,7 +48,7 @@ post-patch:
 do-install:
 	${MKDIR} ${WWWDIR}
 	${MKDIR} ${WWWDIR}/data
-	(cd ${WRKSRC}/mythweb/ && ${COPYTREE_SHARE} "*" ${WWWDIR})
+	(cd ${WRKSRC}/mythweb/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.orig")
 
 	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
 	${CHMOD} -R 775 ${WWWDIR}/data

Modified: head/www/mythplugin-mythweb/distinfo
==============================================================================
--- head/www/mythplugin-mythweb/distinfo	Sat Aug  4 08:11:52 2012	(r302008)
+++ head/www/mythplugin-mythweb/distinfo	Sat Aug  4 08:13:01 2012	(r302009)
@@ -1,2 +1,2 @@
-SHA256 (mythplugins-0.25.tar.bz2) = 8b74e84a11772274f6f90752d8ce2adf8156162879e4ff716f763bbc695d3b4d
-SIZE (mythplugins-0.25.tar.bz2) = 36795780
+SHA256 (mythplugins-0.25.2.tar.bz2) = e8507dcddfbb63ab50fe738400639c20bf2f2a278a8947fa85d9096e537f11f3
+SIZE (mythplugins-0.25.2.tar.bz2) = 36763594

Added: head/www/mythplugin-mythweb/files/patch-mythweb__includes__sorting.php
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mythplugin-mythweb/files/patch-mythweb__includes__sorting.php	Sat Aug  4 08:13:01 2012	(r302009)
@@ -0,0 +1,11 @@
+--- mythweb/includes/sorting.php.orig	2012-05-30 23:22:20.000000000 +0200
++++ mythweb/includes/sorting.php	2012-07-29 14:17:07.402674096 +0200
+@@ -119,7 +119,7 @@
+     function by_user_choice(&$a, &$b) {
+         foreach ($GLOBALS['user_sort_choice'] as $sort) {
+             $function = 'by_'.$sort['field'];
+-            $response = $function(&$a, &$b);
++            $response = $function($a, $b);
+         // Identical response, go on to the next sort choice
+             if (!$response)
+                 continue;

Added: head/www/mythplugin-mythweb/files/patch-mythweb__modules__tv__tmpl__default__schedules.php
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mythplugin-mythweb/files/patch-mythweb__modules__tv__tmpl__default__schedules.php	Sat Aug  4 08:13:01 2012	(r302009)
@@ -0,0 +1,13 @@
+--- mythweb/modules/tv/tmpl/default/schedules.php.orig	2012-05-30 23:22:20.000000000 +0200
++++ mythweb/modules/tv/tmpl/default/schedules.php	2012-07-29 14:17:07.405673220 +0200
+@@ -85,6 +85,10 @@
+ </tr>
+ </thead>
+ <?php
++        // Hack:  Disable warnings about "Creating default
++        // object from empty value" from below line
++        // "$schedule->channel->name = '[ '.t('Any').' ]';"
++        ini_set('error_reporting', E_ERROR);
+         $prev_group = '';
+         $cur_group  = '';
+         foreach ($the_schedules as $schedule) {

Modified: head/www/mythplugin-mythweb/pkg-plist
==============================================================================
--- head/www/mythplugin-mythweb/pkg-plist	Sat Aug  4 08:11:52 2012	(r302008)
+++ head/www/mythplugin-mythweb/pkg-plist	Sat Aug  4 08:13:01 2012	(r302009)
@@ -709,8 +709,8 @@
 @dirrm %%WWWDIR%%/js/dialog
 @dirrm %%WWWDIR%%/js
 @dirrm %%WWWDIR%%/includes
-@dirrm %%WWWDIR%%/data/tv_icons
-@dirrm %%WWWDIR%%/data/cache
+@dirrmtry %%WWWDIR%%/data/tv_icons
+@dirrmtry %%WWWDIR%%/data/cache
 @dirrmtry %%WWWDIR%%/data
 @dirrm %%WWWDIR%%/configuration
 @dirrm %%WWWDIR%%/classes/UPnP



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