[oe-commits] org.oe.dev xserver-common 1.13: Add patch to skip touchscreen calibration if there's no TS.
pfalcon commit
openembedded-commits at lists.openembedded.org
Fri Feb 9 19:03:47 UTC 2007
xserver-common 1.13: Add patch to skip touchscreen calibration if there's no TS.
* Fixes GPE startup on TS-less machines like efika, qemu-arm, x86, lots of others.
Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 710640a606169a3c0bcea687566724486473a802
ViewMTN: http://monotone.openembedded.org/revision.psp?id=710640a606169a3c0bcea687566724486473a802
Files:
1
packages/xserver-common/files/calibrate-only-if-ts.patch
packages/xserver-common/xserver-common_1.13.bb
Diffs:
#
# mt diff -r064f6cf6a9c7a0c7bf6771ce35e295ba8a56535c -r710640a606169a3c0bcea687566724486473a802
#
#
#
# add_file "packages/xserver-common/files/calibrate-only-if-ts.patch"
# content [c8aba4c1dfefef2367b9afb0cbe1aee9b46a6f48]
#
# patch "packages/xserver-common/xserver-common_1.13.bb"
# from [331531b70a1ed1a5919d376b1f30f9ba94a5927a]
# to [2970d8dd4b799795de4d1fb9e6051f8370e18412]
#
============================================================
--- packages/xserver-common/files/calibrate-only-if-ts.patch c8aba4c1dfefef2367b9afb0cbe1aee9b46a6f48
+++ packages/xserver-common/files/calibrate-only-if-ts.patch c8aba4c1dfefef2367b9afb0cbe1aee9b46a6f48
@@ -0,0 +1,9 @@
+--- a/run-calibrate.sh.org 2006-10-12 10:19:42.000000000 +0000
++++ b/run-calibrate.sh 2007-02-09 17:54:55.000000000 +0000
+@@ -1,3 +1,5 @@
+ #! /bin/sh
+
+-exec xtscal
++if [ -e /dev/input/touchscreen0 ]; then
++ exec xtscal
++fi
============================================================
--- packages/xserver-common/xserver-common_1.13.bb 331531b70a1ed1a5919d376b1f30f9ba94a5927a
+++ packages/xserver-common/xserver-common_1.13.bb 2970d8dd4b799795de4d1fb9e6051f8370e18412
@@ -1,8 +1,8 @@ RDEPENDS_${PN} = "xmodmap xrandr xdpyinf
DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal"
-PR = "r1"
+PR = "r2"
PACKAGE_ARCH = "all"
@@ -10,7 +10,8 @@ SRC_URI_append = " file://setDPI.sh \
inherit gpe
SRC_URI_append = " file://setDPI.sh \
- file://xserver-imageon.patch;patch=1"
+ file://xserver-imageon.patch;patch=1 \
+ file://calibrate-only-if-ts.patch;patch=1"
do_install_append() {
install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
More information about the Openembedded-commits
mailing list