From c3589abad837334030b962217d470780571060ce Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 31 Jan 2010 14:48:35 -0600 Subject: mythtv-stable: added new menu called LiveTV. This restores the Watch TV button to the top of the list. .22 requires menutheme_fallback.patch but hopefully .23 will not, as a patch was submitted to mythtv for inclusion. closes FS#608 Signed-off-by: James Meyer --- .../mythtv/stable-0.22/mythtv/PKGBUILD | 18 ++++-- .../stable-0.22/mythtv/menu-xml/mainmenu.tv.patch | 68 ++++++++++++++++++++++ .../stable-0.22/mythtv/menu-xml/themeinfo.xml-tv | 48 +++++++++++++++ .../stable-0.22/mythtv/menutheme_fallback.patch | 18 ++++++ 4 files changed, 148 insertions(+), 4 deletions(-) create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mainmenu.tv.patch create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/themeinfo.xml-tv create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menutheme_fallback.patch diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD index b671f8e..47cdedd 100755 --- a/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD @@ -1,6 +1,6 @@ pkgname=mythtv pkgver=0.22 -pkgrel=22005 +pkgrel=23247 pkgdesc="A personal video recorder for Linux" url="http://www.mythtv.org" license="GPL" @@ -16,7 +16,7 @@ groups=('pvr') #MAKEFLAGS="-j6" install='mythtv.install' -patchs=() +patchs=('menutheme_fallback.patch') #patchs=('smolt_jump.patch') source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') arch=('i686' 'x86_64') @@ -50,7 +50,7 @@ build() { [ "$CARCH" = "x86_64" ] && ARCH="x86-64" # clean up from last build - make distclean +# make distclean # configure ./configure --prefix=/usr --arch=${ARCH} \ @@ -63,7 +63,6 @@ build() { . /etc/profile make || return 1 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 @@ -81,6 +80,17 @@ build() { patch -p0 < $startdir/menu-xml/library.xml.patch || return 1 patch -p0 < $startdir/menu-xml/util_menu.xml.patch || return 1 + #create new for those that still want live-tv on top + mkdir -p $startdir/pkg/usr/share/mythtv/themes/LiveTV + cp $startdir/menu-xml/themeinfo.xml-tv $startdir/pkg/usr/share/mythtv/themes/LiveTV/themeinfo.xml + cp $startdir/pkg/usr/share/mythtv/themes/defaultmenu/mainmenu.xml $startdir/pkg/usr/share/mythtv/themes/LiveTV/ + cd $startdir/pkg/usr/share/mythtv/themes/LiveTV/ + patch -p5 < $startdir/menu-xml/mainmenu.tv.patch || return 1 + + + + + # make log dir mkdir -p $startdir/pkg/var/log/mythtv chown 1000.1000 $startdir/pkg/var/log/mythtv diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mainmenu.tv.patch b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mainmenu.tv.patch new file mode 100644 index 0000000..930fc5b --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mainmenu.tv.patch @@ -0,0 +1,68 @@ +--- usr/share/mythtv/themes/defaultmenu/mainmenu.xml.orig 2010-01-07 04:56:58.000000000 +0000 ++++ usr/share/mythtv/themes/defaultmenu/mainmenu.xml 2010-01-07 04:57:35.000000000 +0000 +@@ -2,6 +2,32 @@ + + + ++ ++ + + +- +-