summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/LinHES-config/PKGBUILD11
-rw-r--r--abs/core/LinHES-config/install_db_chroot.sh13
-rwxr-xr-xabs/core/LinHES-config/mv_install.py12
-rw-r--r--abs/core/LinHES-config/myth_settings_wrapper.sh249
-rw-r--r--abs/core/mythinstall/PKGBUILD2
-rw-r--r--abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh22
-rw-r--r--abs/core/mythtv/stable-0.25/git_src/git_hash1
m---------abs/core/mythtv/stable-0.25/git_src/mythtv0
-rw-r--r--abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD14
-rw-r--r--abs/core/mythtv/stable-0.25/mythtv/PKGBUILD15
-rw-r--r--abs/core/mythtv/stable-0.25/mythtv/menu-xml/mainmenu.xml.patch22
11 files changed, 311 insertions, 50 deletions
diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index de71e5b..6c0ad04 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=2.3
-pkgrel=64
+pkgrel=65
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
pkgdesc="Install and configure your system"
depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -18,7 +18,8 @@ source=(mv_install.py
systemconfig.sh
install_db_chroot.sh
restore_default_settings.sh
- xconfig.sh
+ myth_settings_wrapper.sh
+ xconfig.sh
timezip.py
soundconfig.sh
LinHES-release
@@ -68,6 +69,7 @@ build() {
install -m 0755 install_db_chroot.sh $MVDIR/bin/install_db_chroot.sh
install -m 0755 restore_km_db_chroot.sh $MVDIR/bin/restore_km_db_chroot.sh
install -m 0755 restore_default_settings.sh $MVDIR/bin/restore_default_settings.sh
+ install -m 0755 myth_settings_wrapper.sh $MVDIR/bin/myth_settings_wrapper.sh
install -m 0755 soundconfig.sh $MVDIR/bin/soundconfig.sh
install -m 0755 networkconfig.sh $MVDIR/bin/networkconfig.sh
install -m 0755 create_master.sh $MVDIR/bin/create_master.sh
@@ -101,15 +103,16 @@ build() {
install -m 0755 issue $startdir/pkg/etc/issue
}
-md5sums=('64fad755c12f8eb12940e216e403354e'
+md5sums=('ffd40d21a9a868364045368053cb69c9'
'16b98fcb3753ef6cfc35075c326d30e4'
'e36da536dd651ef182e7642337889e77'
'985891a43f7c4c983eb2a362162f1a0f'
'2f0b85d37b15956b3d92419c886e040c'
'893aa1adae52b641ab8cdac53ecf98c0'
'c20f73d4da5d7e15e1f3eb85c7dcb49a'
- '8ac1cfd2eca0f641737da0d0aca416a7'
+ '68199e861c2933ccbb84735b9b440157'
'9ae8d79f620c6d19973c55c32a921874'
+ '6aea8876ab690e0edf817fe6cb5b7abc'
'960017a34d9cc78af6298f45aad6eb8e'
'ecf9e5df20683a769c4a8a8f2d65de85'
'6d32a88e76b0a97b0ce67d37ef6394aa'
diff --git a/abs/core/LinHES-config/install_db_chroot.sh b/abs/core/LinHES-config/install_db_chroot.sh
index 94305d2..bb7bbcf 100644
--- a/abs/core/LinHES-config/install_db_chroot.sh
+++ b/abs/core/LinHES-config/install_db_chroot.sh
@@ -31,17 +31,18 @@ do
then
pacman --noconfirm -R mythdb-initial
pacman --noconfirm -S mythdb-initial
- $MV_ROOT/bin/restore_default_settings.sh -c load
- DISPLAY=127.0.0.1:0 $MV_ROOT/bin/MythVantage -t restore,default_1
- $MV_ROOT/bin/restore_default_settings.sh -c restore -t syssettings
+ $MV_ROOT/bin/myth_settings_wrapper.sh -c load
+ #change this to mythutil
+ #DISPLAY=127.0.0.1:0 $MV_ROOT/bin/MythVantage -t restore,default_1
+ $MV_ROOT/bin/myth_settings_wrapper.sh -c restore -t syssettings
$MV_ROOT/bin/systemconfig.sh misc,hostype,this_is_install
update_db_settings HostServiceMythWEB "1"
echo 'UseMythWEB="1"' >> /etc/systemconfig
#update database to allow user jobs on this host.
- $MV_ROOT/bin/restore_default_settings.sh -c USERJOBALLOW
- $MV_ROOT/bin/restore_default_settings.sh -c ACCESSCONTROL
+ $MV_ROOT/bin/myth_settings_wrapper.sh -c USERJOBALLOW
+ $MV_ROOT/bin/myth_settings_wrapper.sh -c ACCESSCONTROL
if [ -d /data/srv/mysql/mythconverg ]
#if [ -d /var/lib/mysql/mythconverg ]
then
@@ -51,7 +52,7 @@ do
fi
# if [ $SystemType = "Master_backend" ]
# then
-# $MV_ROOT/bin/restore_default_settings.sh -c BECONFIG -s master -a $dbhost
+# $MV_ROOT/bin/myth_settings_wrapper.sh -c BECONFIG -s master -a $dbhost
# fi
fi
fi
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py
index 9763522..a7389ca 100755
--- a/abs/core/LinHES-config/mv_install.py
+++ b/abs/core/LinHES-config/mv_install.py
@@ -1022,7 +1022,7 @@ def restore_default_settings():
logging.debug(" MVROOT was not defined, using the default value")
MVROOT = "/usr/MythVantage"
logging.info("Saving syssettings")
- cmd = "%s/bin/restore_default_settings.sh -c save -t syssettings -h %s -d localhost" %(MVROOT, data_config.MVHOSTNAME)
+ cmd = "%s/bin/myth_settings_wrapper.sh -c save -t syssettings -h %s -d localhost" %(MVROOT, data_config.MVHOSTNAME)
runcmd(cmd)
SE = os.environ["TEMPLATES"]+"/settings/syssettings/"
cp_and_log(SE, data_config.MOUNTPOINT+SE)
@@ -1102,7 +1102,7 @@ def full_install(hostoptions):
#logging.debug(" MVROOT was not defined, using the default value")
#MVROOT="/usr/MythVantage"
#logging.info("Saving syssettings")
- #cmd="%s/bin/restore_default_settings.sh -c save -t syssettings -h %s -d localhost" %(MVROOT, data_config.MVHOSTNAME)
+ #cmd="%s/bin/myth_settings_wrapper.sh -c save -t syssettings -h %s -d localhost" %(MVROOT, data_config.MVHOSTNAME)
#runcmd(cmd)
#SE=os.environ["TEMPLATES"]+"/settings/syssettings"
#cp_and_log(SE, data_config.MOUNTPOINT+SE)
@@ -1138,7 +1138,7 @@ def full_install(hostoptions):
cmd = " chroot %s DISPLAY=127.0.0.1:0 %s/bin/MythVantage -t restore, default 1" %(data_config.MOUNTPOINT, MVROOT)
runcmd(cmd)
# Need to check for to touch /tmp/.dbsysfailed
- cmd = " chroot %s %s/bin/restore_default_settings.sh -c restore -t syssettings " %(data_config.MOUNTPOINT, MVROOT)
+ cmd = " chroot %s %s/bin/myth_settings_wrapper.sh -c restore -t syssettings " %(data_config.MOUNTPOINT, MVROOT)
runcmd(cmd)
if ( 'x' == '1' ):
logging.debug("touching /tmp/.dbsysfailed")
@@ -1148,7 +1148,7 @@ def full_install(hostoptions):
rc = runcmd(cmd)[0]
if rc != 0 :
error_out("Running systemconfig")
- cmd = "chroot %s %s/bin/restore_default_settings.sh -c ACCESSCONTROL " %(data_config.MOUNTPOINT, MVROOT)
+ cmd = "chroot %s %s/bin/myth_settings_wrapper.sh -c ACCESSCONTROL " %(data_config.MOUNTPOINT, MVROOT)
runcmd(cmd)
umount_bind_chroot()
cmd = " touch %s%s/.configure" %(data_config.MOUNTPOINT, data_config.MYTHHOME)
@@ -1391,7 +1391,7 @@ def upgrade(hostoptions):
runcmd(cmd)
if os.path.exists("/tmp/etc/KnoppMyth-version"):
- cmd = " chroot %s %s/bin/restore_default_settings.sh -c restore -t hostsettings " %(data_config.MOUNTPOINT, MVROOT)
+ cmd = " chroot %s %s/bin/myth_settings_wrapper.sh -c restore -t hostsettings " %(data_config.MOUNTPOINT, MVROOT)
runcmd(cmd)
logging.debug("Correcting permissions because of km->linhes upgrade")
cmd = " chown -R mythtv:mythtv %s" %(data_config.MOUNTPOINT+data_config.DATAMOUNT)
@@ -1399,7 +1399,7 @@ def upgrade(hostoptions):
cmd = " chown -R root:root %s" %(data_config.MOUNTPOINT+data_config.DATAMOUNT+"/backup")
runcmd(cmd)
else:
- cmd = " chroot %s %s/bin/restore_default_settings.sh -c restore -t syssettings " %(data_config.MOUNTPOINT, MVROOT)
+ cmd = " chroot %s %s/bin/myth_settings_wrapper.sh -c restore -t syssettings " %(data_config.MOUNTPOINT, MVROOT)
runcmd(cmd)
logging.info("Running systemconfig in chroot 2nd time")
diff --git a/abs/core/LinHES-config/myth_settings_wrapper.sh b/abs/core/LinHES-config/myth_settings_wrapper.sh
new file mode 100644
index 0000000..bcba9d1
--- /dev/null
+++ b/abs/core/LinHES-config/myth_settings_wrapper.sh
@@ -0,0 +1,249 @@
+#!/bin/bash
+. /etc/profile
+. /etc/systemconfig
+shopt -s -o nounset
+echo $@ >> /tmp/restore.out
+#TEMPLATES="/usr/share/templates/settings"
+TEMPLATES="$TEMPLATES/settings"
+TABLES="settings keybindings jumppoints"
+MYTHDBUSER=mythtv
+MYTHTVPASSWD=mythtv
+declare -r OPTSTRING="c:e:t:d:h:s:a:z:Ho"
+Thistemplate=""
+declare -i OVERRIDE=0
+declare -i EVERYTHING=0
+
+gen_xml="/tmp/generated.xml"
+
+function ARG_ERR() {
+ if [ x$OPTARG = "x" ]
+ then
+ echo "$SWITCH NEEDS AND ARG"
+ exit 11
+ fi
+}
+
+function ALSADEVICE () {
+#ALSA:hw:1,4
+ if [ x$Audiotype = xALSA ]
+ then
+ SoundDevice=ALSA:$SoundDevice
+ MixerDevice="ALSA:default"
+ else
+ MixerDevice="/dev/mixer"
+ fi
+
+}
+
+function load_xml(){
+ xml_file=$1
+ mythutil --import-settings --infile $xml_file
+ cat $xml_file
+ }
+
+function define_xml() {
+xml_data=${1}
+xml_hostname=${2}
+xml_table=${3}
+xml_value=${4}
+
+cat >$gen_xml <<EOF
+
+<!DOCTYPE mythutils_exported_settings>
+<exported_xml>
+ <record>
+ <data>$xml_data</data>
+ <hostname>$xml_hostname</hostname>
+ <table>$xml_table</table>
+ <value>$xml_value</value>
+ </record>
+</exported_xml>
+EOF
+
+}
+
+
+
+if [ $# -eq 0 ]
+then
+ echo "Valid options are:"
+ echo " -c (save|restore|load|uhostname|BECONFIG|ZIP|ACCESSCONTROL)"
+ echo " -t (syssettings|hostsettings)"
+ echo " -d databasename"
+ echo " -h hostname"
+ echo " -s systemtype (master|slave|standalone|frontendonly)"
+ echo " -a ipaddress"
+ echo " -z zipcode"
+ echo " -o override (only used upgrade installs)"
+ exit 1
+fi
+
+
+
+
+while getopts "$OPTSTRING" SWITCH
+do
+ case $SWITCH in
+ # \?) echo "unkown option"
+ # exit 11 ;;
+ c) echo "$SWITCH" "$OPTARG"
+ ARG_ERR
+ OPERATION=$OPTARG
+ ;;
+ t) echo "$SWITCH" "$OPTARG"
+ ARG_ERR
+ Thistemplate=$OPTARG
+
+ if [ x$Thistemplate = x"syssettings" ]
+ then
+ echo "template is syssettings"
+ loadhost=false
+ elif [ x$Thistemplate = x"hostsettings" ]
+ then
+ echo "template is hostsettings"
+ Thistemplate=syssettings
+ loadhost=true
+ else
+ echo "invalid template name"
+ exit 1
+ fi
+ ;;
+ d) echo "$SWITCH" "$OPTARG"
+ ARG_ERR
+ if [ $OVERRIDE = 1 ]
+ then
+ ovdbhost=$OPTARG
+ else
+ dbhost=$OPTARG
+ fi
+ ;;
+ h) echo "$SWITCH" "$OPTARG"
+ ARG_ERR
+ if [ $OVERRIDE = 1 ]
+ then
+ oldhostname=$hostname
+ hostname=$OPTARG
+ else
+ hostname=$OPTARG
+ fi
+
+ ;;
+ s) echo "$SWITCH" "$OPTARG"
+ ARG_ERR
+ SYSTEMTYPE=$OPTARG
+ ;;
+ a) echo "$SWITCH" "$OPTARG"
+ ARG_ERR
+ IP_ADDRESS=$OPTARG
+ ;;
+ z) echo "$SWITCH" "$OPTARG"
+ ARG_ERR
+ ZIPCODE=$OPTARG
+ ;;
+ o) OVERRIDE=1
+ ;;
+
+ esac
+done
+
+echo $OVERRIDE
+
+case $OPERATION in
+
+ restore)
+ #used to restore settings from syssettings
+ if [ -d $TEMPLATES/$Thistemplate ]
+ then
+ mythutil --import-settings --infile $TEMPLATES/$Thistemplate/syssettings.xml --hostname $hostname
+ else
+ echo "couldn't find $TEMPLATES/$Thistemplate"
+ fi
+ ;;
+
+ save)
+ #export settings from database to xml file
+ if [ ! -d $TEMPLATES/$Thistemplate ]
+ then
+ mkdir -p $TEMPLATES/$Thistemplate
+ fi
+ mythutil --export-settings --outfile $TEMPLATES/$Thistemplate/syssettings.xml --generic
+
+ ;;
+
+ load)
+ #this loads the distro default file, it's not active by any hosts
+ mythutil --import-settings --infile $TEMPLATES/$Thistemplate/distro_default.xml
+ ;;
+
+
+
+ BECONFIG)
+ if [ $SYSTEMTYPE = "master" ]
+ then
+ define_xml ${IP_ADDRESS} $hostname settings BackendServerIP
+ load_xml
+ define_xml ${IP_ADDRESS} '' settings MasterServerIP
+ load_xml $gen_xml
+
+ fi
+
+ if [ $SYSTEMTYPE = "slave" ]
+ then
+ define_xml ${IP_ADDRESS} $hostname settings BackendServerIP
+ load_xml $gen_xml
+ fi
+ ;;
+ ZIP)
+ define_xml $ZIPCODE $hostname settings locale
+ load_xml $gen_xml
+ #$MYSQLCMD_C "delete from settings where value='locale' and hostname=\"$hostname\";"
+ #$MYSQLCMD_C "REPLACE INTO settings set data='$ZIPCODE' , value='locale' , hostname=\"$hostname\";"
+
+
+ ;;
+ MUSICFRONT)
+ ALSADEVICE
+ define_xml $SoundDevice $hostname settings AudioOutputDevice
+ load_xml $gen_xml
+ define_xml $MixerDevice $hostname settings MixerDevice
+ load_xml $gen_xml
+
+ #need to reload the settings.
+ systemconfig.sh reloadfe
+ ;;
+ MUSICMYTH)
+ ALSADEVICE
+ define_xml $SoundDevice $hostname settings MusicOutputDevice
+ load_xml $gen_xml
+
+ ;;
+ uhostname)
+ #used when the hostname is changed.
+ #
+ #call myth_util $oldhostname $hostname
+
+ ;;
+ USERJOBALLOW)
+ echo "UserJOBALLOW callremoved"
+
+ ;;
+
+ ACCESSCONTROL)
+ LIST="Hostaccessnetwork Hostaccesshostype HostaccesshostypeSystemtype Hostaccessmisc Hostaccesssleep Hostaccessadvanced HostaccessadvancedX Hostaccesssound"
+
+ for i in $LIST
+ do
+ define_xml 1 $i settings $hostname
+ load_xml $gen_xml
+ done
+
+ LIST="HostaccesshostypeSystemtype Hostaccessuser"
+ for i in $LIST
+ do
+ define_xml 0 $i settings $hostname
+ load_xml $gen_xml
+ done
+ ;;
+esac
+
+
diff --git a/abs/core/mythinstall/PKGBUILD b/abs/core/mythinstall/PKGBUILD
index d48b586..4ddd026 100644
--- a/abs/core/mythinstall/PKGBUILD
+++ b/abs/core/mythinstall/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jams
pkgname=mythinstall
pkgver=3
-pkgrel=18
+pkgrel=19
pkgdesc="LinHES installer/systemconfig GUI."
arch=i686
depends=()
diff --git a/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh b/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh
index 7691a29..2a2df89 100644
--- a/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh
+++ b/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh
@@ -1,18 +1,36 @@
#!/bin/bash
#Quick script used to checkout the MythTV source
#This source should be used build all mythplugins & main program
-
+#76df8e6c8f7b84a157607d8c25fd19f39d8dc830
_gitroot="https://github.com/MythTV/mythtv.git"
_gitname="mythtv"
+startdir=`pwd`
+#Set this to True, to update mythtv to the latest.
+#If not true then it will use the hash stored in git_hash
+_current="True"
+_checkoutHASH=`cat git_hash`
if [ -d $_gitname ]
then
- cd $_gitname && git pull
+ cd $_gitname
+ git checkout fixes/0.25
+ git pull
echo "The local files are updated."
else
git clone -b fixes/0.25 $_gitroot
fi
+
+if [ -d $_gitname ]
+then
+ cd $_gitname
+ if [ $_current == True ]
+ then
+ git rev-parse HEAD > $startdir/git_hash
+ else
+ git checkout $_checkoutHASH
+ fi
+fi
echo "GIT checkout done or server timeout"
diff --git a/abs/core/mythtv/stable-0.25/git_src/git_hash b/abs/core/mythtv/stable-0.25/git_src/git_hash
new file mode 100644
index 0000000..67a8784
--- /dev/null
+++ b/abs/core/mythtv/stable-0.25/git_src/git_hash
@@ -0,0 +1 @@
+1a671d0b252d2b33bd1e96258e65a15d52a5fc7d
diff --git a/abs/core/mythtv/stable-0.25/git_src/mythtv b/abs/core/mythtv/stable-0.25/git_src/mythtv
deleted file mode 160000
-Subproject 76df8e6c8f7b84a157607d8c25fd19f39d8dc83
diff --git a/abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD b/abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD
index 5a579b6..2c3db17 100644
--- a/abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD
+++ b/abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD
@@ -13,6 +13,7 @@ pkgname=('mytharchive'
'mythzoneminder')
pkgver=0.25
pkgrel=1
+
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
license=('GPL')
@@ -21,7 +22,8 @@ makedepends=("mythtv>=${pkgver}" 'mplayer' 'fftw2' 'dvdauthor' 'libexif'
'python-imaging' 'libcdaudio' 'taglib' 'perl-xml-simple' 'dcraw'
'libvisual' 'perl-xml-xpath' 'perl-image-size' 'perl-json'
'perl-class-inspector' 'perl-datetime-format-iso8601'
- 'flac' 'libvorbis' 'python2' 'python-pycurl' 'python-oauth')
+ 'flac' 'libvorbis' 'python2' 'python-pycurl' 'python-oauth'
+ 'libcdio' 'fftw')
source=(mythburn.py.patch)
@@ -89,7 +91,7 @@ package_mythgame() {
package_mythmusic() {
pkgdesc="Music playing plugin for MythTV"
- depends=("mythtv>=${pkgver}" 'flac' 'libvorbis' 'libcdaudio' 'cdparanoia' 'taglib' 'libvisual-plugins' 'projectm')
+ depends=("mythtv>=${pkgver}" 'flac' 'libvorbis' 'libcdaudio' 'cdparanoia' 'taglib' 'libvisual-plugins' 'libcdio' 'fftw' )
# replaces=('mythmusic')
cd "${srcdir}/${_gitname}/${pkgbase}/mythmusic"
make INSTALL_ROOT="${pkgdir}" install || return 1
@@ -113,14 +115,6 @@ package_mythnews() {
make INSTALL_ROOT="${pkgdir}" install || return 1
}
-package_mythvideo() {
- pkgdesc="Video playback and browsing plugin for MythTV"
- depends=("mythtv>=${pkgver}" 'mplayer' 'perl-xml-simple')
-# replaces=('mythvideo')
- cd "${srcdir}/${_gitname}/${pkgbase}/mythvideo"
- make INSTALL_ROOT="${pkgdir}" install || return 1
-}
-
package_mythweather() {
pkgdesc="Weather checking plugin for MythTV"
depends=("mythtv>=${pkgver}" 'perl-xml-xpath' 'perl-image-size'
diff --git a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
index d4e4751..dcecff0 100644
--- a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
@@ -7,7 +7,8 @@
pkgname=mythtv
pkgver=0.25
pkgrel=1
-pkgdesc="A Homebrew PVR project"
+commit_hash=`cat ../git_src/git_hash`
+pkgdesc="A Homebrew PVR project $commit_hash"
arch=('i686' 'x86_64')
url="http://www.mythtv.org/"
license=('GPL')
@@ -25,15 +26,12 @@ groups=('pvr')
#options=(!strip)
#MAKEFLAGS="-j6"
install='mythtv.install'
-patchs=('myth_settings.patch' 'git_version.patch')
+patchs=('myth_settings.patch')
optdepends=('xmltv: to download tv listings')
-#replaces=('mythtv-contrib')
conflicts=('mythvideo')
source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}`
'mythbackend.lr' 'mythfrontend.lr' 'pretty' )
-#_gitroot="https://github.com/MythTV/mythtv.git"
-#_gitname="${pkgname}"
build() {
if [ -e ${srcdir}/mythtv ]
@@ -90,9 +88,9 @@ package() {
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/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
@@ -107,7 +105,6 @@ package() {
md5sums=('7ef6de58240e7aad389a0b13d91b1cf6'
'2babd4b8e146a7538d18dcd55695b0be'
'58ab374d2c51b577359ae77385ab3edf'
- '03850677ea69ad83ccb92b4c0819224b'
'f735805a80b0d1180dee01f9df1b7004'
'f407d6af23e74a49540755420f84fa58'
'5469d9921b726db750b991c87d226158')
diff --git a/abs/core/mythtv/stable-0.25/mythtv/menu-xml/mainmenu.xml.patch b/abs/core/mythtv/stable-0.25/mythtv/menu-xml/mainmenu.xml.patch
index 0491803..9b083ac 100644
--- a/abs/core/mythtv/stable-0.25/mythtv/menu-xml/mainmenu.xml.patch
+++ b/abs/core/mythtv/stable-0.25/mythtv/menu-xml/mainmenu.xml.patch
@@ -1,20 +1,18 @@
---- 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 @@
+--- themes/defaultmenu/mainmenu.xml.orig 2012-04-21 17:33:52.176349680 +0000
++++ themes/defaultmenu/mainmenu.xml 2012-04-21 17:35:03.369680109 +0000
+@@ -1,5 +1,11 @@
+ <?xml version="1.0" encoding="UTF-8" ?>
<mythmenu name="MAIN">
-
- <button>
++ <button>
+ <type>TV_WATCH_TV</type>
+ <text>Watch TV</text>
+ <description>Watch live television</description>
+ <action>TV_WATCH_LIVE</action>
+ </button>
-+
-+ <button>
+
+ <button>
<type>MENU_MEDIA_LIBRARY</type>
- <text>Media Library</text>
- <action>MENU library.xml</action>
-@@ -31,17 +38,10 @@
+@@ -30,17 +36,10 @@
</button>
<button>
@@ -26,9 +24,9 @@
-
- <button>
<type>MENU_UTILITIES_SETUP</type>
-- <text>Utilities / Setup</text>
+- <text>Setup</text>
- <description>Configure MythTV and plugins</description>
-- <action>MENU util_menu.xml</action>
+- <action>MENU main_settings.xml</action>
+ <text>Service Menu</text>
+ <description>Configure your system</description>
+ <action>MENU linhes.xml</action>