xserver-common: update 89xTs_Calibrate.xinput_calibrator
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 23 Aug 2010 12:42:13 +0000 (14:42 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Mon, 23 Aug 2010 16:33:28 +0000 (18:33 +0200)
* after 5c3846f9bbf1dbb4a9ee1d916107747c2f9dc909 we already know that user won't be forced to provide new calibration, so no need to request Display,CPU resources

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/xserver-common/files/89xTs_Calibrate.xinput_calibrator.patch
recipes/xserver-common/xserver-common_1.33.bb

index e23bbf0..8f4b4d0 100644 (file)
@@ -2,16 +2,11 @@ Index: xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator
 ===================================================================
 --- xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator    (revision 0)
 +++ xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator    (revision 0)
-@@ -0,0 +1,12 @@
+@@ -0,0 +1,6 @@
 +#!/bin/sh
 +
 +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
-+    else
-+      /usr/bin/xinput_calibrator_once.sh
-+    fi
++    /usr/bin/xinput_calibrator_once.sh
 +  fi
 +fi
index 71fa231..7486459 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-PR = "r5"
+PR = "r6"
 
 PACKAGE_ARCH = "all"
 DEFAULT_PREFERENCE = "-1"