From 30b85b94dd3bbdae22d37f494352324de617ea7a Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 8 Nov 2010 00:00:01 +0000
Subject: linhes-config: add support for large mouse support closes #691

---
 abs/core/LinHES-config/PKGBUILD                | 37 +++++++++++++++++++++++++-
 abs/core/LinHES-config/checkout_MythVantage.sh |  2 +-
 abs/core/LinHES-config/systemconfig.py         |  5 ++++
 3 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 57b5aa9..8e7afd8 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.2
-pkgrel=3
+pkgrel=7
 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'
@@ -171,3 +171,38 @@ md5sums=('381de315bceff755c7c5106ee693059f'
          'ca78d5533d02ade8f98a5dc0714ce0a6'
          'cf60e7ba4cf3467bb5539d5c51da61b6'
          'a63ff9ef5250965aeabc74bfa8e43981')
+md5sums=('381de315bceff755c7c5106ee693059f'
+         '1a4694fcd694b362c339bda781ed0f3e'
+         'e36da536dd651ef182e7642337889e77'
+         '3baa23764e1b6bcb2d66d7d859096940'
+         'd7a8cd4a0060399ae22e69f74e04eb07'
+         '7a45287a07145fde5aa664583d4f6fba'
+         'f88d2fb88339a4bf8ec9217a3fbcdef7'
+         '8ac1cfd2eca0f641737da0d0aca416a7'
+         '9ae8d79f620c6d19973c55c32a921874'
+         '4620f6f498ef4523398635cb0bd59425'
+         '06188493e5ed79cb501d3c5694dee8ca'
+         'e459ed069317bccb20351f037a9df3d2'
+         '22c5e24bf87ad94ee2244d9016a0eea2'
+         '6aff504ed5e860adc1b7317cd0780900'
+         '55fccb1da0417a896b724f7cfc32dd5a'
+         'ab2aa42c2947148c2b1cac0ade6d1d55'
+         'd429b59d3cfb37b0624c6a4a71a7c2c0'
+         'a225143e3df6f56d451c2875e54ddbae'
+         '687555968d4ca688d8f95c8f13e1d8d4'
+         '3d1e4a119f38cff0498bf8a67e94e4b3'
+         '5b41cfc6f4ad5cdbcd28cf980110f135'
+         'ee7c8e1f025ce1527ecfffabafb26806'
+         '41b03fb1e0a9d9ae7588e3b813212772'
+         'a9ffe72c3ede99d505fdc97572a7c256'
+         'df43bce1712320508d4eef8449c5d223'
+         '65d93f15ac85adf8299552581789a731'
+         '4badc3c664c55f87396a473e6c14d4bc'
+         '36f5953944f98c50c0212a584996028e'
+         'fe5e31b833cc6707209e9d656b6eb53c'
+         'd328d63eaa4252f3d4888476c79bbff6'
+         '23d0e12b7ca1cc6ea6b993c1d7ff20b9'
+         '857a831e8627727306208f0e776b1b98'
+         '8d95633ac2f1d4705206f7bef6d8a524'
+         'cf60e7ba4cf3467bb5539d5c51da61b6'
+         'a63ff9ef5250965aeabc74bfa8e43981')
diff --git a/abs/core/LinHES-config/checkout_MythVantage.sh b/abs/core/LinHES-config/checkout_MythVantage.sh
index 21f25e5..250f270 100755
--- a/abs/core/LinHES-config/checkout_MythVantage.sh
+++ b/abs/core/LinHES-config/checkout_MythVantage.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 MYDIR=`pwd`
 #MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/core-testing\/mythtv\/stable\/mythtv\/src\/mythtv-0.23"
-MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/core-testing\/mythtv\/stable-0.23\/mythtv\/src\/mythtv"
+MYTHPATH="\/data\/linhes_pkgbuild\/abs\/core\/mythtv\/stable-0.24\/src\/mythtv"
 function setup_links {
 rm mythinstall.bin
 rm mythbeselect.bin
diff --git a/abs/core/LinHES-config/systemconfig.py b/abs/core/LinHES-config/systemconfig.py
index 3b44779..340751d 100755
--- a/abs/core/LinHES-config/systemconfig.py
+++ b/abs/core/LinHES-config/systemconfig.py
@@ -41,6 +41,11 @@ def setup_x(systemconfig):
     else:
 	if not os.path.exists('/usr/share/icons/default'):
 		os.symlink('/usr/share/icons/whiteglass','/usr/share/icons/default');
+        if systemconfig["UseXLargeMouse"] == "1" :
+            cmd = "echo Xcursor.size: 48 > ~/.Xdefaults"
+        else:
+            cmd = "echo Xcursor.size: 16 > ~/.Xdefaults"
+        mv_common.runcmd(cmd)
 
         cmd = "%s/bin/xconfig.sh" %systemconfig["MVROOT"]
         mv_common.runcmd(cmd)
-- 
cgit v0.12