summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--INSTALL32
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac4
-rw-r--r--src/Makefile.am5
5 files changed, 40 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 87fa680..fcb80fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,7 +22,6 @@ configure
22configure.scan 22configure.scan
23depcomp 23depcomp
24.deps/ 24.deps/
25INSTALL
26install-sh 25install-sh
27.libs/ 26.libs/
28libtool 27libtool
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..4e42ff7
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,32 @@
1grail - Gesture Recognition And Instantiation Library
2
3To build, you need to have the autoconf, libtool and mtdev-dev packages
4installed. Then, do
5
6 ./autogen.sh
7 ./configure
8 make
9
10To test the touch properties of an MT device at /dev/input/eventX, do
11
12 sudo ./test/grail-touch /dev/input/eventX
13
14You should be able to see touch events in the terminal. After five
15seconds of inactivity, the program exits.
16
17To test gestures, do
18
19 sudo ./test/grail-gesture 0xffffffff /dev/input/eventX
20
21You should be able to see gesture events in the terminal. After five
22seconds of inactivity, the program exits.
23
24To install grail, do
25
26 sudo make install
27
28By default, grail installs to /usr/local. To change, use the --prefix
29configure option.
30
31Enjoy,
32Henrik
diff --git a/Makefile.am b/Makefile.am
index f21509a..a2ad4d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,6 @@ INCLUDES = $(top_srcdir)/include/
9INSTALL: 9INSTALL:
10 $(INSTALL_CMD) 10 $(INSTALL_CMD)
11ChangeLog: 11ChangeLog:
12 $(CHANGELOG_CMD) 12 git log > ChangeLog
13 13
14dist-hook: ChangeLog INSTALL 14dist-hook: ChangeLog INSTALL
diff --git a/configure.ac b/configure.ac
index 52f16eb..b2e70d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
1# Initialize Autoconf 1# Initialize Autoconf
2AC_PREREQ([2.60]) 2AC_PREREQ([2.60])
3AC_INIT([Gesture Recognition And Instantiation Library], 3AC_INIT([Gesture Recognition And Instantiation Library],
4 [0.1.0], 4 [1.0.0],
5 [], 5 [],
6 [grail]) 6 [grail])
7AC_CONFIG_SRCDIR([Makefile.am]) 7AC_CONFIG_SRCDIR([Makefile.am])
@@ -12,7 +12,7 @@ AC_CONFIG_AUX_DIR([config-aux])
12AM_INIT_AUTOMAKE([foreign dist-bzip2]) 12AM_INIT_AUTOMAKE([foreign dist-bzip2])
13AM_MAINTAINER_MODE 13AM_MAINTAINER_MODE
14 14
15LIB_VERSION=0:1:0 15LIB_VERSION=1:0:0
16AC_SUBST([LIB_VERSION]) 16AC_SUBST([LIB_VERSION])
17 17
18# Initialize libtool 18# Initialize libtool
diff --git a/src/Makefile.am b/src/Makefile.am
index 4556610..932c8ae 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,17 +5,22 @@ libgrail_la_LDFLAGS = \
5 $(MTDEV_LIBS) 5 $(MTDEV_LIBS)
6 6
7libgrail_la_SOURCES = \ 7libgrail_la_SOURCES = \
8 evbuf.h \
9 gebuf.h \
8 touch-dev.c \ 10 touch-dev.c \
9 touch-engine.c \ 11 touch-engine.c \
10 grail-bits.c \ 12 grail-bits.c \
11 grail-inserter.c \ 13 grail-inserter.c \
14 grail-inserter.h \
12 grail-gestures.c \ 15 grail-gestures.c \
16 grail-gestures.h \
13 gestures-pan.c \ 17 gestures-pan.c \
14 gestures-pinch.c \ 18 gestures-pinch.c \
15 gestures-rotate.c \ 19 gestures-rotate.c \
16 gestures-combo.c \ 20 gestures-combo.c \
17 gestures-tapping.c \ 21 gestures-tapping.c \
18 grail-recognizer.c \ 22 grail-recognizer.c \
23 grail-recognizer.h \
19 grail-api.c 24 grail-api.c
20 25
21AM_CFLAGS = $(CWARNFLAGS) -pthread 26AM_CFLAGS = $(CWARNFLAGS) -pthread