[oe-commits] Martin Jansa : xserver-kdrive-common: SHR - don' t force user to calibrate his screen after first boot, but restore calibration if available.

git version control git at git.openembedded.org
Tue Feb 23 14:20:32 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 5c3846f9bbf1dbb4a9ee1d916107747c2f9dc909
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5c3846f9bbf1dbb4a9ee1d916107747c2f9dc909

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue Feb 23 15:06:49 2010 +0100

xserver-kdrive-common: SHR - don't force user to calibrate his screen after first boot, but restore calibration if available.

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../xserver-kdrive-common/shr/89xTs_Calibrate      |    2 ++
 .../xserver-kdrive-common_0.1.bb                   |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate b/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate
index 0abe3b4..a39ece5 100644
--- a/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate
+++ b/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate
@@ -28,6 +28,7 @@ if [ -d $SYSFS_CALIBRATION_DIR ]; then
 fi
 
 if [ -e /usr/bin/xinput_calibrator_once.sh ] ; then
+  if [ -e /etc/pointercal.xinput ] ; then
     if [ -e /usr/bin/fsoraw ] ; then
       # because ts tap to unblank will be used as first calibration click and then store invalid calibration
       fsoraw -fr CPU,Display -- /usr/bin/xinput_calibrator_once.sh
@@ -35,4 +36,5 @@ if [ -e /usr/bin/xinput_calibrator_once.sh ] ; then
       /usr/bin/xinput_calibrator_once.sh
     fi
     exit
+  fi
 fi
diff --git a/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb b/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
index bf4bca8..255df7a 100644
--- a/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
+++ b/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = "Common X11 scripts"
 LICENSE = "GPL"
 SECTION = "x11"
-PR = "r41"
+PR = "r42"
 
 SRC_URI = "\
   file://Xdefaults \





More information about the Openembedded-commits mailing list