From: Mario Domenech Goulart Date: Fri, 12 Mar 2010 17:27:08 +0000 (-0300) Subject: xinput-calibrator: patch to fix miny and maxx printing order for UDEV and HAL X-Git-Tag: Release-2010-05/1~340^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98764601e536047238130cb8ad02c74250656346;p=openembedded.git xinput-calibrator: patch to fix miny and maxx printing order for UDEV and HAL Signed-off-by: Mario Domenech Goulart Signed-off-by: Otavio Salvador --- diff --git a/recipes/xinput-calibrator/xinput-calibrator-0.6.0/0001-calibratorXorgPrint.cpp-fix-miny-and-maxx-printing-o.patch b/recipes/xinput-calibrator/xinput-calibrator-0.6.0/0001-calibratorXorgPrint.cpp-fix-miny-and-maxx-printing-o.patch new file mode 100644 index 0000000000..fa0314726b --- /dev/null +++ b/recipes/xinput-calibrator/xinput-calibrator-0.6.0/0001-calibratorXorgPrint.cpp-fix-miny-and-maxx-printing-o.patch @@ -0,0 +1,36 @@ +From 383a3a8523814d1b108d2dc1ed812f80d6c9f050 Mon Sep 17 00:00:00 2001 +From: Mario Domenech Goulart +Date: Thu, 11 Mar 2010 11:05:18 -0300 +Subject: [PATCH] calibratorXorgPrint.cpp: fix miny and maxx printing order for UDEV and HAL + + +Signed-off-by: Mario Domenech Goulart +--- + src/calibrator/calibratorXorgPrint.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/calibrator/calibratorXorgPrint.cpp b/src/calibrator/calibratorXorgPrint.cpp +index 92d297a..1f74de0 100644 +--- a/src/calibrator/calibratorXorgPrint.cpp ++++ b/src/calibrator/calibratorXorgPrint.cpp +@@ -69,7 +69,7 @@ bool CalibratorXorgPrint::finish_data(const XYinfo new_axys, int swap_xy) + \tENV{x11_options.miny}=\"%d\"\n\ + \tENV{x11_options.maxx}=\"%d\"\n\ + \tENV{x11_options.maxy}=\"%d\"\n" +- , new_axys.x_min, new_axys.x_max, new_axys.y_min, new_axys.y_max); ++ , new_axys.x_min, new_axys.y_min, new_axys.x_max, new_axys.y_max); + if (swap_xy != 0) + printf("\tENV{x11_options.swapxy}=\"%d\"\n", swap_xy); + printf("\tLABEL=\"xorg_touchscreen_end\"\n"); +@@ -81,7 +81,7 @@ bool CalibratorXorgPrint::finish_data(const XYinfo new_axys, int swap_xy) + \t %d\n\ + \t %d\n\ + \t %d\n" +- , new_axys.x_min, new_axys.x_max, new_axys.y_min, new_axys.y_max); ++ , new_axys.x_min, new_axys.y_min, new_axys.x_max, new_axys.y_max); + if (swap_xy != 0) + printf("\t %d\n", swap_xy); + printf("\t\n"); +-- +1.6.3.3.444.g4ecbc + diff --git a/recipes/xinput-calibrator/xinput-calibrator_0.6.0.bb b/recipes/xinput-calibrator/xinput-calibrator_0.6.0.bb index 21194ae0be..fb43231e24 100644 --- a/recipes/xinput-calibrator/xinput-calibrator_0.6.0.bb +++ b/recipes/xinput-calibrator/xinput-calibrator_0.6.0.bb @@ -1,11 +1,12 @@ require xinput-calibrator.inc -SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git" +SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \ + file://0001-calibratorXorgPrint.cpp-fix-miny-and-maxx-printing-o.patch;patch=1" SRCREV = "d6e01d780001948f55006698e8e9e48c12894810" S = "${WORKDIR}/git/" -PR = "r1" +PR = "r2" do_install_append() { install -d ${D}${bindir}