[oe-commits] Martin Jansa : xinput-calibrator: add pointercal. xinput data for om-gta02 and install it by default
git version control
git at git.openembedded.org
Sat May 29 07:34:17 UTC 2010
Module: openembedded.git
Branch: shr/testing2010
Commit: 7ce6d567e484fcfe5cfb6a16d28e37d013e2d717
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7ce6d567e484fcfe5cfb6a16d28e37d013e2d717
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Tue May 25 09:24:36 2010 +0200
xinput-calibrator: add pointercal.xinput data for om-gta02 and install it by default
* is there someone else then SHR using xinput_calibrator_once.sh in
Xsession.d? Then you should provide valid pointercal.xinput for your
devices.
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../files/om-gta02/pointercal.xinput | 2 ++
recipes/xinput-calibrator/files/pointercal.xinput | 1 +
.../xinput-calibrator/xinput-calibrator_0.6.1.bb | 6 ++++++
recipes/xinput-calibrator/xinput-calibrator_git.bb | 1 -
4 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/recipes/xinput-calibrator/files/om-gta02/pointercal.xinput b/recipes/xinput-calibrator/files/om-gta02/pointercal.xinput
new file mode 100644
index 0000000..be25da3
--- /dev/null
+++ b/recipes/xinput-calibrator/files/om-gta02/pointercal.xinput
@@ -0,0 +1,2 @@
+xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911 98
+xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
diff --git a/recipes/xinput-calibrator/files/pointercal.xinput b/recipes/xinput-calibrator/files/pointercal.xinput
new file mode 100644
index 0000000..9633fc5
--- /dev/null
+++ b/recipes/xinput-calibrator/files/pointercal.xinput
@@ -0,0 +1 @@
+# replace with valid machine specific pointercal.xinput
diff --git a/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb b/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb
index be03b32..8d0f245 100644
--- a/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb
+++ b/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb
@@ -1,16 +1,22 @@
require xinput-calibrator.inc
SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \
+ file://pointercal.xinput \
"
SRCREV = "d2ce98b3f638667dd64b6d718721379b2dc750a7"
+PR = "r1"
S = "${WORKDIR}/git/"
do_install_append() {
install -d ${D}${bindir}
install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
+ install -d ${D}${sysconfdir}
+ install -m 0644 ${WORKDIR}/pointercal.xinput ${D}${sysconfdir}/pointercal.xinput
ln -s ${bindir}/xinput_calibrator_x11 ${D}${bindir}/xinput_calibrator
install -d ${D}${datadir}/applications/
install -m 0755 scripts/xinput_calibrator.desktop ${D}${datadir}/applications/xinput-calibrator.desktop
install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh
}
+
+CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
diff --git a/recipes/xinput-calibrator/xinput-calibrator_git.bb b/recipes/xinput-calibrator/xinput-calibrator_git.bb
index 13c6a46..5fceed1 100644
--- a/recipes/xinput-calibrator/xinput-calibrator_git.bb
+++ b/recipes/xinput-calibrator/xinput-calibrator_git.bb
@@ -17,4 +17,3 @@ do_install_append() {
# remove this after misclick branch is well-tested and merged to master
DEFAULT_PREFERENCE = "-1"
-DEFAULT_PREFERENCE_shr = "1"
More information about the Openembedded-commits
mailing list