From b2a1209fb72193d69ad15afb8d7204f793c378e5 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Mon, 26 Apr 2010 10:48:03 +0930
Subject: LinHES-system & fluxbox: Add feature #692 - auto xterm font size

---
 abs/core-testing/LinHES-system/LinHES.install | 5 +++++
 abs/core-testing/LinHES-system/PKGBUILD       | 5 +++--
 abs/core-testing/fluxbox/PKGBUILD             | 4 ++--
 abs/core-testing/fluxbox/keys                 | 2 +-
 4 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/abs/core-testing/LinHES-system/LinHES.install b/abs/core-testing/LinHES-system/LinHES.install
index 9f6a1c1..0f6689e 100644
--- a/abs/core-testing/LinHES-system/LinHES.install
+++ b/abs/core-testing/LinHES-system/LinHES.install
@@ -48,7 +48,12 @@ grep -q "pam_limits.so" /etc/pam.d/su
 
 	fi
 
+# Update mythtv's fluxbox keys files to use the tvterm.sh script to get 
+# an xterm. Then signal fluxbox to re-read the keys file.
 
+sed -i.orig 's/^Mod1 x :.*xterm.*$/Mod1 x :ExecCommand tvterm.sh/g' \
+  ~mythtv/.fluxbox/keys
+pkill -HUP fluxbox
 
 }
 
diff --git a/abs/core-testing/LinHES-system/PKGBUILD b/abs/core-testing/LinHES-system/PKGBUILD
index 316bcba..017984f 100644
--- a/abs/core-testing/LinHES-system/PKGBUILD
+++ b/abs/core-testing/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-system
 pkgver=1.1
-pkgrel=29
+pkgrel=30
 arch=('i686')
 MVDIR=$startdir/pkg/usr/LH
 BINDIR=$startdir/pkg/usr/bin
@@ -8,7 +8,7 @@ install=LinHES.install
 pkgdesc="scripts and things related to having a automated system"
 depends=(linhes-sounds xdotool)
 backup=(etc/modprobe.d/alsa-base)
-binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh unclutter-toggle.sh myth_mtc.lr smolt.cron mythfrontend-start"
+binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh unclutter-toggle.sh tvterm.sh myth_mtc.lr smolt.cron mythfrontend-start"
 
 source=(LinHES-session LinHES-profile.sh $binfiles alsa-base)
 
@@ -47,6 +47,7 @@ md5sums=('19934a456d0e112298b8aac3279f9a16'
          '18a884a73344ff6eb74f63b49745e0f5'
          'dc3eef2a624754e16805d72bbe488b67'
          'dc0be354ce77ba2b89868fc29b942c43'
+         '542e670e78d117657f93141e9689f54d'
          'f1870a9522c79e6b248fcbf81dec3280'
          'abe887472a170bd1a8e6da6a7b7e93e4'
          '752488eb8bfb672ce0e4c924f7faf3d1'
diff --git a/abs/core-testing/fluxbox/PKGBUILD b/abs/core-testing/fluxbox/PKGBUILD
index 9f4a438..3873ff1 100644
--- a/abs/core-testing/fluxbox/PKGBUILD
+++ b/abs/core-testing/fluxbox/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=fluxbox
 pkgver=1.1.1
-pkgrel=10
+pkgrel=11
 pkgdesc="A lightweight and highly-configurable window manager"
 arch=('i686' 'x86_64')
 url="http://www.fluxbox.org"
@@ -33,5 +33,5 @@ build() {
 }
 md5sums=('fa9fa8fe9a44f86522de5754f8b285ca'
          'eeae9c88a2526ac0bd8afcd9ce97f9ed'
-         'df8dd2ff7ec582d9a2221279d960750f'
+         'bb9f812c559263b4bf1d722628a11ca8'
          '82dac089f2d42bb9592debc93291846d')
diff --git a/abs/core-testing/fluxbox/keys b/abs/core-testing/fluxbox/keys
index bf45b79..d0091eb 100644
--- a/abs/core-testing/fluxbox/keys
+++ b/abs/core-testing/fluxbox/keys
@@ -17,7 +17,7 @@ Mod1 F9 :Workspace 9
 Mod1 F10 :Workspace 10
 Mod1 F11 :Workspace 11
 Mod1 F12 :Workspace 12
-Mod1 x :ExecCommand xterm -fn *18*
+Mod1 x :ExecCommand tvterm.sh
 Mod1 s :ExecCommand sudo taskset -c 0 mythtv-setup
 #Mod1 m :ExecCommand mythfrontend --logfile /var/log/mythtv/mythfrontend.log
 Mod1 m :ExecCommand /usr/LH/bin/mythfrontend-start
-- 
cgit v0.12

