[oe-commits] Marcin Juszkiewicz : xinput-calibrator: added 0.5.0

git version control git at git.openembedded.org
Wed Jan 20 06:31:30 UTC 2010


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

Author: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Date:   Tue Jan 19 16:28:28 2010 +0100

xinput-calibrator: added 0.5.0

This is tool to calibrate touchscreens which works as XInput devices
(evdev, evtouch, ... but not tslib one).

So far only X11 version, GTKmm one will be provided later by Petr Štetiar.

---

 .../use-proper-compiler.patch                      |   20 ++++++++++++++++++++
 .../xinput-calibrator/xinput-calibrator_0.5.0.bb   |   13 +++++++++++++
 2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/recipes/xinput-calibrator/xinput-calibrator-0.5.0/use-proper-compiler.patch b/recipes/xinput-calibrator/xinput-calibrator-0.5.0/use-proper-compiler.patch
new file mode 100644
index 0000000..a7912fb
--- /dev/null
+++ b/recipes/xinput-calibrator/xinput-calibrator-0.5.0/use-proper-compiler.patch
@@ -0,0 +1,20 @@
+---
+ Makefile |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- git.orig/Makefile
++++ git/Makefile
+@@ -1,11 +1,11 @@
+ all: x11 gtkmm
+ 
+ x11: main_x11.cpp gui_x11.cpp
+-	g++ -Wall main_x11.cpp -lX11 -lXi -o xinput_calibrator.x11
++	$(CXX) $(CFLAGS) $(LDFLAGS) -Wall main_x11.cpp -lX11 -lXi -o xinput_calibrator.x11
+ 	cp xinput_calibrator.x11 xinput_calibrator
+ 
+ gtkmm: main_gtkmm.cpp gui_gtkmm.cpp
+-	g++ -Wall main_gtkmm.cpp `pkg-config --cflags --libs gtkmm-2.4` -o xinput_calibrator.gtkmm
++	$(CXX) $(CFLAGS) $(LDFLAGS) -Wall main_gtkmm.cpp `pkg-config --cflags --libs gtkmm-2.4` -o xinput_calibrator.gtkmm
+ 
+ clean:
+ 	rm -f xinput_calibrator xinput_calibrator.x11 xinput_calibrator.gtkmm
diff --git a/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb b/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb
new file mode 100644
index 0000000..59a2856
--- /dev/null
+++ b/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb
@@ -0,0 +1,13 @@
+DEPENDS = "virtual/libx11 libxi"
+
+SRCREV  = "6af268f1b435f7bdd83335092ddc684054df2110"
+SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \
+           file://use-proper-compiler.patch;patch=1"
+
+S = "${WORKDIR}/git/"
+EXTRA_OEMAKE = "x11"
+
+do_install() {
+	install -d ${D}${bindir}
+	install -m 0755 xinput_calibrator ${D}${bindir}
+}





More information about the Openembedded-commits mailing list