From cd93c8ee5f2f5c40d6dd56c2c45d54560b052852 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:49:08 +0000 Subject: mythtv: upgrade to 0.24 - untested --- abs/core/mythtv/old/stable-0.23/clean_all.sh | 22 + .../mythtv/old/stable-0.23/morethemes/PKGBUILD | 46 ++ .../retro-wide_video-ui.xml-filetypes.patch | 22 + abs/core/mythtv/old/stable-0.23/mp_all.sh | 30 ++ .../mythtv/old/stable-0.23/mytharchive/PKGBUILD | 47 ++ .../mythtv/old/stable-0.23/mythbrowser/PKGBUILD | 47 ++ .../mythtv/old/stable-0.23/mythgallery/PKGBUILD | 45 ++ abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD | 47 ++ .../mythtv/old/stable-0.23/mythmovies/PKGBUILD | 48 ++ abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD | 51 ++ .../mythtv/old/stable-0.23/mythnetvision/PKGBUILD | 47 ++ abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD | 47 ++ abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD | 23 + .../old/stable-0.23/mythsmolt/mythsmolt.patch | 8 + .../old/stable-0.23/mythsmolt/smolt_init_login.sh | 39 ++ .../mythtv/old/stable-0.23/myththemes/PKGBUILD | 47 ++ abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD | 102 ++++ .../stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml | 94 ++++ .../mythtv/old/stable-0.23/mythtv/menu-xml/is.xml | 3 + .../stable-0.23/mythtv/menu-xml/library.xml.patch | 12 + .../old/stable-0.23/mythtv/menu-xml/linhes.xml | 59 +++ .../stable-0.23/mythtv/menu-xml/mainmenu.xml.patch | 95 ++++ .../old/stable-0.23/mythtv/menu-xml/mythbackup.xml | 20 + .../stable-0.23/mythtv/menu-xml/mythrestore.xml | 20 + .../mythtv/menu-xml/optical_menu.xml.patch | 16 + .../mythtv/menu-xml/original/create_patch.sh | 5 + .../old/stable-0.23/mythtv/menu-xml/setup.xml | 111 ++++ .../old/stable-0.23/mythtv/menu-xml/siriusmenu.xml | 419 +++++++++++++++ .../old/stable-0.23/mythtv/menu-xml/update.xml | 20 + .../old/stable-0.23/mythtv/menu-xml/update2.xml | 26 + .../mythtv/menu-xml/util_menu.xml.patch | 16 + .../old/stable-0.23/mythtv/menu-xml/xmmenu.xml | 574 +++++++++++++++++++++ abs/core/mythtv/old/stable-0.23/mythtv/myth.sh | 4 + abs/core/mythtv/old/stable-0.23/mythtv/mythbackend | 38 ++ .../mythtv/old/stable-0.23/mythtv/mythbackend.lr | 9 + .../mythtv/old/stable-0.23/mythtv/mythbackend.sh | 117 +++++ .../mythtv/old/stable-0.23/mythtv/mythfrontend.lr | 9 + .../mythtv/old/stable-0.23/mythtv/mythtv.install | 47 ++ abs/core/mythtv/old/stable-0.23/mythtv/pretty | 9 + .../mythtv/old/stable-0.23/mythtv/smolt_jump.patch | 30 ++ abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD | 47 ++ .../mythtv/old/stable-0.23/mythweather/PKGBUILD | 47 ++ abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD | 46 ++ .../mythtv/old/stable-0.23/mythweb/mythweb.install | 10 + .../mythtv/old/stable-0.23/mythzoneminder/PKGBUILD | 47 ++ abs/core/mythtv/stable-0.24/PKGBUILD | 119 +++++ 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 | 35 ++ .../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/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/mythtv.install | 47 ++ abs/core/mythtv/stable-0.24/pretty | 9 + abs/core/mythtv/stable-0.24/smolt_jump.patch | 30 ++ 70 files changed, 4481 insertions(+) create mode 100755 abs/core/mythtv/old/stable-0.23/clean_all.sh create mode 100755 abs/core/mythtv/old/stable-0.23/morethemes/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/morethemes/retro-wide_video-ui.xml-filetypes.patch create mode 100755 abs/core/mythtv/old/stable-0.23/mp_all.sh create mode 100644 abs/core/mythtv/old/stable-0.23/mytharchive/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythbrowser/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythgallery/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythmovies/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythnetvision/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythsmolt/mythsmolt.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythsmolt/smolt_init_login.sh create mode 100755 abs/core/mythtv/old/stable-0.23/myththemes/PKGBUILD create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/is.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/library.xml.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/linhes.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mainmenu.xml.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mythbackup.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mythrestore.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/optical_menu.xml.patch create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/original/create_patch.sh create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/setup.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/siriusmenu.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/update.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/update2.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/util_menu.xml.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/xmmenu.xml create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/myth.sh create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/mythbackend create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.lr create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.sh create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/mythfrontend.lr create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/mythtv.install create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/pretty create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/smolt_jump.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythweather/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythweb/mythweb.install create mode 100644 abs/core/mythtv/old/stable-0.23/mythzoneminder/PKGBUILD create mode 100755 abs/core/mythtv/stable-0.24/PKGBUILD create mode 100644 abs/core/mythtv/stable-0.24/__changelog create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/is.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/linhes.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch create mode 100755 abs/core/mythtv/stable-0.24/menu-xml/original/create_patch.sh create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/setup.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/update.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/update2.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/xmmenu.xml create mode 100755 abs/core/mythtv/stable-0.24/myth.sh create mode 100755 abs/core/mythtv/stable-0.24/mythbackend create mode 100644 abs/core/mythtv/stable-0.24/mythbackend.lr create mode 100755 abs/core/mythtv/stable-0.24/mythbackend.sh create mode 100644 abs/core/mythtv/stable-0.24/mythfrontend.lr create mode 100755 abs/core/mythtv/stable-0.24/mythtv.install create mode 100755 abs/core/mythtv/stable-0.24/pretty create mode 100644 abs/core/mythtv/stable-0.24/smolt_jump.patch diff --git a/abs/core/mythtv/old/stable-0.23/clean_all.sh b/abs/core/mythtv/old/stable-0.23/clean_all.sh new file mode 100755 index 0000000..b56450e --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/clean_all.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnetvision' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes') + +# clean up current directory +rm -f *~ + +# clean up mythtv directories +for i in `echo ${buildlist[@]:0}` +do + echo "-- cleaning $i" + cd ./$i + + # clean up everything + rm -rf pkg src + rm -f *~ + + cd .. +done + +echo "DONE!" + diff --git a/abs/core/mythtv/old/stable-0.23/morethemes/PKGBUILD b/abs/core/mythtv/old/stable-0.23/morethemes/PKGBUILD new file mode 100755 index 0000000..9633db1 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/morethemes/PKGBUILD @@ -0,0 +1,46 @@ +pkgname=morethemes +pkgver=0.23 +pkgrel=29 +pkgdesc="Additional themes for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') +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.05.26.tar.bz2' + 'http://elkin.de/mythtv/2010.06.13-Willi.tar.bz2' + 'http://elkin.de/mythtv/2010.03.13-bando-blue.tar.bz2' + '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') + +build() { + + cd $startdir/src/ + mkdir -p $pkgdir/usr/share/mythtv + cp -a themes $pkgdir/usr/share/mythtv + chmod 644 -R blue-abstract-wide + chmod +X -R blue-abstract-wide + cp -a blue-abstract-wide $pkgdir/usr/share/mythtv/themes + chmod 644 -R Willi + chmod +X -R Willi + cp -a Willi $pkgdir/usr/share/mythtv/themes + chmod 644 -R bando-blue + chmod +X -R bando-blue + cp -a bando-blue $pkgdir/usr/share/mythtv/themes + cp -a LCARS $pkgdir/usr/share/mythtv/themes + cp -a TransBlue $pkgdir/usr/share/mythtv/themes + cp -a Retro-wide $pkgdir/usr/share/mythtv/themes + cd $pkgdir/usr/share/mythtv/themes/Retro-wide + patch -p0 <${srcdir}/retro-wide_video-ui.xml-filetypes.patch +} +md5sums=('5672c0e8604f7b1610fa9a1c7626423c' + 'ddc9c7c481664df048b83b7de0731c44' + '3c9fbcc9495eb2b0a0fd5ae61acc779a' + 'c6d90fb469bc30a94e32f76c82122dd3' + 'a36bb7b2597a44128401b1aba9106122' + '21d6f967631e45b7039b965a63755282' + '526e806848cd4d0ae57883ba18edc6af' + '45ff91449f31ac2546c82f559d2e8394') diff --git a/abs/core/mythtv/old/stable-0.23/morethemes/retro-wide_video-ui.xml-filetypes.patch b/abs/core/mythtv/old/stable-0.23/morethemes/retro-wide_video-ui.xml-filetypes.patch new file mode 100644 index 0000000..e5465dc --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/mp_all.sh b/abs/core/mythtv/old/stable-0.23/mp_all.sh new file mode 100755 index 0000000..38a5995 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mp_all.sh @@ -0,0 +1,30 @@ +#!/bin/sh +pkgver=0.23 +pkgrel=31 + +# NOTE: Make sure to build and install mythtv first BEFORE building anything else +buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnetvision' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes') + +# build and install +for i in `echo ${buildlist[@]:0}` +do + echo "---------- building $i ----------" + cd ./$i + + # set svn version in the PKGBUILD + sed -i s/^pkgver=.*/pkgver=$pkgver/ PKGBUILD + sed -i s/^pkgrel=.*/pkgrel=$pkgrel/ PKGBUILD + + # make the package + mp -f -i --holdver --skipinteg || exit 1 + + # clean up afterwards + rm -rf pkg + rm -f *~ + + cd .. +done + +echo "" +echo "DONE!" + diff --git a/abs/core/mythtv/old/stable-0.23/mytharchive/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mytharchive/PKGBUILD new file mode 100644 index 0000000..d2a1217 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mytharchive/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mytharchive +pkgver=0.23 +pkgrel=29 +pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows." +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'libxmu' 'mysql-python' 'pil' 'dvdauthor' 'mjpegtools' 'transcode') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mytharchive || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythbrowser/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythbrowser/PKGBUILD new file mode 100644 index 0000000..0413b79 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythbrowser/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythbrowser +pkgver=0.23 +pkgrel=29 +pkgdesc="Mini web browser for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'wget') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythbrowser || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythgallery/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythgallery/PKGBUILD new file mode 100644 index 0000000..e18538b --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythgallery/PKGBUILD @@ -0,0 +1,45 @@ +pkgname=mythgallery +pkgver=0.23 +pkgrel=29 +pkgdesc="Image gallery plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'libexif' 'libtiff') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythgallery || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') diff --git a/abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD new file mode 100644 index 0000000..67bd8a8 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythgame +pkgver=0.23 +pkgrel=29 +pkgdesc="Emulation plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'zlib') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythgame || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythmovies/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythmovies/PKGBUILD new file mode 100644 index 0000000..8a92133 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythmovies/PKGBUILD @@ -0,0 +1,48 @@ +pkgname=mythmovies +pkgver=0.23 +pkgrel=29 +pkgdesc="Displays information about movies playing in the area." +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23') +conflicts=('mythmovies') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythmovies || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD new file mode 100644 index 0000000..cd13ba7 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD @@ -0,0 +1,51 @@ +pkgname=mythmusic +pkgver=0.23 +pkgrel=29 +pkgdesc="Music playing plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \ + 'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.6.1' 'lame' 'taglib' \ + 'libvisual-plugins' 'libvisual-projectm') +conflicts=('mythmusic') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythmusic --enable-libvisual --enable-fftw --enable-sdl \ + --enable-aac || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythnetvision/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythnetvision/PKGBUILD new file mode 100644 index 0000000..cd2bf83 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythnetvision/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythnetvision +pkgver=0.23 +pkgrel=29 +pkgdesc="Internet video plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'mythbrowser' 'python-pycurl' 'flashplugin') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythnetvision || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD new file mode 100644 index 0000000..c5a52e1 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythnews +pkgver=0.23 +pkgrel=29 +pkgdesc="News checking plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythnews || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD new file mode 100644 index 0000000..9041251 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=mythsmolt +pkgver=0.23 +pkgrel=4 +pkgdesc="mythsmolt, a hardware profileing tool" +arch=('i686' 'x86_64') +url="http://www.mythvantage.com" +license=('GPL') +depends=("mythtv>=${pkgver}" urlgrabber python-simplejson) +source=("http://www.mythvantage.com/request.php?4" 'smolt_init_login.sh' 'mythsmolt.patch') + +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=('4641b425d1aa910d82972ebb3a8d4998' + '57a3416d90e59abbd5062436583c17e1' + '461350b3a7b9d7433cc11e2786e27005') diff --git a/abs/core/mythtv/old/stable-0.23/mythsmolt/mythsmolt.patch b/abs/core/mythtv/old/stable-0.23/mythsmolt/mythsmolt.patch new file mode 100644 index 0000000..9866587 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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.22 ++LIBVERSION = 0.23 + diff --git a/abs/core/mythtv/old/stable-0.23/mythsmolt/smolt_init_login.sh b/abs/core/mythtv/old/stable-0.23/mythsmolt/smolt_init_login.sh new file mode 100644 index 0000000..0b76305 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/myththemes/PKGBUILD b/abs/core/mythtv/old/stable-0.23/myththemes/PKGBUILD new file mode 100755 index 0000000..0d855db --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/myththemes/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=myththemes +pkgver=0.23 +pkgrel=29 +pkgdesc="Themes for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/myththemes-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('5e5cafe0dd3fadadbc37d29708e3ec74') + +build() { + + cd $startdir/src/myththemes + svn update + rm -fr Mythbuntu + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD new file mode 100755 index 0000000..3854417 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD @@ -0,0 +1,102 @@ +pkgname=mythtv +pkgver=0.23 +pkgrel=31 +pkgdesc="A personal video recorder for Linux" +url="http://www.mythtv.org" +license="GPL" +depends=('bash' 'mysql-clients>=5.0' 'qt' 'lame' 'lirc-utils' 'ffmpeg' \ + 'faad2' 'libxv' 'libxvmc' 'libavc1394' 'libdc1394' 'libiec61883' \ + 'perl-net-upnp' 'libvdpau') +makedepends=('libgl' 'subversion') +replaces=() +groups=('pvr') +#backup=(/usr/share/mythtv/is.xml) +#options=(!strip) +#MAKEFLAGS="-j6" +install='mythtv.install' + +patchs=() +#patchs=('smolt_jump.patch') +source=('ftp://ftp.knoppmyth.net/R6/sources/mythtv-0.23-fixes.tar.bz2' + 'mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') +arch=('i686' 'x86_64') + +build() { + + # get clean copy from SVN repo + cd $startdir/src/mythtv + svn update + + # 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-----------------------------------------------" + + # Fix to allow AC3 5.1 to return http://svn.mythtv.org/trac/ticket/8659 + sed -i 's/#define\ AUDIOMAXFRAMES\ \ \ \ \ \ \ 30/#define\ AUDIOMAXFRAMES\ \ \ \ \ \ \ 0/' libs/libmythtv/avformatdecoder.h + + sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up from last build + echo " simple configure to makesure the distclean works" + ./configure + make distclean + # configure + #./configure --prefix=/usr --arch=${ARCH} \ + echo "our configure" + ./configure --prefix=/usr \ + --enable-vdpau --enable-xvmc --enable-xvmc-pro \ + --enable-opengl-vsync --enable-libfaad --enable-dvb --enable-firewire \ + --compile-type=release --with-bindings=perl,python \ + --enable-audio-alsa --disable-audio-jack --disable-audio-pulseoutput + #--enable-audio-alsa --disable-audio-jack --disable-audio-pulseoutput || return 1 + echo "post configure" + # build and install + #. /etc/profile + echo "post profile" + make || return 1 + echo "post make" + make INSTALL_ROOT=$startdir/pkg install || return 1 + + # install db schema, scripts and docs + install -m0644 database/mc.sql $startdir/pkg/usr/share/mythtv/ || return 1 + install -D -m0755 ../mythbackend $startdir/pkg/etc/rc.d/mythbackend || return 1 +# cp -r docs $startdir/pkg/usr/share/mythtv/ || return 1 + rsync -arp --exclude .svn --delete-excluded docs $startdir/pkg/usr/share/mythtv/ || return 1 + + # install contrib + rsync -arp --exclude .svn --delete-excluded contrib $startdir/pkg/usr/share/mythtv/ || return 1 + #cp -r contrib $startdir/pkg/usr/share/mythtv/ || return 1 + + # patch the xml LinHES style + cp -r $startdir/menu-xml/*.xml $startdir/pkg/usr/share/mythtv/themes/defaultmenu/ +# mv $startdir/pkg/usr/share/mythtv/themes/defaultmenu/is.xml $startdir/pkg/usr/share/mythtv/ + cd $startdir/pkg/usr/share/mythtv/themes/defaultmenu + 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 $startdir/pkg/var/log/mythtv + chown 1000.1000 $startdir/pkg/var/log/mythtv + mkdir -p $startdir/pkg/etc/logrotate.d + cp $startdir/src/*.lr $startdir/pkg/etc/logrotate.d + mkdir -p $startdir/pkg/etc/cron.hourly/ + install -m0755 $startdir/src/pretty $startdir/pkg/etc/cron.hourly/ +} + +md5sums=('f75a4f1be66c2803df54466d4c30361a' + '7ef6de58240e7aad389a0b13d91b1cf6' + '2babd4b8e146a7538d18dcd55695b0be' + 'f735805a80b0d1180dee01f9df1b7004' + 'f407d6af23e74a49540755420f84fa58' + '5469d9921b726db750b991c87d226158') diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml new file mode 100644 index 0000000..ac52497 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/is.xml b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/is.xml new file mode 100644 index 0000000..88b7e6b --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/is.xml @@ -0,0 +1,3 @@ + + + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/library.xml.patch b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/library.xml.patch new file mode 100644 index 0000000..81ea604 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/library.xml.patch @@ -0,0 +1,12 @@ +--- library.xml.orig 2009-10-16 12:45:44.000000000 +0000 ++++ library.xml 2009-10-16 17:21:44.000000000 +0000 +@@ -123,8 +123,7 @@ + Online folyam lejátszása + + +- PLUGIN mythstream +- mythstream ++ MENU is.xml + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mainmenu.xml.patch b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mainmenu.xml.patch new file mode 100644 index 0000000..0ec7b5b --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mainmenu.xml.patch @@ -0,0 +1,95 @@ +--- mainmenu.xml.orig 2010-04-18 01:29:44.000000000 +0000 ++++ mainmenu.xml 2010-04-18 01:32:38.000000000 +0000 +@@ -2,6 +2,31 @@ + + + ++ ++ + + +- +- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/myth.sh b/abs/core/mythtv/old/stable-0.23/mythtv/myth.sh new file mode 100755 index 0000000..fb7122c --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/mythtv/mythbackend b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend new file mode 100755 index 0000000..93773a2 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/mythtv/mythbackend.lr b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.lr new file mode 100644 index 0000000..4f218bc --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/mythtv/mythbackend.sh b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.sh new file mode 100755 index 0000000..e7a7b70 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/mythtv/mythfrontend.lr b/abs/core/mythtv/old/stable-0.23/mythtv/mythfrontend.lr new file mode 100644 index 0000000..1580533 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/mythtv/mythtv.install b/abs/core/mythtv/old/stable-0.23/mythtv/mythtv.install new file mode 100755 index 0000000..0524f86 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/mythtv/pretty b/abs/core/mythtv/old/stable-0.23/mythtv/pretty new file mode 100755 index 0000000..7e0ab21 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/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/old/stable-0.23/mythtv/smolt_jump.patch b/abs/core/mythtv/old/stable-0.23/mythtv/smolt_jump.patch new file mode 100644 index 0000000..0fc452a --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/smolt_jump.patch @@ -0,0 +1,30 @@ +Index: programs/mythfrontend/networkcontrol.cpp +=================================================================== +--- programs/mythfrontend/networkcontrol.cpp (revision 19291) ++++ programs/mythfrontend/networkcontrol.cpp (working copy) +@@ -83,6 +83,7 @@ + jumpMap["zoneminderliveview"] = "ZoneMinder Live View"; + jumpMap["zoneminderevents"] = "ZoneMinder Events"; + jumpMap["snapshot"] = "ScreenShot"; ++ jumpMap["mythsmolt"] = "MythSmolt"; + + // These jump point names match the (lowercased) locations from gContext + jumpMap["channelrecpriority"] = "Channel Recording Priorities"; +@@ -191,7 +192,7 @@ + pthread_create(&command_thread, NULL, CommandThread, this); + + gContext->addListener(this); +- ++ + connect(this, SIGNAL(newConnection()), this, SLOT(newConnection())); + } + +@@ -307,7 +308,7 @@ + cs = new QTextStream(s); + cs->setCodec("UTF-8"); + } +- ++ + if (client) + { + closedOldConn = true; diff --git a/abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD new file mode 100644 index 0000000..3dafe6a --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythvideo +pkgver=0.23 +pkgrel=29 +pkgdesc="Video playback and browsing plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'mplayer' 'perlxml' 'perl-libwww' 'perl-uri' 'perl-xml-simple' 'ffmpeg') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythvideo || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythweather/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythweather/PKGBUILD new file mode 100644 index 0000000..bb92f2d --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythweather/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythweather +pkgver=0.23 +pkgrel=30 +pkgdesc="Weather checking plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'wget' 'perl-date-manip' 'perl-xml-simple' 'perl-xml-xpath' 'perl-image-size' 'perl-datetime-format-iso8601' 'perl-soap-lite') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythweather || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD new file mode 100644 index 0000000..a3b581a --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD @@ -0,0 +1,46 @@ +pkgname=mythweb +pkgver=0.23 +pkgrel=29 +pkgdesc="Web interface for MythTV's backend" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'lighttpd' 'php' 'local-website') +groups=('mythtv-extras') +install=mythweb.install + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +DOCROOT=/data/srv/httpd/htdocs/mythweb + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions} + +# cp -r $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT +# cp $startdir/src/mythplugins-$pkgver/mythweb/data/.htaccess $startdir/pkg/$DOCROOT + rsync -arp --exclude .svn --delete-excluded $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT + rm $startdir/pkg/$DOCROOT/README + chown -R http:users $startdir/pkg/$DOCROOT + chmod g+rw $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data} + +} diff --git a/abs/core/mythtv/old/stable-0.23/mythweb/mythweb.install b/abs/core/mythtv/old/stable-0.23/mythweb/mythweb.install new file mode 100644 index 0000000..470cbd1 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythweb/mythweb.install @@ -0,0 +1,10 @@ +post_install() { + echo "You must create a symlink from /home/httpd/html/mythweb/video_dir" + echo "to your MythTV recordings directory. Don't forget to change the" + echo "permissions so that the webserver can read those files and create" + echo "thumbnails." +} + +op=$1 +shift +$op $* diff --git a/abs/core/mythtv/old/stable-0.23/mythzoneminder/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythzoneminder/PKGBUILD new file mode 100644 index 0000000..8981f9f --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythzoneminder/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythzoneminder +pkgver=0.23 +pkgrel=29 +pkgdesc="Integrates ZoneMinder into MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'zoneminder=1.23.3') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythzoneminder || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/stable-0.24/PKGBUILD b/abs/core/mythtv/stable-0.24/PKGBUILD new file mode 100755 index 0000000..a00c1b6 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/PKGBUILD @@ -0,0 +1,119 @@ +# $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=1 +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=() +#patchs=('smolt_jump.patch') +optdepends=('xmltv: to download tv listings') +#replaces=('mythtv-contrib') +#conflicts=('mythtv-contrib') +source=(#'ftp://ftp.knoppmyth.net/R6/sources/${pkgname}-${pkgver}-fixes.tar.bz2' + '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}" + echo "Updating from SVN..." + svn up + else + cd "${srcdir}" + echo "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@' + + # clean up from last build + echo " simple configure to make sure the distclean works" + ./configure + make distclean + echo "our configure" + + 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 + +# qmake mythtv.pro || 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' + 'f735805a80b0d1180dee01f9df1b7004' + 'f407d6af23e74a49540755420f84fa58' + '5469d9921b726db750b991c87d226158') diff --git a/abs/core/mythtv/stable-0.24/__changelog b/abs/core/mythtv/stable-0.24/__changelog new file mode 100644 index 0000000..940f84b --- /dev/null +++ b/abs/core/mythtv/stable-0.24/__changelog @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..ac52497 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/is.xml b/abs/core/mythtv/stable-0.24/menu-xml/is.xml new file mode 100644 index 0000000..88b7e6b --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/is.xml @@ -0,0 +1,3 @@ + + + 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 new file mode 100644 index 0000000..be06e34 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/menu-xml/mainmenu.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch new file mode 100644 index 0000000..2ea90d7 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch @@ -0,0 +1,35 @@ +--- themes/defaultmenu/mainmenu.xml.orig 2010-11-06 00:39:35.000000000 +0000 ++++ themes/defaultmenu/mainmenu.xml 2010-11-06 00:41:27.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 new file mode 100644 index 0000000..5914b33 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml b/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml new file mode 100644 index 0000000..8f5c285 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml @@ -0,0 +1,20 @@ + + + + + + + + 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 new file mode 100644 index 0000000..143424f --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/menu-xml/siriusmenu.xml b/abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml new file mode 100644 index 0000000..e317b36 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/update.xml b/abs/core/mythtv/stable-0.24/menu-xml/update.xml new file mode 100644 index 0000000..5b28833 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/update.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/update2.xml b/abs/core/mythtv/stable-0.24/menu-xml/update2.xml new file mode 100644 index 0000000..2ab82ea --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/update2.xml @@ -0,0 +1,26 @@ + + + + + + + + + + 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 new file mode 100644 index 0000000..82d303e --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/myth.sh b/abs/core/mythtv/stable-0.24/myth.sh new file mode 100755 index 0000000..fb7122c --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/mythbackend b/abs/core/mythtv/stable-0.24/mythbackend new file mode 100755 index 0000000..93773a2 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/mythbackend.lr b/abs/core/mythtv/stable-0.24/mythbackend.lr new file mode 100644 index 0000000..4f218bc --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/mythbackend.sh b/abs/core/mythtv/stable-0.24/mythbackend.sh new file mode 100755 index 0000000..e7a7b70 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/mythfrontend.lr b/abs/core/mythtv/stable-0.24/mythfrontend.lr new file mode 100644 index 0000000..1580533 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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.install b/abs/core/mythtv/stable-0.24/mythtv.install new file mode 100755 index 0000000..0524f86 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/pretty b/abs/core/mythtv/stable-0.24/pretty new file mode 100755 index 0000000..7e0ab21 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/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/smolt_jump.patch b/abs/core/mythtv/stable-0.24/smolt_jump.patch new file mode 100644 index 0000000..0fc452a --- /dev/null +++ b/abs/core/mythtv/stable-0.24/smolt_jump.patch @@ -0,0 +1,30 @@ +Index: programs/mythfrontend/networkcontrol.cpp +=================================================================== +--- programs/mythfrontend/networkcontrol.cpp (revision 19291) ++++ programs/mythfrontend/networkcontrol.cpp (working copy) +@@ -83,6 +83,7 @@ + jumpMap["zoneminderliveview"] = "ZoneMinder Live View"; + jumpMap["zoneminderevents"] = "ZoneMinder Events"; + jumpMap["snapshot"] = "ScreenShot"; ++ jumpMap["mythsmolt"] = "MythSmolt"; + + // These jump point names match the (lowercased) locations from gContext + jumpMap["channelrecpriority"] = "Channel Recording Priorities"; +@@ -191,7 +192,7 @@ + pthread_create(&command_thread, NULL, CommandThread, this); + + gContext->addListener(this); +- ++ + connect(this, SIGNAL(newConnection()), this, SLOT(newConnection())); + } + +@@ -307,7 +308,7 @@ + cs = new QTextStream(s); + cs->setCodec("UTF-8"); + } +- ++ + if (client) + { + closedOldConn = true; -- cgit v0.12