From 5ccd6effbef68b5318ef16911f5eab8cbc35f92e Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 1 Nov 2009 18:00:07 +0100 Subject: mythplugins: move into mythtv directory --- recipes/mythtv/mythplugins/MythBackend.php.patch | 13 +++++++++++++ recipes/mythtv/mythplugins/mythflix.pro.patch | 13 +++++++++++++ recipes/mythtv/mythplugins/mythgallery.pro.patch | 13 +++++++++++++ recipes/mythtv/mythplugins/mythmovies.pro.patch | 13 +++++++++++++ recipes/mythtv/mythplugins/mythnews.pro.patch | 17 +++++++++++++++++ recipes/mythtv/mythplugins/mythweather.pro.patch | 15 +++++++++++++++ recipes/mythtv/mythplugins/mythzoneminder.pro.patch | 13 +++++++++++++ 7 files changed, 97 insertions(+) create mode 100644 recipes/mythtv/mythplugins/MythBackend.php.patch create mode 100644 recipes/mythtv/mythplugins/mythflix.pro.patch create mode 100644 recipes/mythtv/mythplugins/mythgallery.pro.patch create mode 100644 recipes/mythtv/mythplugins/mythmovies.pro.patch create mode 100644 recipes/mythtv/mythplugins/mythnews.pro.patch create mode 100644 recipes/mythtv/mythplugins/mythweather.pro.patch create mode 100644 recipes/mythtv/mythplugins/mythzoneminder.pro.patch (limited to 'recipes/mythtv/mythplugins') diff --git a/recipes/mythtv/mythplugins/MythBackend.php.patch b/recipes/mythtv/mythplugins/MythBackend.php.patch new file mode 100644 index 0000000000..95cf86e49f --- /dev/null +++ b/recipes/mythtv/mythplugins/MythBackend.php.patch @@ -0,0 +1,13 @@ +Index: mythplugins-0.22rc1/mythweb/classes/MythBackend.php +=================================================================== +--- mythplugins-0.22rc1.orig/mythweb/classes/MythBackend.php ++++ mythplugins-0.22rc1/mythweb/classes/MythBackend.php +@@ -111,7 +111,7 @@ class MythBackend { + } + + public function setTimezone() { +- if (!is_string($_SESSION['backend']['timezone']['value']) || $_SESSION['backend']['timezone']['last_check_time'] - time() > 60*60*24) { ++ if (!is_string($_SESSION['backend']['timezone']['value']) || time() - $_SESSION['backend']['timezone']['last_check_time'] () > 60*60*24) { + $response = $this->sendCommand('QUERY_TIME_ZONE'); + $timezone = str_replace(' ', '_', $response[0]); + $_SESSION['backend']['timezone']['value'] = $timezone; diff --git a/recipes/mythtv/mythplugins/mythflix.pro.patch b/recipes/mythtv/mythplugins/mythflix.pro.patch new file mode 100644 index 0000000000..cffaeae197 --- /dev/null +++ b/recipes/mythtv/mythplugins/mythflix.pro.patch @@ -0,0 +1,13 @@ +Index: mythplugins-0.22rc1/mythflix/mythflix/mythflix.pro +=================================================================== +--- mythplugins-0.22rc1.orig/mythflix/mythflix/mythflix.pro ++++ mythplugins-0.22rc1/mythflix/mythflix/mythflix.pro +@@ -8,7 +8,7 @@ TARGET = mythflix + target.path = $${LIBDIR}/mythtv/plugins + INSTALLS += target + +-INCLUDEPATH += $${PREFIX}/include/mythtv ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv + + installfiles.path = $${PREFIX}/share/mythtv/mythflix + installfiles.files = netflix-rss.xml diff --git a/recipes/mythtv/mythplugins/mythgallery.pro.patch b/recipes/mythtv/mythplugins/mythgallery.pro.patch new file mode 100644 index 0000000000..8be5ea016b --- /dev/null +++ b/recipes/mythtv/mythplugins/mythgallery.pro.patch @@ -0,0 +1,13 @@ +Index: mythplugins-0.22rc1/mythgallery/mythgallery/mythgallery.pro +=================================================================== +--- mythplugins-0.22rc1.orig/mythgallery/mythgallery/mythgallery.pro ++++ mythplugins-0.22rc1/mythgallery/mythgallery/mythgallery.pro +@@ -14,7 +14,7 @@ TARGET = mythgallery + target.path = $${LIBDIR}/mythtv/plugins + INSTALLS += target + +-INCLUDEPATH += $${PREFIX}/include/mythtv ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv + + # Input + HEADERS += iconview.h singleview.h diff --git a/recipes/mythtv/mythplugins/mythmovies.pro.patch b/recipes/mythtv/mythplugins/mythmovies.pro.patch new file mode 100644 index 0000000000..84e9450309 --- /dev/null +++ b/recipes/mythtv/mythplugins/mythmovies.pro.patch @@ -0,0 +1,13 @@ +Index: mythplugins-0.22rc1/mythmovies/mythmovies/mythmovies.pro +=================================================================== +--- mythplugins-0.22rc1.orig/mythmovies/mythmovies/mythmovies.pro ++++ mythplugins-0.22rc1/mythmovies/mythmovies/mythmovies.pro +@@ -10,7 +10,7 @@ TARGET = mythmovies + target.path = $${LIBDIR}/mythtv/plugins + INSTALLS += target + +-INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythui + + # Input + HEADERS += moviesui.h helperobjects.h moviessettings.h diff --git a/recipes/mythtv/mythplugins/mythnews.pro.patch b/recipes/mythtv/mythplugins/mythnews.pro.patch new file mode 100644 index 0000000000..8b572fcb15 --- /dev/null +++ b/recipes/mythtv/mythplugins/mythnews.pro.patch @@ -0,0 +1,17 @@ +Index: mythplugins-0.22rc1/mythnews/mythnews/mythnews.pro +=================================================================== +--- mythplugins-0.22rc1.orig/mythnews/mythnews/mythnews.pro ++++ mythplugins-0.22rc1/mythnews/mythnews/mythnews.pro +@@ -10,9 +10,9 @@ TARGET = mythnews + target.path = $${LIBDIR}/mythtv/plugins + INSTALLS += target + +-INCLUDEPATH += $${PREFIX}/include/mythtv +-INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui +-INCLUDEPATH += $${PREFIX}/include/mythtv/libmythdb ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythui ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythdb + + installfiles.path = $${PREFIX}/share/mythtv/mythnews + installfiles.files = news-sites.xml diff --git a/recipes/mythtv/mythplugins/mythweather.pro.patch b/recipes/mythtv/mythplugins/mythweather.pro.patch new file mode 100644 index 0000000000..c7fff48708 --- /dev/null +++ b/recipes/mythtv/mythplugins/mythweather.pro.patch @@ -0,0 +1,15 @@ +Index: mythplugins-0.22rc1/mythweather/mythweather/mythweather.pro +=================================================================== +--- mythplugins-0.22rc1.orig/mythweather/mythweather/mythweather.pro ++++ mythplugins-0.22rc1/mythweather/mythweather/mythweather.pro +@@ -13,8 +13,8 @@ INSTALLS += target + QMAKE_COPY_DIR = sh ../../cpsvndir + win32:QMAKE_COPY_DIR = sh ../../cpsimple + +-INCLUDEPATH += $${PREFIX}/include/mythtv +-INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythui + + datafiles.path = $${PREFIX}/share/mythtv/mythweather/ + datafiles.files = weather-screens.xml diff --git a/recipes/mythtv/mythplugins/mythzoneminder.pro.patch b/recipes/mythtv/mythplugins/mythzoneminder.pro.patch new file mode 100644 index 0000000000..9eb019c3ac --- /dev/null +++ b/recipes/mythtv/mythplugins/mythzoneminder.pro.patch @@ -0,0 +1,13 @@ +Index: mythplugins-0.22rc1/mythzoneminder/mythzoneminder/mythzoneminder.pro +=================================================================== +--- mythplugins-0.22rc1.orig/mythzoneminder/mythzoneminder/mythzoneminder.pro ++++ mythplugins-0.22rc1/mythzoneminder/mythzoneminder/mythzoneminder.pro +@@ -8,7 +8,7 @@ TARGET = mythzoneminder + target.path = $${LIBDIR}/mythtv/plugins + INSTALLS += target + +-INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui ++INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythui + + # Input + HEADERS += zmconsole.h zmplayer.h zmevents.h zmliveplayer.h zmdefines.h -- cgit v1.2.3