From 8eb43d3703f505eaf355c4ba79211c30094a2721 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 4 Dec 2010 02:46:00 +0000 Subject: mythtv: upgrade the suite cuz it's been a few weeks (mythtv, mythplugins, myththemes, morethemes, mythsmolt) --- abs/core/morethemes/PKGBUILD | 66 --- .../retro-wide_video-ui.xml-filetypes.patch | 22 - abs/core/mythplugins/PKGBUILD | 145 ------ abs/core/mythplugins/mtd | 36 -- .../mythplugins/mythplugins-mythzoneminder.install | 3 - abs/core/mythplugins/qt-4.7-buildfixes.diff | 26 - abs/core/mythsmolt/PKGBUILD | 27 - abs/core/mythsmolt/mythsmolt.patch | 8 - abs/core/mythsmolt/smolt_init_login.sh | 39 -- abs/core/myththemes/PKGBUILD | 51 -- abs/core/mythtv/stable-0.24/PKGBUILD | 113 ---- abs/core/mythtv/stable-0.24/__changelog | 1 - .../mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml | 94 ---- abs/core/mythtv/stable-0.24/menu-xml/is.xml | 3 - .../mythtv/stable-0.24/menu-xml/library.xml.patch | 12 - abs/core/mythtv/stable-0.24/menu-xml/linhes.xml | 59 --- .../mythtv/stable-0.24/menu-xml/mainmenu.xml.patch | 37 -- .../mythtv/stable-0.24/menu-xml/mythbackup.xml | 20 - .../mythtv/stable-0.24/menu-xml/mythrestore.xml | 20 - .../stable-0.24/menu-xml/optical_menu.xml.patch | 16 - .../stable-0.24/menu-xml/original/create_patch.sh | 5 - abs/core/mythtv/stable-0.24/menu-xml/setup.xml | 111 ---- .../mythtv/stable-0.24/menu-xml/siriusmenu.xml | 419 --------------- abs/core/mythtv/stable-0.24/menu-xml/update.xml | 20 - abs/core/mythtv/stable-0.24/menu-xml/update2.xml | 26 - .../stable-0.24/menu-xml/util_menu.xml.patch | 16 - abs/core/mythtv/stable-0.24/menu-xml/xmmenu.xml | 574 --------------------- abs/core/mythtv/stable-0.24/morethemes/PKGBUILD | 66 +++ .../retro-wide_video-ui.xml-filetypes.patch | 22 + abs/core/mythtv/stable-0.24/myth.sh | 4 - abs/core/mythtv/stable-0.24/mythbackend | 38 -- abs/core/mythtv/stable-0.24/mythbackend.lr | 9 - abs/core/mythtv/stable-0.24/mythbackend.sh | 117 ----- abs/core/mythtv/stable-0.24/mythfrontend.lr | 9 - abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD | 145 ++++++ abs/core/mythtv/stable-0.24/mythplugins/mtd | 36 ++ .../mythplugins/mythplugins-mythzoneminder.install | 3 + .../stable-0.24/mythplugins/qt-4.7-buildfixes.diff | 26 + abs/core/mythtv/stable-0.24/mythsmolt/PKGBUILD | 23 + .../mythtv/stable-0.24/mythsmolt/mythsmolt.patch | 8 + .../stable-0.24/mythsmolt/smolt_init_login.sh | 39 ++ abs/core/mythtv/stable-0.24/myththemes/PKGBUILD | 51 ++ abs/core/mythtv/stable-0.24/mythtv.install | 47 -- abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 113 ++++ abs/core/mythtv/stable-0.24/mythtv/__changelog | 1 + .../stable-0.24/mythtv/menu-xml/HOST_SETTINGS.xml | 94 ++++ abs/core/mythtv/stable-0.24/mythtv/menu-xml/is.xml | 3 + .../stable-0.24/mythtv/menu-xml/library.xml.patch | 12 + .../mythtv/stable-0.24/mythtv/menu-xml/linhes.xml | 59 +++ .../stable-0.24/mythtv/menu-xml/mainmenu.xml.patch | 37 ++ .../stable-0.24/mythtv/menu-xml/mythbackup.xml | 20 + .../stable-0.24/mythtv/menu-xml/mythrestore.xml | 20 + .../mythtv/menu-xml/optical_menu.xml.patch | 16 + .../mythtv/menu-xml/original/create_patch.sh | 5 + .../mythtv/stable-0.24/mythtv/menu-xml/setup.xml | 111 ++++ .../stable-0.24/mythtv/menu-xml/siriusmenu.xml | 419 +++++++++++++++ .../mythtv/stable-0.24/mythtv/menu-xml/update.xml | 20 + .../mythtv/stable-0.24/mythtv/menu-xml/update2.xml | 26 + .../mythtv/menu-xml/util_menu.xml.patch | 16 + .../mythtv/stable-0.24/mythtv/menu-xml/xmmenu.xml | 574 +++++++++++++++++++++ abs/core/mythtv/stable-0.24/mythtv/myth.sh | 4 + abs/core/mythtv/stable-0.24/mythtv/mythbackend | 38 ++ abs/core/mythtv/stable-0.24/mythtv/mythbackend.lr | 9 + abs/core/mythtv/stable-0.24/mythtv/mythbackend.sh | 117 +++++ abs/core/mythtv/stable-0.24/mythtv/mythfrontend.lr | 9 + abs/core/mythtv/stable-0.24/mythtv/mythtv.install | 47 ++ abs/core/mythtv/stable-0.24/mythtv/pretty | 9 + .../mythtv/stable-0.24/mythtv/smolt_jump.patch | 10 + abs/core/mythtv/stable-0.24/pretty | 9 - abs/core/mythtv/stable-0.24/smolt_jump.patch | 10 - 70 files changed, 2208 insertions(+), 2212 deletions(-) delete mode 100644 abs/core/morethemes/PKGBUILD delete mode 100644 abs/core/morethemes/retro-wide_video-ui.xml-filetypes.patch delete mode 100644 abs/core/mythplugins/PKGBUILD delete mode 100644 abs/core/mythplugins/mtd delete mode 100644 abs/core/mythplugins/mythplugins-mythzoneminder.install delete mode 100644 abs/core/mythplugins/qt-4.7-buildfixes.diff delete mode 100644 abs/core/mythsmolt/PKGBUILD delete mode 100644 abs/core/mythsmolt/mythsmolt.patch delete mode 100644 abs/core/mythsmolt/smolt_init_login.sh delete mode 100644 abs/core/myththemes/PKGBUILD delete mode 100755 abs/core/mythtv/stable-0.24/PKGBUILD delete mode 100644 abs/core/mythtv/stable-0.24/__changelog delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/is.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/linhes.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch delete mode 100755 abs/core/mythtv/stable-0.24/menu-xml/original/create_patch.sh delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/setup.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/update.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/update2.xml delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch delete mode 100644 abs/core/mythtv/stable-0.24/menu-xml/xmmenu.xml create mode 100644 abs/core/mythtv/stable-0.24/morethemes/PKGBUILD create mode 100644 abs/core/mythtv/stable-0.24/morethemes/retro-wide_video-ui.xml-filetypes.patch delete mode 100755 abs/core/mythtv/stable-0.24/myth.sh delete mode 100755 abs/core/mythtv/stable-0.24/mythbackend delete mode 100644 abs/core/mythtv/stable-0.24/mythbackend.lr delete mode 100755 abs/core/mythtv/stable-0.24/mythbackend.sh delete mode 100644 abs/core/mythtv/stable-0.24/mythfrontend.lr create mode 100644 abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD create mode 100644 abs/core/mythtv/stable-0.24/mythplugins/mtd create mode 100644 abs/core/mythtv/stable-0.24/mythplugins/mythplugins-mythzoneminder.install create mode 100644 abs/core/mythtv/stable-0.24/mythplugins/qt-4.7-buildfixes.diff create mode 100644 abs/core/mythtv/stable-0.24/mythsmolt/PKGBUILD create mode 100644 abs/core/mythtv/stable-0.24/mythsmolt/mythsmolt.patch create mode 100644 abs/core/mythtv/stable-0.24/mythsmolt/smolt_init_login.sh create mode 100644 abs/core/mythtv/stable-0.24/myththemes/PKGBUILD delete mode 100755 abs/core/mythtv/stable-0.24/mythtv.install create mode 100755 abs/core/mythtv/stable-0.24/mythtv/PKGBUILD create mode 100644 abs/core/mythtv/stable-0.24/mythtv/__changelog create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/HOST_SETTINGS.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/is.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/library.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/linhes.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/mainmenu.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/mythbackup.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/mythrestore.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/optical_menu.xml.patch create mode 100755 abs/core/mythtv/stable-0.24/mythtv/menu-xml/original/create_patch.sh create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/setup.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/siriusmenu.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/util_menu.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/mythtv/menu-xml/xmmenu.xml create mode 100755 abs/core/mythtv/stable-0.24/mythtv/myth.sh create mode 100755 abs/core/mythtv/stable-0.24/mythtv/mythbackend create mode 100644 abs/core/mythtv/stable-0.24/mythtv/mythbackend.lr create mode 100755 abs/core/mythtv/stable-0.24/mythtv/mythbackend.sh create mode 100644 abs/core/mythtv/stable-0.24/mythtv/mythfrontend.lr create mode 100755 abs/core/mythtv/stable-0.24/mythtv/mythtv.install create mode 100755 abs/core/mythtv/stable-0.24/mythtv/pretty create mode 100644 abs/core/mythtv/stable-0.24/mythtv/smolt_jump.patch delete mode 100755 abs/core/mythtv/stable-0.24/pretty delete mode 100644 abs/core/mythtv/stable-0.24/smolt_jump.patch diff --git a/abs/core/morethemes/PKGBUILD b/abs/core/morethemes/PKGBUILD deleted file mode 100644 index 196d1da..0000000 --- a/abs/core/morethemes/PKGBUILD +++ /dev/null @@ -1,66 +0,0 @@ -pkgname=morethemes -pkgver=0.24 -pkgrel=3 -pkgdesc="Additional themes for MythTV" -url="http://www.mythtv.org" -license="GPL" -arch=('any') -depends=('mythtv') -groups=('mythtv-extras') -source=(#'ftp://ftp.knoppmyth.net/R6/sources/morethemes-0.23.tar.bz2' - 'ftp://miroku.no-ip.com/blue-abstract-wide.2010.09.16.tar.bz2' - 'http://elkin.de/mythtv/2010.09.08-blootube-ng.tar.bz2' - 'http://elkin.de/mythtv/2010.11.04-Willi.tar.lzma' - 'http://elkin.de/mythtv/2010.03.13-bando-blue.tar.bz2' - 'http://www.thepetersclan.com/files/TintedGlass-1.18.tbz2' - 'http://www.thepetersclan.com/files/Mod-Gray-OSD.tar.bz2' - 'http://www.thepetersclan.com/files/Bluebar-Hires-OSD.tar.bz2' - 'http://www.thepetersclan.com/files/BlueCurves-OSD.tar.bz2' - 'http://www.thepetersclan.com/files/SimplyBlue-OSD.tbz2' - 'http://www.thepetersclan.com/files/BlueCurves2-OSD.tbz2' - 'http://www.thepetersclan.com/files/BlueCurves-2.1-OSD.tbz2' - 'http://www.mythtv.org/themes/LCARS.tar.gz' - 'http://www.mythtv.org/themes/TransBlue.tar.gz' - 'http://www.westnet.com/~chris/Mythtv/Retro-wide.tar.gz' - 'retro-wide_video-ui.xml-filetypes.patch' - 'http://capnbry.net/~bmayland/fi/pvr150/SimpleGray-OSD-0.4.tar.bz2' - 'http://www.jobs-khakis-chicks.com/MythTV/IsthmusBlue-OSD.tar.gz' - 'http://static.castlesblog.com/public/Glass-OSD-V1.3.zip' - 'http://static.castlesblog.com/public/Minimal-OSD-V1.1.zip') - -build() { - cd ${srcdir} - mkdir -p ${pkgdir}/usr/share/mythtv/themes - - msg "Copying files..." - for d in `ls -d */` - do - cp -a "${d}" ${pkgdir}/usr/share/mythtv/themes - done - - # Housekeeping - rm -fr "${pkgdir}/usr/share/mythtv/themes/__MACOSX" || return 1 - # Little fix - cd ${pkgdir}/usr/share/mythtv/themes/Retro-wide || return 1 - patch -p0 <${srcdir}/retro-wide_video-ui.xml-filetypes.patch || return 1 -} - -md5sums=('878605505599a0f49c44f3df9affe10f' - '7c2a2b238b7d44e52b7a8a0361d395aa' - '2890f3b991db805a88a48eb6c7048f91' - 'c6d90fb469bc30a94e32f76c82122dd3' - '80d250bf87c8f72ee238a91c854c0a11' - 'c973d0779967034f7a5bc0043574d6f9' - 'fb32ddd900e54cff62a62a21025b2585' - '79247cf87bbee10363bb214325b7f671' - '67c501b80afdefeca623261634dafd9c' - '7b2f2eca37f2d9598b00bce85a193bae' - '9793dc85a486e1ad9d0c0b6684efd245' - 'a36bb7b2597a44128401b1aba9106122' - '21d6f967631e45b7039b965a63755282' - 'bfc56ffe1c872989f7a1cb7ae20aea49' - 'e05bb3d77a11f97a1d547b2f5bc1ddf7' - '09dd8679b56794f9850a2382b4e1ea62' - 'b6c187b233778abacce102fe609d4e09' - 'f8d4fd90f1e45512ea5237de59d5090d' - '5646e1df6f593f7116cbdec656146266') diff --git a/abs/core/morethemes/retro-wide_video-ui.xml-filetypes.patch b/abs/core/morethemes/retro-wide_video-ui.xml-filetypes.patch deleted file mode 100644 index c98487f..0000000 --- a/abs/core/morethemes/retro-wide_video-ui.xml-filetypes.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- video-ui.xml.orig 2010-07-04 06:21:18.000000000 +0000 -+++ video-ui.xml 2010-07-04 06:22:22.000000000 +0000 -@@ -967,14 +967,17 @@ - - - - - - - - diff --git a/abs/core/mythplugins/PKGBUILD b/abs/core/mythplugins/PKGBUILD deleted file mode 100644 index f32e8dc..0000000 --- a/abs/core/mythplugins/PKGBUILD +++ /dev/null @@ -1,145 +0,0 @@ -# $Id: PKGBUILD 91281 2010-09-26 06:04:21Z remy $ -# Maintainer: Giovanni Scafora - -pkgbase=mythplugins -pkgname=('mythplugins-mytharchive' - 'mythplugins-mythbrowser' - 'mythplugins-mythgallery' - 'mythplugins-mythgame' - 'mythplugins-mythmusic' - 'mythplugins-mythnetvision' - 'mythplugins-mythnews' - 'mythplugins-mythvideo' - 'mythplugins-mythweather' - 'mythplugins-mythweb' - 'mythplugins-mythzoneminder') -pkgver=0.24 -pkgrel=4 -arch=('i686' 'x86_64') -url="http://www.mythtv.org" -license=('GPL') -conflicts=('mythmovies') -makedepends=("mythtv>=${pkgver}" 'mplayer' 'fftw' 'dvdauthor' 'libexif' - 'python-imaging' 'libcdaudio' 'taglib' 'perl-xml-simple' 'dcraw' - 'libvisual' 'perl-xml-xpath' 'perl-image-size' - 'perl-class-inspector' 'perl-datetime-format-iso8601' - 'flac' 'libvorbis' 'python2' 'python-pycurl' 'python-oauth') - -build() { - _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" - _svnmod="${pkgbase}" - - # get clean copy from SVN repo - if [ -d "${srcdir}/${pkgbase}" ] - then - cd "${srcdir}/${pkgbase}" - echo "Updating from SVN..." - svn up - else - cd "${srcdir}" - echo "Checking Out from SVN..." - svn co "${_svntrunk}/${_svnmod}" - fi - - cd "${srcdir}/${pkgbase}" - find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' - - ./configure --prefix=/usr \ - --enable-all - - qmake mythplugins.pro || return 1 - make || return 1 -} - -package_mythplugins-mytharchive() { - pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows" - depends=("mythtv>=${pkgver}" 'libxmu' 'pil' 'dvdauthor') - replaces=('mytharchive') - cd "${srcdir}/${pkgbase}/mytharchive" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythbrowser() { - pkgdesc="Mini web browser for MythTV" - depends=("mythtv>=${pkgver}") - replaces=('mythbrowser') - cd "${srcdir}/${pkgbase}/mythbrowser" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythgallery() { - pkgdesc="Image gallery plugin for MythTV" - depends=("mythtv>=${pkgver}" 'libexif') - replaces=('mythgallery') - cd "${srcdir}/${pkgbase}/mythgallery" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythgame() { - pkgdesc="Game emulator module for MythTV" - depends=("mythtv>=${pkgver}" 'zlib') - replaces=('mythgame') - cd "${srcdir}/${pkgbase}/mythgame" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythmusic() { - pkgdesc="Music playing plugin for MythTV" - depends=("mythtv>=${pkgver}" 'flac' 'libvorbis' 'libcdaudio' 'cdparanoia' 'taglib' 'libvisual') - replaces=('mythmusic') - cd "${srcdir}/${pkgbase}/mythmusic" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythnetvision() { - pkgdesc="MythNetvision plugin for MythTV" - depends=("mythtv>=${pkgver}" 'python-pycurl' 'python-oauth') - replaces=('mythnetvision') - cd "${srcdir}/${pkgbase}/mythnetvision" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythnews() { - pkgdesc="News checking plugin for MythTV" - depends=("mythtv>=${pkgver}") - replaces=('mythnews') - cd "${srcdir}/${pkgbase}/mythnews" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythvideo() { - pkgdesc="Video playback and browsing plugin for MythTV" - depends=("mythtv>=${pkgver}" 'mplayer' 'perl-xml-simple') - replaces=('mythvideo') - cd "${srcdir}/${pkgbase}/mythvideo" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythweather() { - pkgdesc="Weather checking plugin for MythTV" - depends=("mythtv>=${pkgver}" 'perl-xml-xpath' 'perl-image-size' 'perl-class-inspector' 'perl-datetime-format-iso8601') - replaces=('mythweather') - cd "${srcdir}/${pkgbase}/mythweather" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} - -package_mythplugins-mythweb() { - pkgdesc="Web interface for MythTV's backend" - depends=("mythtv>=${pkgver}") - optdepends=('php-apache' - 'lighttpd') - replaces=('mythweb') - mkdir -p ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions} - cp -r ${srcdir}/mythplugins/mythweb/* ${pkgdir}/data/srv/httpd/htdocs/mythweb || return 1 - chown -R http:http ${pkgdir}/data/srv/httpd/htdocs/mythweb - chmod g+rw ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions,data} -} - -package_mythplugins-mythzoneminder() { - pkgdesc="Allows for viewing of CCTV cameras through zoneminder" - depends=("mythtv>=${pkgver}" zoneminder) - replaces=('mythzoneminder') -# install=mythplugins-mythzoneminder.install - cd "${srcdir}/${pkgbase}/mythzoneminder" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} diff --git a/abs/core/mythplugins/mtd b/abs/core/mythplugins/mtd deleted file mode 100644 index 1f46dfe..0000000 --- a/abs/core/mythplugins/mtd +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/mtd` -case "$1" in - start) - stat_busy "Starting Myth Transcoding Daemon" - [ -z "$PID" ] && /usr/bin/mtd -d - if [ $? -gt 0 ]; then - stat_fail - else - echo $PID > /var/run/mtd.pid - add_daemon mythtranscode - stat_done - fi - ;; - stop) - stat_busy "Stopping Myth Transcoding Daemon" - [ ! -z "$PID" ] && kill $PID &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon mtd - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/abs/core/mythplugins/mythplugins-mythzoneminder.install b/abs/core/mythplugins/mythplugins-mythzoneminder.install deleted file mode 100644 index 142212b..0000000 --- a/abs/core/mythplugins/mythplugins-mythzoneminder.install +++ /dev/null @@ -1,3 +0,0 @@ -post_install() { - echo "If you want to use this plugin, install zoneminder from AUR." -} diff --git a/abs/core/mythplugins/qt-4.7-buildfixes.diff b/abs/core/mythplugins/qt-4.7-buildfixes.diff deleted file mode 100644 index dcffebe..0000000 --- a/abs/core/mythplugins/qt-4.7-buildfixes.diff +++ /dev/null @@ -1,26 +0,0 @@ -Index: /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp -=================================================================== ---- /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp (revision 24265) -+++ /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp (revision 26391) -@@ -45,7 +45,7 @@ - m_progress(NULL), m_busyPopup(NULL), - m_okPopup(NULL), m_popupStack(), -- m_netSearch(), m_currentSearch(NULL), -- m_currentGrabber(0), m_currentCmd(NULL), -- m_currentDownload(NULL), m_pagenum(0), -+ m_netSearch(), m_currentSearch(QString()), -+ m_currentGrabber(0), m_currentCmd(QString()), -+ m_currentDownload(QString()), m_pagenum(0), - m_lock(QMutex::Recursive) - { -Index: /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h -=================================================================== ---- /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h (revision 22916) -+++ /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h (revision 26391) -@@ -151,5 +151,5 @@ - QString GetCoverImage(MythGenericTree *node); - QString GetFirstImage(MythGenericTree *node, QString type, -- QString gpnode = NULL, int levels = 0); -+ QString gpnode = QString(), int levels = 0); - QString GetImageFromFolder(Metadata *metadata); - QString GetScreenshot(MythGenericTree *node); diff --git a/abs/core/mythsmolt/PKGBUILD b/abs/core/mythsmolt/PKGBUILD deleted file mode 100644 index f7ba9f8..0000000 --- a/abs/core/mythsmolt/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -pkgname=mythsmolt -pkgver=0.24 -pkgrel=3 -pkgdesc="mythsmolt, a hardware profileing tool" -arch=('i686' 'x86_64') -url="http://www.mythvantage.com" -license=('GPL') -depends=("mythtv>=${pkgver}" urlgrabber python-simplejson python-pycurl) -#source=("http://jmeyer.us/download/mythsmolt.tar.gz" 'smolt_init_login.sh' 'mythsmolt.patch') -source=("http://jmeyer.us/download/mythsmolt.tar.gz" 'smolt_init_login.sh' ) - -groups=('mythtv-extras') - -build() { - cd $startdir/src/mythsmolt -# patch -p1 < ../mythsmolt.patch || return 1 - ./configure.sh - make || return 1 - make INSTALL_ROOT=$startdir/pkg install - install -D -m 755 $srcdir/smolt_init_login.sh $pkgdir/etc/profile.d/smolt_init_login.sh -} -md5sums=('ffe0728d314dc03550691e2fe1c153b9' - '57a3416d90e59abbd5062436583c17e1') -md5sums=('ffe0728d314dc03550691e2fe1c153b9' - '57a3416d90e59abbd5062436583c17e1') -md5sums=('17d740c348301ab47ac557ad7402115b' - '57a3416d90e59abbd5062436583c17e1') diff --git a/abs/core/mythsmolt/mythsmolt.patch b/abs/core/mythsmolt/mythsmolt.patch deleted file mode 100644 index 4767865..0000000 --- a/abs/core/mythsmolt/mythsmolt.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -ruaN mythsmolt.orig/settings.pro mythsmolt/settings.pro ---- mythsmolt.orig/settings.pro 2010-01-06 15:49:59.000000000 +0000 -+++ mythsmolt/settings.pro 2010-05-28 03:30:59.000000000 +0000 -@@ -1,3 +1,3 @@ - --LIBVERSION = 0.24 -+LIBVERSION = 0.24 - diff --git a/abs/core/mythsmolt/smolt_init_login.sh b/abs/core/mythsmolt/smolt_init_login.sh deleted file mode 100644 index 0b76305..0000000 --- a/abs/core/mythsmolt/smolt_init_login.sh +++ /dev/null @@ -1,39 +0,0 @@ -if [ $UID = 0 -o $UID = 1000 ] -then - INIT=`ps -p 1 -o comm=` - if [ x$INIT = xrunit ] - then - if [[ -f /home/mythtv/.configure && $- = *i* ]] - then - if [ ! -z "$PS1" ] - then - if [ $0 = "-bash" ] - then - if [ ! -e /home/mythtv/.mythtv/MythSmolt/hw-uuid ] - then - echo "" - echo "####################################################" - echo "It appears you have not yet run smolt" - echo "Please take the time to submit your hardware profile" - echo "" - echo "press any key to continue:" - echo "####################################################" - read a - mkdir -p /home/mythtv/.mythtv/MythSmolt - chown -R mythtv:users /home/mythtv/.mythtv/MythSmolt - - if [ $UID = 0 ] - then - su mythtv -c "/usr/share/mythtv/mythsmolt/scripts/sendProfile.py" && su mythtv -c "touch /home/mythtv/.mythtv/MythSmolt/hw-uuid" - else - /usr/share/mythtv/mythsmolt/scripts/sendProfile.py && touch /home/mythtv/.mythtv/MythSmolt/hw-uuid - fi - fi - fi - fi - fi - fi -fi - - - diff --git a/abs/core/myththemes/PKGBUILD b/abs/core/myththemes/PKGBUILD deleted file mode 100644 index ae142b7..0000000 --- a/abs/core/myththemes/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# $Id: PKGBUILD 86938 2010-08-06 21:53:33Z ibiru $ -# Maintainer: Giovanni Scafora -# Contributor: Juergen Hoetzel -# Contributor: kleptophobiac@gmail.com - -pkgname=myththemes -pkgver=0.24 -pkgrel=3 -pkgdesc="Themes for MythTV" -arch=('any') -url="http://www.mythtv.org/" -license=('GPL') -depends=("mythtv>=${pkgver}") -source=(`echo ${patches[@]:0}`) - -build() { - _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" - _svnmod="${pkgname}" - - # get clean copy from SVN repo - if [ -d "${srcdir}/${pkgname}" ] - then - cd "${srcdir}/${pkgname}" - msg "Clean up from previous build..." - make distclean - msg "Updating from SVN..." - svn up - else - cd "${srcdir}" - msg "Checking Out from SVN..." - svn co "${_svntrunk}/${_svnmod}" - cd "${srcdir}/${pkgname}" - fi - - # apply patches - echo "--------------------------applying patches----------------------------------------------------" - for i in `echo ${patchs[@]:0} ` - do - echo applying $i - echo "-----------------------------" - patch -Np0 -i ${startdir}/src/$i || return 1 - done - echo "--------------------------done applying patches-----------------------------------------------" - - cd "${srcdir}/${pkgname}" - ./configure --prefix=/usr || return 1 -} -package() { - cd "${srcdir}/${pkgname}" - make INSTALL_ROOT="${pkgdir}" install || return 1 -} diff --git a/abs/core/mythtv/stable-0.24/PKGBUILD b/abs/core/mythtv/stable-0.24/PKGBUILD deleted file mode 100755 index 71b9ef0..0000000 --- a/abs/core/mythtv/stable-0.24/PKGBUILD +++ /dev/null @@ -1,113 +0,0 @@ -# $Id: PKGBUILD 91139 2010-09-23 10:45:09Z remy $ -# Maintainer: Giovanni Scafora -# Contributor: Juergen Hoetzel -# Contributor: -# Contributor: dorphell - -pkgname=mythtv -pkgver=0.24 -pkgrel=5 -pkgdesc="A Homebrew PVR project" -arch=('i686' 'x86_64') -url="http://www.mythtv.org/" -license=('GPL') -depends=('mysql-clients' 'qt' 'lame' 'lirc-utils' 'ffmpeg-svn' 'libxvmc' - 'fribidi' 'perl-soap-lite' 'perl-date-manip' 'perl-xml-sax' - 'perl-math-round' 'perl-net-upnp' 'perl-dbd-mysql' 'perl-time-hires' - 'libavc1394' 'wget' 'libiec61883' 'mysql-python' 'python-lxml' - 'mesa' 'libxinerama' 'libxrandr' 'faad2' 'libvdpau' 'libcrystalhd-git') -makedepends=('yasm' 'libgl' 'subversion' 'rsync') -replaces=() -groups=('pvr') -#backup=(/usr/share/mythtv/is.xml) -#options=(!strip) -#MAKEFLAGS="-j6" -install='mythtv.install' -patchs=('smolt_jump.patch') -optdepends=('xmltv: to download tv listings') -#replaces=('mythtv-contrib') -#conflicts=('mythtv-contrib') -source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') - -build() { - _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" - _svnmod="${pkgname}" - - # get clean copy from SVN repo - if [ -d "${srcdir}/${pkgname}" ] - then - cd "${srcdir}/${pkgname}" - msg "Clean up previous build..." - make distclean - msg "Updating from SVN..." - svn up - else - cd "${srcdir}" - msg "Checking Out from SVN..." - svn co "${_svntrunk}/${_svnmod}" - cd "${srcdir}/${pkgname}" - fi - - # apply patches - echo "--------------------------applying patches----------------------------------------------------" - for i in `echo ${patchs[@]:0} ` - do - echo applying $i - echo "-----------------------------" - patch -Np0 -i ${startdir}/src/$i || return 1 - done - echo "--------------------------done applying patches-----------------------------------------------" - - sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro - find bindings/python contrib -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' - - ARCH=${CARCH/_/-} - ./configure --prefix=/usr --cpu=${ARCH} \ - --disable-audio-jack \ - --disable-audio-pulse \ - --disable-altivec \ - --disable-distcc \ - --disable-ccache \ - --enable-vdpau \ - --enable-crystalhd \ - --dvb-path=/usr/include \ - --enable-opengl-vsync \ - --with-bindings=perl,python --python=python2 || return 1 - - make all || return 1 -} - -package() { - cd "${srcdir}/${pkgname}" - # basic install - make INSTALL_ROOT="${pkgdir}" install - # install contrib files - rsync -arp --exclude .svn --delete-excluded contrib ${pkgdir}/usr/share/mythtv/ || return 1 - # install database structure - rsync -arp --exclude .svn --delete-excluded database ${pkgdir}/usr/share/mythtv/ || return 1 - # install docs - rsync -arp --exclude .svn --delete-excluded docs ${pkgdir}/usr/share/mythtv/ || return 1 - - # patch the xml LinHES style - cp -r ${startdir}/menu-xml/*.xml ${pkgdir}/usr/share/mythtv/themes/defaultmenu/ -# mv ${pkgdir}/usr/share/mythtv/themes/defaultmenu/is.xml ${pkgdir}/usr/share/mythtv/ - cd ${pkgdir}/usr/share/mythtv - patch -p0 < ${startdir}/menu-xml/mainmenu.xml.patch || return 1 - patch -p0 < ${startdir}/menu-xml/optical_menu.xml.patch || return 1 - patch -p0 < ${startdir}/menu-xml/library.xml.patch || return 1 - patch -p0 < ${startdir}/menu-xml/util_menu.xml.patch || return 1 - - # make log dir - mkdir -p ${pkgdir}/var/log/mythtv - chown 1000.1000 ${pkgdir}/var/log/mythtv - mkdir -p ${pkgdir}/etc/logrotate.d - cp ${srcdir}/*.lr ${pkgdir}/etc/logrotate.d - mkdir -p ${pkgdir}/etc/cron.hourly/ - install -m0755 ${srcdir}/pretty ${pkgdir}/etc/cron.hourly/ -} -md5sums=('7ef6de58240e7aad389a0b13d91b1cf6' - '2babd4b8e146a7538d18dcd55695b0be' - 'a837de9ccc201994320071e48952b17d' - 'f735805a80b0d1180dee01f9df1b7004' - 'f407d6af23e74a49540755420f84fa58' - '5469d9921b726db750b991c87d226158') diff --git a/abs/core/mythtv/stable-0.24/__changelog b/abs/core/mythtv/stable-0.24/__changelog deleted file mode 100644 index 940f84b..0000000 --- a/abs/core/mythtv/stable-0.24/__changelog +++ /dev/null @@ -1 +0,0 @@ -update to 0.24-fixes diff --git a/abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml b/abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml deleted file mode 100644 index ac52497..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/is.xml b/abs/core/mythtv/stable-0.24/menu-xml/is.xml deleted file mode 100644 index 88b7e6b..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/is.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch deleted file mode 100644 index be06e34..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- themes/defaultmenu/library.xml.orig 2010-11-06 00:39:51.000000000 +0000 -+++ themes/defaultmenu/library.xml 2010-11-06 00:44:54.000000000 +0000 -@@ -44,8 +44,7 @@ - STREAM - Play Online Streams - -- PLUGIN mythstream -- mythstream -+ MENU is.xml - - - - - - - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch deleted file mode 100644 index 0491803..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- themes/defaultmenu/mainmenu.xml.orig 2010-11-08 22:30:08.000000000 +0000 -+++ themes/defaultmenu/mainmenu.xml 2010-11-08 22:35:51.000000000 +0000 -@@ -2,6 +2,13 @@ - - - -+ -+ - - -- -- - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml b/abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml deleted file mode 100644 index 5914b33..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml b/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml deleted file mode 100644 index 8f5c285..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch deleted file mode 100644 index 143424f..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- themes/defaultmenu/optical_menu.xml.orig 2010-11-06 00:39:43.000000000 +0000 -+++ themes/defaultmenu/optical_menu.xml 2010-11-06 00:42:59.000000000 +0000 -@@ -26,6 +26,13 @@ - - - -+ -+ - - - - - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml b/abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml deleted file mode 100644 index e317b36..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml +++ /dev/null @@ -1,419 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/update.xml b/abs/core/mythtv/stable-0.24/menu-xml/update.xml deleted file mode 100644 index 5b28833..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/update.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/update2.xml b/abs/core/mythtv/stable-0.24/menu-xml/update2.xml deleted file mode 100644 index 2ab82ea..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/update2.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch deleted file mode 100644 index 82d303e..0000000 --- a/abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- themes/defaultmenu/util_menu.xml.orig 2010-11-06 00:40:01.000000000 +0000 -+++ themes/defaultmenu/util_menu.xml 2010-11-06 00:45:42.000000000 +0000 -@@ -17,6 +17,13 @@ - - - -+ -+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/abs/core/mythtv/stable-0.24/morethemes/PKGBUILD b/abs/core/mythtv/stable-0.24/morethemes/PKGBUILD new file mode 100644 index 0000000..c6368bc --- /dev/null +++ b/abs/core/mythtv/stable-0.24/morethemes/PKGBUILD @@ -0,0 +1,66 @@ +pkgname=morethemes +pkgver=0.24 +pkgrel=6 +pkgdesc="Additional themes for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('any') +depends=('mythtv') +groups=('mythtv-extras') +source=(#'ftp://ftp.knoppmyth.net/R6/sources/morethemes-0.23.tar.bz2' + 'ftp://miroku.no-ip.com/blue-abstract-wide.2010.09.16.tar.bz2' + 'http://elkin.de/mythtv/2010.09.08-blootube-ng.tar.bz2' + 'http://elkin.de/mythtv/2010.11.04-Willi.tar.lzma' + 'http://elkin.de/mythtv/2010.03.13-bando-blue.tar.bz2' + 'http://www.thepetersclan.com/files/TintedGlass-1.18.tbz2' + 'http://www.thepetersclan.com/files/Mod-Gray-OSD.tar.bz2' + 'http://www.thepetersclan.com/files/Bluebar-Hires-OSD.tar.bz2' + 'http://www.thepetersclan.com/files/BlueCurves-OSD.tar.bz2' + 'http://www.thepetersclan.com/files/SimplyBlue-OSD.tbz2' + 'http://www.thepetersclan.com/files/BlueCurves2-OSD.tbz2' + 'http://www.thepetersclan.com/files/BlueCurves-2.1-OSD.tbz2' + 'http://www.mythtv.org/themes/LCARS.tar.gz' + 'http://www.mythtv.org/themes/TransBlue.tar.gz' + 'http://www.westnet.com/~chris/Mythtv/Retro-wide.tar.gz' + 'retro-wide_video-ui.xml-filetypes.patch' + 'http://capnbry.net/~bmayland/fi/pvr150/SimpleGray-OSD-0.4.tar.bz2' + 'http://www.jobs-khakis-chicks.com/MythTV/IsthmusBlue-OSD.tar.gz' + 'http://static.castlesblog.com/public/Glass-OSD-V1.3.zip' + 'http://static.castlesblog.com/public/Minimal-OSD-V1.1.zip') + +build() { + cd ${srcdir} + mkdir -p ${pkgdir}/usr/share/mythtv/themes + + msg "Copying files..." + for d in `ls -d */` + do + cp -a "${d}" ${pkgdir}/usr/share/mythtv/themes + done + + # Housekeeping + rm -fr "${pkgdir}/usr/share/mythtv/themes/__MACOSX" || return 1 + # Little fix + cd ${pkgdir}/usr/share/mythtv/themes/Retro-wide || return 1 + patch -p0 <${srcdir}/retro-wide_video-ui.xml-filetypes.patch || return 1 +} + +md5sums=('878605505599a0f49c44f3df9affe10f' + '7c2a2b238b7d44e52b7a8a0361d395aa' + '2890f3b991db805a88a48eb6c7048f91' + 'c6d90fb469bc30a94e32f76c82122dd3' + '80d250bf87c8f72ee238a91c854c0a11' + 'c973d0779967034f7a5bc0043574d6f9' + 'fb32ddd900e54cff62a62a21025b2585' + '79247cf87bbee10363bb214325b7f671' + '67c501b80afdefeca623261634dafd9c' + '7b2f2eca37f2d9598b00bce85a193bae' + '9793dc85a486e1ad9d0c0b6684efd245' + 'a36bb7b2597a44128401b1aba9106122' + '21d6f967631e45b7039b965a63755282' + 'bfc56ffe1c872989f7a1cb7ae20aea49' + 'e05bb3d77a11f97a1d547b2f5bc1ddf7' + '09dd8679b56794f9850a2382b4e1ea62' + 'b6c187b233778abacce102fe609d4e09' + 'f8d4fd90f1e45512ea5237de59d5090d' + '5646e1df6f593f7116cbdec656146266') diff --git a/abs/core/mythtv/stable-0.24/morethemes/retro-wide_video-ui.xml-filetypes.patch b/abs/core/mythtv/stable-0.24/morethemes/retro-wide_video-ui.xml-filetypes.patch new file mode 100644 index 0000000..c98487f --- /dev/null +++ b/abs/core/mythtv/stable-0.24/morethemes/retro-wide_video-ui.xml-filetypes.patch @@ -0,0 +1,22 @@ +--- video-ui.xml.orig 2010-07-04 06:21:18.000000000 +0000 ++++ video-ui.xml 2010-07-04 06:22:22.000000000 +0000 +@@ -967,14 +967,17 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/myth.sh b/abs/core/mythtv/stable-0.24/myth.sh deleted file mode 100755 index fb7122c..0000000 --- a/abs/core/mythtv/stable-0.24/myth.sh +++ /dev/null @@ -1,4 +0,0 @@ -export PATH=$PATH:/usr/local/bin -# set core file size to 0 -ulimit -c 0 -export MALLOC_CHECK_=0 \ No newline at end of file diff --git a/abs/core/mythtv/stable-0.24/mythbackend b/abs/core/mythtv/stable-0.24/mythbackend deleted file mode 100755 index 93773a2..0000000 --- a/abs/core/mythtv/stable-0.24/mythbackend +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/mythbackend` -case "$1" in - start) - stat_busy "Starting MythTV Backend" - [ ! -e /var/run/mysqld.pid ] && echo -n "mysqld not started" && stat_fail && exit - [ -z "$PID" ] && /usr/bin/mythbackend -d -l /var/log/mythbackend.log -v important - if [ $? -gt 0 ]; then - stat_fail - else - echo $PID > /var/run/mythbackend.pid - add_daemon mythbackend - stat_done - fi - ;; - stop) - stat_busy "Stopping MythTV Backend" - [ ! -z "$PID" ] && kill $PID &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon mythbackend - stat_done - fi - ;; - restart) - $0 stop - sleep 1s - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/abs/core/mythtv/stable-0.24/mythbackend.lr b/abs/core/mythtv/stable-0.24/mythbackend.lr deleted file mode 100644 index 4f218bc..0000000 --- a/abs/core/mythtv/stable-0.24/mythbackend.lr +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/mythtv/mythbackend.log { - copytruncate - daily - size 10M - missingok - rotate 7 - compress - notifempty -} diff --git a/abs/core/mythtv/stable-0.24/mythbackend.sh b/abs/core/mythtv/stable-0.24/mythbackend.sh deleted file mode 100755 index e7a7b70..0000000 --- a/abs/core/mythtv/stable-0.24/mythbackend.sh +++ /dev/null @@ -1,117 +0,0 @@ -#!/bin/bash -# -# /etc/rc.d/init.d/mythbackend -# -# Starts the mythbackend as a daemon -# -# chkconfig: 345 90 10 -# description: Starts the mythbackend process as a daemon after the XWindows \ -# system is started, in runlevel 5. This allows scheduled \ -# recordings to occur without manual intervention. -# processname: mythbackend - -# Copyright (c) by Michael Thomson -# With thanks to Stu Tomlinson -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -# Default values to use if none are supplied in the config file. -# User who should start the mythbackend processes -MBE_USER="root" -# Directory holding the mythbackend binary -MBE_LOCATION="/usr/local/bin/" -# Name of mythbackend binary -MBE_PROG="mythbackend" -# Full path to mythbackend log file -MBE_LOGFILE="/var/log/mythtv/mythbackend.log" - -# Source function library. -. /etc/init.d/functions - -# Source config file if available -if [ -f "/etc/sysconfig/mythbackend" ]; then - . /etc/sysconfig/mythbackend -fi - -test -x ${MBE_LOCATION}${MBE_PROG} || exit 0 - -RETVAL=0 - -# -# See how we were called. -# - -start() { - # Check if mythbackend is already running - if [ ! -f /var/lock/subsys/${MBE_PROG} ]; then - echo -n "Starting ${MBE_PROG}: " - # /usr/local/bin/mythbackend -d -l /some/log/file - #daemon --user ${MBE_USER} ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} - ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} - RETVAL=$? - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/${MBE_PROG} - echo - fi - return $RETVAL -} - -stop() { - echo -n "Stopping ${MBE_PROG}: " - killproc ${MBE_LOCATION}${MBE_PROG} - RETVAL=$? - [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/${MBE_PROG} - echo - return $RETVAL -} - - -restart() { - stop - start -} - -reload() { - restart -} - -status_at() { - status ${MBE_LOCATION}${MBE_PROG} -} - -case "$1" in -start) - start - ;; -stop) - stop - ;; -reload|restart) - restart - ;; -condrestart) - if [ -f /var/lock/subsys/${MBE_PROG} ]; then - restart - fi - ;; -status) - status_at - ;; -*) - echo "Usage: $0 {start|stop|restart|condrestart|status}" - exit 1 -esac - -exit $? -exit $RETVAL diff --git a/abs/core/mythtv/stable-0.24/mythfrontend.lr b/abs/core/mythtv/stable-0.24/mythfrontend.lr deleted file mode 100644 index 1580533..0000000 --- a/abs/core/mythtv/stable-0.24/mythfrontend.lr +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/mythtv/mythfrontend.log { - copytruncate - daily - size 10M - missingok - rotate 7 - compress - notifempty -} diff --git a/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD b/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD new file mode 100644 index 0000000..85a7521 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD @@ -0,0 +1,145 @@ +# $Id: PKGBUILD 91281 2010-09-26 06:04:21Z remy $ +# Maintainer: Giovanni Scafora + +pkgbase=mythplugins +pkgname=('mythplugins-mytharchive' + 'mythplugins-mythbrowser' + 'mythplugins-mythgallery' + 'mythplugins-mythgame' + 'mythplugins-mythmusic' + 'mythplugins-mythnetvision' + 'mythplugins-mythnews' + 'mythplugins-mythvideo' + 'mythplugins-mythweather' + 'mythplugins-mythweb' + 'mythplugins-mythzoneminder') +pkgver=0.24 +pkgrel=6 +arch=('i686' 'x86_64') +url="http://www.mythtv.org" +license=('GPL') +conflicts=('mythmovies') +makedepends=("mythtv>=${pkgver}" 'mplayer' 'fftw' 'dvdauthor' 'libexif' + 'python-imaging' 'libcdaudio' 'taglib' 'perl-xml-simple' 'dcraw' + 'libvisual' 'perl-xml-xpath' 'perl-image-size' + 'perl-class-inspector' 'perl-datetime-format-iso8601' + 'flac' 'libvorbis' 'python2' 'python-pycurl' 'python-oauth') + +build() { + _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" + _svnmod="${pkgbase}" + + # get clean copy from SVN repo + if [ -d "${srcdir}/${pkgbase}" ] + then + cd "${srcdir}/${pkgbase}" + echo "Updating from SVN..." + svn up + else + cd "${srcdir}" + echo "Checking Out from SVN..." + svn co "${_svntrunk}/${_svnmod}" + fi + + cd "${srcdir}/${pkgbase}" + find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + + ./configure --prefix=/usr \ + --enable-all + + qmake mythplugins.pro || return 1 + make || return 1 +} + +package_mythplugins-mytharchive() { + pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows" + depends=("mythtv>=${pkgver}" 'libxmu' 'pil' 'dvdauthor') + replaces=('mytharchive') + cd "${srcdir}/${pkgbase}/mytharchive" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythbrowser() { + pkgdesc="Mini web browser for MythTV" + depends=("mythtv>=${pkgver}") + replaces=('mythbrowser') + cd "${srcdir}/${pkgbase}/mythbrowser" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythgallery() { + pkgdesc="Image gallery plugin for MythTV" + depends=("mythtv>=${pkgver}" 'libexif') + replaces=('mythgallery') + cd "${srcdir}/${pkgbase}/mythgallery" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythgame() { + pkgdesc="Game emulator module for MythTV" + depends=("mythtv>=${pkgver}" 'zlib') + replaces=('mythgame') + cd "${srcdir}/${pkgbase}/mythgame" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythmusic() { + pkgdesc="Music playing plugin for MythTV" + depends=("mythtv>=${pkgver}" 'flac' 'libvorbis' 'libcdaudio' 'cdparanoia' 'taglib' 'libvisual') + replaces=('mythmusic') + cd "${srcdir}/${pkgbase}/mythmusic" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythnetvision() { + pkgdesc="MythNetvision plugin for MythTV" + depends=("mythtv>=${pkgver}" 'python-pycurl' 'python-oauth') + replaces=('mythnetvision') + cd "${srcdir}/${pkgbase}/mythnetvision" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythnews() { + pkgdesc="News checking plugin for MythTV" + depends=("mythtv>=${pkgver}") + replaces=('mythnews') + cd "${srcdir}/${pkgbase}/mythnews" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythvideo() { + pkgdesc="Video playback and browsing plugin for MythTV" + depends=("mythtv>=${pkgver}" 'mplayer' 'perl-xml-simple') + replaces=('mythvideo') + cd "${srcdir}/${pkgbase}/mythvideo" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythweather() { + pkgdesc="Weather checking plugin for MythTV" + depends=("mythtv>=${pkgver}" 'perl-xml-xpath' 'perl-image-size' 'perl-class-inspector' 'perl-datetime-format-iso8601') + replaces=('mythweather') + cd "${srcdir}/${pkgbase}/mythweather" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythweb() { + pkgdesc="Web interface for MythTV's backend" + depends=("mythtv>=${pkgver}") + optdepends=('php-apache' + 'lighttpd') + replaces=('mythweb') + mkdir -p ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions} + cp -r ${srcdir}/mythplugins/mythweb/* ${pkgdir}/data/srv/httpd/htdocs/mythweb || return 1 + chown -R http:http ${pkgdir}/data/srv/httpd/htdocs/mythweb + chmod g+rw ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions,data} +} + +package_mythplugins-mythzoneminder() { + pkgdesc="Allows for viewing of CCTV cameras through zoneminder" + depends=("mythtv>=${pkgver}" zoneminder) + replaces=('mythzoneminder') +# install=mythplugins-mythzoneminder.install + cd "${srcdir}/${pkgbase}/mythzoneminder" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} diff --git a/abs/core/mythtv/stable-0.24/mythplugins/mtd b/abs/core/mythtv/stable-0.24/mythplugins/mtd new file mode 100644 index 0000000..1f46dfe --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythplugins/mtd @@ -0,0 +1,36 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/mtd` +case "$1" in + start) + stat_busy "Starting Myth Transcoding Daemon" + [ -z "$PID" ] && /usr/bin/mtd -d + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/mtd.pid + add_daemon mythtranscode + stat_done + fi + ;; + stop) + stat_busy "Stopping Myth Transcoding Daemon" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon mtd + stat_done + fi + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/core/mythtv/stable-0.24/mythplugins/mythplugins-mythzoneminder.install b/abs/core/mythtv/stable-0.24/mythplugins/mythplugins-mythzoneminder.install new file mode 100644 index 0000000..142212b --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythplugins/mythplugins-mythzoneminder.install @@ -0,0 +1,3 @@ +post_install() { + echo "If you want to use this plugin, install zoneminder from AUR." +} diff --git a/abs/core/mythtv/stable-0.24/mythplugins/qt-4.7-buildfixes.diff b/abs/core/mythtv/stable-0.24/mythplugins/qt-4.7-buildfixes.diff new file mode 100644 index 0000000..dcffebe --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythplugins/qt-4.7-buildfixes.diff @@ -0,0 +1,26 @@ +Index: /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp +=================================================================== +--- /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp (revision 24265) ++++ /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp (revision 26391) +@@ -45,7 +45,7 @@ + m_progress(NULL), m_busyPopup(NULL), + m_okPopup(NULL), m_popupStack(), +- m_netSearch(), m_currentSearch(NULL), +- m_currentGrabber(0), m_currentCmd(NULL), +- m_currentDownload(NULL), m_pagenum(0), ++ m_netSearch(), m_currentSearch(QString()), ++ m_currentGrabber(0), m_currentCmd(QString()), ++ m_currentDownload(QString()), m_pagenum(0), + m_lock(QMutex::Recursive) + { +Index: /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h +=================================================================== +--- /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h (revision 22916) ++++ /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h (revision 26391) +@@ -151,5 +151,5 @@ + QString GetCoverImage(MythGenericTree *node); + QString GetFirstImage(MythGenericTree *node, QString type, +- QString gpnode = NULL, int levels = 0); ++ QString gpnode = QString(), int levels = 0); + QString GetImageFromFolder(Metadata *metadata); + QString GetScreenshot(MythGenericTree *node); diff --git a/abs/core/mythtv/stable-0.24/mythsmolt/PKGBUILD b/abs/core/mythtv/stable-0.24/mythsmolt/PKGBUILD new file mode 100644 index 0000000..d509d30 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythsmolt/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=mythsmolt +pkgver=0.24 +pkgrel=6 +pkgdesc="mythsmolt, a hardware profileing tool" +arch=('i686' 'x86_64') +url="http://www.mythvantage.com" +license=('GPL') +depends=("mythtv>=${pkgver}" urlgrabber python-simplejson python-pycurl) +#source=("http://jmeyer.us/download/mythsmolt.tar.gz" 'smolt_init_login.sh' 'mythsmolt.patch') +source=("http://jmeyer.us/download/mythsmolt.tar.gz" 'smolt_init_login.sh' ) + +groups=('mythtv-extras') + +build() { + cd $startdir/src/mythsmolt +# patch -p1 < ../mythsmolt.patch || return 1 + ./configure.sh + make || return 1 + make INSTALL_ROOT=$startdir/pkg install + install -D -m 755 $srcdir/smolt_init_login.sh $pkgdir/etc/profile.d/smolt_init_login.sh +} +md5sums=('17d740c348301ab47ac557ad7402115b' + '57a3416d90e59abbd5062436583c17e1') diff --git a/abs/core/mythtv/stable-0.24/mythsmolt/mythsmolt.patch b/abs/core/mythtv/stable-0.24/mythsmolt/mythsmolt.patch new file mode 100644 index 0000000..4767865 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythsmolt/mythsmolt.patch @@ -0,0 +1,8 @@ +diff -ruaN mythsmolt.orig/settings.pro mythsmolt/settings.pro +--- mythsmolt.orig/settings.pro 2010-01-06 15:49:59.000000000 +0000 ++++ mythsmolt/settings.pro 2010-05-28 03:30:59.000000000 +0000 +@@ -1,3 +1,3 @@ + +-LIBVERSION = 0.24 ++LIBVERSION = 0.24 + diff --git a/abs/core/mythtv/stable-0.24/mythsmolt/smolt_init_login.sh b/abs/core/mythtv/stable-0.24/mythsmolt/smolt_init_login.sh new file mode 100644 index 0000000..0b76305 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythsmolt/smolt_init_login.sh @@ -0,0 +1,39 @@ +if [ $UID = 0 -o $UID = 1000 ] +then + INIT=`ps -p 1 -o comm=` + if [ x$INIT = xrunit ] + then + if [[ -f /home/mythtv/.configure && $- = *i* ]] + then + if [ ! -z "$PS1" ] + then + if [ $0 = "-bash" ] + then + if [ ! -e /home/mythtv/.mythtv/MythSmolt/hw-uuid ] + then + echo "" + echo "####################################################" + echo "It appears you have not yet run smolt" + echo "Please take the time to submit your hardware profile" + echo "" + echo "press any key to continue:" + echo "####################################################" + read a + mkdir -p /home/mythtv/.mythtv/MythSmolt + chown -R mythtv:users /home/mythtv/.mythtv/MythSmolt + + if [ $UID = 0 ] + then + su mythtv -c "/usr/share/mythtv/mythsmolt/scripts/sendProfile.py" && su mythtv -c "touch /home/mythtv/.mythtv/MythSmolt/hw-uuid" + else + /usr/share/mythtv/mythsmolt/scripts/sendProfile.py && touch /home/mythtv/.mythtv/MythSmolt/hw-uuid + fi + fi + fi + fi + fi + fi +fi + + + diff --git a/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD b/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD new file mode 100644 index 0000000..7c19e5a --- /dev/null +++ b/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 86938 2010-08-06 21:53:33Z ibiru $ +# Maintainer: Giovanni Scafora +# Contributor: Juergen Hoetzel +# Contributor: kleptophobiac@gmail.com + +pkgname=myththemes +pkgver=0.24 +pkgrel=6 +pkgdesc="Themes for MythTV" +arch=('any') +url="http://www.mythtv.org/" +license=('GPL') +depends=("mythtv>=${pkgver}") +source=(`echo ${patches[@]:0}`) + +build() { + _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" + _svnmod="${pkgname}" + + # get clean copy from SVN repo + if [ -d "${srcdir}/${pkgname}" ] + then + cd "${srcdir}/${pkgname}" + msg "Clean up from previous build..." + make distclean + msg "Updating from SVN..." + svn up + else + cd "${srcdir}" + msg "Checking Out from SVN..." + svn co "${_svntrunk}/${_svnmod}" + cd "${srcdir}/${pkgname}" + fi + + # apply patches + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patchs[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + cd "${srcdir}/${pkgname}" + ./configure --prefix=/usr || return 1 +} +package() { + cd "${srcdir}/${pkgname}" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} diff --git a/abs/core/mythtv/stable-0.24/mythtv.install b/abs/core/mythtv/stable-0.24/mythtv.install deleted file mode 100755 index 0524f86..0000000 --- a/abs/core/mythtv/stable-0.24/mythtv.install +++ /dev/null @@ -1,47 +0,0 @@ -# arg 1: the new package version -post_install() { - if [ ! -d /var/log/mythtv ] - then - mkdir -p /var/log/mythv - chown -R mythtv /var/log/mythtv - echo "---" > /var/log/mythtv/mythbackend.log - chown mythtv /var/log/mythtv/mythbackend.log - fi - ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml -} - -pre_upgrade() { - if [ ! -L /usr/share/mythtv/is.xml ] - then - mv /usr/share/mythtv/is.xml /usr/share/mythtv/is.xml.pre - else - mv /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/themes/defaultmenu/is.xml.pre - fi -} - -post_upgrade() { - if [ ! -d /var/log/mythtv ] - then - mkdir -p /var/log/mythv - chown -R mythtv /var/log/mythtv - fi - if [ -e /usr/share/mythtv/is.xml.pre ] - then - rm -fr /usr/share/mythtv/themes/defaultmenu/is.xml - mv /usr/share/mythtv/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml - ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml - else - mv /usr/share/mythtv/themes/defaultmenu/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml - fi -} - - -# arg 1: the old package version -post_remove() { - /bin/true - -} - -op=$1 -shift -$op $* diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD new file mode 100755 index 0000000..5548edd --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD @@ -0,0 +1,113 @@ +# $Id: PKGBUILD 91139 2010-09-23 10:45:09Z remy $ +# Maintainer: Giovanni Scafora +# Contributor: Juergen Hoetzel +# Contributor: +# Contributor: dorphell + +pkgname=mythtv +pkgver=0.24 +pkgrel=6 +pkgdesc="A Homebrew PVR project" +arch=('i686' 'x86_64') +url="http://www.mythtv.org/" +license=('GPL') +depends=('mysql-clients' 'qt' 'lame' 'lirc-utils' 'ffmpeg-svn' 'libxvmc' + 'fribidi' 'perl-soap-lite' 'perl-date-manip' 'perl-xml-sax' + 'perl-math-round' 'perl-net-upnp' 'perl-dbd-mysql' 'perl-time-hires' + 'libavc1394' 'wget' 'libiec61883' 'mysql-python' 'python-lxml' + 'mesa' 'libxinerama' 'libxrandr' 'faad2' 'libvdpau' 'libcrystalhd-git') +makedepends=('yasm' 'libgl' 'subversion' 'rsync') +replaces=() +groups=('pvr') +#backup=(/usr/share/mythtv/is.xml) +#options=(!strip) +#MAKEFLAGS="-j6" +install='mythtv.install' +patchs=('smolt_jump.patch') +optdepends=('xmltv: to download tv listings') +#replaces=('mythtv-contrib') +#conflicts=('mythtv-contrib') +source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') + +build() { + _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" + _svnmod="${pkgname}" + + # get clean copy from SVN repo + if [ -d "${srcdir}/${pkgname}" ] + then + cd "${srcdir}/${pkgname}" + msg "Clean up previous build..." + make distclean + msg "Updating from SVN..." + svn up + else + cd "${srcdir}" + msg "Checking Out from SVN..." + svn co "${_svntrunk}/${_svnmod}" + cd "${srcdir}/${pkgname}" + fi + + # apply patches + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patchs[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro + find bindings/python contrib -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + + ARCH=${CARCH/_/-} + ./configure --prefix=/usr --cpu=${ARCH} \ + --disable-audio-jack \ + --disable-audio-pulse \ + --disable-altivec \ + --disable-distcc \ + --disable-ccache \ + --enable-vdpau \ + --enable-crystalhd \ + --dvb-path=/usr/include \ + --enable-opengl-vsync \ + --with-bindings=perl,python --python=python2 || return 1 + + make all || return 1 +} + +package() { + cd "${srcdir}/${pkgname}" + # basic install + make INSTALL_ROOT="${pkgdir}" install + # install contrib files + rsync -arp --exclude .svn --delete-excluded contrib ${pkgdir}/usr/share/mythtv/ || return 1 + # install database structure + rsync -arp --exclude .svn --delete-excluded database ${pkgdir}/usr/share/mythtv/ || return 1 + # install docs + rsync -arp --exclude .svn --delete-excluded docs ${pkgdir}/usr/share/mythtv/ || return 1 + + # patch the xml LinHES style + cp -r ${startdir}/menu-xml/*.xml ${pkgdir}/usr/share/mythtv/themes/defaultmenu/ +# mv ${pkgdir}/usr/share/mythtv/themes/defaultmenu/is.xml ${pkgdir}/usr/share/mythtv/ + cd ${pkgdir}/usr/share/mythtv + patch -p0 < ${startdir}/menu-xml/mainmenu.xml.patch || return 1 + patch -p0 < ${startdir}/menu-xml/optical_menu.xml.patch || return 1 + patch -p0 < ${startdir}/menu-xml/library.xml.patch || return 1 + patch -p0 < ${startdir}/menu-xml/util_menu.xml.patch || return 1 + + # make log dir + mkdir -p ${pkgdir}/var/log/mythtv + chown 1000.1000 ${pkgdir}/var/log/mythtv + mkdir -p ${pkgdir}/etc/logrotate.d + cp ${srcdir}/*.lr ${pkgdir}/etc/logrotate.d + mkdir -p ${pkgdir}/etc/cron.hourly/ + install -m0755 ${srcdir}/pretty ${pkgdir}/etc/cron.hourly/ +} +md5sums=('7ef6de58240e7aad389a0b13d91b1cf6' + '2babd4b8e146a7538d18dcd55695b0be' + 'a837de9ccc201994320071e48952b17d' + 'f735805a80b0d1180dee01f9df1b7004' + 'f407d6af23e74a49540755420f84fa58' + '5469d9921b726db750b991c87d226158') diff --git a/abs/core/mythtv/stable-0.24/mythtv/__changelog b/abs/core/mythtv/stable-0.24/mythtv/__changelog new file mode 100644 index 0000000..940f84b --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/__changelog @@ -0,0 +1 @@ +update to 0.24-fixes diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/HOST_SETTINGS.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/HOST_SETTINGS.xml new file mode 100644 index 0000000..ac52497 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/HOST_SETTINGS.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/is.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/is.xml new file mode 100644 index 0000000..88b7e6b --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/is.xml @@ -0,0 +1,3 @@ + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/library.xml.patch b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/library.xml.patch new file mode 100644 index 0000000..be06e34 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/library.xml.patch @@ -0,0 +1,12 @@ +--- themes/defaultmenu/library.xml.orig 2010-11-06 00:39:51.000000000 +0000 ++++ themes/defaultmenu/library.xml 2010-11-06 00:44:54.000000000 +0000 +@@ -44,8 +44,7 @@ + STREAM + Play Online Streams + +- PLUGIN mythstream +- mythstream ++ MENU is.xml + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mainmenu.xml.patch b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mainmenu.xml.patch new file mode 100644 index 0000000..0491803 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mainmenu.xml.patch @@ -0,0 +1,37 @@ +--- themes/defaultmenu/mainmenu.xml.orig 2010-11-08 22:30:08.000000000 +0000 ++++ themes/defaultmenu/mainmenu.xml 2010-11-08 22:35:51.000000000 +0000 +@@ -2,6 +2,13 @@ + + + ++ ++ + + +- +- + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mythbackup.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mythbackup.xml new file mode 100644 index 0000000..5914b33 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mythbackup.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mythrestore.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mythrestore.xml new file mode 100644 index 0000000..8f5c285 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/mythrestore.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/optical_menu.xml.patch b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/optical_menu.xml.patch new file mode 100644 index 0000000..143424f --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/optical_menu.xml.patch @@ -0,0 +1,16 @@ +--- themes/defaultmenu/optical_menu.xml.orig 2010-11-06 00:39:43.000000000 +0000 ++++ themes/defaultmenu/optical_menu.xml 2010-11-06 00:42:59.000000000 +0000 +@@ -26,6 +26,13 @@ + + + ++ ++ + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/siriusmenu.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/siriusmenu.xml new file mode 100644 index 0000000..e317b36 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/siriusmenu.xml @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml new file mode 100644 index 0000000..5b28833 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml new file mode 100644 index 0000000..2ab82ea --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml @@ -0,0 +1,26 @@ + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/util_menu.xml.patch b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/util_menu.xml.patch new file mode 100644 index 0000000..82d303e --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/util_menu.xml.patch @@ -0,0 +1,16 @@ +--- themes/defaultmenu/util_menu.xml.orig 2010-11-06 00:40:01.000000000 +0000 ++++ themes/defaultmenu/util_menu.xml 2010-11-06 00:45:42.000000000 +0000 +@@ -17,6 +17,13 @@ + + + ++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/mythtv/myth.sh b/abs/core/mythtv/stable-0.24/mythtv/myth.sh new file mode 100755 index 0000000..fb7122c --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/myth.sh @@ -0,0 +1,4 @@ +export PATH=$PATH:/usr/local/bin +# set core file size to 0 +ulimit -c 0 +export MALLOC_CHECK_=0 \ No newline at end of file diff --git a/abs/core/mythtv/stable-0.24/mythtv/mythbackend b/abs/core/mythtv/stable-0.24/mythtv/mythbackend new file mode 100755 index 0000000..93773a2 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/mythbackend @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/mythbackend` +case "$1" in + start) + stat_busy "Starting MythTV Backend" + [ ! -e /var/run/mysqld.pid ] && echo -n "mysqld not started" && stat_fail && exit + [ -z "$PID" ] && /usr/bin/mythbackend -d -l /var/log/mythbackend.log -v important + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/mythbackend.pid + add_daemon mythbackend + stat_done + fi + ;; + stop) + stat_busy "Stopping MythTV Backend" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon mythbackend + stat_done + fi + ;; + restart) + $0 stop + sleep 1s + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/core/mythtv/stable-0.24/mythtv/mythbackend.lr b/abs/core/mythtv/stable-0.24/mythtv/mythbackend.lr new file mode 100644 index 0000000..4f218bc --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/mythbackend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythbackend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core/mythtv/stable-0.24/mythtv/mythbackend.sh b/abs/core/mythtv/stable-0.24/mythtv/mythbackend.sh new file mode 100755 index 0000000..e7a7b70 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/mythbackend.sh @@ -0,0 +1,117 @@ +#!/bin/bash +# +# /etc/rc.d/init.d/mythbackend +# +# Starts the mythbackend as a daemon +# +# chkconfig: 345 90 10 +# description: Starts the mythbackend process as a daemon after the XWindows \ +# system is started, in runlevel 5. This allows scheduled \ +# recordings to occur without manual intervention. +# processname: mythbackend + +# Copyright (c) by Michael Thomson +# With thanks to Stu Tomlinson +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +# Default values to use if none are supplied in the config file. +# User who should start the mythbackend processes +MBE_USER="root" +# Directory holding the mythbackend binary +MBE_LOCATION="/usr/local/bin/" +# Name of mythbackend binary +MBE_PROG="mythbackend" +# Full path to mythbackend log file +MBE_LOGFILE="/var/log/mythtv/mythbackend.log" + +# Source function library. +. /etc/init.d/functions + +# Source config file if available +if [ -f "/etc/sysconfig/mythbackend" ]; then + . /etc/sysconfig/mythbackend +fi + +test -x ${MBE_LOCATION}${MBE_PROG} || exit 0 + +RETVAL=0 + +# +# See how we were called. +# + +start() { + # Check if mythbackend is already running + if [ ! -f /var/lock/subsys/${MBE_PROG} ]; then + echo -n "Starting ${MBE_PROG}: " + # /usr/local/bin/mythbackend -d -l /some/log/file + #daemon --user ${MBE_USER} ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} + ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} + RETVAL=$? + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/${MBE_PROG} + echo + fi + return $RETVAL +} + +stop() { + echo -n "Stopping ${MBE_PROG}: " + killproc ${MBE_LOCATION}${MBE_PROG} + RETVAL=$? + [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/${MBE_PROG} + echo + return $RETVAL +} + + +restart() { + stop + start +} + +reload() { + restart +} + +status_at() { + status ${MBE_LOCATION}${MBE_PROG} +} + +case "$1" in +start) + start + ;; +stop) + stop + ;; +reload|restart) + restart + ;; +condrestart) + if [ -f /var/lock/subsys/${MBE_PROG} ]; then + restart + fi + ;; +status) + status_at + ;; +*) + echo "Usage: $0 {start|stop|restart|condrestart|status}" + exit 1 +esac + +exit $? +exit $RETVAL diff --git a/abs/core/mythtv/stable-0.24/mythtv/mythfrontend.lr b/abs/core/mythtv/stable-0.24/mythtv/mythfrontend.lr new file mode 100644 index 0000000..1580533 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/mythfrontend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythfrontend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core/mythtv/stable-0.24/mythtv/mythtv.install b/abs/core/mythtv/stable-0.24/mythtv/mythtv.install new file mode 100755 index 0000000..0524f86 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/mythtv.install @@ -0,0 +1,47 @@ +# arg 1: the new package version +post_install() { + if [ ! -d /var/log/mythtv ] + then + mkdir -p /var/log/mythv + chown -R mythtv /var/log/mythtv + echo "---" > /var/log/mythtv/mythbackend.log + chown mythtv /var/log/mythtv/mythbackend.log + fi + ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml +} + +pre_upgrade() { + if [ ! -L /usr/share/mythtv/is.xml ] + then + mv /usr/share/mythtv/is.xml /usr/share/mythtv/is.xml.pre + else + mv /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/themes/defaultmenu/is.xml.pre + fi +} + +post_upgrade() { + if [ ! -d /var/log/mythtv ] + then + mkdir -p /var/log/mythv + chown -R mythtv /var/log/mythtv + fi + if [ -e /usr/share/mythtv/is.xml.pre ] + then + rm -fr /usr/share/mythtv/themes/defaultmenu/is.xml + mv /usr/share/mythtv/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml + ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml + else + mv /usr/share/mythtv/themes/defaultmenu/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml + fi +} + + +# arg 1: the old package version +post_remove() { + /bin/true + +} + +op=$1 +shift +$op $* diff --git a/abs/core/mythtv/stable-0.24/mythtv/pretty b/abs/core/mythtv/stable-0.24/mythtv/pretty new file mode 100755 index 0000000..7e0ab21 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/pretty @@ -0,0 +1,9 @@ +#!/bin/bash +if [ -f /usr/share/mythtv/contrib/user_jobs/mythlink.pl ] +then + su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythlink.pl --link /myth/pretty" +elif [ -f /usr/share/mythtv/contrib/user_jobs/mythrename.pl ] +then + su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythrename.pl --link /myth/pretty" +fi + diff --git a/abs/core/mythtv/stable-0.24/mythtv/smolt_jump.patch b/abs/core/mythtv/stable-0.24/mythtv/smolt_jump.patch new file mode 100644 index 0000000..76f884c --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/smolt_jump.patch @@ -0,0 +1,10 @@ +--- programs/mythfrontend/networkcontrol.cpp.orig 2010-11-08 23:07:04.000000000 +0000 ++++ programs/mythfrontend/networkcontrol.cpp 2010-11-08 23:08:06.000000000 +0000 +@@ -88,6 +88,7 @@ + jumpMap["zoneminderliveview"] = "ZoneMinder Live View"; + jumpMap["zoneminderevents"] = "ZoneMinder Events"; + jumpMap["snapshot"] = "ScreenShot"; ++ jumpMap["mythsmolt"] = "MythSmolt"; + + jumpMap["channelrecpriority"] = "Channel Recording Priorities"; + jumpMap["viewscheduled"] = "Manage Recordings / Fix Conflicts"; diff --git a/abs/core/mythtv/stable-0.24/pretty b/abs/core/mythtv/stable-0.24/pretty deleted file mode 100755 index 7e0ab21..0000000 --- a/abs/core/mythtv/stable-0.24/pretty +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -if [ -f /usr/share/mythtv/contrib/user_jobs/mythlink.pl ] -then - su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythlink.pl --link /myth/pretty" -elif [ -f /usr/share/mythtv/contrib/user_jobs/mythrename.pl ] -then - su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythrename.pl --link /myth/pretty" -fi - diff --git a/abs/core/mythtv/stable-0.24/smolt_jump.patch b/abs/core/mythtv/stable-0.24/smolt_jump.patch deleted file mode 100644 index 76f884c..0000000 --- a/abs/core/mythtv/stable-0.24/smolt_jump.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- programs/mythfrontend/networkcontrol.cpp.orig 2010-11-08 23:07:04.000000000 +0000 -+++ programs/mythfrontend/networkcontrol.cpp 2010-11-08 23:08:06.000000000 +0000 -@@ -88,6 +88,7 @@ - jumpMap["zoneminderliveview"] = "ZoneMinder Live View"; - jumpMap["zoneminderevents"] = "ZoneMinder Events"; - jumpMap["snapshot"] = "ScreenShot"; -+ jumpMap["mythsmolt"] = "MythSmolt"; - - jumpMap["channelrecpriority"] = "Channel Recording Priorities"; - jumpMap["viewscheduled"] = "Manage Recordings / Fix Conflicts"; -- cgit v0.12