Merge lp:~fginther/grail/grail-2.0.1.1-oneiric into lp:grail/oneiric

Proposed by Francis Ginther
Status: Merged
Approved by: Daniel d'Andrada
Approved revision: 89
Merged at revision: 87
Proposed branch: lp:~fginther/grail/grail-2.0.1.1-oneiric
Merge into: lp:grail/oneiric
Diff against target: 2252 lines (+275/-449)
44 files modified
ChangeLog (+15/-22)
INSTALL (+1/-1)
Makefile.am (+1/-1)
Makefile.in (+5/-5)
configure (+33/-33)
configure.ac (+5/-5)
debian/changelog (+11/-182)
debian/control (+17/-12)
debian/copyright (+2/-2)
debian/libgrail-dev.install (+1/-1)
debian/libgrail1-udeb.install (+1/-1)
debian/libgrail1.install (+1/-1)
debian/libgrail1.symbols (+1/-1)
debian/rules (+1/-1)
debian/watch (+1/-1)
grail.pc.in (+2/-2)
include/grail.h (+8/-8)
src/Makefile.am (+5/-5)
src/Makefile.in (+31/-31)
src/gebuf.h (+1/-1)
src/gestures-drag.c (+3/-3)
src/gestures-pinch.c (+3/-3)
src/gestures-rotate.c (+3/-3)
src/gestures-tapping.c (+2/-2)
src/gestures-touch.c (+2/-2)
src/grail-api.c (+11/-11)
src/grail-event.c (+5/-5)
src/grail-frame.c (+16/-16)
src/grail-gestures.c (+10/-10)
src/grail-gestures.h (+10/-10)
src/grail-impl.h (+4/-4)
src/grail-init.c (+4/-4)
src/grail-inserter.c (+5/-5)
src/grail-inserter.h (+6/-6)
src/grail-legacy.c (+2/-2)
src/grail-recognizer.c (+1/-1)
src/grail-recognizer.h (+1/-1)
test/Makefile.am (+2/-2)
test/Makefile.in (+3/-4)
test/check-transform.c (+7/-7)
tools/Makefile.am (+1/-1)
tools/Makefile.in (+1/-1)
tools/grail-test-mtdev.c (+13/-13)
tools/grail-transform.c (+17/-17)
To merge this branch: bzr merge lp:~fginther/grail/grail-2.0.1.1-oneiric
Reviewer Review Type Date Requested Status
Daniel d'Andrada (community) Approve
Review via email: mp+120860@code.launchpad.net

Commit message

  * New upstream microrelease, bug fixes only
    - Rename project to simply 'grail' (LP: #1040218)
  * Updated debian/watch file for project rename
  * Rename package and update packaging
    - Added Conflicts and Replaces clauses for libgrail-dev, grail-tools and
      libgrail1-udeb

Description of the change

The primary rationale for this change is to repackage grail for the project rename.
  * New upstream microrelease, bug fixes only
    - Rename project to simply 'grail' (LP: #1040218)
  * Updated debian/watch file for project rename
  * Rename package and update packaging
    - Added Conflicts and Replaces clauses for libgrail-dev, grail-tools and
      libgrail1-udeb

To post a comment you must log in.
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Looks ok. Builds fine.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2011-08-09 22:00:48 +0000
+++ ChangeLog 2012-08-22 19:30:25 +0000
@@ -1,4 +1,19 @@
1------------------------------------------------------------1------------------------------------------------------------
2revno: 166
3tags: v2.0.1.1
4committer: Chase Douglas <chase.douglas@canonical.com>
5branch nick: 2.0.1
6timestamp: Wed 2012-08-15 19:37:38 +0000
7message:
8 Release version 2.0.1.1
9------------------------------------------------------------
10revno: 165
11committer: Chase Douglas <chase.douglas@canonical.com>
12branch nick: 2.0.1
13timestamp: Wed 2012-08-15 19:25:17 +0000
14message:
15 Rename project to simply 'grail'
16------------------------------------------------------------
2revno: 16417revno: 164
3tags: v2.0.118tags: v2.0.1
4committer: Chase Douglas <chase.douglas@ubuntu.com>19committer: Chase Douglas <chase.douglas@ubuntu.com>
@@ -1461,14 +1476,12 @@
1461------------------------------------------------------------1476------------------------------------------------------------
1462revno: 221477revno: 22
1463tags: v1.0.11478tags: v1.0.1
1464git commit: 4af2240c46ea401ce259f1c4c1401b335b397987
1465committer: Henrik Rydberg <rydberg@euromail.se>1479committer: Henrik Rydberg <rydberg@euromail.se>
1466timestamp: Fri 2010-08-06 14:39:27 +02001480timestamp: Fri 2010-08-06 14:39:27 +0200
1467message:1481message:
1468 grail v1.0.11482 grail v1.0.1
1469------------------------------------------------------------1483------------------------------------------------------------
1470revno: 211484revno: 21
1471git commit: 3b6bc1a7dc5871aef2c47426f87bb409a622de29
1472author: Henrik Rydberg <rydberg@bitmath.org>1485author: Henrik Rydberg <rydberg@bitmath.org>
1473committer: Henrik Rydberg <rydberg@euromail.se>1486committer: Henrik Rydberg <rydberg@euromail.se>
1474timestamp: Fri 2010-08-06 14:33:32 +02001487timestamp: Fri 2010-08-06 14:33:32 +0200
@@ -1484,7 +1497,6 @@
1484------------------------------------------------------------1497------------------------------------------------------------
1485revno: 201498revno: 20
1486tags: v1.0.01499tags: v1.0.0
1487git commit: 40d6c7304cf431f13bfe81600656b268c881a4a2
1488author: Henrik Rydberg <rydberg@bitmath.org>1500author: Henrik Rydberg <rydberg@bitmath.org>
1489committer: Henrik Rydberg <rydberg@euromail.se>1501committer: Henrik Rydberg <rydberg@euromail.se>
1490timestamp: Thu 2010-08-05 22:48:38 +02001502timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1496,7 +1508,6 @@
1496 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1508 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1497------------------------------------------------------------1509------------------------------------------------------------
1498revno: 191510revno: 19
1499git commit: 41be604bacf259d8dbcd6d5641fc3e6bb113dafc
1500author: Henrik Rydberg <rydberg@bitmath.org>1511author: Henrik Rydberg <rydberg@bitmath.org>
1501committer: Henrik Rydberg <rydberg@euromail.se>1512committer: Henrik Rydberg <rydberg@euromail.se>
1502timestamp: Thu 2010-08-05 22:48:38 +02001513timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1510,7 +1521,6 @@
1510 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1521 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1511------------------------------------------------------------1522------------------------------------------------------------
1512revno: 181523revno: 18
1513git commit: 7559b3d7aa725cd75ee4e6746246205392fe1c0f
1514author: Henrik Rydberg <rydberg@bitmath.org>1524author: Henrik Rydberg <rydberg@bitmath.org>
1515committer: Henrik Rydberg <rydberg@euromail.se>1525committer: Henrik Rydberg <rydberg@euromail.se>
1516timestamp: Thu 2010-08-05 22:48:38 +02001526timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1522,7 +1532,6 @@
1522 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1532 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1523------------------------------------------------------------1533------------------------------------------------------------
1524revno: 171534revno: 17
1525git commit: 8bbf06f8d0056ae30fdfaf260000e763fad2345c
1526author: Henrik Rydberg <rydberg@bitmath.org>1535author: Henrik Rydberg <rydberg@bitmath.org>
1527committer: Henrik Rydberg <rydberg@euromail.se>1536committer: Henrik Rydberg <rydberg@euromail.se>
1528timestamp: Thu 2010-08-05 22:48:38 +02001537timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1535,7 +1544,6 @@
1535 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1544 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1536------------------------------------------------------------1545------------------------------------------------------------
1537revno: 161546revno: 16
1538git commit: d5f810a0d3e0013a76136750eaff825ceec099a2
1539author: Henrik Rydberg <rydberg@bitmath.org>1547author: Henrik Rydberg <rydberg@bitmath.org>
1540committer: Henrik Rydberg <rydberg@euromail.se>1548committer: Henrik Rydberg <rydberg@euromail.se>
1541timestamp: Thu 2010-08-05 22:48:38 +02001549timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1548,7 +1556,6 @@
1548 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1556 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1549------------------------------------------------------------1557------------------------------------------------------------
1550revno: 151558revno: 15
1551git commit: d8e8d112aa907f8021ae99e6d7cd7856f1d90b70
1552author: Henrik Rydberg <rydberg@bitmath.org>1559author: Henrik Rydberg <rydberg@bitmath.org>
1553committer: Henrik Rydberg <rydberg@euromail.se>1560committer: Henrik Rydberg <rydberg@euromail.se>
1554timestamp: Thu 2010-08-05 22:48:38 +02001561timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1561,7 +1568,6 @@
1561 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1568 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1562------------------------------------------------------------1569------------------------------------------------------------
1563revno: 141570revno: 14
1564git commit: 00f7895d101de2703dbcea3600a68c4f653a0378
1565author: Henrik Rydberg <rydberg@bitmath.org>1571author: Henrik Rydberg <rydberg@bitmath.org>
1566committer: Henrik Rydberg <rydberg@euromail.se>1572committer: Henrik Rydberg <rydberg@euromail.se>
1567timestamp: Thu 2010-08-05 22:48:38 +02001573timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1576,7 +1582,6 @@
1576 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1582 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1577------------------------------------------------------------1583------------------------------------------------------------
1578revno: 131584revno: 13
1579git commit: d7d89e2afae9151f4d16aa71a99eedbf920ecc1a
1580author: Henrik Rydberg <rydberg@bitmath.org>1585author: Henrik Rydberg <rydberg@bitmath.org>
1581committer: Henrik Rydberg <rydberg@euromail.se>1586committer: Henrik Rydberg <rydberg@euromail.se>
1582timestamp: Thu 2010-08-05 22:48:38 +02001587timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1586,7 +1591,6 @@
1586 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1591 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1587------------------------------------------------------------1592------------------------------------------------------------
1588revno: 121593revno: 12
1589git commit: 88dada465e0fad35b5a535a042e0a93046ffff7c
1590author: Henrik Rydberg <rydberg@bitmath.org>1594author: Henrik Rydberg <rydberg@bitmath.org>
1591committer: Henrik Rydberg <rydberg@euromail.se>1595committer: Henrik Rydberg <rydberg@euromail.se>
1592timestamp: Thu 2010-08-05 22:48:38 +02001596timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1598,7 +1602,6 @@
1598 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1602 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1599------------------------------------------------------------1603------------------------------------------------------------
1600revno: 111604revno: 11
1601git commit: 697b5b5c7d2b1c46387061fcbed24cbee51d98ce
1602author: Henrik Rydberg <rydberg@bitmath.org>1605author: Henrik Rydberg <rydberg@bitmath.org>
1603committer: Henrik Rydberg <rydberg@euromail.se>1606committer: Henrik Rydberg <rydberg@euromail.se>
1604timestamp: Thu 2010-08-05 22:48:38 +02001607timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1611,7 +1614,6 @@
1611 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1614 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1612------------------------------------------------------------1615------------------------------------------------------------
1613revno: 101616revno: 10
1614git commit: 642d7ee26f347152a106d48ddad37a8059d36fb1
1615author: Henrik Rydberg <rydberg@bitmath.org>1617author: Henrik Rydberg <rydberg@bitmath.org>
1616committer: Henrik Rydberg <rydberg@euromail.se>1618committer: Henrik Rydberg <rydberg@euromail.se>
1617timestamp: Thu 2010-08-05 22:48:38 +02001619timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1626,7 +1628,6 @@
1626 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1628 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1627------------------------------------------------------------1629------------------------------------------------------------
1628revno: 91630revno: 9
1629git commit: d07c43f9f19dc0ee38aaf44947cfc396f437490e
1630author: Henrik Rydberg <rydberg@bitmath.org>1631author: Henrik Rydberg <rydberg@bitmath.org>
1631committer: Henrik Rydberg <rydberg@euromail.se>1632committer: Henrik Rydberg <rydberg@euromail.se>
1632timestamp: Thu 2010-08-05 22:48:38 +02001633timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1639,7 +1640,6 @@
1639 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1640 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1640------------------------------------------------------------1641------------------------------------------------------------
1641revno: 81642revno: 8
1642git commit: 342a43e7b2ceec1dd200bffa24b052fec33f5bdc
1643author: Henrik Rydberg <rydberg@bitmath.org>1643author: Henrik Rydberg <rydberg@bitmath.org>
1644committer: Henrik Rydberg <rydberg@euromail.se>1644committer: Henrik Rydberg <rydberg@euromail.se>
1645timestamp: Thu 2010-08-05 22:48:38 +02001645timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1653,7 +1653,6 @@
1653 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1653 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1654------------------------------------------------------------1654------------------------------------------------------------
1655revno: 71655revno: 7
1656git commit: e0eb1015bf30fd0913db571b000ba6a83ea22660
1657author: Henrik Rydberg <rydberg@bitmath.org>1656author: Henrik Rydberg <rydberg@bitmath.org>
1658committer: Henrik Rydberg <rydberg@euromail.se>1657committer: Henrik Rydberg <rydberg@euromail.se>
1659timestamp: Thu 2010-08-05 22:48:38 +02001658timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1666,7 +1665,6 @@
1666 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1665 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1667------------------------------------------------------------1666------------------------------------------------------------
1668revno: 61667revno: 6
1669git commit: b76660d71e2ea77752025089bd71deffad64e325
1670author: Henrik Rydberg <rydberg@bitmath.org>1668author: Henrik Rydberg <rydberg@bitmath.org>
1671committer: Henrik Rydberg <rydberg@euromail.se>1669committer: Henrik Rydberg <rydberg@euromail.se>
1672timestamp: Thu 2010-08-05 22:48:38 +02001670timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1678,7 +1676,6 @@
1678 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1676 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1679------------------------------------------------------------1677------------------------------------------------------------
1680revno: 51678revno: 5
1681git commit: eb896e11aacab5f53e3915a8d19ffffd92ce8e10
1682author: Henrik Rydberg <rydberg@bitmath.org>1679author: Henrik Rydberg <rydberg@bitmath.org>
1683committer: Henrik Rydberg <rydberg@euromail.se>1680committer: Henrik Rydberg <rydberg@euromail.se>
1684timestamp: Thu 2010-08-05 22:48:38 +02001681timestamp: Thu 2010-08-05 22:48:38 +0200
@@ -1692,7 +1689,6 @@
1692 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1689 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1693------------------------------------------------------------1690------------------------------------------------------------
1694revno: 41691revno: 4
1695git commit: 3b9c20f869a2f55bd9953665c9e7fd713db4ff43
1696author: Henrik Rydberg <rydberg@bitmath.org>1692author: Henrik Rydberg <rydberg@bitmath.org>
1697committer: Henrik Rydberg <rydberg@euromail.se>1693committer: Henrik Rydberg <rydberg@euromail.se>
1698timestamp: Thu 2010-08-05 22:48:37 +02001694timestamp: Thu 2010-08-05 22:48:37 +0200
@@ -1702,7 +1698,6 @@
1702 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1698 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1703------------------------------------------------------------1699------------------------------------------------------------
1704revno: 31700revno: 3
1705git commit: 49922aacc4e6361e2a11dd2ce8460c80b41ab493
1706author: Henrik Rydberg <rydberg@bitmath.org>1701author: Henrik Rydberg <rydberg@bitmath.org>
1707committer: Henrik Rydberg <rydberg@euromail.se>1702committer: Henrik Rydberg <rydberg@euromail.se>
1708timestamp: Thu 2010-08-05 22:48:37 +02001703timestamp: Thu 2010-08-05 22:48:37 +0200
@@ -1712,7 +1707,6 @@
1712 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1707 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1713------------------------------------------------------------1708------------------------------------------------------------
1714revno: 21709revno: 2
1715git commit: 7c277ee54e7d0ea0c44b304897049a01e2d1a44a
1716author: Stephen M. Webb <stephen.webb@bregmasoft.ca>1710author: Stephen M. Webb <stephen.webb@bregmasoft.ca>
1717committer: Henrik Rydberg <rydberg@euromail.se>1711committer: Henrik Rydberg <rydberg@euromail.se>
1718timestamp: Thu 2010-08-05 22:48:37 +02001712timestamp: Thu 2010-08-05 22:48:37 +0200
@@ -1725,7 +1719,6 @@
1725 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>1719 Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
1726------------------------------------------------------------1720------------------------------------------------------------
1727revno: 11721revno: 1
1728git commit: 3b837806891de6cf77d4d74d04567e7e68c82fc0
1729committer: Henrik Rydberg <rydberg@bitmath.org>1722committer: Henrik Rydberg <rydberg@bitmath.org>
1730timestamp: Tue 2010-07-13 11:26:46 +02001723timestamp: Tue 2010-07-13 11:26:46 +0200
1731message:1724message:
17321725
=== modified file 'INSTALL'
--- INSTALL 2011-01-02 12:08:08 +0000
+++ INSTALL 2012-08-22 19:30:25 +0000
@@ -1,7 +1,7 @@
1grail - Gesture Recognition And Instantiation Library1grail - Gesture Recognition And Instantiation Library
22
3To build, you need to have the autoconf, libtool, mtdev-dev,3To build, you need to have the autoconf, libtool, mtdev-dev,
4libutouch-evemu-dev and libutouch-frame packages installed. Then, do4libevemu-dev and libframe-dev packages installed. Then, do
55
6 ./autogen.sh6 ./autogen.sh
7 ./configure7 ./configure
88
=== modified file 'Makefile.am'
--- Makefile.am 2011-01-02 12:06:04 +0000
+++ Makefile.am 2012-08-22 19:30:25 +0000
@@ -1,7 +1,7 @@
1SUBDIRS = src test tools1SUBDIRS = src test tools
22
3pkgconfigdir = $(libdir)/pkgconfig3pkgconfigdir = $(libdir)/pkgconfig
4pkgconfig_DATA = utouch-grail.pc4pkgconfig_DATA = grail.pc
55
6INCLUDES = $(top_srcdir)/include/6INCLUDES = $(top_srcdir)/include/
77
88
=== modified file 'Makefile.in'
--- Makefile.in 2011-08-09 21:58:43 +0000
+++ Makefile.in 2012-08-22 19:30:25 +0000
@@ -37,8 +37,8 @@
37subdir = .37subdir = .
38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
39 $(srcdir)/Makefile.in $(srcdir)/config.h.in \39 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
40 $(srcdir)/utouch-grail.pc.in $(top_srcdir)/configure AUTHORS \40 $(srcdir)/grail.pc.in $(top_srcdir)/configure AUTHORS COPYING \
41 COPYING ChangeLog INSTALL config-aux/config.guess \41 ChangeLog INSTALL config-aux/config.guess \
42 config-aux/config.sub config-aux/depcomp config-aux/install-sh \42 config-aux/config.sub config-aux/depcomp config-aux/install-sh \
43 config-aux/ltmain.sh config-aux/missing43 config-aux/ltmain.sh config-aux/missing
44ACLOCAL_M4 = $(top_srcdir)/aclocal.m444ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -49,7 +49,7 @@
49 configure.lineno config.status.lineno49 configure.lineno config.status.lineno
50mkinstalldirs = $(install_sh) -d50mkinstalldirs = $(install_sh) -d
51CONFIG_HEADER = config.h51CONFIG_HEADER = config.h
52CONFIG_CLEAN_FILES = utouch-grail.pc52CONFIG_CLEAN_FILES = grail.pc
53CONFIG_CLEAN_VPATH_FILES =53CONFIG_CLEAN_VPATH_FILES =
54SOURCES =54SOURCES =
55DIST_SOURCES =55DIST_SOURCES =
@@ -257,7 +257,7 @@
257top_srcdir = @top_srcdir@257top_srcdir = @top_srcdir@
258SUBDIRS = src test tools258SUBDIRS = src test tools
259pkgconfigdir = $(libdir)/pkgconfig259pkgconfigdir = $(libdir)/pkgconfig
260pkgconfig_DATA = utouch-grail.pc260pkgconfig_DATA = grail.pc
261INCLUDES = $(top_srcdir)/include/261INCLUDES = $(top_srcdir)/include/
262all: config.h262all: config.h
263 $(MAKE) $(AM_MAKEFLAGS) all-recursive263 $(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -314,7 +314,7 @@
314314
315distclean-hdr:315distclean-hdr:
316 -rm -f config.h stamp-h1316 -rm -f config.h stamp-h1
317utouch-grail.pc: $(top_builddir)/config.status $(srcdir)/utouch-grail.pc.in317grail.pc: $(top_builddir)/config.status $(srcdir)/grail.pc.in
318 cd $(top_builddir) && $(SHELL) ./config.status $@318 cd $(top_builddir) && $(SHELL) ./config.status $@
319319
320mostlyclean-libtool:320mostlyclean-libtool:
321321
=== modified file 'configure'
--- configure 2011-08-09 21:58:43 +0000
+++ configure 2012-08-22 19:30:25 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for Gesture Recognition And Instantiation Library 2.0.1.3# Generated by GNU Autoconf 2.68 for Gesture Recognition And Instantiation Library 2.0.1.1.
4#4#
5#5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -566,9 +566,9 @@
566566
567# Identity of this package.567# Identity of this package.
568PACKAGE_NAME='Gesture Recognition And Instantiation Library'568PACKAGE_NAME='Gesture Recognition And Instantiation Library'
569PACKAGE_TARNAME='utouch-grail'569PACKAGE_TARNAME='grail'
570PACKAGE_VERSION='2.0.1'570PACKAGE_VERSION='2.0.1.1'
571PACKAGE_STRING='Gesture Recognition And Instantiation Library 2.0.1'571PACKAGE_STRING='Gesture Recognition And Instantiation Library 2.0.1.1'
572PACKAGE_BUGREPORT=''572PACKAGE_BUGREPORT=''
573PACKAGE_URL=''573PACKAGE_URL=''
574574
@@ -1319,7 +1319,7 @@
1319 # Omit some internal or obsolete options to make the list less imposing.1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.1320 # This message is too long to be a string in the A/UX 3.1 sh.
1321 cat <<_ACEOF1321 cat <<_ACEOF
1322\`configure' configures Gesture Recognition And Instantiation Library 2.0.1 to adapt to many kinds of systems.1322\`configure' configures Gesture Recognition And Instantiation Library 2.0.1.1 to adapt to many kinds of systems.
13231323
1324Usage: $0 [OPTION]... [VAR=VALUE]...1324Usage: $0 [OPTION]... [VAR=VALUE]...
13251325
@@ -1367,7 +1367,7 @@
1367 --infodir=DIR info documentation [DATAROOTDIR/info]1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/utouch-grail]1370 --docdir=DIR documentation root [DATAROOTDIR/doc/grail]
1371 --htmldir=DIR html documentation [DOCDIR]1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]1373 --pdfdir=DIR pdf documentation [DOCDIR]
@@ -1389,7 +1389,7 @@
13891389
1390if test -n "$ac_init_help"; then1390if test -n "$ac_init_help"; then
1391 case $ac_init_help in1391 case $ac_init_help in
1392 short | recursive ) echo "Configuration of Gesture Recognition And Instantiation Library 2.0.1:";;1392 short | recursive ) echo "Configuration of Gesture Recognition And Instantiation Library 2.0.1.1:";;
1393 esac1393 esac
1394 cat <<\_ACEOF1394 cat <<\_ACEOF
13951395
@@ -1513,7 +1513,7 @@
1513test -n "$ac_init_help" && exit $ac_status1513test -n "$ac_init_help" && exit $ac_status
1514if $ac_init_version; then1514if $ac_init_version; then
1515 cat <<\_ACEOF1515 cat <<\_ACEOF
1516Gesture Recognition And Instantiation Library configure 2.0.11516Gesture Recognition And Instantiation Library configure 2.0.1.1
1517generated by GNU Autoconf 2.681517generated by GNU Autoconf 2.68
15181518
1519Copyright (C) 2010 Free Software Foundation, Inc.1519Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1791,7 +1791,7 @@
1791This file contains any messages produced by compilers while1791This file contains any messages produced by compilers while
1792running configure, to aid debugging if configure makes a mistake.1792running configure, to aid debugging if configure makes a mistake.
17931793
1794It was created by Gesture Recognition And Instantiation Library $as_me 2.0.1, which was1794It was created by Gesture Recognition And Instantiation Library $as_me 2.0.1.1, which was
1795generated by GNU Autoconf 2.68. Invocation command line was1795generated by GNU Autoconf 2.68. Invocation command line was
17961796
1797 $ $0 $@1797 $ $0 $@
@@ -2610,8 +2610,8 @@
26102610
26112611
2612# Define the identity of the package.2612# Define the identity of the package.
2613 PACKAGE='utouch-grail'2613 PACKAGE='grail'
2614 VERSION='2.0.1'2614 VERSION='2.0.1.1'
26152615
26162616
2617cat >>confdefs.h <<_ACEOF2617cat >>confdefs.h <<_ACEOF
@@ -12090,12 +12090,12 @@
12090 pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS"12090 pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS"
12091 elif test -n "$PKG_CONFIG"; then12091 elif test -n "$PKG_CONFIG"; then
12092 if test -n "$PKG_CONFIG" && \12092 if test -n "$PKG_CONFIG" && \
12093 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu >= 1.0.5\""; } >&512093 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evemu >= 1.0.5\""; } >&5
12094 ($PKG_CONFIG --exists --print-errors "utouch-evemu >= 1.0.5") 2>&512094 ($PKG_CONFIG --exists --print-errors "evemu >= 1.0.5") 2>&5
12095 ac_status=$?12095 ac_status=$?
12096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&512096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12097 test $ac_status = 0; }; then12097 test $ac_status = 0; }; then
12098 pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "utouch-evemu >= 1.0.5" 2>/dev/null`12098 pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "evemu >= 1.0.5" 2>/dev/null`
12099 test "x$?" != "x0" && pkg_failed=yes12099 test "x$?" != "x0" && pkg_failed=yes
12100else12100else
12101 pkg_failed=yes12101 pkg_failed=yes
@@ -12107,12 +12107,12 @@
12107 pkg_cv_EVEMU_LIBS="$EVEMU_LIBS"12107 pkg_cv_EVEMU_LIBS="$EVEMU_LIBS"
12108 elif test -n "$PKG_CONFIG"; then12108 elif test -n "$PKG_CONFIG"; then
12109 if test -n "$PKG_CONFIG" && \12109 if test -n "$PKG_CONFIG" && \
12110 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu >= 1.0.5\""; } >&512110 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evemu >= 1.0.5\""; } >&5
12111 ($PKG_CONFIG --exists --print-errors "utouch-evemu >= 1.0.5") 2>&512111 ($PKG_CONFIG --exists --print-errors "evemu >= 1.0.5") 2>&5
12112 ac_status=$?12112 ac_status=$?
12113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&512113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12114 test $ac_status = 0; }; then12114 test $ac_status = 0; }; then
12115 pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "utouch-evemu >= 1.0.5" 2>/dev/null`12115 pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "evemu >= 1.0.5" 2>/dev/null`
12116 test "x$?" != "x0" && pkg_failed=yes12116 test "x$?" != "x0" && pkg_failed=yes
12117else12117else
12118 pkg_failed=yes12118 pkg_failed=yes
@@ -12133,14 +12133,14 @@
12133 _pkg_short_errors_supported=no12133 _pkg_short_errors_supported=no
12134fi12134fi
12135 if test $_pkg_short_errors_supported = yes; then12135 if test $_pkg_short_errors_supported = yes; then
12136 EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "utouch-evemu >= 1.0.5" 2>&1`12136 EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evemu >= 1.0.5" 2>&1`
12137 else12137 else
12138 EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "utouch-evemu >= 1.0.5" 2>&1`12138 EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evemu >= 1.0.5" 2>&1`
12139 fi12139 fi
12140 # Put the nasty error message in config.log where it belongs12140 # Put the nasty error message in config.log where it belongs
12141 echo "$EVEMU_PKG_ERRORS" >&512141 echo "$EVEMU_PKG_ERRORS" >&5
1214212142
12143 as_fn_error $? "Package requirements (utouch-evemu >= 1.0.5) were not met:12143 as_fn_error $? "Package requirements (evemu >= 1.0.5) were not met:
1214412144
12145$EVEMU_PKG_ERRORS12145$EVEMU_PKG_ERRORS
1214612146
@@ -12181,12 +12181,12 @@
12181 pkg_cv_FRAME_CFLAGS="$FRAME_CFLAGS"12181 pkg_cv_FRAME_CFLAGS="$FRAME_CFLAGS"
12182 elif test -n "$PKG_CONFIG"; then12182 elif test -n "$PKG_CONFIG"; then
12183 if test -n "$PKG_CONFIG" && \12183 if test -n "$PKG_CONFIG" && \
12184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-frame >= 1.0\""; } >&512184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"frame >= 1.0\""; } >&5
12185 ($PKG_CONFIG --exists --print-errors "utouch-frame >= 1.0") 2>&512185 ($PKG_CONFIG --exists --print-errors "frame >= 1.0") 2>&5
12186 ac_status=$?12186 ac_status=$?
12187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&512187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12188 test $ac_status = 0; }; then12188 test $ac_status = 0; }; then
12189 pkg_cv_FRAME_CFLAGS=`$PKG_CONFIG --cflags "utouch-frame >= 1.0" 2>/dev/null`12189 pkg_cv_FRAME_CFLAGS=`$PKG_CONFIG --cflags "frame >= 1.0" 2>/dev/null`
12190 test "x$?" != "x0" && pkg_failed=yes12190 test "x$?" != "x0" && pkg_failed=yes
12191else12191else
12192 pkg_failed=yes12192 pkg_failed=yes
@@ -12198,12 +12198,12 @@
12198 pkg_cv_FRAME_LIBS="$FRAME_LIBS"12198 pkg_cv_FRAME_LIBS="$FRAME_LIBS"
12199 elif test -n "$PKG_CONFIG"; then12199 elif test -n "$PKG_CONFIG"; then
12200 if test -n "$PKG_CONFIG" && \12200 if test -n "$PKG_CONFIG" && \
12201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-frame >= 1.0\""; } >&512201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"frame >= 1.0\""; } >&5
12202 ($PKG_CONFIG --exists --print-errors "utouch-frame >= 1.0") 2>&512202 ($PKG_CONFIG --exists --print-errors "frame >= 1.0") 2>&5
12203 ac_status=$?12203 ac_status=$?
12204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&512204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12205 test $ac_status = 0; }; then12205 test $ac_status = 0; }; then
12206 pkg_cv_FRAME_LIBS=`$PKG_CONFIG --libs "utouch-frame >= 1.0" 2>/dev/null`12206 pkg_cv_FRAME_LIBS=`$PKG_CONFIG --libs "frame >= 1.0" 2>/dev/null`
12207 test "x$?" != "x0" && pkg_failed=yes12207 test "x$?" != "x0" && pkg_failed=yes
12208else12208else
12209 pkg_failed=yes12209 pkg_failed=yes
@@ -12224,14 +12224,14 @@
12224 _pkg_short_errors_supported=no12224 _pkg_short_errors_supported=no
12225fi12225fi
12226 if test $_pkg_short_errors_supported = yes; then12226 if test $_pkg_short_errors_supported = yes; then
12227 FRAME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "utouch-frame >= 1.0" 2>&1`12227 FRAME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "frame >= 1.0" 2>&1`
12228 else12228 else
12229 FRAME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "utouch-frame >= 1.0" 2>&1`12229 FRAME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "frame >= 1.0" 2>&1`
12230 fi12230 fi
12231 # Put the nasty error message in config.log where it belongs12231 # Put the nasty error message in config.log where it belongs
12232 echo "$FRAME_PKG_ERRORS" >&512232 echo "$FRAME_PKG_ERRORS" >&5
1223312233
12234 as_fn_error $? "Package requirements (utouch-frame >= 1.0) were not met:12234 as_fn_error $? "Package requirements (frame >= 1.0) were not met:
1223512235
12236$FRAME_PKG_ERRORS12236$FRAME_PKG_ERRORS
1223712237
@@ -12460,7 +12460,7 @@
12460fi12460fi
1246112461
1246212462
12463ac_config_files="$ac_config_files Makefile src/Makefile tools/Makefile test/Makefile utouch-grail.pc"12463ac_config_files="$ac_config_files Makefile src/Makefile tools/Makefile test/Makefile grail.pc"
1246412464
12465cat >confcache <<\_ACEOF12465cat >confcache <<\_ACEOF
12466# This file is a shell script that caches the results of configure12466# This file is a shell script that caches the results of configure
@@ -13012,7 +13012,7 @@
13012# report actual input values of CONFIG_FILES etc. instead of their13012# report actual input values of CONFIG_FILES etc. instead of their
13013# values after options handling.13013# values after options handling.
13014ac_log="13014ac_log="
13015This file was extended by Gesture Recognition And Instantiation Library $as_me 2.0.1, which was13015This file was extended by Gesture Recognition And Instantiation Library $as_me 2.0.1.1, which was
13016generated by GNU Autoconf 2.68. Invocation command line was13016generated by GNU Autoconf 2.68. Invocation command line was
1301713017
13018 CONFIG_FILES = $CONFIG_FILES13018 CONFIG_FILES = $CONFIG_FILES
@@ -13078,7 +13078,7 @@
13078cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=113078cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13079ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"13079ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13080ac_cs_version="\\13080ac_cs_version="\\
13081Gesture Recognition And Instantiation Library config.status 2.0.113081Gesture Recognition And Instantiation Library config.status 2.0.1.1
13082configured by $0, generated by GNU Autoconf 2.68,13082configured by $0, generated by GNU Autoconf 2.68,
13083 with options \\"\$ac_cs_config\\"13083 with options \\"\$ac_cs_config\\"
1308413084
@@ -13491,7 +13491,7 @@
13491 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;13491 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13492 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;13492 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13493 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;13493 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13494 "utouch-grail.pc") CONFIG_FILES="$CONFIG_FILES utouch-grail.pc" ;;13494 "grail.pc") CONFIG_FILES="$CONFIG_FILES grail.pc" ;;
1349513495
13496 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;13496 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13497 esac13497 esac
1349813498
=== modified file 'configure.ac'
--- configure.ac 2011-08-09 21:58:43 +0000
+++ configure.ac 2012-08-22 19:30:25 +0000
@@ -1,9 +1,9 @@
1# Initialize Autoconf1# 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 [2.0.1],4 [2.0.1.1],
5 [],5 [],
6 [utouch-grail])6 [grail])
7AC_CONFIG_SRCDIR([Makefile.am])7AC_CONFIG_SRCDIR([Makefile.am])
8AC_CONFIG_HEADERS([config.h])8AC_CONFIG_HEADERS([config.h])
9AC_CONFIG_AUX_DIR([config-aux])9AC_CONFIG_AUX_DIR([config-aux])
@@ -23,8 +23,8 @@
23AC_PROG_INSTALL23AC_PROG_INSTALL
2424
25PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1])25PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1])
26PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0.5])26PKG_CHECK_MODULES([EVEMU], [evemu >= 1.0.5])
27PKG_CHECK_MODULES([FRAME], [utouch-frame >= 1.0])27PKG_CHECK_MODULES([FRAME], [frame >= 1.0])
2828
29AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support]))29AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support]))
30AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"])30AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"])
@@ -43,6 +43,6 @@
43 src/Makefile43 src/Makefile
44 tools/Makefile44 tools/Makefile
45 test/Makefile45 test/Makefile
46 utouch-grail.pc])46 grail.pc])
47AC_OUTPUT47AC_OUTPUT
4848
4949
=== modified file 'debian/changelog'
--- debian/changelog 2011-08-09 22:04:08 +0000
+++ debian/changelog 2012-08-22 19:30:25 +0000
@@ -1,182 +1,11 @@
1utouch-grail (2.0.1-0ubuntu1) oneiric; urgency=low1grail (2.0.1.1-0ubuntu1) UNRELEASED; urgency=low
22
3 * New upstream release.3 * New upstream microrelease, bug fixes only
4 - Use physical dimensions instead of device dimensions for thresholds4 - Rename project to simply 'grail' (LP: #1040218)
5 (LP: #823457)5 * Updated debian/watch file for project rename
6 * Bump lintian standards version to 3.9.26 * Rename package and update packaging
77 - Added Conflicts and Replaces clauses for libgrail-dev, grail-tools and
8 -- Chase Douglas <chase.douglas@ubuntu.com> Tue, 09 Aug 2011 15:03:44 -07008 libgrail1-udeb
99
10utouch-grail (2.0.0-0ubuntu1) oneiric; urgency=low10 -- Francis Ginther <francis.ginther@canonical.com> Wed, 22 Aug 2012 13:02:46 -0500
1111
12 [ Chase Douglas ]
13 * Remove unnecessary cdbs rules and build-depends.
14 * Added pivot disambiguation.
15
16 [ Jussi Pakkanen ]
17 * Added rotation and pinch center coordinates.
18 * Added XInput device autodetection.
19
20 [ Stephen M. Webb ]
21 * Added libutouch-grail-dev dependency on libutouch-frame-dev
22 * New upstream release v2.0.0.
23
24 -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 17 Jun 2011 12:17:36 +0200
25
26utouch-grail (1.0.20-0ubuntu1) natty; urgency=low
27
28 [ Henrik Rydberg ]
29 * New upstream release.
30 * Fixes bug LP: #637106
31
32 -- Chase Douglas <chase.douglas@ubuntu.com> Wed, 09 Mar 2011 12:14:40 -0500
33
34utouch-grail (1.0.19-0ubuntu2) natty; urgency=low
35
36 * Rebuild against utouch-frame 1.0.0-0ubuntu3 to fix udeb dependencies.
37
38 -- Colin Watson <cjwatson@ubuntu.com> Tue, 22 Feb 2011 20:17:07 +0000
39
40utouch-grail (1.0.19-0ubuntu1) natty; urgency=low
41
42 * New upstream release. (LP: #722780)
43 * Integrates with XInput 2.1 multitouch.
44
45 -- Chase Douglas <chase.douglas@ubuntu.com> Mon, 21 Feb 2011 17:30:23 -0500
46
47utouch-grail (1.0.18-0ubuntu1) natty; urgency=low
48
49 * New upstream release. (LP: #702637)
50 * Remove symbols unintentionally included in grail-1.0
51 * Update package dependencies
52
53 -- Henrik Rydberg <rydberg@bitmath.org> Mon, 03 Jan 2011 21:21:34 +0100
54
55utouch-grail (1.0.16-0ubuntu2) natty; urgency=low
56
57 * rebuild the -updates maverick version with natty toolchain (LP: #667802)
58
59 -- Didier Roche <didrocks@ubuntu.com> Tue, 23 Nov 2010 13:04:23 +0100
60
61utouch-grail (1.0.16-0ubuntu1) maverick-proposed; urgency=low
62
63 * Report touch down on one-finger entry (LP: #667802)
64 * New upstream release.
65
66 -- Henrik Rydberg <rydberg@bitmath.org> Mon, 08 Nov 2010 21:02:29 +0100
67
68utouch-grail (1.0.15-0ubuntu1) maverick-proposed; urgency=low
69
70 * New upstream release.
71 - Fix one Finger tap as mouse click is confusing LP: #647761
72
73 -- Henrik Rydberg <rydberg@bitmath.org> Tue, 28 Sep 2010 13:55:19 +0200
74
75utouch-grail (1.0.14-0ubuntu1) maverick; urgency=low
76
77 [ Henrik Rydberg ]
78 * New upstream release.
79
80 [ Stephen M. Webb ]
81 * Ubuntu feature freeze exception (LP: #644385 ).
82
83 -- Stephen M. Webb <stephen.webb@canonical.com> Wed, 22 Sep 2010 07:20:16 -0400
84
85utouch-grail (1.0.13-0ubuntu1) maverick; urgency=low
86
87 [ Henrik Rydberg ]
88 * New upstream release.
89 - LP: #635011
90
91 -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 10 Sep 2010 11:25:44 -0400
92
93utouch-grail (1.0.12-0ubuntu1) maverick; urgency=low
94
95 * New upstream release.
96
97 -- Henrik Rydberg <rydberg@bitmath.org> Tue, 07 Sep 2010 20:55:38 +0200
98
99utouch-grail (1.0.11-0ubuntu1) maverick; urgency=low
100
101 * New upstream release.
102 - LP: #624856
103
104 -- Chase Douglas <chase.douglas@ubuntu.com> Thu, 26 Aug 2010 15:16:10 -0400
105
106utouch-grail (1.0.10-0ubuntu1) maverick; urgency=low
107
108 [ Chase Douglas ]
109 * Add udeb for debian installer
110 * Update package descriptions
111
112 [ Henrik Rydberg ]
113 * New upstream release.
114 * Modified symbols file.
115 * Added break clause for geis and gevdev.
116 * Added newer dependency on mtdev.
117
118 [ Chase Douglas ]
119 * Upload package to Ubuntu
120 - LP: #623005
121
122 -- Chase Douglas <chase.douglas@ubuntu.com> Mon, 23 Aug 2010 16:57:54 -0400
123
124utouch-grail (1.0.8-0ubuntu3) maverick; urgency=low
125
126 * Add src/evbuf.h copyright to debian/copyright
127
128 -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 13 Aug 2010 09:38:58 +0100
129
130utouch-grail (1.0.8-0ubuntu2) maverick; urgency=low
131
132 * Fix utouch-grail-tools install file
133
134 -- Chase Douglas <chase.douglas@ubuntu.com> Thu, 12 Aug 2010 17:46:41 +0100
135
136utouch-grail (1.0.8-0ubuntu1) maverick; urgency=low
137
138 * New upstream release.
139 * Update library names
140 * Close packaging bug (LP: #616897)
141
142 -- Henrik Rydberg <rydberg@bitmath.org> Thu, 12 Aug 2010 17:25:03 +0100
143
144grail (1.0.7-0ubuntu1) maverick; urgency=low
145
146 * New upstream release.
147 * Update symbols file
148
149 -- Henrik Rydberg <rydberg@bitmath.org> Wed, 11 Aug 2010 18:17:26 +0100
150
151grail (1.0.6-0ubuntu1) maverick; urgency=low
152
153 * New upstream release.
154
155 -- Henrik Rydberg <rydberg@bitmath.org> Tue, 10 Aug 2010 19:15:37 +0100
156
157grail (1.0.5-0ubuntu1) maverick; urgency=low
158
159 * New upstream release.
160 * Update symbols file
161
162 -- Henrik Rydberg <rydberg@bitmath.org> Tue, 10 Aug 2010 18:01:15 +0100
163
164grail (1.0.4-0ubuntu1) maverick; urgency=low
165
166 * New upstream release.
167 * Update symbols file
168
169 -- Henrik Rydberg <rydberg@bitmath.org> Sun, 08 Aug 2010 13:13:22 +0200
170
171grail (1.0.3-0ubuntu1) maverick; urgency=low
172
173 * New upstream release.
174 * Update symbols file
175
176 -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 06 Aug 2010 17:47:37 +0000
177
178grail (1.0.0-0ubuntu1) maverick; urgency=low
179
180 * Initial package
181
182 -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 06 Aug 2010 16:26:37 +0000
18312
=== modified file 'debian/control'
--- debian/control 2011-08-09 22:02:41 +0000
+++ debian/control 2012-08-22 19:30:25 +0000
@@ -1,4 +1,4 @@
1Source: utouch-grail1Source: grail
2Section: libs2Section: libs
3Priority: optional3Priority: optional
4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
@@ -6,28 +6,29 @@
6 pkg-config,6 pkg-config,
7 cdbs,7 cdbs,
8 libmtdev-dev (>= 1.1),8 libmtdev-dev (>= 1.1),
9 libutouch-evemu-dev (>= 1.0),9 libevemu-dev,
10 libutouch-frame-dev (>= 1.0)10 libframe-dev
11Standards-Version: 3.9.211Standards-Version: 3.9.2
1212
13Package: libutouch-grail113Package: libgrail1
14Architecture: any14Architecture: any
15Depends: ${shlibs:Depends},15Depends: ${shlibs:Depends},
16 ${misc:Depends}16 ${misc:Depends}
17Breaks: xserver-xorg-input-gevdev (<= 1:2.3.2-6ubuntu1),17Breaks: xserver-xorg-input-gevdev (<= 1:2.3.2-6ubuntu1)
18 libutouch-geis1 (<= 1.0.8)
19Description: Gesture Recognition And Instantiation Library18Description: Gesture Recognition And Instantiation Library
20 This library consists of an interface and tools for handling gesture19 This library consists of an interface and tools for handling gesture
21 recognition and gesture instantiation. Applications can use the grail20 recognition and gesture instantiation. Applications can use the grail
22 callbacks to receive gesture primitives and raw input events from the21 callbacks to receive gesture primitives and raw input events from the
23 underlying kernel device.22 underlying kernel device.
2423
25Package: libutouch-grail-dev24Package: libgrail-dev
26Section: libdevel25Section: libdevel
27Architecture: any26Architecture: any
28Depends: libutouch-grail1 (= ${binary:Version}),27Depends: libgrail1 (= ${binary:Version}),
29 libutouch-frame-dev,28 libframe-dev,
30 ${misc:Depends}29 ${misc:Depends}
30Replaces: libutouch-grail-dev
31Conflicts: libutouch-grail-dev
31Description: Gesture Recognition And Instantiation Library - dev files32Description: Gesture Recognition And Instantiation Library - dev files
32 This library consists of an interface and tools for handling gesture33 This library consists of an interface and tools for handling gesture
33 recognition and gesture instantiation. Applications can use the grail34 recognition and gesture instantiation. Applications can use the grail
@@ -36,12 +37,14 @@
36 .37 .
37 This package contains files that are needed to build applications.38 This package contains files that are needed to build applications.
3839
39Package: utouch-grail-tools40Package: grail-tools
40Section: libdevel41Section: libdevel
41Architecture: any42Architecture: any
42Depends: libutouch-grail1 (= ${binary:Version}),43Depends: libgrail1 (= ${binary:Version}),
43 ${shlibs:Depends},44 ${shlibs:Depends},
44 ${misc:Depends}45 ${misc:Depends}
46Replaces: utouch-grail-tools
47Conflicts: utouch-grail-tools
45Description: Gesture Recognition And Instantiation Library - test tools48Description: Gesture Recognition And Instantiation Library - test tools
46 This library consists of an interface and tools for handling gesture49 This library consists of an interface and tools for handling gesture
47 recognition and gesture instantiation. Applications can use the grail50 recognition and gesture instantiation. Applications can use the grail
@@ -50,12 +53,14 @@
50 .53 .
51 This package provides some test tools for the grail library.54 This package provides some test tools for the grail library.
5255
53Package: libutouch-grail1-udeb56Package: libgrail1-udeb
54Section: debian-installer57Section: debian-installer
55Architecture: any58Architecture: any
56XC-Package-Type: udeb59XC-Package-Type: udeb
57Depends: ${shlibs:Depends},60Depends: ${shlibs:Depends},
58 ${misc:Depends}61 ${misc:Depends}
62Replaces: libutouch-grail1-udeb
63Conflicts: libutouch-grail1-udeb
59Description: Gesture Recognition And Instantiation Library64Description: Gesture Recognition And Instantiation Library
60 This library consists of an interface and tools for handling gesture65 This library consists of an interface and tools for handling gesture
61 recognition and gesture instantiation. Applications can use the grail66 recognition and gesture instantiation. Applications can use the grail
6267
=== modified file 'debian/copyright'
--- debian/copyright 2010-08-13 08:38:54 +0000
+++ debian/copyright 2012-08-22 19:30:25 +0000
@@ -1,7 +1,7 @@
1Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION1Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION
2Name: utouch-grail2Name: grail
3Maintainer: Henrik Rydberg <rydberg@euromail.se>3Maintainer: Henrik Rydberg <rydberg@euromail.se>
4Source: http://launchpad.net/utouch-grail4Source: http://launchpad.net/grail
55
6Files: * (unless noted below)6Files: * (unless noted below)
7Copyright: 2010, Canonical Ltd.7Copyright: 2010, Canonical Ltd.
88
=== renamed file 'debian/utouch-grail-tools.install' => 'debian/grail-tools.install'
=== renamed file 'debian/libutouch-grail-dev.install' => 'debian/libgrail-dev.install'
--- debian/libutouch-grail-dev.install 2010-08-12 16:15:57 +0000
+++ debian/libgrail-dev.install 2012-08-22 19:30:25 +0000
@@ -1,3 +1,3 @@
1usr/include1usr/include
2usr/lib/libutouch-grail.so2usr/lib/libgrail.so
3usr/lib/pkgconfig3usr/lib/pkgconfig
44
=== renamed file 'debian/libutouch-grail1-udeb.install' => 'debian/libgrail1-udeb.install'
--- debian/libutouch-grail1-udeb.install 2010-08-19 15:04:08 +0000
+++ debian/libgrail1-udeb.install 2012-08-22 19:30:25 +0000
@@ -1,1 +1,1 @@
1usr/lib/libutouch-grail.so.1*1usr/lib/libgrail.so.1*
22
=== renamed file 'debian/libutouch-grail1.install' => 'debian/libgrail1.install'
--- debian/libutouch-grail1.install 2010-08-12 16:15:57 +0000
+++ debian/libgrail1.install 2012-08-22 19:30:25 +0000
@@ -1,1 +1,1 @@
1usr/lib/libutouch-grail.so.1*1usr/lib/libgrail.so.1*
22
=== renamed file 'debian/libutouch-grail1.symbols' => 'debian/libgrail1.symbols'
--- debian/libutouch-grail1.symbols 2011-06-16 17:36:34 +0000
+++ debian/libgrail1.symbols 2012-08-22 19:30:25 +0000
@@ -1,4 +1,4 @@
1libutouch-grail.so.1 libutouch-grail1 #MINVER#1libgrail.so.1 libgrail1 #MINVER#
2 grail_close@Base 1.0.42 grail_close@Base 1.0.4
3 grail_delete@Base 2.0.03 grail_delete@Base 2.0.0
4 grail_filter_abs_events@Base 1.0.54 grail_filter_abs_events@Base 1.0.5
55
=== modified file 'debian/rules'
--- debian/rules 2011-04-12 18:49:24 +0000
+++ debian/rules 2012-08-22 19:30:25 +0000
@@ -6,7 +6,7 @@
66
7LDFLAGS += -Wl,-z,defs -Wl,--as-needed7LDFLAGS += -Wl,-z,defs -Wl,--as-needed
88
9DEB_DH_MAKESHLIBS_ARGS_libutouch-grail1 = --add-udeb=libutouch-grail1-udeb9DEB_DH_MAKESHLIBS_ARGS_libgrail1 = --add-udeb=libgrail1-udeb
1010
11common-binary-post-install-arch::11common-binary-post-install-arch::
12 find debian/tmp/usr/lib -name \*.la -exec rm {} \;12 find debian/tmp/usr/lib -name \*.la -exec rm {} \;
1313
=== modified file 'debian/watch'
--- debian/watch 2010-08-12 16:15:57 +0000
+++ debian/watch 2012-08-22 19:30:25 +0000
@@ -1,2 +1,2 @@
1version=31version=3
2https://launchpad.net/utouch-grail/+download http://launchpad.net/utouch-grail/.*/utouch-grail-(.+).tar.gz2https://launchpad.net/grail/2.0.1 .*/2.0.1/.*/grail-(.+).tar.(?:bz2|gz)
33
=== renamed file 'utouch-grail.pc.in' => 'grail.pc.in'
--- utouch-grail.pc.in 2011-04-27 08:56:48 +0000
+++ grail.pc.in 2012-08-22 19:30:25 +0000
@@ -3,8 +3,8 @@
3libdir=@libdir@3libdir=@libdir@
4includedir=@includedir@4includedir=@includedir@
55
6Name: utouch-grail6Name: grail
7Description: Gesture Recognition And Instantiation Library7Description: Gesture Recognition And Instantiation Library
8Version: @PACKAGE_VERSION@8Version: @PACKAGE_VERSION@
9Cflags: -I${includedir}9Cflags: -I${includedir}
10Libs: -L${libdir} -lutouch-grail10Libs: -L${libdir} -lgrail
1111
=== modified file 'include/grail.h'
--- include/grail.h 2011-06-16 17:28:51 +0000
+++ include/grail.h 2012-08-22 19:30:25 +0000
@@ -25,7 +25,7 @@
25#include <linux/input.h>25#include <linux/input.h>
26#include <grail-bits.h>26#include <grail-bits.h>
27#include <grail-types.h>27#include <grail-types.h>
28#include <utouch/frame.h>28#include <oif/frame.h>
2929
30#ifdef __cplusplus30#ifdef __cplusplus
31extern "C" {31extern "C" {
@@ -50,7 +50,7 @@
50#define GRAIL_EXPECT_MASK 0x000f50#define GRAIL_EXPECT_MASK 0x000f
5151
52typedef float grail_prop_t; /* gesture properties */52typedef float grail_prop_t; /* gesture properties */
53typedef utouch_frame_time_t grail_time_t; /* time in milliseconds */53typedef oif_frame_time_t grail_time_t; /* time in milliseconds */
54typedef struct grail *grail_handle; /* the grail instance handle */54typedef struct grail *grail_handle; /* the grail instance handle */
5555
56/**56/**
@@ -75,7 +75,7 @@
75 float x, y;75 float x, y;
76};76};
7777
78grail_handle GRAIL_PUBLIC grail_new_raw(utouch_frame_handle fh,78grail_handle GRAIL_PUBLIC grail_new_raw(oif_frame_handle fh,
79 unsigned int num_frames,79 unsigned int num_frames,
80 void *select,80 void *select,
81 unsigned int version,81 unsigned int version,
@@ -85,7 +85,7 @@
8585
86/**86/**
87 * grail_new - allocate and initialize a new grail instance87 * grail_new - allocate and initialize a new grail instance
88 * @fh: utouch frame handle to use88 * @fh: oif frame handle to use
89 * @num_frames: number of frames in cyclic buffer89 * @num_frames: number of frames in cyclic buffer
90 * @select: client selection callback90 * @select: client selection callback
91 *91 *
@@ -131,7 +131,7 @@
131 * has grail scope.131 * has grail scope.
132 */132 */
133const struct grail_frame GRAIL_PUBLIC *133const struct grail_frame GRAIL_PUBLIC *
134grail_pump_frame(grail_handle ge, const struct utouch_frame *frame);134grail_pump_frame(grail_handle ge, const struct oif_frame *frame);
135135
136/**136/**
137 * struct grail_client_id - Gesture client information137 * struct grail_client_id - Gesture client information
@@ -209,7 +209,7 @@
209 */209 */
210struct grail_frame {210struct grail_frame {
211 const struct grail_frame *prev;211 const struct grail_frame *prev;
212 const struct utouch_frame *touch;212 const struct oif_frame *touch;
213 unsigned int num_ongoing;213 unsigned int num_ongoing;
214 struct grail_element **ongoing;214 struct grail_element **ongoing;
215 struct grail_element **slots;215 struct grail_element **slots;
@@ -254,7 +254,7 @@
254 int slot;254 int slot;
255 int id;255 int id;
256 int num_touches;256 int num_touches;
257 const struct utouch_contact **touches;257 const struct oif_contact **touches;
258 grail_time_t start_time;258 grail_time_t start_time;
259 unsigned int expect_mask;259 unsigned int expect_mask;
260 unsigned int active_mask;260 unsigned int active_mask;
@@ -444,7 +444,7 @@
444 * The frame pointer is ABI agnostic, owned by the grail instance, and444 * The frame pointer is ABI agnostic, owned by the grail instance, and
445 * has grail scope.445 * has grail scope.
446 */446 */
447const struct utouch_frame GRAIL_PUBLIC *447const struct oif_frame GRAIL_PUBLIC *
448grail_get_contact_frame(const struct grail *ge);448grail_get_contact_frame(const struct grail *ge);
449449
450#ifndef GRAIL_NO_LEGACY_API450#ifndef GRAIL_NO_LEGACY_API
451451
=== modified file 'src/Makefile.am'
--- src/Makefile.am 2011-04-28 16:53:41 +0000
+++ src/Makefile.am 2012-08-22 19:30:25 +0000
@@ -1,13 +1,13 @@
1lib_LTLIBRARIES = libutouch-grail.la1lib_LTLIBRARIES = libgrail.la
22
3libutouch_grail_la_LDFLAGS = \3libgrail_la_LDFLAGS = \
4 -version-info @LIB_VERSION@ \4 -version-info @LIB_VERSION@ \
5 -lm \5 -lm \
6 $(MTDEV_LIBS) \6 $(MTDEV_LIBS) \
7 $(EVEMU_LIBS) \7 $(EVEMU_LIBS) \
8 $(FRAME_LIBS)8 $(FRAME_LIBS)
99
10libutouch_grail_la_SOURCES = \10libgrail_la_SOURCES = \
11 evbuf.h \11 evbuf.h \
12 gebuf.h \12 gebuf.h \
13 grailbuf.h \13 grailbuf.h \
@@ -36,8 +36,8 @@
3636
37INCLUDES = -I$(top_srcdir)/include/37INCLUDES = -I$(top_srcdir)/include/
3838
39libutouch_grailincludedir = $(includedir)39libgrailincludedir = $(includedir)
40libutouch_grailinclude_HEADERS = \40libgrailinclude_HEADERS = \
41 $(top_srcdir)/include/grail-bits.h \41 $(top_srcdir)/include/grail-bits.h \
42 $(top_srcdir)/include/grail-types.h \42 $(top_srcdir)/include/grail-types.h \
43 $(top_srcdir)/include/grail.h43 $(top_srcdir)/include/grail.h
4444
=== modified file 'src/Makefile.in'
--- src/Makefile.in 2011-08-09 21:58:43 +0000
+++ src/Makefile.in 2012-08-22 19:30:25 +0000
@@ -36,7 +36,7 @@
36build_triplet = @build@36build_triplet = @build@
37host_triplet = @host@37host_triplet = @host@
38subdir = src38subdir = src
39DIST_COMMON = $(libutouch_grailinclude_HEADERS) $(srcdir)/Makefile.am \39DIST_COMMON = $(libgrailinclude_HEADERS) $(srcdir)/Makefile.am \
40 $(srcdir)/Makefile.in40 $(srcdir)/Makefile.in
41ACLOCAL_M4 = $(top_srcdir)/aclocal.m441ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42am__aclocal_m4_deps = $(top_srcdir)/configure.ac42am__aclocal_m4_deps = $(top_srcdir)/configure.ac
@@ -68,18 +68,18 @@
68 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \68 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
69 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'69 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
70am__installdirs = "$(DESTDIR)$(libdir)" \70am__installdirs = "$(DESTDIR)$(libdir)" \
71 "$(DESTDIR)$(libutouch_grailincludedir)"71 "$(DESTDIR)$(libgrailincludedir)"
72LTLIBRARIES = $(lib_LTLIBRARIES)72LTLIBRARIES = $(lib_LTLIBRARIES)
73libutouch_grail_la_LIBADD =73libgrail_la_LIBADD =
74am_libutouch_grail_la_OBJECTS = grail-bits.lo grail-inserter.lo \74am_libgrail_la_OBJECTS = grail-bits.lo grail-inserter.lo \
75 grail-gestures.lo gestures-touch.lo gestures-drag.lo \75 grail-gestures.lo gestures-touch.lo gestures-drag.lo \
76 gestures-pinch.lo gestures-rotate.lo gestures-tapping.lo \76 gestures-pinch.lo gestures-rotate.lo gestures-tapping.lo \
77 grail-recognizer.lo grail-event.lo grail-api.lo \77 grail-recognizer.lo grail-event.lo grail-api.lo \
78 grail-legacy.lo grail-init.lo grail-frame.lo78 grail-legacy.lo grail-init.lo grail-frame.lo
79libutouch_grail_la_OBJECTS = $(am_libutouch_grail_la_OBJECTS)79libgrail_la_OBJECTS = $(am_libgrail_la_OBJECTS)
80libutouch_grail_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \80libgrail_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
81 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \81 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
82 $(libutouch_grail_la_LDFLAGS) $(LDFLAGS) -o $@82 $(libgrail_la_LDFLAGS) $(LDFLAGS) -o $@
83DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)83DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
84depcomp = $(SHELL) $(top_srcdir)/config-aux/depcomp84depcomp = $(SHELL) $(top_srcdir)/config-aux/depcomp
85am__depfiles_maybe = depfiles85am__depfiles_maybe = depfiles
@@ -93,9 +93,9 @@
93LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \93LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
94 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \94 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
95 $(LDFLAGS) -o $@95 $(LDFLAGS) -o $@
96SOURCES = $(libutouch_grail_la_SOURCES)96SOURCES = $(libgrail_la_SOURCES)
97DIST_SOURCES = $(libutouch_grail_la_SOURCES)97DIST_SOURCES = $(libgrail_la_SOURCES)
98HEADERS = $(libutouch_grailinclude_HEADERS)98HEADERS = $(libgrailinclude_HEADERS)
99ETAGS = etags99ETAGS = etags
100CTAGS = ctags100CTAGS = ctags
101DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)101DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -227,15 +227,15 @@
227top_build_prefix = @top_build_prefix@227top_build_prefix = @top_build_prefix@
228top_builddir = @top_builddir@228top_builddir = @top_builddir@
229top_srcdir = @top_srcdir@229top_srcdir = @top_srcdir@
230lib_LTLIBRARIES = libutouch-grail.la230lib_LTLIBRARIES = libgrail.la
231libutouch_grail_la_LDFLAGS = \231libgrail_la_LDFLAGS = \
232 -version-info @LIB_VERSION@ \232 -version-info @LIB_VERSION@ \
233 -lm \233 -lm \
234 $(MTDEV_LIBS) \234 $(MTDEV_LIBS) \
235 $(EVEMU_LIBS) \235 $(EVEMU_LIBS) \
236 $(FRAME_LIBS)236 $(FRAME_LIBS)
237237
238libutouch_grail_la_SOURCES = \238libgrail_la_SOURCES = \
239 evbuf.h \239 evbuf.h \
240 gebuf.h \240 gebuf.h \
241 grailbuf.h \241 grailbuf.h \
@@ -263,8 +263,8 @@
263# the build. -fvisibility requires GCC > 4 (or clang)263# the build. -fvisibility requires GCC > 4 (or clang)
264AM_CFLAGS = $(CWARNFLAGS) -DBUILDING_GRAIL -fvisibility=hidden264AM_CFLAGS = $(CWARNFLAGS) -DBUILDING_GRAIL -fvisibility=hidden
265INCLUDES = -I$(top_srcdir)/include/265INCLUDES = -I$(top_srcdir)/include/
266libutouch_grailincludedir = $(includedir)266libgrailincludedir = $(includedir)
267libutouch_grailinclude_HEADERS = \267libgrailinclude_HEADERS = \
268 $(top_srcdir)/include/grail-bits.h \268 $(top_srcdir)/include/grail-bits.h \
269 $(top_srcdir)/include/grail-types.h \269 $(top_srcdir)/include/grail-types.h \
270 $(top_srcdir)/include/grail.h270 $(top_srcdir)/include/grail.h
@@ -334,8 +334,8 @@
334 echo "rm -f \"$${dir}/so_locations\""; \334 echo "rm -f \"$${dir}/so_locations\""; \
335 rm -f "$${dir}/so_locations"; \335 rm -f "$${dir}/so_locations"; \
336 done336 done
337libutouch-grail.la: $(libutouch_grail_la_OBJECTS) $(libutouch_grail_la_DEPENDENCIES) 337libgrail.la: $(libgrail_la_OBJECTS) $(libgrail_la_DEPENDENCIES)
338 $(libutouch_grail_la_LINK) -rpath $(libdir) $(libutouch_grail_la_OBJECTS) $(libutouch_grail_la_LIBADD) $(LIBS)338 $(libgrail_la_LINK) -rpath $(libdir) $(libgrail_la_OBJECTS) $(libgrail_la_LIBADD) $(LIBS)
339339
340mostlyclean-compile:340mostlyclean-compile:
341 -rm -f *.$(OBJEXT)341 -rm -f *.$(OBJEXT)
@@ -384,26 +384,26 @@
384384
385clean-libtool:385clean-libtool:
386 -rm -rf .libs _libs386 -rm -rf .libs _libs
387install-libutouch_grailincludeHEADERS: $(libutouch_grailinclude_HEADERS)387install-libgrailincludeHEADERS: $(libgrailinclude_HEADERS)
388 @$(NORMAL_INSTALL)388 @$(NORMAL_INSTALL)
389 test -z "$(libutouch_grailincludedir)" || $(MKDIR_P) "$(DESTDIR)$(libutouch_grailincludedir)"389 test -z "$(libgrailincludedir)" || $(MKDIR_P) "$(DESTDIR)$(libgrailincludedir)"
390 @list='$(libutouch_grailinclude_HEADERS)'; test -n "$(libutouch_grailincludedir)" || list=; \390 @list='$(libgrailinclude_HEADERS)'; test -n "$(libgrailincludedir)" || list=; \
391 for p in $$list; do \391 for p in $$list; do \
392 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \392 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
393 echo "$$d$$p"; \393 echo "$$d$$p"; \
394 done | $(am__base_list) | \394 done | $(am__base_list) | \
395 while read files; do \395 while read files; do \
396 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libutouch_grailincludedir)'"; \396 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libgrailincludedir)'"; \
397 $(INSTALL_HEADER) $$files "$(DESTDIR)$(libutouch_grailincludedir)" || exit $$?; \397 $(INSTALL_HEADER) $$files "$(DESTDIR)$(libgrailincludedir)" || exit $$?; \
398 done398 done
399399
400uninstall-libutouch_grailincludeHEADERS:400uninstall-libgrailincludeHEADERS:
401 @$(NORMAL_UNINSTALL)401 @$(NORMAL_UNINSTALL)
402 @list='$(libutouch_grailinclude_HEADERS)'; test -n "$(libutouch_grailincludedir)" || list=; \402 @list='$(libgrailinclude_HEADERS)'; test -n "$(libgrailincludedir)" || list=; \
403 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \403 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
404 test -n "$$files" || exit 0; \404 test -n "$$files" || exit 0; \
405 echo " ( cd '$(DESTDIR)$(libutouch_grailincludedir)' && rm -f" $$files ")"; \405 echo " ( cd '$(DESTDIR)$(libgrailincludedir)' && rm -f" $$files ")"; \
406 cd "$(DESTDIR)$(libutouch_grailincludedir)" && rm -f $$files406 cd "$(DESTDIR)$(libgrailincludedir)" && rm -f $$files
407407
408ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)408ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
409 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \409 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -491,7 +491,7 @@
491check: check-am491check: check-am
492all-am: Makefile $(LTLIBRARIES) $(HEADERS)492all-am: Makefile $(LTLIBRARIES) $(HEADERS)
493installdirs:493installdirs:
494 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libutouch_grailincludedir)"; do \494 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libgrailincludedir)"; do \
495 test -z "$$dir" || $(MKDIR_P) "$$dir"; \495 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
496 done496 done
497install: install-am497install: install-am
@@ -542,7 +542,7 @@
542542
543info-am:543info-am:
544544
545install-data-am: install-libutouch_grailincludeHEADERS545install-data-am: install-libgrailincludeHEADERS
546546
547install-dvi: install-dvi-am547install-dvi: install-dvi-am
548548
@@ -589,7 +589,7 @@
589ps-am:589ps-am:
590590
591uninstall-am: uninstall-libLTLIBRARIES \591uninstall-am: uninstall-libLTLIBRARIES \
592 uninstall-libutouch_grailincludeHEADERS592 uninstall-libgrailincludeHEADERS
593593
594.MAKE: install-am install-strip594.MAKE: install-am install-strip
595595
@@ -600,14 +600,14 @@
600 install install-am install-data install-data-am install-dvi \600 install install-am install-data install-data-am install-dvi \
601 install-dvi-am install-exec install-exec-am install-html \601 install-dvi-am install-exec install-exec-am install-html \
602 install-html-am install-info install-info-am \602 install-html-am install-info install-info-am \
603 install-libLTLIBRARIES install-libutouch_grailincludeHEADERS \603 install-libLTLIBRARIES install-libgrailincludeHEADERS \
604 install-man install-pdf install-pdf-am install-ps \604 install-man install-pdf install-pdf-am install-ps \
605 install-ps-am install-strip installcheck installcheck-am \605 install-ps-am install-strip installcheck installcheck-am \
606 installdirs maintainer-clean maintainer-clean-generic \606 installdirs maintainer-clean maintainer-clean-generic \
607 mostlyclean mostlyclean-compile mostlyclean-generic \607 mostlyclean mostlyclean-compile mostlyclean-generic \
608 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \608 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
609 uninstall-am uninstall-libLTLIBRARIES \609 uninstall-am uninstall-libLTLIBRARIES \
610 uninstall-libutouch_grailincludeHEADERS610 uninstall-libgrailincludeHEADERS
611611
612612
613# Tell versions [3.59,3.63) of GNU make to not export all variables.613# Tell versions [3.59,3.63) of GNU make to not export all variables.
614614
=== modified file 'src/gebuf.h'
--- src/gebuf.h 2011-06-16 17:28:51 +0000
+++ src/gebuf.h 2012-08-22 19:30:25 +0000
@@ -30,7 +30,7 @@
30 int status;30 int status;
31 int ntouch;31 int ntouch;
32 int nprop;32 int nprop;
33 utouch_frame_time_t time;33 oif_frame_time_t time;
34 struct grail_coord pos;34 struct grail_coord pos;
35 grail_prop_t prop[DIM_GRAIL_PROP];35 grail_prop_t prop[DIM_GRAIL_PROP];
36};36};
3737
=== modified file 'src/gestures-drag.c'
--- src/gestures-drag.c 2011-06-16 17:28:51 +0000
+++ src/gestures-drag.c 2012-08-22 19:30:25 +0000
@@ -34,7 +34,7 @@
3434
35static void set_props(const struct gesture_inserter *gin,35static void set_props(const struct gesture_inserter *gin,
36 struct combo_model *s, const struct move_model *m,36 struct combo_model *s, const struct move_model *m,
37 const struct utouch_frame *frame)37 const struct oif_frame *frame)
38{38{
39 if (m->single) {39 if (m->single) {
40 s->prop[GRAIL_PROP_DRAG_DX] = m->fm[FM_X].raw_delta;40 s->prop[GRAIL_PROP_DRAG_DX] = m->fm[FM_X].raw_delta;
@@ -54,7 +54,7 @@
54static const int fm_mask = 0x03;54static const int fm_mask = 0x03;
5555
56int gru_drag(struct grail *ge,56int gru_drag(struct grail *ge,
57 const struct utouch_frame *frame)57 const struct oif_frame *frame)
58{58{
59 struct gesture_recognizer *gru = ge->gru;59 struct gesture_recognizer *gru = ge->gru;
60 struct combo_model *state = &gru->drag;60 struct combo_model *state = &gru->drag;
@@ -89,7 +89,7 @@
89}89}
9090
91int gru_windrag(struct grail *ge,91int gru_windrag(struct grail *ge,
92 const struct utouch_frame *frame)92 const struct oif_frame *frame)
93{93{
94 struct gesture_recognizer *gru = ge->gru;94 struct gesture_recognizer *gru = ge->gru;
95 struct combo_model *state = &gru->windrag;95 struct combo_model *state = &gru->windrag;
9696
=== modified file 'src/gestures-pinch.c'
--- src/gestures-pinch.c 2011-06-16 17:28:51 +0000
+++ src/gestures-pinch.c 2012-08-22 19:30:25 +0000
@@ -37,7 +37,7 @@
37static void set_props(const struct gesture_inserter *gin,37static void set_props(const struct gesture_inserter *gin,
38 struct combo_model *s,38 struct combo_model *s,
39 const struct move_model *m,39 const struct move_model *m,
40 const struct utouch_frame *frame)40 const struct oif_frame *frame)
41{41{
42 s->prop[GRAIL_PROP_PINCH_DR] = m->fm[FM_R].action_delta;42 s->prop[GRAIL_PROP_PINCH_DR] = m->fm[FM_R].action_delta;
43 s->prop[GRAIL_PROP_PINCH_VR] = m->fm[FM_R].velocity;43 s->prop[GRAIL_PROP_PINCH_VR] = m->fm[FM_R].velocity;
@@ -49,7 +49,7 @@
49}49}
5050
51int gru_pinch(struct grail *ge,51int gru_pinch(struct grail *ge,
52 const struct utouch_frame *frame)52 const struct oif_frame *frame)
53{53{
54 struct gesture_recognizer *gru = ge->gru;54 struct gesture_recognizer *gru = ge->gru;
55 struct combo_model *state = &gru->pinch;55 struct combo_model *state = &gru->pinch;
@@ -85,7 +85,7 @@
85}85}
8686
87int gru_winpinch(struct grail *ge,87int gru_winpinch(struct grail *ge,
88 const struct utouch_frame *frame)88 const struct oif_frame *frame)
89{89{
90 struct gesture_recognizer *gru = ge->gru;90 struct gesture_recognizer *gru = ge->gru;
91 struct combo_model *state = &gru->winpinch;91 struct combo_model *state = &gru->winpinch;
9292
=== modified file 'src/gestures-rotate.c'
--- src/gestures-rotate.c 2011-06-16 17:28:51 +0000
+++ src/gestures-rotate.c 2012-08-22 19:30:25 +0000
@@ -36,7 +36,7 @@
3636
37static void set_props(const struct gesture_inserter *gin,37static void set_props(const struct gesture_inserter *gin,
38 struct combo_model *s, const struct move_model *m,38 struct combo_model *s, const struct move_model *m,
39 const struct utouch_frame *frame)39 const struct oif_frame *frame)
40{40{
41 s->prop[GRAIL_PROP_ROTATE_DA] = m->fm[FM_A].action_delta;41 s->prop[GRAIL_PROP_ROTATE_DA] = m->fm[FM_A].action_delta;
42 s->prop[GRAIL_PROP_ROTATE_VA] = m->fm[FM_A].velocity;42 s->prop[GRAIL_PROP_ROTATE_VA] = m->fm[FM_A].velocity;
@@ -48,7 +48,7 @@
48}48}
4949
50int gru_rotate(struct grail *ge,50int gru_rotate(struct grail *ge,
51 const struct utouch_frame *frame)51 const struct oif_frame *frame)
52{52{
53 struct gesture_recognizer *gru = ge->gru;53 struct gesture_recognizer *gru = ge->gru;
54 struct combo_model *state = &gru->rotate;54 struct combo_model *state = &gru->rotate;
@@ -84,7 +84,7 @@
84}84}
8585
86int gru_winrotate(struct grail *ge,86int gru_winrotate(struct grail *ge,
87 const struct utouch_frame *frame)87 const struct oif_frame *frame)
88{88{
89 struct gesture_recognizer *gru = ge->gru;89 struct gesture_recognizer *gru = ge->gru;
90 struct combo_model *state = &gru->winrotate;90 struct combo_model *state = &gru->winrotate;
9191
=== modified file 'src/gestures-tapping.c'
--- src/gestures-tapping.c 2011-06-16 17:28:51 +0000
+++ src/gestures-tapping.c 2012-08-22 19:30:25 +0000
@@ -26,7 +26,7 @@
2626
27static void set_props(const struct gesture_inserter *gin,27static void set_props(const struct gesture_inserter *gin,
28 struct tapping_model *s, const struct move_model *m,28 struct tapping_model *s, const struct move_model *m,
29 const struct utouch_frame *frame)29 const struct oif_frame *frame)
30{30{
31 s->prop[GRAIL_PROP_TAP_DT] = m->time - s->start;31 s->prop[GRAIL_PROP_TAP_DT] = m->time - s->start;
32 s->prop[GRAIL_PROP_TAP_X] = m->fm[FM_X].value;32 s->prop[GRAIL_PROP_TAP_X] = m->fm[FM_X].value;
@@ -36,7 +36,7 @@
36}36}
3737
38int gru_tapping(struct grail *ge,38int gru_tapping(struct grail *ge,
39 const struct utouch_frame *frame)39 const struct oif_frame *frame)
40{40{
41 struct gesture_recognizer *gru = ge->gru;41 struct gesture_recognizer *gru = ge->gru;
42 struct tapping_model *state = &gru->tapping;42 struct tapping_model *state = &gru->tapping;
4343
=== modified file 'src/gestures-touch.c'
--- src/gestures-touch.c 2011-04-04 17:27:38 +0000
+++ src/gestures-touch.c 2012-08-22 19:30:25 +0000
@@ -34,7 +34,7 @@
34};34};
3535
36int gru_touch(struct grail *ge,36int gru_touch(struct grail *ge,
37 const struct utouch_frame *frame)37 const struct oif_frame *frame)
38{38{
39 struct gesture_recognizer *gru = ge->gru;39 struct gesture_recognizer *gru = ge->gru;
40 struct combo_model *state = &gru->touch;40 struct combo_model *state = &gru->touch;
@@ -61,7 +61,7 @@
61}61}
6262
63int gru_wintouch(struct grail *ge,63int gru_wintouch(struct grail *ge,
64 const struct utouch_frame *frame)64 const struct oif_frame *frame)
65{65{
66 struct gesture_recognizer *gru = ge->gru;66 struct gesture_recognizer *gru = ge->gru;
67 struct combo_model *state = &gru->wintouch;67 struct combo_model *state = &gru->wintouch;
6868
=== modified file 'src/grail-api.c'
--- src/grail-api.c 2011-06-16 17:28:51 +0000
+++ src/grail-api.c 2012-08-22 19:30:25 +0000
@@ -67,7 +67,7 @@
67 ret = evemu_extract(x->evemu, fd);67 ret = evemu_extract(x->evemu, fd);
68 if (ret)68 if (ret)
69 goto freemem;69 goto freemem;
70 if (!utouch_frame_is_supported_mtdev(x->evemu)) {70 if (!oif_frame_is_supported_mtdev(x->evemu)) {
71 ret = -ENODEV;71 ret = -ENODEV;
72 goto freemem;72 goto freemem;
73 }73 }
@@ -79,12 +79,12 @@
79 goto freemem;79 goto freemem;
80 }80 }
81 }81 }
82 x->fh = utouch_frame_new_engine(DIM_FRAMES, DIM_TOUCH, FRAME_RATE);82 x->fh = oif_frame_new_engine(DIM_FRAMES, DIM_TOUCH, FRAME_RATE);
83 if (!x->fh) {83 if (!x->fh) {
84 ret = -ENOMEM;84 ret = -ENOMEM;
85 goto freedev;85 goto freedev;
86 }86 }
87 ret = utouch_frame_init_mtdev(x->fh, x->evemu);87 ret = oif_frame_init_mtdev(x->fh, x->evemu);
88 if (ret)88 if (ret)
89 goto freeframe;89 goto freeframe;
9090
@@ -102,7 +102,7 @@
102 freegin:102 freegin:
103 gin_destroy(ge);103 gin_destroy(ge);
104 freeframe:104 freeframe:
105 utouch_frame_delete_engine(x->fh);105 oif_frame_delete_engine(x->fh);
106 freedev:106 freedev:
107 if (x->mtdev)107 if (x->mtdev)
108 mtdev_close_delete(x->mtdev);108 mtdev_close_delete(x->mtdev);
@@ -120,7 +120,7 @@
120 struct grail_impl *x = ge->impl;120 struct grail_impl *x = ge->impl;
121 gru_destroy(ge);121 gru_destroy(ge);
122 gin_destroy(ge);122 gin_destroy(ge);
123 utouch_frame_delete_engine(x->fh);123 oif_frame_delete_engine(x->fh);
124 if (x->mtdev)124 if (x->mtdev)
125 mtdev_close_delete(x->mtdev);125 mtdev_close_delete(x->mtdev);
126 evemu_delete(x->evemu);126 evemu_delete(x->evemu);
@@ -143,14 +143,14 @@
143void GRAIL_PUBLIC grail_get_units(const struct grail *ge,143void GRAIL_PUBLIC grail_get_units(const struct grail *ge,
144 struct grail_coord *min, struct grail_coord *max)144 struct grail_coord *min, struct grail_coord *max)
145{145{
146 struct utouch_surface *s = utouch_frame_get_surface(ge->impl->fh);146 struct oif_surface *s = oif_frame_get_surface(ge->impl->fh);
147 min->x = s->min_x;147 min->x = s->min_x;
148 min->y = s->min_y;148 min->y = s->min_y;
149 max->x = s->max_x;149 max->x = s->max_x;
150 max->y = s->max_y;150 max->y = s->max_y;
151}151}
152152
153const struct utouch_frame GRAIL_PUBLIC *153const struct oif_frame GRAIL_PUBLIC *
154grail_get_contact_frame(const struct grail *ge)154grail_get_contact_frame(const struct grail *ge)
155{155{
156 return ge->impl->touch;156 return ge->impl->touch;
@@ -215,7 +215,7 @@
215 }215 }
216}216}
217217
218static int gesture_timeout(struct grail *ge, const struct utouch_frame *frame)218static int gesture_timeout(struct grail *ge, const struct oif_frame *frame)
219{219{
220 struct gesture_recognizer *gru = ge->gru;220 struct gesture_recognizer *gru = ge->gru;
221 struct gesture_inserter *gin = ge->gin;221 struct gesture_inserter *gin = ge->gin;
@@ -225,7 +225,7 @@
225}225}
226226
227static void report_frame(struct grail *ge,227static void report_frame(struct grail *ge,
228 const struct utouch_frame *touch,228 const struct oif_frame *touch,
229 const struct input_event *syn)229 const struct input_event *syn)
230{230{
231 struct grail_impl *impl = ge->impl;231 struct grail_impl *impl = ge->impl;
@@ -255,12 +255,12 @@
255static void grail_pump_mtdev(struct grail *ge, const struct input_event *ev)255static void grail_pump_mtdev(struct grail *ge, const struct input_event *ev)
256{256{
257 struct grail_impl *impl = ge->impl;257 struct grail_impl *impl = ge->impl;
258 const struct utouch_frame *frame;258 const struct oif_frame *frame;
259259
260 evbuf_put(&impl->evbuf, ev);260 evbuf_put(&impl->evbuf, ev);
261261
262 if (ev->type == EV_SYN || ev->type == EV_ABS || ev->type == EV_KEY) {262 if (ev->type == EV_SYN || ev->type == EV_ABS || ev->type == EV_KEY) {
263 frame = utouch_frame_pump_mtdev(impl->fh, ev);263 frame = oif_frame_pump_mtdev(impl->fh, ev);
264 if (frame)264 if (frame)
265 report_frame(ge, frame, ev);265 report_frame(ge, frame, ev);
266 }266 }
267267
=== modified file 'src/grail-event.c'
--- src/grail-event.c 2011-06-16 17:28:51 +0000
+++ src/grail-event.c 2012-08-22 19:30:25 +0000
@@ -27,7 +27,7 @@
27#include <math.h>27#include <math.h>
2828
29static void compute_bbox(struct grail_coord *min, struct grail_coord *max,29static void compute_bbox(struct grail_coord *min, struct grail_coord *max,
30 const struct utouch_frame *frame)30 const struct oif_frame *frame)
31{31{
32 float x, y;32 float x, y;
33 int i;33 int i;
@@ -52,7 +52,7 @@
52}52}
5353
54int gin_add_contact_props(const struct gesture_inserter *gin,54int gin_add_contact_props(const struct gesture_inserter *gin,
55 grail_prop_t *prop, const struct utouch_frame *frame)55 grail_prop_t *prop, const struct oif_frame *frame)
56{56{
57 struct grail_coord min, max;57 struct grail_coord min, max;
58 int i, n = 0, ntouch = frame->num_active;58 int i, n = 0, ntouch = frame->num_active;
@@ -66,7 +66,7 @@
66 prop[n++] = max.x;66 prop[n++] = max.x;
67 prop[n++] = max.y;67 prop[n++] = max.y;
68 for (i = 0; i < ntouch; i++) {68 for (i = 0; i < ntouch; i++) {
69 const struct utouch_contact *ct = frame->active[i];69 const struct oif_contact *ct = frame->active[i];
70 prop[n++] = ct->id;70 prop[n++] = ct->id;
71 prop[n++] = ct->x;71 prop[n++] = ct->x;
72 prop[n++] = ct->y;72 prop[n++] = ct->y;
@@ -78,7 +78,7 @@
78 struct grail_client_info *info, int maxinfo,78 struct grail_client_info *info, int maxinfo,
79 const grail_mask_t* types, int btypes,79 const grail_mask_t* types, int btypes,
80 const grail_mask_t* span, int bspan,80 const grail_mask_t* span, int bspan,
81 const struct utouch_frame *frame)81 const struct oif_frame *frame)
82{82{
83 struct grail_coord pos[DIM_TOUCH];83 struct grail_coord pos[DIM_TOUCH];
84 int i, npos = 0;84 int i, npos = 0;
@@ -94,7 +94,7 @@
9494
95void gin_send_event(struct grail *ge, struct slot_state *s,95void gin_send_event(struct grail *ge, struct slot_state *s,
96 const struct gesture_event *ev,96 const struct gesture_event *ev,
97 const struct utouch_frame *frame)97 const struct oif_frame *frame)
98{98{
99 struct grail_impl *impl = ge->impl;99 struct grail_impl *impl = ge->impl;
100 const struct gesture_inserter *gin = ge->gin;100 const struct gesture_inserter *gin = ge->gin;
101101
=== modified file 'src/grail-frame.c'
--- src/grail-frame.c 2011-05-20 14:35:18 +0000
+++ src/grail-frame.c 2012-08-22 19:30:25 +0000
@@ -27,7 +27,7 @@
27static void set_center_velocity_and_radius(struct grail_impl *impl,27static void set_center_velocity_and_radius(struct grail_impl *impl,
28 struct grail_element *slot)28 struct grail_element *slot)
29{29{
30 const struct utouch_contact **tc = slot->touches;30 const struct oif_contact **tc = slot->touches;
31 double x, y, vx, vy, r2, dx, dy;31 double x, y, vx, vy, r2, dx, dy;
32 int i;32 int i;
3333
@@ -98,7 +98,7 @@
9898
99static void start_slot(struct grail_impl *impl,99static void start_slot(struct grail_impl *impl,
100 struct grail_element *slot,100 struct grail_element *slot,
101 const struct utouch_frame *touch)101 const struct oif_frame *touch)
102{102{
103 float *T = slot->transform;103 float *T = slot->transform;
104104
@@ -156,11 +156,11 @@
156156
157static void set_slot_one(struct grail_impl *impl,157static void set_slot_one(struct grail_impl *impl,
158 struct grail_element *slot,158 struct grail_element *slot,
159 const struct utouch_frame *touch,159 const struct oif_frame *touch,
160 const struct utouch_contact *t1)160 const struct oif_contact *t1)
161{161{
162 const struct grail_element *pslot = slot->prev;162 const struct grail_element *pslot = slot->prev;
163 const struct utouch_contact *p1 = pslot->touches[0];163 const struct oif_contact *p1 = pslot->touches[0];
164164
165 if (!t1->active) {165 if (!t1->active) {
166 stop_slot(impl, slot);166 stop_slot(impl, slot);
@@ -180,13 +180,13 @@
180180
181static void set_slot_two(struct grail_impl *impl,181static void set_slot_two(struct grail_impl *impl,
182 struct grail_element *slot,182 struct grail_element *slot,
183 const struct utouch_frame *touch,183 const struct oif_frame *touch,
184 const struct utouch_contact *t1,184 const struct oif_contact *t1,
185 const struct utouch_contact *t2)185 const struct oif_contact *t2)
186{186{
187 const struct grail_element *pslot = slot->prev;187 const struct grail_element *pslot = slot->prev;
188 const struct utouch_contact *p1 = pslot->touches[0];188 const struct oif_contact *p1 = pslot->touches[0];
189 const struct utouch_contact *p2 = pslot->touches[1];189 const struct oif_contact *p2 = pslot->touches[1];
190 double tx, ty, px, py, d2;190 double tx, ty, px, py, d2;
191191
192 if (!t1->active || !t2->active) {192 if (!t1->active || !t2->active) {
@@ -221,7 +221,7 @@
221static void set_slot_multi(struct grail_impl *impl,221static void set_slot_multi(struct grail_impl *impl,
222 struct grail_element *slot,222 struct grail_element *slot,
223 struct grail_frame *frame,223 struct grail_frame *frame,
224 const struct utouch_frame *touch)224 const struct oif_frame *touch)
225{225{
226 const struct grail_element *pslot = slot->prev;226 const struct grail_element *pslot = slot->prev;
227 struct grail_element **slots = frame->slots;227 struct grail_element **slots = frame->slots;
@@ -318,10 +318,10 @@
318318
319static void set_slots(struct grail_impl *impl,319static void set_slots(struct grail_impl *impl,
320 struct grail_frame *frame,320 struct grail_frame *frame,
321 const struct utouch_frame *touch)321 const struct oif_frame *touch)
322{322{
323 struct grail_element **slots = frame->slots;323 struct grail_element **slots = frame->slots;
324 struct utouch_contact *const *tc = touch->slots;324 struct oif_contact *const *tc = touch->slots;
325 int i, j, n = 0;325 int i, j, n = 0;
326326
327 for (i = 0; i < impl->num_touches; i++)327 for (i = 0; i < impl->num_touches; i++)
@@ -336,9 +336,9 @@
336336
337static void collect_transforms(struct grail_impl *impl,337static void collect_transforms(struct grail_impl *impl,
338 struct grail_frame *frame,338 struct grail_frame *frame,
339 const struct utouch_frame *touch)339 const struct oif_frame *touch)
340{340{
341 const struct utouch_surface *s = utouch_frame_get_surface(impl->fh);341 const struct oif_surface *s = oif_frame_get_surface(impl->fh);
342 const struct grail_control *ctl = impl->ctl;342 const struct grail_control *ctl = impl->ctl;
343 float d_x = ctl->bar_drag_x * (s->mapped_max_x - s->mapped_min_x);343 float d_x = ctl->bar_drag_x * (s->mapped_max_x - s->mapped_min_x);
344 float d_y = ctl->bar_drag_y * (s->mapped_max_y - s->mapped_min_y);344 float d_y = ctl->bar_drag_y * (s->mapped_max_y - s->mapped_min_y);
@@ -386,7 +386,7 @@
386}386}
387387
388const struct grail_frame GRAIL_PUBLIC *388const struct grail_frame GRAIL_PUBLIC *
389grail_pump_frame(grail_handle ge, const struct utouch_frame *touch)389grail_pump_frame(grail_handle ge, const struct oif_frame *touch)
390{390{
391 struct grail_impl *impl = ge->impl;391 struct grail_impl *impl = ge->impl;
392 struct grail_frame *frame = impl->frames[impl->nextframe];392 struct grail_frame *frame = impl->frames[impl->nextframe];
393393
=== modified file 'src/grail-gestures.c'
--- src/grail-gestures.c 2011-08-09 21:58:43 +0000
+++ src/grail-gestures.c 2012-08-22 19:30:25 +0000
@@ -35,7 +35,7 @@
35static const float EPS = 1e-3;35static const float EPS = 1e-3;
3636
37static void compute_position(float *x, float *y,37static void compute_position(float *x, float *y,
38 const struct utouch_frame *frame)38 const struct oif_frame *frame)
39{39{
40 int i, n = frame->num_active;40 int i, n = frame->num_active;
41 *x = 0;41 *x = 0;
@@ -43,7 +43,7 @@
43 if (n < 1)43 if (n < 1)
44 return;44 return;
45 for (i = 0; i < n; i++) {45 for (i = 0; i < n; i++) {
46 const struct utouch_contact *t = frame->active[i];46 const struct oif_contact *t = frame->active[i];
47 *x += t->x;47 *x += t->x;
48 *y += t->y;48 *y += t->y;
49 }49 }
@@ -52,14 +52,14 @@
52}52}
5353
54static float compute_radius(float x, float y,54static float compute_radius(float x, float y,
55 const struct utouch_frame *frame)55 const struct oif_frame *frame)
56{56{
57 int i, n = frame->num_active;57 int i, n = frame->num_active;
58 float r = 0, r2 = 0;58 float r = 0, r2 = 0;
59 if (n < 2)59 if (n < 2)
60 return r;60 return r;
61 for (i = 0; i < n; i++) {61 for (i = 0; i < n; i++) {
62 const struct utouch_contact *t = frame->active[i];62 const struct oif_contact *t = frame->active[i];
63 float dx = t->x - x;63 float dx = t->x - x;
64 float dy = t->y - y;64 float dy = t->y - y;
65 r2 += dx * dx + dy * dy;65 r2 += dx * dx + dy * dy;
@@ -70,15 +70,15 @@
70}70}
7171
72static float compute_rotation(float x, float y, float r,72static float compute_rotation(float x, float y, float r,
73 const struct utouch_frame *frame)73 const struct oif_frame *frame)
74{74{
75 int i, n = frame->num_active;75 int i, n = frame->num_active;
76 float da = 0, darc2 = 0;76 float da = 0, darc2 = 0;
77 if (n < 2)77 if (n < 2)
78 return da;78 return da;
79 for (i = 0; i < n; i++) {79 for (i = 0; i < n; i++) {
80 const struct utouch_contact *t = frame->active[i];80 const struct oif_contact *t = frame->active[i];
81 const struct utouch_contact *ot = t->prev;81 const struct oif_contact *ot = t->prev;
82 float dx = t->x - x;82 float dx = t->x - x;
83 float dy = t->y - y;83 float dy = t->y - y;
84 float mx = t->x - ot->x;84 float mx = t->x - ot->x;
@@ -137,7 +137,7 @@
137137
138void gru_init_motion(struct grail *ge)138void gru_init_motion(struct grail *ge)
139{139{
140 struct utouch_surface *s = utouch_frame_get_surface(ge->impl->fh);140 struct oif_surface *s = oif_frame_get_surface(ge->impl->fh);
141 struct gesture_recognizer *gru = ge->gru;141 struct gesture_recognizer *gru = ge->gru;
142 struct move_model *m = &gru->move;142 struct move_model *m = &gru->move;
143 float U[DIM_FM]; /* Device unit dimensions */143 float U[DIM_FM]; /* Device unit dimensions */
@@ -160,9 +160,9 @@
160}160}
161161
162void gru_motion(struct grail *ge,162void gru_motion(struct grail *ge,
163 const struct utouch_frame *frame)163 const struct oif_frame *frame)
164{164{
165 const struct utouch_surface *s = utouch_frame_get_surface(ge->impl->fh);165 const struct oif_surface *s = oif_frame_get_surface(ge->impl->fh);
166 struct gesture_recognizer *gru = ge->gru;166 struct gesture_recognizer *gru = ge->gru;
167 struct move_model *m = &gru->move;167 struct move_model *m = &gru->move;
168 grail_time_t t = frame->time;168 grail_time_t t = frame->time;
169169
=== modified file 'src/grail-gestures.h'
--- src/grail-gestures.h 2011-06-16 17:28:51 +0000
+++ src/grail-gestures.h 2012-08-22 19:30:25 +0000
@@ -61,7 +61,7 @@
6161
62void gru_init_motion(struct grail *ge);62void gru_init_motion(struct grail *ge);
63void gru_motion(struct grail *ge,63void gru_motion(struct grail *ge,
64 const struct utouch_frame *frame);64 const struct oif_frame *frame);
65void gru_event(struct grail *ge, int gid,65void gru_event(struct grail *ge, int gid,
66 const struct move_model *move,66 const struct move_model *move,
67 const grail_prop_t *prop, int nprop);67 const grail_prop_t *prop, int nprop);
@@ -77,13 +77,13 @@
77};77};
7878
79int gru_touch(struct grail *ge,79int gru_touch(struct grail *ge,
80 const struct utouch_frame *frame);80 const struct oif_frame *frame);
81int gru_drag(struct grail *ge,81int gru_drag(struct grail *ge,
82 const struct utouch_frame *frame);82 const struct oif_frame *frame);
83int gru_pinch(struct grail *ge,83int gru_pinch(struct grail *ge,
84 const struct utouch_frame *frame);84 const struct oif_frame *frame);
85int gru_rotate(struct grail *ge,85int gru_rotate(struct grail *ge,
86 const struct utouch_frame *frame);86 const struct oif_frame *frame);
8787
88static inline int out_of_bounds(const struct combo_model *s,88static inline int out_of_bounds(const struct combo_model *s,
89 const struct move_model *m)89 const struct move_model *m)
@@ -92,13 +92,13 @@
92}92}
9393
94int gru_wintouch(struct grail *ge,94int gru_wintouch(struct grail *ge,
95 const struct utouch_frame *frame);95 const struct oif_frame *frame);
96int gru_windrag(struct grail *ge,96int gru_windrag(struct grail *ge,
97 const struct utouch_frame *frame);97 const struct oif_frame *frame);
98int gru_winpinch(struct grail *ge,98int gru_winpinch(struct grail *ge,
99 const struct utouch_frame *frame);99 const struct oif_frame *frame);
100int gru_winrotate(struct grail *ge,100int gru_winrotate(struct grail *ge,
101 const struct utouch_frame *frame);101 const struct oif_frame *frame);
102102
103struct tapping_model {103struct tapping_model {
104 grail_time_t start;104 grail_time_t start;
@@ -109,7 +109,7 @@
109};109};
110110
111int gru_tapping(struct grail *ge,111int gru_tapping(struct grail *ge,
112 const struct utouch_frame *frame);112 const struct oif_frame *frame);
113113
114#endif114#endif
115115
116116
=== modified file 'src/grail-impl.h'
--- src/grail-impl.h 2011-06-16 17:28:51 +0000
+++ src/grail-impl.h 2012-08-22 19:30:25 +0000
@@ -26,7 +26,7 @@
26#define GRAIL_NO_LEGACY_API26#define GRAIL_NO_LEGACY_API
2727
28#include <grail.h>28#include <grail.h>
29#include <utouch/frame-mtdev.h>29#include <oif/frame-mtdev.h>
30#include "evbuf.h"30#include "evbuf.h"
31#include "grailbuf.h"31#include "grailbuf.h"
3232
@@ -49,7 +49,7 @@
49}49}
5050
51int create_grail2(struct grail_impl *x,51int create_grail2(struct grail_impl *x,
52 utouch_frame_handle fh,52 oif_frame_handle fh,
53 unsigned int num_frames,53 unsigned int num_frames,
54 void *select,54 void *select,
55 unsigned int version,55 unsigned int version,
@@ -62,8 +62,8 @@
62struct grail_impl {62struct grail_impl {
63 struct evemu_device *evemu;63 struct evemu_device *evemu;
64 struct mtdev *mtdev;64 struct mtdev *mtdev;
65 utouch_frame_handle fh;65 oif_frame_handle fh;
66 const struct utouch_frame *touch;66 const struct oif_frame *touch;
67 struct evbuf evbuf;67 struct evbuf evbuf;
68 struct grailbuf gbuf;68 struct grailbuf gbuf;
69 int filter_abs;69 int filter_abs;
7070
=== modified file 'src/grail-init.c'
--- src/grail-init.c 2011-05-18 16:38:44 +0000
+++ src/grail-init.c 2012-08-22 19:30:25 +0000
@@ -147,7 +147,7 @@
147}147}
148148
149int create_grail2(struct grail_impl *x,149int create_grail2(struct grail_impl *x,
150 utouch_frame_handle fh,150 oif_frame_handle fh,
151 unsigned int num_frames,151 unsigned int num_frames,
152 grail_select_callback select,152 grail_select_callback select,
153 unsigned int version,153 unsigned int version,
@@ -155,8 +155,8 @@
155 unsigned int frame_size,155 unsigned int frame_size,
156 unsigned int slot_size)156 unsigned int slot_size)
157{157{
158 struct utouch_surface *s = utouch_frame_get_surface(fh);158 struct oif_surface *s = oif_frame_get_surface(fh);
159 unsigned int ntouch = utouch_frame_get_num_slots(fh);159 unsigned int ntouch = oif_frame_get_num_slots(fh);
160 unsigned int nslot = get_slot_count(ntouch);160 unsigned int nslot = get_slot_count(ntouch);
161 int i, j;161 int i, j;
162162
@@ -194,7 +194,7 @@
194 free(x->ctl);194 free(x->ctl);
195}195}
196196
197grail_handle GRAIL_PUBLIC grail_new_raw(utouch_frame_handle fh,197grail_handle GRAIL_PUBLIC grail_new_raw(oif_frame_handle fh,
198 unsigned int num_frames,198 unsigned int num_frames,
199 grail_select_callback select,199 grail_select_callback select,
200 unsigned int version,200 unsigned int version,
201201
=== modified file 'src/grail-inserter.c'
--- src/grail-inserter.c 2011-06-16 17:28:51 +0000
+++ src/grail-inserter.c 2012-08-22 19:30:25 +0000
@@ -52,7 +52,7 @@
5252
53// todo: spanning tree for multi-user case53// todo: spanning tree for multi-user case
54static void setup_new_gestures(struct grail *ge,54static void setup_new_gestures(struct grail *ge,
55 const struct utouch_frame *frame)55 const struct oif_frame *frame)
56{56{
57 struct gesture_inserter *gin = ge->gin;57 struct gesture_inserter *gin = ge->gin;
58 grail_mask_t types[DIM_GRAIL_TYPE_BYTES];58 grail_mask_t types[DIM_GRAIL_TYPE_BYTES];
@@ -114,7 +114,7 @@
114 ge->gin = NULL;114 ge->gin = NULL;
115}115}
116116
117void gin_frame_begin(struct grail *ge, const struct utouch_frame *frame)117void gin_frame_begin(struct grail *ge, const struct oif_frame *frame)
118{118{
119 struct gesture_inserter *gin = ge->gin;119 struct gesture_inserter *gin = ge->gin;
120 memset(gin->types, 0, sizeof(gin->types));120 memset(gin->types, 0, sizeof(gin->types));
@@ -123,7 +123,7 @@
123 gin->grab_active = 0;123 gin->grab_active = 0;
124}124}
125125
126void gin_frame_end(struct grail *ge, const struct utouch_frame *frame)126void gin_frame_end(struct grail *ge, const struct oif_frame *frame)
127{127{
128 struct gesture_inserter *gin = ge->gin;128 struct gesture_inserter *gin = ge->gin;
129 grail_mask_t keep[DIM_TOUCH_BYTES];129 grail_mask_t keep[DIM_TOUCH_BYTES];
@@ -186,7 +186,7 @@
186}186}
187187
188int gin_gid_begin(struct grail *ge, int type, int priority,188int gin_gid_begin(struct grail *ge, int type, int priority,
189 const struct utouch_frame *frame)189 const struct oif_frame *frame)
190{190{
191 struct gesture_inserter *gin = ge->gin;191 struct gesture_inserter *gin = ge->gin;
192 struct slot_state *s;192 struct slot_state *s;
@@ -292,7 +292,7 @@
292 const struct grail_coord *tmin,292 const struct grail_coord *tmin,
293 const struct grail_coord *tmax)293 const struct grail_coord *tmax)
294{294{
295 struct utouch_surface *s = utouch_frame_get_surface(ge->impl->fh);295 struct oif_surface *s = oif_frame_get_surface(ge->impl->fh);
296296
297 s->mapped_min_x = tmin->x;297 s->mapped_min_x = tmin->x;
298 s->mapped_min_y = tmin->y;298 s->mapped_min_y = tmin->y;
299299
=== modified file 'src/grail-inserter.h'
--- src/grail-inserter.h 2011-06-16 17:28:51 +0000
+++ src/grail-inserter.h 2012-08-22 19:30:25 +0000
@@ -60,25 +60,25 @@
60};60};
6161
62int gin_add_contact_props(const struct gesture_inserter *gin,62int gin_add_contact_props(const struct gesture_inserter *gin,
63 grail_prop_t *prop, const struct utouch_frame *frame);63 grail_prop_t *prop, const struct oif_frame *frame);
6464
65int gin_get_clients(struct grail *ge,65int gin_get_clients(struct grail *ge,
66 struct grail_client_info *info, int maxinfo,66 struct grail_client_info *info, int maxinfo,
67 const grail_mask_t* types, int btypes,67 const grail_mask_t* types, int btypes,
68 const grail_mask_t* span, int bspan,68 const grail_mask_t* span, int bspan,
69 const struct utouch_frame *frame);69 const struct oif_frame *frame);
70void gin_send_event(struct grail *ge, struct slot_state *s,70void gin_send_event(struct grail *ge, struct slot_state *s,
71 const struct gesture_event *ev,71 const struct gesture_event *ev,
72 const struct utouch_frame *frame);72 const struct oif_frame *frame);
7373
74int gin_init(struct grail *ge);74int gin_init(struct grail *ge);
75void gin_destroy(struct grail *ge);75void gin_destroy(struct grail *ge);
7676
77void gin_frame_begin(struct grail *ge, const struct utouch_frame *frame);77void gin_frame_begin(struct grail *ge, const struct oif_frame *frame);
78void gin_frame_end(struct grail *ge, const struct utouch_frame *frame);78void gin_frame_end(struct grail *ge, const struct oif_frame *frame);
7979
80int gin_gid_begin(struct grail *ge, int type, int priority,80int gin_gid_begin(struct grail *ge, int type, int priority,
81 const struct utouch_frame *frame);81 const struct oif_frame *frame);
82void gin_gid_discard(struct grail *ge, int gid);82void gin_gid_discard(struct grail *ge, int gid);
83void gin_gid_timeout(struct grail *ge, int gid);83void gin_gid_timeout(struct grail *ge, int gid);
8484
8585
=== modified file 'src/grail-legacy.c'
--- src/grail-legacy.c 2011-04-28 16:53:57 +0000
+++ src/grail-legacy.c 2012-08-22 19:30:25 +0000
@@ -41,13 +41,13 @@
41 struct grail_contact *touch, int max_touch)41 struct grail_contact *touch, int max_touch)
42{42{
43 const struct gesture_inserter *gin = ge->gin;43 const struct gesture_inserter *gin = ge->gin;
44 const struct utouch_frame *frame = ge->impl->touch;44 const struct oif_frame *frame = ge->impl->touch;
45 int i;45 int i;
46 if (frame->num_active < max_touch)46 if (frame->num_active < max_touch)
47 max_touch = frame->num_active;47 max_touch = frame->num_active;
48 for (i = 0; i < max_touch; i++) {48 for (i = 0; i < max_touch; i++) {
49 struct grail_contact *t = &touch[i];49 struct grail_contact *t = &touch[i];
50 const struct utouch_contact *ct = frame->active[i];50 const struct oif_contact *ct = frame->active[i];
51 t->id = ct->id;51 t->id = ct->id;
52 t->tool_type = ct->tool_type;52 t->tool_type = ct->tool_type;
53 t->pos.x = ct->x;53 t->pos.x = ct->x;
5454
=== modified file 'src/grail-recognizer.c'
--- src/grail-recognizer.c 2011-06-16 17:28:51 +0000
+++ src/grail-recognizer.c 2012-08-22 19:30:25 +0000
@@ -41,7 +41,7 @@
41 ge->gru = NULL;41 ge->gru = NULL;
42}42}
4343
44void gru_recognize(struct grail *ge, const struct utouch_frame *frame)44void gru_recognize(struct grail *ge, const struct oif_frame *frame)
45{45{
46 if (!ge->gin || !ge->gru)46 if (!ge->gin || !ge->gru)
47 return;47 return;
4848
=== modified file 'src/grail-recognizer.h'
--- src/grail-recognizer.h 2011-06-16 17:28:51 +0000
+++ src/grail-recognizer.h 2012-08-22 19:30:25 +0000
@@ -38,7 +38,7 @@
38};38};
3939
40int gru_init(struct grail *ge);40int gru_init(struct grail *ge);
41void gru_recognize(struct grail *ge, const struct utouch_frame *frame);41void gru_recognize(struct grail *ge, const struct oif_frame *frame);
42void gru_destroy(struct grail *ge);42void gru_destroy(struct grail *ge);
4343
44#endif44#endif
4545
=== modified file 'test/Makefile.am'
--- test/Makefile.am 2011-04-28 16:53:46 +0000
+++ test/Makefile.am 2012-08-22 19:30:25 +0000
@@ -23,6 +23,6 @@
23# internal symbols.23# internal symbols.
24#24#
25check_grail_LDADD = \25check_grail_LDADD = \
26 $(top_builddir)/src/.libs/libutouch-grail.a \26 $(top_builddir)/src/.libs/libgrail.a \
27 $(CHECK_LIBS) \27 $(CHECK_LIBS) \
28 -lutouch-frame -lutouch-evemu -lmtdev -lm28 -lframe -levemu -lmtdev -lm
2929
=== modified file 'test/Makefile.in'
--- test/Makefile.in 2011-08-09 21:58:43 +0000
+++ test/Makefile.in 2012-08-22 19:30:25 +0000
@@ -53,8 +53,7 @@
53 check_grail-check-grail.$(OBJEXT)53 check_grail-check-grail.$(OBJEXT)
54check_grail_OBJECTS = $(am_check_grail_OBJECTS)54check_grail_OBJECTS = $(am_check_grail_OBJECTS)
55am__DEPENDENCIES_1 =55am__DEPENDENCIES_1 =
56check_grail_DEPENDENCIES = \56check_grail_DEPENDENCIES = $(top_builddir)/src/.libs/libgrail.a \
57 $(top_builddir)/src/.libs/libutouch-grail.a \
58 $(am__DEPENDENCIES_1)57 $(am__DEPENDENCIES_1)
59check_grail_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \58check_grail_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
60 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(check_grail_CFLAGS) \59 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(check_grail_CFLAGS) \
@@ -226,9 +225,9 @@
226# internal symbols.225# internal symbols.
227#226#
228check_grail_LDADD = \227check_grail_LDADD = \
229 $(top_builddir)/src/.libs/libutouch-grail.a \228 $(top_builddir)/src/.libs/libgrail.a \
230 $(CHECK_LIBS) \229 $(CHECK_LIBS) \
231 -lutouch-frame -lutouch-evemu -lmtdev -lm230 -lframe -levemu -lmtdev -lm
232231
233all: all-am232all: all-am
234233
235234
=== modified file 'test/check-transform.c'
--- test/check-transform.c 2011-04-28 16:53:46 +0000
+++ test/check-transform.c 2012-08-22 19:30:25 +0000
@@ -1,5 +1,5 @@
1#include <check.h>1#include <check.h>
2#include <utouch/frame-mtdev.h>2#include <oif/frame-mtdev.h>
3#include <grail.h>3#include <grail.h>
4#include <string.h>4#include <string.h>
5#include <stdio.h>5#include <stdio.h>
@@ -11,7 +11,7 @@
1111
12struct test_data {12struct test_data {
13 struct evemu_device *evemu;13 struct evemu_device *evemu;
14 utouch_frame_handle fh;14 oif_frame_handle fh;
15 grail_handle ge;15 grail_handle ge;
16 FILE *fp;16 FILE *fp;
17 struct timeval evtime;17 struct timeval evtime;
@@ -36,8 +36,8 @@
36 if (!data->evemu || evemu_read(data->evemu, data->fp) <= 0)36 if (!data->evemu || evemu_read(data->evemu, data->fp) <= 0)
37 return -1;37 return -1;
3838
39 data->fh = utouch_frame_new_engine(100, 32, 100);39 data->fh = oif_frame_new_engine(100, 32, 100);
40 if (!data->fh || utouch_frame_init_mtdev(data->fh, data->evemu))40 if (!data->fh || oif_frame_init_mtdev(data->fh, data->evemu))
41 return -1;41 return -1;
4242
43 data->ge = grail_new(data->fh, 10, 0);43 data->ge = grail_new(data->fh, 10, 0);
@@ -50,7 +50,7 @@
50static void term_test_data(struct test_data *data)50static void term_test_data(struct test_data *data)
51{51{
52 grail_delete(data->ge);52 grail_delete(data->ge);
53 utouch_frame_delete_engine(data->fh);53 oif_frame_delete_engine(data->fh);
54 evemu_delete(data->evemu);54 evemu_delete(data->evemu);
55 fclose(data->fp);55 fclose(data->fp);
56}56}
@@ -63,10 +63,10 @@
63static const struct grail_element *get_element(struct test_data *data,63static const struct grail_element *get_element(struct test_data *data,
64 const struct input_event *ev)64 const struct input_event *ev)
65{65{
66 const struct utouch_frame *touch;66 const struct oif_frame *touch;
67 const struct grail_frame *frame;67 const struct grail_frame *frame;
6868
69 touch = utouch_frame_pump_mtdev(data->fh, ev);69 touch = oif_frame_pump_mtdev(data->fh, ev);
70 if (!touch)70 if (!touch)
71 return 0;71 return 0;
72 frame = grail_pump_frame(data->ge, touch);72 frame = grail_pump_frame(data->ge, touch);
7373
=== modified file 'tools/Makefile.am'
--- tools/Makefile.am 2011-04-28 16:53:53 +0000
+++ tools/Makefile.am 2012-08-22 19:30:25 +0000
@@ -11,5 +11,5 @@
11AM_CFLAGS = $(X11_CFLAGS) $(XINPUT_CFLAGS)11AM_CFLAGS = $(X11_CFLAGS) $(XINPUT_CFLAGS)
1212
13AM_LDFLAGS = -L$(top_builddir)/src/.libs/ \13AM_LDFLAGS = -L$(top_builddir)/src/.libs/ \
14 -lutouch-grail -lutouch-frame -lutouch-evemu -lmtdev \14 -lgrail -lframe -levemu -lmtdev \
15 $(X11_LIBS) $(XINPUT_LIBS) -lm15 $(X11_LIBS) $(XINPUT_LIBS) -lm
1616
=== modified file 'tools/Makefile.in'
--- tools/Makefile.in 2011-08-09 21:58:43 +0000
+++ tools/Makefile.in 2012-08-22 19:30:25 +0000
@@ -208,7 +208,7 @@
208INCLUDES = -I$(top_srcdir)/include/208INCLUDES = -I$(top_srcdir)/include/
209AM_CFLAGS = $(X11_CFLAGS) $(XINPUT_CFLAGS)209AM_CFLAGS = $(X11_CFLAGS) $(XINPUT_CFLAGS)
210AM_LDFLAGS = -L$(top_builddir)/src/.libs/ \210AM_LDFLAGS = -L$(top_builddir)/src/.libs/ \
211 -lutouch-grail -lutouch-frame -lutouch-evemu -lmtdev \211 -lgrail -lframe -levemu -lmtdev \
212 $(X11_LIBS) $(XINPUT_LIBS) -lm212 $(X11_LIBS) $(XINPUT_LIBS) -lm
213213
214all: all-am214all: all-am
215215
=== modified file 'tools/grail-test-mtdev.c'
--- tools/grail-test-mtdev.c 2011-05-18 16:38:44 +0000
+++ tools/grail-test-mtdev.c 2012-08-22 19:30:25 +0000
@@ -21,7 +21,7 @@
2121
22#define MTDEV_NO_LEGACY_API22#define MTDEV_NO_LEGACY_API
2323
24#include <utouch/frame-mtdev.h>24#include <oif/frame-mtdev.h>
25#include <grail.h>25#include <grail.h>
26#include <string.h>26#include <string.h>
27#include <stdio.h>27#include <stdio.h>
@@ -32,7 +32,7 @@
32struct frame_test {32struct frame_test {
33 struct evemu_device *evemu;33 struct evemu_device *evemu;
34 struct mtdev *mtdev;34 struct mtdev *mtdev;
35 utouch_frame_handle fh;35 oif_frame_handle fh;
36 grail_handle ge;36 grail_handle ge;
37};37};
3838
@@ -57,10 +57,10 @@
5757
58static int init_frame(struct frame_test *test, int fd)58static int init_frame(struct frame_test *test, int fd)
59{59{
60 test->fh = utouch_frame_new_engine(100, 32, 100);60 test->fh = oif_frame_new_engine(100, 32, 100);
61 if (!test->fh)61 if (!test->fh)
62 return -1;62 return -1;
63 return utouch_frame_init_mtdev(test->fh, test->evemu);63 return oif_frame_init_mtdev(test->fh, test->evemu);
64}64}
6565
66static int init_grail(struct frame_test *test)66static int init_grail(struct frame_test *test)
@@ -77,7 +77,7 @@
77static void destroy_all(struct frame_test *test)77static void destroy_all(struct frame_test *test)
78{78{
79 grail_delete(test->ge);79 grail_delete(test->ge);
80 utouch_frame_delete_engine(test->fh);80 oif_frame_delete_engine(test->fh);
81 if (test->mtdev)81 if (test->mtdev)
82 mtdev_close_delete(test->mtdev);82 mtdev_close_delete(test->mtdev);
83 evemu_delete(test->evemu);83 evemu_delete(test->evemu);
@@ -85,7 +85,7 @@
85}85}
8686
87static void report_frame(grail_handle ge,87static void report_frame(grail_handle ge,
88 const struct utouch_frame *touch)88 const struct oif_frame *touch)
89{89{
90 const struct grail_frame *frame = grail_pump_frame(ge, touch);90 const struct grail_frame *frame = grail_pump_frame(ge, touch);
91 int i;91 int i;
@@ -131,21 +131,21 @@
131131
132static void loop_device(struct frame_test *test, FILE *fp, int fd)132static void loop_device(struct frame_test *test, FILE *fp, int fd)
133{133{
134 const struct utouch_frame *frame;134 const struct oif_frame *frame;
135 struct input_event ev;135 struct input_event ev;
136136
137 if (fp) {137 if (fp) {
138 struct timeval evtime;138 struct timeval evtime;
139 memset(&evtime, 0, sizeof(evtime));139 memset(&evtime, 0, sizeof(evtime));
140 while (evemu_read_event_realtime(fp, &ev, &evtime) > 0) {140 while (evemu_read_event_realtime(fp, &ev, &evtime) > 0) {
141 frame = utouch_frame_pump_mtdev(test->fh, &ev);141 frame = oif_frame_pump_mtdev(test->fh, &ev);
142 if (frame)142 if (frame)
143 report_frame(test->ge, frame);143 report_frame(test->ge, frame);
144 }144 }
145 } else {145 } else {
146 while (!mtdev_idle(test->mtdev, fd, 5000)) {146 while (!mtdev_idle(test->mtdev, fd, 5000)) {
147 while (mtdev_get(test->mtdev, fd, &ev, 1) > 0) {147 while (mtdev_get(test->mtdev, fd, &ev, 1) > 0) {
148 frame = utouch_frame_pump_mtdev(test->fh, &ev);148 frame = oif_frame_pump_mtdev(test->fh, &ev);
149 if (frame)149 if (frame)
150 report_frame(test->ge, frame);150 report_frame(test->ge, frame);
151 }151 }
@@ -155,7 +155,7 @@
155155
156static void report_device_caps(struct frame_test *test)156static void report_device_caps(struct frame_test *test)
157{157{
158 const struct utouch_surface *s = utouch_frame_get_surface(test->fh);158 const struct oif_surface *s = oif_frame_get_surface(test->fh);
159159
160 fprintf(stderr, "device props:\n");160 fprintf(stderr, "device props:\n");
161 if (s->needs_pointer)161 if (s->needs_pointer)
@@ -183,9 +183,9 @@
183 fprintf(stderr, "\tdistance\n");183 fprintf(stderr, "\tdistance\n");
184184
185 fprintf(stderr, "touch frames: %d\n",185 fprintf(stderr, "touch frames: %d\n",
186 utouch_frame_get_num_frames(test->fh));186 oif_frame_get_num_frames(test->fh));
187 fprintf(stderr, "touch slots: %d\n",187 fprintf(stderr, "touch slots: %d\n",
188 utouch_frame_get_num_slots(test->fh));188 oif_frame_get_num_slots(test->fh));
189}189}
190190
191int main(int argc, char *argv[])191int main(int argc, char *argv[])
@@ -223,7 +223,7 @@
223 fprintf(stderr, "error: could not describe device\n");223 fprintf(stderr, "error: could not describe device\n");
224 return -1;224 return -1;
225 }225 }
226 if (!utouch_frame_is_supported_mtdev(test.evemu)) {226 if (!oif_frame_is_supported_mtdev(test.evemu)) {
227 fprintf(stderr, "error: unsupported device\n");227 fprintf(stderr, "error: unsupported device\n");
228 return -1;228 return -1;
229 }229 }
230230
=== modified file 'tools/grail-transform.c'
--- tools/grail-transform.c 2011-05-24 08:16:15 +0000
+++ tools/grail-transform.c 2012-08-22 19:30:25 +0000
@@ -21,8 +21,8 @@
2121
22#include "config.h"22#include "config.h"
23#include <evemu.h>23#include <evemu.h>
24#include <utouch/frame-mtdev.h>24#include <oif/frame-mtdev.h>
25#include <utouch/frame-xi2.h>25#include <oif/frame-xi2.h>
26#include <grail.h>26#include <grail.h>
27#include <stdio.h>27#include <stdio.h>
28#include <stdlib.h>28#include <stdlib.h>
@@ -37,7 +37,7 @@
37 int fd;37 int fd;
38 struct evemu_device *evemu;38 struct evemu_device *evemu;
39 struct mtdev *mtdev;39 struct mtdev *mtdev;
40 utouch_frame_handle fh;40 oif_frame_handle fh;
41 struct grail *ge;41 struct grail *ge;
4242
43 struct grail_coord pos[4];43 struct grail_coord pos[4];
@@ -59,7 +59,7 @@
5959
60static void clear_screen(struct appdata *w)60static void clear_screen(struct appdata *w)
61{61{
62 const struct utouch_surface *s = utouch_frame_get_surface(w->fh);62 const struct oif_surface *s = oif_frame_get_surface(w->fh);
63 int width = s->mapped_max_x - s->mapped_min_x;63 int width = s->mapped_max_x - s->mapped_min_x;
64 int height = s->mapped_max_y - s->mapped_min_y;64 int height = s->mapped_max_y - s->mapped_min_y;
65 int i;65 int i;
@@ -80,7 +80,7 @@
80static void draw_object(struct appdata *w)80static void draw_object(struct appdata *w)
81{81{
82 static const double frac = 0.04;82 static const double frac = 0.04;
83 const struct utouch_surface *s = utouch_frame_get_surface(w->fh);83 const struct oif_surface *s = oif_frame_get_surface(w->fh);
84 double d = frac * (s->mapped_max_x - s->mapped_min_x);84 double d = frac * (s->mapped_max_x - s->mapped_min_x);
85 int i;85 int i;
8686
@@ -105,7 +105,7 @@
105}105}
106106
107static void report_frame(struct appdata *w,107static void report_frame(struct appdata *w,
108 const struct utouch_frame *touch)108 const struct oif_frame *touch)
109{109{
110 const struct grail_frame *frame;110 const struct grail_frame *frame;
111 const struct grail_element *slot;111 const struct grail_element *slot;
@@ -201,7 +201,7 @@
201201
202static void set_screen_size_mtdev(struct appdata *w, XEvent *xev)202static void set_screen_size_mtdev(struct appdata *w, XEvent *xev)
203{203{
204 struct utouch_surface *s = utouch_frame_get_surface(w->fh);204 struct oif_surface *s = oif_frame_get_surface(w->fh);
205 XConfigureEvent *cev = (XConfigureEvent *)xev;205 XConfigureEvent *cev = (XConfigureEvent *)xev;
206206
207 s->mapped_min_x = 0;207 s->mapped_min_x = 0;
@@ -218,7 +218,7 @@
218218
219static void loop_device_mtdev(struct appdata *w)219static void loop_device_mtdev(struct appdata *w)
220{220{
221 const struct utouch_frame *tf;221 const struct oif_frame *tf;
222 struct input_event iev;222 struct input_event iev;
223 XEvent xev;223 XEvent xev;
224224
@@ -230,7 +230,7 @@
230 while (1) {230 while (1) {
231 while (!mtdev_idle(w->mtdev, w->fd, 100)) {231 while (!mtdev_idle(w->mtdev, w->fd, 100)) {
232 while (mtdev_get(w->mtdev, w->fd, &iev, 1) > 0) {232 while (mtdev_get(w->mtdev, w->fd, &iev, 1) > 0) {
233 tf = utouch_frame_pump_mtdev(w->fh, &iev);233 tf = oif_frame_pump_mtdev(w->fh, &iev);
234 report_frame(w, tf);234 report_frame(w, tf);
235 }235 }
236 }236 }
@@ -261,10 +261,10 @@
261 w->mtdev = mtdev_new_open(w->fd);261 w->mtdev = mtdev_new_open(w->fd);
262 if (!w->mtdev)262 if (!w->mtdev)
263 return -1;263 return -1;
264 w->fh = utouch_frame_new_engine(500, 32, 100);264 w->fh = oif_frame_new_engine(500, 32, 100);
265 if (!w->fh)265 if (!w->fh)
266 return -1;266 return -1;
267 if (utouch_frame_init_mtdev(w->fh, w->evemu))267 if (oif_frame_init_mtdev(w->fh, w->evemu))
268 return -1;268 return -1;
269 w->ge = grail_new(w->fh, 100, 0);269 w->ge = grail_new(w->fh, 100, 0);
270 if (!w->ge)270 if (!w->ge)
@@ -278,7 +278,7 @@
278 loop_device_mtdev(w);278 loop_device_mtdev(w);
279279
280 grail_delete(w->ge);280 grail_delete(w->ge);
281 utouch_frame_delete_engine(w->fh);281 oif_frame_delete_engine(w->fh);
282 mtdev_close_delete(w->mtdev);282 mtdev_close_delete(w->mtdev);
283 evemu_delete(w->evemu);283 evemu_delete(w->evemu);
284284
@@ -322,7 +322,7 @@
322322
323static void loop_device_xi2(struct appdata *w, int id)323static void loop_device_xi2(struct appdata *w, int id)
324{324{
325 const struct utouch_frame *tf;325 const struct oif_frame *tf;
326 XIEventMask mask;326 XIEventMask mask;
327327
328 mask.deviceid = id;328 mask.deviceid = id;
@@ -346,7 +346,7 @@
346 if (XGetEventData(w->dsp, cookie) &&346 if (XGetEventData(w->dsp, cookie) &&
347 cookie->type == GenericEvent &&347 cookie->type == GenericEvent &&
348 cookie->extension == w->opcode) {348 cookie->extension == w->opcode) {
349 tf = utouch_frame_pump_xi2(w->fh, cookie->data);349 tf = oif_frame_pump_xi2(w->fh, cookie->data);
350 report_frame(w, tf);350 report_frame(w, tf);
351 }351 }
352 XFreeEventData(w->dsp, cookie);352 XFreeEventData(w->dsp, cookie);
@@ -373,10 +373,10 @@
373 if (!dev)373 if (!dev)
374 return -1;374 return -1;
375375
376 w->fh = utouch_frame_new_engine(500, 32, 100);376 w->fh = oif_frame_new_engine(500, 32, 100);
377 if (!w->fh)377 if (!w->fh)
378 return -1;378 return -1;
379 if (utouch_frame_init_xi2(w->fh, w->dsp, dev))379 if (oif_frame_init_xi2(w->fh, w->dsp, dev))
380 return -1;380 return -1;
381 w->ge = grail_new(w->fh, 100, 0);381 w->ge = grail_new(w->fh, 100, 0);
382 if (!w->ge)382 if (!w->ge)
@@ -385,7 +385,7 @@
385 loop_device_xi2(w, id);385 loop_device_xi2(w, id);
386386
387 grail_delete(w->ge);387 grail_delete(w->ge);
388 utouch_frame_delete_engine(w->fh);388 oif_frame_delete_engine(w->fh);
389389
390 XIFreeDeviceInfo(info);390 XIFreeDeviceInfo(info);
391391

Subscribers

People subscribed via source and target branches

to all changes: