From 5463d11b411596a84af52b98a22e62b3eff81b4f Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 18 Sep 2013 11:40:14 -0500
Subject: mythinstall: update help

---
 abs/core/mythinstall/PKGBUILD                |  8 ++--
 abs/core/mythinstall/checkout_MythVantage.sh |  3 ++
 abs/core/mythinstall/main.cpp.patch          | 63 ++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+), 4 deletions(-)
 create mode 100644 abs/core/mythinstall/main.cpp.patch

diff --git a/abs/core/mythinstall/PKGBUILD b/abs/core/mythinstall/PKGBUILD
index 40a3a06..3009f32 100644
--- a/abs/core/mythinstall/PKGBUILD
+++ b/abs/core/mythinstall/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Jams
 pkgname=mythinstall
 pkgver=3
-pkgrel=78
+pkgrel=79
 pkgdesc="LinHES installer/systemconfig GUI."
 arch=('i686'  'x86_64')
 depends=('mythtv>=0.25')
@@ -21,11 +21,11 @@ package() {
     cd $MVBINDIR
     ln -s MythVantage mythvantage
     ln -s MythVantage mythinstall
-    cd -
-    
+    #cd -
+echo $logofiles    
     for i in $logofiles
     do
-       install -D -m 0755 $srcdir/$i $/pkgdir/usr/MythVantage/logos/$i
+       install -D -m 0755 $srcdir/$i $pkgdir/usr/MythVantage/logos/$i
     done
 
 }
diff --git a/abs/core/mythinstall/checkout_MythVantage.sh b/abs/core/mythinstall/checkout_MythVantage.sh
index bb1a7b7..e0d4b0c 100755
--- a/abs/core/mythinstall/checkout_MythVantage.sh
+++ b/abs/core/mythinstall/checkout_MythVantage.sh
@@ -60,6 +60,9 @@ sed -i "s/mythvantage/LinHES/g" $MYDIR/src/MythVantage-app/mythinstall/mv_common
 patch -N $MYDIR/src/MythVantage-app/mythinstall/misc_settings.cpp < $MYDIR/misc_settings.cpp.patch
 patch -N $MYDIR/src/MythVantage-app/mythinstall/misc_settings.h < $MYDIR/misc_settings.h.patch
 
+#update help screen
+patch -N $MYDIR/src/MythVantage-app/mythinstall/main.cpp < $MYDIR/main.cpp.patch
+
 cd $MYDIR/src/MythVantage-app/mythinstall && qmake
 make || exit 1
 #cd $MYDIR/src/MythVantage-app/mythbeselect && qmake
diff --git a/abs/core/mythinstall/main.cpp.patch b/abs/core/mythinstall/main.cpp.patch
new file mode 100644
index 0000000..90f243a
--- /dev/null
+++ b/abs/core/mythinstall/main.cpp.patch
@@ -0,0 +1,63 @@
+--- main.cpp.orig	2013-09-18 13:57:34.589499257 +0000
++++ main.cpp	2013-09-18 14:27:59.535328888 +0000
+@@ -445,38 +445,45 @@
+     {
+         DialogBox *dia = NULL;
+         QString prompt;
+-        QString *problems = new QString("			Help Screen");
++        QString *problems = new QString("LinHES Help");
+         problems->append("\n");
+-        problems->append("-------------------------------------------------");
++        problems->append("Visit http://linhes.org for additional help.");
+         problems->append("\n");
+-        problems->append("Alt+h This screen");
++        problems->append("\n");
++        problems->append("------Keyboard Shortcuts---------------------------------");
++        problems->append("\n");
++        problems->append("Alt + h: This Screen");
+         problems->append("\n");
+ #ifdef __MVAPP__
+-        problems->append("F2 open/close  terminal");
++        problems->append("F2: Open/Close Terminal");
+         problems->append("\n");
+-        problems->append("Shift + Return  opens new xterm");
++        problems->append("Shift + Return: Open New Terminal (xterm)");
+         problems->append("\n");
+-        problems->append("Alt+F2 for 2nd desktop  Alt+F1 to go back");
++        problems->append("Alt + F2: Show 2nd desktop  Alt + F1 To Go Back");
+         problems->append("\n");
+-        problems->append("Alt+c Capture myth screenshot");
++        problems->append("Alt + c: Capture Myth Screenshot");
+         problems->append("\n");
+ #else
+-        problems->append("Alt + X  opens new xterm ");
++        problems->append("Alt + x: Open New Terminal (xterm)");
+         problems->append("\n");
+-        problems->append("Alt + m  start mythfrontend");
++        problems->append("Alt + m: Open mythfrontend");
+         problems->append("\n");
+-        problems->append("m will display a popup for power/about");
++        problems->append("m in mythfrontend: Display Power/About Menu");
+         problems->append("\n");
+ #endif
+-        problems->append("Ctrl + Alt + u  unhide  mouse cursor");
++        problems->append("Alt + 1: Start Master mythbackend");
++        problems->append("\n");
++        problems->append("Alt + 2: Stop Master mythbackend");
++        problems->append("\n");
++        problems->append("Alt + 3: Restart Master mythbackend");
+         problems->append("\n");
+-        problems->append("Alt+1 start   masterbackend");
++        problems->append("Alt + s: Open mythtv-setup");
+         problems->append("\n");
+-        problems->append("Alt+2 stop    masterbackend");
++        problems->append("Alt + u: Unhide/Hide Mouse Pointer");
+         problems->append("\n");
+-        problems->append("Alt+3 restart masterbackend");
++        problems->append("Alt + w: Open Web Browser (Chrome if installed)");
+         problems->append("\n");
+-        problems->append("Alt+s  run mythtv-setup");
++        problems->append("Ctrl + Alt + f: Restart Window Manager");
+         problems->append("\n");
+ 
+ 
-- 
cgit v0.12

