Merge lp:~fginther/grail/grail-2.0.1.1-oneiric into lp:grail/oneiric
- grail-2.0.1.1-oneiric
- Merge into 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 |
Related bugs: |
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
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
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'ChangeLog' | |||
2 | --- ChangeLog 2011-08-09 22:00:48 +0000 | |||
3 | +++ ChangeLog 2012-08-22 19:30:25 +0000 | |||
4 | @@ -1,4 +1,19 @@ | |||
5 | 1 | ------------------------------------------------------------ | 1 | ------------------------------------------------------------ |
6 | 2 | revno: 166 | ||
7 | 3 | tags: v2.0.1.1 | ||
8 | 4 | committer: Chase Douglas <chase.douglas@canonical.com> | ||
9 | 5 | branch nick: 2.0.1 | ||
10 | 6 | timestamp: Wed 2012-08-15 19:37:38 +0000 | ||
11 | 7 | message: | ||
12 | 8 | Release version 2.0.1.1 | ||
13 | 9 | ------------------------------------------------------------ | ||
14 | 10 | revno: 165 | ||
15 | 11 | committer: Chase Douglas <chase.douglas@canonical.com> | ||
16 | 12 | branch nick: 2.0.1 | ||
17 | 13 | timestamp: Wed 2012-08-15 19:25:17 +0000 | ||
18 | 14 | message: | ||
19 | 15 | Rename project to simply 'grail' | ||
20 | 16 | ------------------------------------------------------------ | ||
21 | 2 | revno: 164 | 17 | revno: 164 |
22 | 3 | tags: v2.0.1 | 18 | tags: v2.0.1 |
23 | 4 | committer: Chase Douglas <chase.douglas@ubuntu.com> | 19 | committer: Chase Douglas <chase.douglas@ubuntu.com> |
24 | @@ -1461,14 +1476,12 @@ | |||
25 | 1461 | ------------------------------------------------------------ | 1476 | ------------------------------------------------------------ |
26 | 1462 | revno: 22 | 1477 | revno: 22 |
27 | 1463 | tags: v1.0.1 | 1478 | tags: v1.0.1 |
28 | 1464 | git commit: 4af2240c46ea401ce259f1c4c1401b335b397987 | ||
29 | 1465 | committer: Henrik Rydberg <rydberg@euromail.se> | 1479 | committer: Henrik Rydberg <rydberg@euromail.se> |
30 | 1466 | timestamp: Fri 2010-08-06 14:39:27 +0200 | 1480 | timestamp: Fri 2010-08-06 14:39:27 +0200 |
31 | 1467 | message: | 1481 | message: |
32 | 1468 | grail v1.0.1 | 1482 | grail v1.0.1 |
33 | 1469 | ------------------------------------------------------------ | 1483 | ------------------------------------------------------------ |
34 | 1470 | revno: 21 | 1484 | revno: 21 |
35 | 1471 | git commit: 3b6bc1a7dc5871aef2c47426f87bb409a622de29 | ||
36 | 1472 | author: Henrik Rydberg <rydberg@bitmath.org> | 1485 | author: Henrik Rydberg <rydberg@bitmath.org> |
37 | 1473 | committer: Henrik Rydberg <rydberg@euromail.se> | 1486 | committer: Henrik Rydberg <rydberg@euromail.se> |
38 | 1474 | timestamp: Fri 2010-08-06 14:33:32 +0200 | 1487 | timestamp: Fri 2010-08-06 14:33:32 +0200 |
39 | @@ -1484,7 +1497,6 @@ | |||
40 | 1484 | ------------------------------------------------------------ | 1497 | ------------------------------------------------------------ |
41 | 1485 | revno: 20 | 1498 | revno: 20 |
42 | 1486 | tags: v1.0.0 | 1499 | tags: v1.0.0 |
43 | 1487 | git commit: 40d6c7304cf431f13bfe81600656b268c881a4a2 | ||
44 | 1488 | author: Henrik Rydberg <rydberg@bitmath.org> | 1500 | author: Henrik Rydberg <rydberg@bitmath.org> |
45 | 1489 | committer: Henrik Rydberg <rydberg@euromail.se> | 1501 | committer: Henrik Rydberg <rydberg@euromail.se> |
46 | 1490 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1502 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
47 | @@ -1496,7 +1508,6 @@ | |||
48 | 1496 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1508 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
49 | 1497 | ------------------------------------------------------------ | 1509 | ------------------------------------------------------------ |
50 | 1498 | revno: 19 | 1510 | revno: 19 |
51 | 1499 | git commit: 41be604bacf259d8dbcd6d5641fc3e6bb113dafc | ||
52 | 1500 | author: Henrik Rydberg <rydberg@bitmath.org> | 1511 | author: Henrik Rydberg <rydberg@bitmath.org> |
53 | 1501 | committer: Henrik Rydberg <rydberg@euromail.se> | 1512 | committer: Henrik Rydberg <rydberg@euromail.se> |
54 | 1502 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1513 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
55 | @@ -1510,7 +1521,6 @@ | |||
56 | 1510 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1521 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
57 | 1511 | ------------------------------------------------------------ | 1522 | ------------------------------------------------------------ |
58 | 1512 | revno: 18 | 1523 | revno: 18 |
59 | 1513 | git commit: 7559b3d7aa725cd75ee4e6746246205392fe1c0f | ||
60 | 1514 | author: Henrik Rydberg <rydberg@bitmath.org> | 1524 | author: Henrik Rydberg <rydberg@bitmath.org> |
61 | 1515 | committer: Henrik Rydberg <rydberg@euromail.se> | 1525 | committer: Henrik Rydberg <rydberg@euromail.se> |
62 | 1516 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1526 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
63 | @@ -1522,7 +1532,6 @@ | |||
64 | 1522 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1532 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
65 | 1523 | ------------------------------------------------------------ | 1533 | ------------------------------------------------------------ |
66 | 1524 | revno: 17 | 1534 | revno: 17 |
67 | 1525 | git commit: 8bbf06f8d0056ae30fdfaf260000e763fad2345c | ||
68 | 1526 | author: Henrik Rydberg <rydberg@bitmath.org> | 1535 | author: Henrik Rydberg <rydberg@bitmath.org> |
69 | 1527 | committer: Henrik Rydberg <rydberg@euromail.se> | 1536 | committer: Henrik Rydberg <rydberg@euromail.se> |
70 | 1528 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1537 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
71 | @@ -1535,7 +1544,6 @@ | |||
72 | 1535 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1544 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
73 | 1536 | ------------------------------------------------------------ | 1545 | ------------------------------------------------------------ |
74 | 1537 | revno: 16 | 1546 | revno: 16 |
75 | 1538 | git commit: d5f810a0d3e0013a76136750eaff825ceec099a2 | ||
76 | 1539 | author: Henrik Rydberg <rydberg@bitmath.org> | 1547 | author: Henrik Rydberg <rydberg@bitmath.org> |
77 | 1540 | committer: Henrik Rydberg <rydberg@euromail.se> | 1548 | committer: Henrik Rydberg <rydberg@euromail.se> |
78 | 1541 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1549 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
79 | @@ -1548,7 +1556,6 @@ | |||
80 | 1548 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1556 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
81 | 1549 | ------------------------------------------------------------ | 1557 | ------------------------------------------------------------ |
82 | 1550 | revno: 15 | 1558 | revno: 15 |
83 | 1551 | git commit: d8e8d112aa907f8021ae99e6d7cd7856f1d90b70 | ||
84 | 1552 | author: Henrik Rydberg <rydberg@bitmath.org> | 1559 | author: Henrik Rydberg <rydberg@bitmath.org> |
85 | 1553 | committer: Henrik Rydberg <rydberg@euromail.se> | 1560 | committer: Henrik Rydberg <rydberg@euromail.se> |
86 | 1554 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1561 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
87 | @@ -1561,7 +1568,6 @@ | |||
88 | 1561 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1568 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
89 | 1562 | ------------------------------------------------------------ | 1569 | ------------------------------------------------------------ |
90 | 1563 | revno: 14 | 1570 | revno: 14 |
91 | 1564 | git commit: 00f7895d101de2703dbcea3600a68c4f653a0378 | ||
92 | 1565 | author: Henrik Rydberg <rydberg@bitmath.org> | 1571 | author: Henrik Rydberg <rydberg@bitmath.org> |
93 | 1566 | committer: Henrik Rydberg <rydberg@euromail.se> | 1572 | committer: Henrik Rydberg <rydberg@euromail.se> |
94 | 1567 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1573 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
95 | @@ -1576,7 +1582,6 @@ | |||
96 | 1576 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1582 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
97 | 1577 | ------------------------------------------------------------ | 1583 | ------------------------------------------------------------ |
98 | 1578 | revno: 13 | 1584 | revno: 13 |
99 | 1579 | git commit: d7d89e2afae9151f4d16aa71a99eedbf920ecc1a | ||
100 | 1580 | author: Henrik Rydberg <rydberg@bitmath.org> | 1585 | author: Henrik Rydberg <rydberg@bitmath.org> |
101 | 1581 | committer: Henrik Rydberg <rydberg@euromail.se> | 1586 | committer: Henrik Rydberg <rydberg@euromail.se> |
102 | 1582 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1587 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
103 | @@ -1586,7 +1591,6 @@ | |||
104 | 1586 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1591 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
105 | 1587 | ------------------------------------------------------------ | 1592 | ------------------------------------------------------------ |
106 | 1588 | revno: 12 | 1593 | revno: 12 |
107 | 1589 | git commit: 88dada465e0fad35b5a535a042e0a93046ffff7c | ||
108 | 1590 | author: Henrik Rydberg <rydberg@bitmath.org> | 1594 | author: Henrik Rydberg <rydberg@bitmath.org> |
109 | 1591 | committer: Henrik Rydberg <rydberg@euromail.se> | 1595 | committer: Henrik Rydberg <rydberg@euromail.se> |
110 | 1592 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1596 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
111 | @@ -1598,7 +1602,6 @@ | |||
112 | 1598 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1602 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
113 | 1599 | ------------------------------------------------------------ | 1603 | ------------------------------------------------------------ |
114 | 1600 | revno: 11 | 1604 | revno: 11 |
115 | 1601 | git commit: 697b5b5c7d2b1c46387061fcbed24cbee51d98ce | ||
116 | 1602 | author: Henrik Rydberg <rydberg@bitmath.org> | 1605 | author: Henrik Rydberg <rydberg@bitmath.org> |
117 | 1603 | committer: Henrik Rydberg <rydberg@euromail.se> | 1606 | committer: Henrik Rydberg <rydberg@euromail.se> |
118 | 1604 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1607 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
119 | @@ -1611,7 +1614,6 @@ | |||
120 | 1611 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1614 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
121 | 1612 | ------------------------------------------------------------ | 1615 | ------------------------------------------------------------ |
122 | 1613 | revno: 10 | 1616 | revno: 10 |
123 | 1614 | git commit: 642d7ee26f347152a106d48ddad37a8059d36fb1 | ||
124 | 1615 | author: Henrik Rydberg <rydberg@bitmath.org> | 1617 | author: Henrik Rydberg <rydberg@bitmath.org> |
125 | 1616 | committer: Henrik Rydberg <rydberg@euromail.se> | 1618 | committer: Henrik Rydberg <rydberg@euromail.se> |
126 | 1617 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1619 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
127 | @@ -1626,7 +1628,6 @@ | |||
128 | 1626 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1628 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
129 | 1627 | ------------------------------------------------------------ | 1629 | ------------------------------------------------------------ |
130 | 1628 | revno: 9 | 1630 | revno: 9 |
131 | 1629 | git commit: d07c43f9f19dc0ee38aaf44947cfc396f437490e | ||
132 | 1630 | author: Henrik Rydberg <rydberg@bitmath.org> | 1631 | author: Henrik Rydberg <rydberg@bitmath.org> |
133 | 1631 | committer: Henrik Rydberg <rydberg@euromail.se> | 1632 | committer: Henrik Rydberg <rydberg@euromail.se> |
134 | 1632 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1633 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
135 | @@ -1639,7 +1640,6 @@ | |||
136 | 1639 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1640 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
137 | 1640 | ------------------------------------------------------------ | 1641 | ------------------------------------------------------------ |
138 | 1641 | revno: 8 | 1642 | revno: 8 |
139 | 1642 | git commit: 342a43e7b2ceec1dd200bffa24b052fec33f5bdc | ||
140 | 1643 | author: Henrik Rydberg <rydberg@bitmath.org> | 1643 | author: Henrik Rydberg <rydberg@bitmath.org> |
141 | 1644 | committer: Henrik Rydberg <rydberg@euromail.se> | 1644 | committer: Henrik Rydberg <rydberg@euromail.se> |
142 | 1645 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1645 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
143 | @@ -1653,7 +1653,6 @@ | |||
144 | 1653 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1653 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
145 | 1654 | ------------------------------------------------------------ | 1654 | ------------------------------------------------------------ |
146 | 1655 | revno: 7 | 1655 | revno: 7 |
147 | 1656 | git commit: e0eb1015bf30fd0913db571b000ba6a83ea22660 | ||
148 | 1657 | author: Henrik Rydberg <rydberg@bitmath.org> | 1656 | author: Henrik Rydberg <rydberg@bitmath.org> |
149 | 1658 | committer: Henrik Rydberg <rydberg@euromail.se> | 1657 | committer: Henrik Rydberg <rydberg@euromail.se> |
150 | 1659 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1658 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
151 | @@ -1666,7 +1665,6 @@ | |||
152 | 1666 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1665 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
153 | 1667 | ------------------------------------------------------------ | 1666 | ------------------------------------------------------------ |
154 | 1668 | revno: 6 | 1667 | revno: 6 |
155 | 1669 | git commit: b76660d71e2ea77752025089bd71deffad64e325 | ||
156 | 1670 | author: Henrik Rydberg <rydberg@bitmath.org> | 1668 | author: Henrik Rydberg <rydberg@bitmath.org> |
157 | 1671 | committer: Henrik Rydberg <rydberg@euromail.se> | 1669 | committer: Henrik Rydberg <rydberg@euromail.se> |
158 | 1672 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1670 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
159 | @@ -1678,7 +1676,6 @@ | |||
160 | 1678 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1676 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
161 | 1679 | ------------------------------------------------------------ | 1677 | ------------------------------------------------------------ |
162 | 1680 | revno: 5 | 1678 | revno: 5 |
163 | 1681 | git commit: eb896e11aacab5f53e3915a8d19ffffd92ce8e10 | ||
164 | 1682 | author: Henrik Rydberg <rydberg@bitmath.org> | 1679 | author: Henrik Rydberg <rydberg@bitmath.org> |
165 | 1683 | committer: Henrik Rydberg <rydberg@euromail.se> | 1680 | committer: Henrik Rydberg <rydberg@euromail.se> |
166 | 1684 | timestamp: Thu 2010-08-05 22:48:38 +0200 | 1681 | timestamp: Thu 2010-08-05 22:48:38 +0200 |
167 | @@ -1692,7 +1689,6 @@ | |||
168 | 1692 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1689 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
169 | 1693 | ------------------------------------------------------------ | 1690 | ------------------------------------------------------------ |
170 | 1694 | revno: 4 | 1691 | revno: 4 |
171 | 1695 | git commit: 3b9c20f869a2f55bd9953665c9e7fd713db4ff43 | ||
172 | 1696 | author: Henrik Rydberg <rydberg@bitmath.org> | 1692 | author: Henrik Rydberg <rydberg@bitmath.org> |
173 | 1697 | committer: Henrik Rydberg <rydberg@euromail.se> | 1693 | committer: Henrik Rydberg <rydberg@euromail.se> |
174 | 1698 | timestamp: Thu 2010-08-05 22:48:37 +0200 | 1694 | timestamp: Thu 2010-08-05 22:48:37 +0200 |
175 | @@ -1702,7 +1698,6 @@ | |||
176 | 1702 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1698 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
177 | 1703 | ------------------------------------------------------------ | 1699 | ------------------------------------------------------------ |
178 | 1704 | revno: 3 | 1700 | revno: 3 |
179 | 1705 | git commit: 49922aacc4e6361e2a11dd2ce8460c80b41ab493 | ||
180 | 1706 | author: Henrik Rydberg <rydberg@bitmath.org> | 1701 | author: Henrik Rydberg <rydberg@bitmath.org> |
181 | 1707 | committer: Henrik Rydberg <rydberg@euromail.se> | 1702 | committer: Henrik Rydberg <rydberg@euromail.se> |
182 | 1708 | timestamp: Thu 2010-08-05 22:48:37 +0200 | 1703 | timestamp: Thu 2010-08-05 22:48:37 +0200 |
183 | @@ -1712,7 +1707,6 @@ | |||
184 | 1712 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1707 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
185 | 1713 | ------------------------------------------------------------ | 1708 | ------------------------------------------------------------ |
186 | 1714 | revno: 2 | 1709 | revno: 2 |
187 | 1715 | git commit: 7c277ee54e7d0ea0c44b304897049a01e2d1a44a | ||
188 | 1716 | author: Stephen M. Webb <stephen.webb@bregmasoft.ca> | 1710 | author: Stephen M. Webb <stephen.webb@bregmasoft.ca> |
189 | 1717 | committer: Henrik Rydberg <rydberg@euromail.se> | 1711 | committer: Henrik Rydberg <rydberg@euromail.se> |
190 | 1718 | timestamp: Thu 2010-08-05 22:48:37 +0200 | 1712 | timestamp: Thu 2010-08-05 22:48:37 +0200 |
191 | @@ -1725,7 +1719,6 @@ | |||
192 | 1725 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> | 1719 | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> |
193 | 1726 | ------------------------------------------------------------ | 1720 | ------------------------------------------------------------ |
194 | 1727 | revno: 1 | 1721 | revno: 1 |
195 | 1728 | git commit: 3b837806891de6cf77d4d74d04567e7e68c82fc0 | ||
196 | 1729 | committer: Henrik Rydberg <rydberg@bitmath.org> | 1722 | committer: Henrik Rydberg <rydberg@bitmath.org> |
197 | 1730 | timestamp: Tue 2010-07-13 11:26:46 +0200 | 1723 | timestamp: Tue 2010-07-13 11:26:46 +0200 |
198 | 1731 | message: | 1724 | message: |
199 | 1732 | 1725 | ||
200 | === modified file 'INSTALL' | |||
201 | --- INSTALL 2011-01-02 12:08:08 +0000 | |||
202 | +++ INSTALL 2012-08-22 19:30:25 +0000 | |||
203 | @@ -1,7 +1,7 @@ | |||
204 | 1 | grail - Gesture Recognition And Instantiation Library | 1 | grail - Gesture Recognition And Instantiation Library |
205 | 2 | 2 | ||
206 | 3 | To build, you need to have the autoconf, libtool, mtdev-dev, | 3 | To build, you need to have the autoconf, libtool, mtdev-dev, |
208 | 4 | libutouch-evemu-dev and libutouch-frame packages installed. Then, do | 4 | libevemu-dev and libframe-dev packages installed. Then, do |
209 | 5 | 5 | ||
210 | 6 | ./autogen.sh | 6 | ./autogen.sh |
211 | 7 | ./configure | 7 | ./configure |
212 | 8 | 8 | ||
213 | === modified file 'Makefile.am' | |||
214 | --- Makefile.am 2011-01-02 12:06:04 +0000 | |||
215 | +++ Makefile.am 2012-08-22 19:30:25 +0000 | |||
216 | @@ -1,7 +1,7 @@ | |||
217 | 1 | SUBDIRS = src test tools | 1 | SUBDIRS = src test tools |
218 | 2 | 2 | ||
219 | 3 | pkgconfigdir = $(libdir)/pkgconfig | 3 | pkgconfigdir = $(libdir)/pkgconfig |
221 | 4 | pkgconfig_DATA = utouch-grail.pc | 4 | pkgconfig_DATA = grail.pc |
222 | 5 | 5 | ||
223 | 6 | INCLUDES = $(top_srcdir)/include/ | 6 | INCLUDES = $(top_srcdir)/include/ |
224 | 7 | 7 | ||
225 | 8 | 8 | ||
226 | === modified file 'Makefile.in' | |||
227 | --- Makefile.in 2011-08-09 21:58:43 +0000 | |||
228 | +++ Makefile.in 2012-08-22 19:30:25 +0000 | |||
229 | @@ -37,8 +37,8 @@ | |||
230 | 37 | subdir = . | 37 | subdir = . |
231 | 38 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | 38 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
232 | 39 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ | 39 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
235 | 40 | $(srcdir)/utouch-grail.pc.in $(top_srcdir)/configure AUTHORS \ | 40 | $(srcdir)/grail.pc.in $(top_srcdir)/configure AUTHORS COPYING \ |
236 | 41 | COPYING ChangeLog INSTALL config-aux/config.guess \ | 41 | ChangeLog INSTALL config-aux/config.guess \ |
237 | 42 | config-aux/config.sub config-aux/depcomp config-aux/install-sh \ | 42 | config-aux/config.sub config-aux/depcomp config-aux/install-sh \ |
238 | 43 | config-aux/ltmain.sh config-aux/missing | 43 | config-aux/ltmain.sh config-aux/missing |
239 | 44 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | 44 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
240 | @@ -49,7 +49,7 @@ | |||
241 | 49 | configure.lineno config.status.lineno | 49 | configure.lineno config.status.lineno |
242 | 50 | mkinstalldirs = $(install_sh) -d | 50 | mkinstalldirs = $(install_sh) -d |
243 | 51 | CONFIG_HEADER = config.h | 51 | CONFIG_HEADER = config.h |
245 | 52 | CONFIG_CLEAN_FILES = utouch-grail.pc | 52 | CONFIG_CLEAN_FILES = grail.pc |
246 | 53 | CONFIG_CLEAN_VPATH_FILES = | 53 | CONFIG_CLEAN_VPATH_FILES = |
247 | 54 | SOURCES = | 54 | SOURCES = |
248 | 55 | DIST_SOURCES = | 55 | DIST_SOURCES = |
249 | @@ -257,7 +257,7 @@ | |||
250 | 257 | top_srcdir = @top_srcdir@ | 257 | top_srcdir = @top_srcdir@ |
251 | 258 | SUBDIRS = src test tools | 258 | SUBDIRS = src test tools |
252 | 259 | pkgconfigdir = $(libdir)/pkgconfig | 259 | pkgconfigdir = $(libdir)/pkgconfig |
254 | 260 | pkgconfig_DATA = utouch-grail.pc | 260 | pkgconfig_DATA = grail.pc |
255 | 261 | INCLUDES = $(top_srcdir)/include/ | 261 | INCLUDES = $(top_srcdir)/include/ |
256 | 262 | all: config.h | 262 | all: config.h |
257 | 263 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | 263 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
258 | @@ -314,7 +314,7 @@ | |||
259 | 314 | 314 | ||
260 | 315 | distclean-hdr: | 315 | distclean-hdr: |
261 | 316 | -rm -f config.h stamp-h1 | 316 | -rm -f config.h stamp-h1 |
263 | 317 | utouch-grail.pc: $(top_builddir)/config.status $(srcdir)/utouch-grail.pc.in | 317 | grail.pc: $(top_builddir)/config.status $(srcdir)/grail.pc.in |
264 | 318 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 318 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
265 | 319 | 319 | ||
266 | 320 | mostlyclean-libtool: | 320 | mostlyclean-libtool: |
267 | 321 | 321 | ||
268 | === modified file 'configure' | |||
269 | --- configure 2011-08-09 21:58:43 +0000 | |||
270 | +++ configure 2012-08-22 19:30:25 +0000 | |||
271 | @@ -1,6 +1,6 @@ | |||
272 | 1 | #! /bin/sh | 1 | #! /bin/sh |
273 | 2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
275 | 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. |
276 | 4 | # | 4 | # |
277 | 5 | # | 5 | # |
278 | 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
279 | @@ -566,9 +566,9 @@ | |||
280 | 566 | 566 | ||
281 | 567 | # Identity of this package. | 567 | # Identity of this package. |
282 | 568 | PACKAGE_NAME='Gesture Recognition And Instantiation Library' | 568 | PACKAGE_NAME='Gesture Recognition And Instantiation Library' |
286 | 569 | PACKAGE_TARNAME='utouch-grail' | 569 | PACKAGE_TARNAME='grail' |
287 | 570 | PACKAGE_VERSION='2.0.1' | 570 | PACKAGE_VERSION='2.0.1.1' |
288 | 571 | PACKAGE_STRING='Gesture Recognition And Instantiation Library 2.0.1' | 571 | PACKAGE_STRING='Gesture Recognition And Instantiation Library 2.0.1.1' |
289 | 572 | PACKAGE_BUGREPORT='' | 572 | PACKAGE_BUGREPORT='' |
290 | 573 | PACKAGE_URL='' | 573 | PACKAGE_URL='' |
291 | 574 | 574 | ||
292 | @@ -1319,7 +1319,7 @@ | |||
293 | 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. |
294 | 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. |
295 | 1321 | cat <<_ACEOF | 1321 | cat <<_ACEOF |
297 | 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. |
298 | 1323 | 1323 | ||
299 | 1324 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1324 | Usage: $0 [OPTION]... [VAR=VALUE]... |
300 | 1325 | 1325 | ||
301 | @@ -1367,7 +1367,7 @@ | |||
302 | 1367 | --infodir=DIR info documentation [DATAROOTDIR/info] | 1367 | --infodir=DIR info documentation [DATAROOTDIR/info] |
303 | 1368 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1368 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
304 | 1369 | --mandir=DIR man documentation [DATAROOTDIR/man] | 1369 | --mandir=DIR man documentation [DATAROOTDIR/man] |
306 | 1370 | --docdir=DIR documentation root [DATAROOTDIR/doc/utouch-grail] | 1370 | --docdir=DIR documentation root [DATAROOTDIR/doc/grail] |
307 | 1371 | --htmldir=DIR html documentation [DOCDIR] | 1371 | --htmldir=DIR html documentation [DOCDIR] |
308 | 1372 | --dvidir=DIR dvi documentation [DOCDIR] | 1372 | --dvidir=DIR dvi documentation [DOCDIR] |
309 | 1373 | --pdfdir=DIR pdf documentation [DOCDIR] | 1373 | --pdfdir=DIR pdf documentation [DOCDIR] |
310 | @@ -1389,7 +1389,7 @@ | |||
311 | 1389 | 1389 | ||
312 | 1390 | if test -n "$ac_init_help"; then | 1390 | if test -n "$ac_init_help"; then |
313 | 1391 | case $ac_init_help in | 1391 | case $ac_init_help in |
315 | 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:";; |
316 | 1393 | esac | 1393 | esac |
317 | 1394 | cat <<\_ACEOF | 1394 | cat <<\_ACEOF |
318 | 1395 | 1395 | ||
319 | @@ -1513,7 +1513,7 @@ | |||
320 | 1513 | test -n "$ac_init_help" && exit $ac_status | 1513 | test -n "$ac_init_help" && exit $ac_status |
321 | 1514 | if $ac_init_version; then | 1514 | if $ac_init_version; then |
322 | 1515 | cat <<\_ACEOF | 1515 | cat <<\_ACEOF |
324 | 1516 | Gesture Recognition And Instantiation Library configure 2.0.1 | 1516 | Gesture Recognition And Instantiation Library configure 2.0.1.1 |
325 | 1517 | generated by GNU Autoconf 2.68 | 1517 | generated by GNU Autoconf 2.68 |
326 | 1518 | 1518 | ||
327 | 1519 | Copyright (C) 2010 Free Software Foundation, Inc. | 1519 | Copyright (C) 2010 Free Software Foundation, Inc. |
328 | @@ -1791,7 +1791,7 @@ | |||
329 | 1791 | This file contains any messages produced by compilers while | 1791 | This file contains any messages produced by compilers while |
330 | 1792 | running configure, to aid debugging if configure makes a mistake. | 1792 | running configure, to aid debugging if configure makes a mistake. |
331 | 1793 | 1793 | ||
333 | 1794 | It was created by Gesture Recognition And Instantiation Library $as_me 2.0.1, which was | 1794 | It was created by Gesture Recognition And Instantiation Library $as_me 2.0.1.1, which was |
334 | 1795 | generated by GNU Autoconf 2.68. Invocation command line was | 1795 | generated by GNU Autoconf 2.68. Invocation command line was |
335 | 1796 | 1796 | ||
336 | 1797 | $ $0 $@ | 1797 | $ $0 $@ |
337 | @@ -2610,8 +2610,8 @@ | |||
338 | 2610 | 2610 | ||
339 | 2611 | 2611 | ||
340 | 2612 | # Define the identity of the package. | 2612 | # Define the identity of the package. |
343 | 2613 | PACKAGE='utouch-grail' | 2613 | PACKAGE='grail' |
344 | 2614 | VERSION='2.0.1' | 2614 | VERSION='2.0.1.1' |
345 | 2615 | 2615 | ||
346 | 2616 | 2616 | ||
347 | 2617 | cat >>confdefs.h <<_ACEOF | 2617 | cat >>confdefs.h <<_ACEOF |
348 | @@ -12090,12 +12090,12 @@ | |||
349 | 12090 | pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS" | 12090 | pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS" |
350 | 12091 | elif test -n "$PKG_CONFIG"; then | 12091 | elif test -n "$PKG_CONFIG"; then |
351 | 12092 | if test -n "$PKG_CONFIG" && \ | 12092 | if test -n "$PKG_CONFIG" && \ |
354 | 12093 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu >= 1.0.5\""; } >&5 | 12093 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evemu >= 1.0.5\""; } >&5 |
355 | 12094 | ($PKG_CONFIG --exists --print-errors "utouch-evemu >= 1.0.5") 2>&5 | 12094 | ($PKG_CONFIG --exists --print-errors "evemu >= 1.0.5") 2>&5 |
356 | 12095 | ac_status=$? | 12095 | ac_status=$? |
357 | 12096 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 12096 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
358 | 12097 | test $ac_status = 0; }; then | 12097 | test $ac_status = 0; }; then |
360 | 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` |
361 | 12099 | test "x$?" != "x0" && pkg_failed=yes | 12099 | test "x$?" != "x0" && pkg_failed=yes |
362 | 12100 | else | 12100 | else |
363 | 12101 | pkg_failed=yes | 12101 | pkg_failed=yes |
364 | @@ -12107,12 +12107,12 @@ | |||
365 | 12107 | pkg_cv_EVEMU_LIBS="$EVEMU_LIBS" | 12107 | pkg_cv_EVEMU_LIBS="$EVEMU_LIBS" |
366 | 12108 | elif test -n "$PKG_CONFIG"; then | 12108 | elif test -n "$PKG_CONFIG"; then |
367 | 12109 | if test -n "$PKG_CONFIG" && \ | 12109 | if test -n "$PKG_CONFIG" && \ |
370 | 12110 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu >= 1.0.5\""; } >&5 | 12110 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evemu >= 1.0.5\""; } >&5 |
371 | 12111 | ($PKG_CONFIG --exists --print-errors "utouch-evemu >= 1.0.5") 2>&5 | 12111 | ($PKG_CONFIG --exists --print-errors "evemu >= 1.0.5") 2>&5 |
372 | 12112 | ac_status=$? | 12112 | ac_status=$? |
373 | 12113 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 12113 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
374 | 12114 | test $ac_status = 0; }; then | 12114 | test $ac_status = 0; }; then |
376 | 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` |
377 | 12116 | test "x$?" != "x0" && pkg_failed=yes | 12116 | test "x$?" != "x0" && pkg_failed=yes |
378 | 12117 | else | 12117 | else |
379 | 12118 | pkg_failed=yes | 12118 | pkg_failed=yes |
380 | @@ -12133,14 +12133,14 @@ | |||
381 | 12133 | _pkg_short_errors_supported=no | 12133 | _pkg_short_errors_supported=no |
382 | 12134 | fi | 12134 | fi |
383 | 12135 | if test $_pkg_short_errors_supported = yes; then | 12135 | if test $_pkg_short_errors_supported = yes; then |
385 | 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` |
386 | 12137 | else | 12137 | else |
388 | 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` |
389 | 12139 | fi | 12139 | fi |
390 | 12140 | # Put the nasty error message in config.log where it belongs | 12140 | # Put the nasty error message in config.log where it belongs |
391 | 12141 | echo "$EVEMU_PKG_ERRORS" >&5 | 12141 | echo "$EVEMU_PKG_ERRORS" >&5 |
392 | 12142 | 12142 | ||
394 | 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: |
395 | 12144 | 12144 | ||
396 | 12145 | $EVEMU_PKG_ERRORS | 12145 | $EVEMU_PKG_ERRORS |
397 | 12146 | 12146 | ||
398 | @@ -12181,12 +12181,12 @@ | |||
399 | 12181 | pkg_cv_FRAME_CFLAGS="$FRAME_CFLAGS" | 12181 | pkg_cv_FRAME_CFLAGS="$FRAME_CFLAGS" |
400 | 12182 | elif test -n "$PKG_CONFIG"; then | 12182 | elif test -n "$PKG_CONFIG"; then |
401 | 12183 | if test -n "$PKG_CONFIG" && \ | 12183 | if test -n "$PKG_CONFIG" && \ |
404 | 12184 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-frame >= 1.0\""; } >&5 | 12184 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"frame >= 1.0\""; } >&5 |
405 | 12185 | ($PKG_CONFIG --exists --print-errors "utouch-frame >= 1.0") 2>&5 | 12185 | ($PKG_CONFIG --exists --print-errors "frame >= 1.0") 2>&5 |
406 | 12186 | ac_status=$? | 12186 | ac_status=$? |
407 | 12187 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 12187 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
408 | 12188 | test $ac_status = 0; }; then | 12188 | test $ac_status = 0; }; then |
410 | 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` |
411 | 12190 | test "x$?" != "x0" && pkg_failed=yes | 12190 | test "x$?" != "x0" && pkg_failed=yes |
412 | 12191 | else | 12191 | else |
413 | 12192 | pkg_failed=yes | 12192 | pkg_failed=yes |
414 | @@ -12198,12 +12198,12 @@ | |||
415 | 12198 | pkg_cv_FRAME_LIBS="$FRAME_LIBS" | 12198 | pkg_cv_FRAME_LIBS="$FRAME_LIBS" |
416 | 12199 | elif test -n "$PKG_CONFIG"; then | 12199 | elif test -n "$PKG_CONFIG"; then |
417 | 12200 | if test -n "$PKG_CONFIG" && \ | 12200 | if test -n "$PKG_CONFIG" && \ |
420 | 12201 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-frame >= 1.0\""; } >&5 | 12201 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"frame >= 1.0\""; } >&5 |
421 | 12202 | ($PKG_CONFIG --exists --print-errors "utouch-frame >= 1.0") 2>&5 | 12202 | ($PKG_CONFIG --exists --print-errors "frame >= 1.0") 2>&5 |
422 | 12203 | ac_status=$? | 12203 | ac_status=$? |
423 | 12204 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 12204 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
424 | 12205 | test $ac_status = 0; }; then | 12205 | test $ac_status = 0; }; then |
426 | 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` |
427 | 12207 | test "x$?" != "x0" && pkg_failed=yes | 12207 | test "x$?" != "x0" && pkg_failed=yes |
428 | 12208 | else | 12208 | else |
429 | 12209 | pkg_failed=yes | 12209 | pkg_failed=yes |
430 | @@ -12224,14 +12224,14 @@ | |||
431 | 12224 | _pkg_short_errors_supported=no | 12224 | _pkg_short_errors_supported=no |
432 | 12225 | fi | 12225 | fi |
433 | 12226 | if test $_pkg_short_errors_supported = yes; then | 12226 | if test $_pkg_short_errors_supported = yes; then |
435 | 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` |
436 | 12228 | else | 12228 | else |
438 | 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` |
439 | 12230 | fi | 12230 | fi |
440 | 12231 | # Put the nasty error message in config.log where it belongs | 12231 | # Put the nasty error message in config.log where it belongs |
441 | 12232 | echo "$FRAME_PKG_ERRORS" >&5 | 12232 | echo "$FRAME_PKG_ERRORS" >&5 |
442 | 12233 | 12233 | ||
444 | 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: |
445 | 12235 | 12235 | ||
446 | 12236 | $FRAME_PKG_ERRORS | 12236 | $FRAME_PKG_ERRORS |
447 | 12237 | 12237 | ||
448 | @@ -12460,7 +12460,7 @@ | |||
449 | 12460 | fi | 12460 | fi |
450 | 12461 | 12461 | ||
451 | 12462 | 12462 | ||
453 | 12463 | ac_config_files="$ac_config_files Makefile src/Makefile tools/Makefile test/Makefile utouch-grail.pc" | 12463 | ac_config_files="$ac_config_files Makefile src/Makefile tools/Makefile test/Makefile grail.pc" |
454 | 12464 | 12464 | ||
455 | 12465 | cat >confcache <<\_ACEOF | 12465 | cat >confcache <<\_ACEOF |
456 | 12466 | # This file is a shell script that caches the results of configure | 12466 | # This file is a shell script that caches the results of configure |
457 | @@ -13012,7 +13012,7 @@ | |||
458 | 13012 | # report actual input values of CONFIG_FILES etc. instead of their | 13012 | # report actual input values of CONFIG_FILES etc. instead of their |
459 | 13013 | # values after options handling. | 13013 | # values after options handling. |
460 | 13014 | ac_log=" | 13014 | ac_log=" |
462 | 13015 | This file was extended by Gesture Recognition And Instantiation Library $as_me 2.0.1, which was | 13015 | This file was extended by Gesture Recognition And Instantiation Library $as_me 2.0.1.1, which was |
463 | 13016 | generated by GNU Autoconf 2.68. Invocation command line was | 13016 | generated by GNU Autoconf 2.68. Invocation command line was |
464 | 13017 | 13017 | ||
465 | 13018 | CONFIG_FILES = $CONFIG_FILES | 13018 | CONFIG_FILES = $CONFIG_FILES |
466 | @@ -13078,7 +13078,7 @@ | |||
467 | 13078 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 13078 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
468 | 13079 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 13079 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
469 | 13080 | ac_cs_version="\\ | 13080 | ac_cs_version="\\ |
471 | 13081 | Gesture Recognition And Instantiation Library config.status 2.0.1 | 13081 | Gesture Recognition And Instantiation Library config.status 2.0.1.1 |
472 | 13082 | configured by $0, generated by GNU Autoconf 2.68, | 13082 | configured by $0, generated by GNU Autoconf 2.68, |
473 | 13083 | with options \\"\$ac_cs_config\\" | 13083 | with options \\"\$ac_cs_config\\" |
474 | 13084 | 13084 | ||
475 | @@ -13491,7 +13491,7 @@ | |||
476 | 13491 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 13491 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
477 | 13492 | "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; | 13492 | "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
478 | 13493 | "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; | 13493 | "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; |
480 | 13494 | "utouch-grail.pc") CONFIG_FILES="$CONFIG_FILES utouch-grail.pc" ;; | 13494 | "grail.pc") CONFIG_FILES="$CONFIG_FILES grail.pc" ;; |
481 | 13495 | 13495 | ||
482 | 13496 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 13496 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
483 | 13497 | esac | 13497 | esac |
484 | 13498 | 13498 | ||
485 | === modified file 'configure.ac' | |||
486 | --- configure.ac 2011-08-09 21:58:43 +0000 | |||
487 | +++ configure.ac 2012-08-22 19:30:25 +0000 | |||
488 | @@ -1,9 +1,9 @@ | |||
489 | 1 | # Initialize Autoconf | 1 | # Initialize Autoconf |
490 | 2 | AC_PREREQ([2.60]) | 2 | AC_PREREQ([2.60]) |
491 | 3 | AC_INIT([Gesture Recognition And Instantiation Library], | 3 | AC_INIT([Gesture Recognition And Instantiation Library], |
493 | 4 | [2.0.1], | 4 | [2.0.1.1], |
494 | 5 | [], | 5 | [], |
496 | 6 | [utouch-grail]) | 6 | [grail]) |
497 | 7 | AC_CONFIG_SRCDIR([Makefile.am]) | 7 | AC_CONFIG_SRCDIR([Makefile.am]) |
498 | 8 | AC_CONFIG_HEADERS([config.h]) | 8 | AC_CONFIG_HEADERS([config.h]) |
499 | 9 | AC_CONFIG_AUX_DIR([config-aux]) | 9 | AC_CONFIG_AUX_DIR([config-aux]) |
500 | @@ -23,8 +23,8 @@ | |||
501 | 23 | AC_PROG_INSTALL | 23 | AC_PROG_INSTALL |
502 | 24 | 24 | ||
503 | 25 | PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1]) | 25 | PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1]) |
506 | 26 | PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0.5]) | 26 | PKG_CHECK_MODULES([EVEMU], [evemu >= 1.0.5]) |
507 | 27 | PKG_CHECK_MODULES([FRAME], [utouch-frame >= 1.0]) | 27 | PKG_CHECK_MODULES([FRAME], [frame >= 1.0]) |
508 | 28 | 28 | ||
509 | 29 | AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support])) | 29 | AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support])) |
510 | 30 | AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) | 30 | AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) |
511 | @@ -43,6 +43,6 @@ | |||
512 | 43 | src/Makefile | 43 | src/Makefile |
513 | 44 | tools/Makefile | 44 | tools/Makefile |
514 | 45 | test/Makefile | 45 | test/Makefile |
516 | 46 | utouch-grail.pc]) | 46 | grail.pc]) |
517 | 47 | AC_OUTPUT | 47 | AC_OUTPUT |
518 | 48 | 48 | ||
519 | 49 | 49 | ||
520 | === modified file 'debian/changelog' | |||
521 | --- debian/changelog 2011-08-09 22:04:08 +0000 | |||
522 | +++ debian/changelog 2012-08-22 19:30:25 +0000 | |||
523 | @@ -1,182 +1,11 @@ | |||
706 | 1 | utouch-grail (2.0.1-0ubuntu1) oneiric; urgency=low | 1 | grail (2.0.1.1-0ubuntu1) UNRELEASED; urgency=low |
707 | 2 | 2 | ||
708 | 3 | * New upstream release. | 3 | * New upstream microrelease, bug fixes only |
709 | 4 | - Use physical dimensions instead of device dimensions for thresholds | 4 | - Rename project to simply 'grail' (LP: #1040218) |
710 | 5 | (LP: #823457) | 5 | * Updated debian/watch file for project rename |
711 | 6 | * Bump lintian standards version to 3.9.2 | 6 | * Rename package and update packaging |
712 | 7 | 7 | - Added Conflicts and Replaces clauses for libgrail-dev, grail-tools and | |
713 | 8 | -- Chase Douglas <chase.douglas@ubuntu.com> Tue, 09 Aug 2011 15:03:44 -0700 | 8 | libgrail1-udeb |
714 | 9 | 9 | ||
715 | 10 | utouch-grail (2.0.0-0ubuntu1) oneiric; urgency=low | 10 | -- Francis Ginther <francis.ginther@canonical.com> Wed, 22 Aug 2012 13:02:46 -0500 |
716 | 11 | 11 | ||
535 | 12 | [ Chase Douglas ] | ||
536 | 13 | * Remove unnecessary cdbs rules and build-depends. | ||
537 | 14 | * Added pivot disambiguation. | ||
538 | 15 | |||
539 | 16 | [ Jussi Pakkanen ] | ||
540 | 17 | * Added rotation and pinch center coordinates. | ||
541 | 18 | * Added XInput device autodetection. | ||
542 | 19 | |||
543 | 20 | [ Stephen M. Webb ] | ||
544 | 21 | * Added libutouch-grail-dev dependency on libutouch-frame-dev | ||
545 | 22 | * New upstream release v2.0.0. | ||
546 | 23 | |||
547 | 24 | -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 17 Jun 2011 12:17:36 +0200 | ||
548 | 25 | |||
549 | 26 | utouch-grail (1.0.20-0ubuntu1) natty; urgency=low | ||
550 | 27 | |||
551 | 28 | [ Henrik Rydberg ] | ||
552 | 29 | * New upstream release. | ||
553 | 30 | * Fixes bug LP: #637106 | ||
554 | 31 | |||
555 | 32 | -- Chase Douglas <chase.douglas@ubuntu.com> Wed, 09 Mar 2011 12:14:40 -0500 | ||
556 | 33 | |||
557 | 34 | utouch-grail (1.0.19-0ubuntu2) natty; urgency=low | ||
558 | 35 | |||
559 | 36 | * Rebuild against utouch-frame 1.0.0-0ubuntu3 to fix udeb dependencies. | ||
560 | 37 | |||
561 | 38 | -- Colin Watson <cjwatson@ubuntu.com> Tue, 22 Feb 2011 20:17:07 +0000 | ||
562 | 39 | |||
563 | 40 | utouch-grail (1.0.19-0ubuntu1) natty; urgency=low | ||
564 | 41 | |||
565 | 42 | * New upstream release. (LP: #722780) | ||
566 | 43 | * Integrates with XInput 2.1 multitouch. | ||
567 | 44 | |||
568 | 45 | -- Chase Douglas <chase.douglas@ubuntu.com> Mon, 21 Feb 2011 17:30:23 -0500 | ||
569 | 46 | |||
570 | 47 | utouch-grail (1.0.18-0ubuntu1) natty; urgency=low | ||
571 | 48 | |||
572 | 49 | * New upstream release. (LP: #702637) | ||
573 | 50 | * Remove symbols unintentionally included in grail-1.0 | ||
574 | 51 | * Update package dependencies | ||
575 | 52 | |||
576 | 53 | -- Henrik Rydberg <rydberg@bitmath.org> Mon, 03 Jan 2011 21:21:34 +0100 | ||
577 | 54 | |||
578 | 55 | utouch-grail (1.0.16-0ubuntu2) natty; urgency=low | ||
579 | 56 | |||
580 | 57 | * rebuild the -updates maverick version with natty toolchain (LP: #667802) | ||
581 | 58 | |||
582 | 59 | -- Didier Roche <didrocks@ubuntu.com> Tue, 23 Nov 2010 13:04:23 +0100 | ||
583 | 60 | |||
584 | 61 | utouch-grail (1.0.16-0ubuntu1) maverick-proposed; urgency=low | ||
585 | 62 | |||
586 | 63 | * Report touch down on one-finger entry (LP: #667802) | ||
587 | 64 | * New upstream release. | ||
588 | 65 | |||
589 | 66 | -- Henrik Rydberg <rydberg@bitmath.org> Mon, 08 Nov 2010 21:02:29 +0100 | ||
590 | 67 | |||
591 | 68 | utouch-grail (1.0.15-0ubuntu1) maverick-proposed; urgency=low | ||
592 | 69 | |||
593 | 70 | * New upstream release. | ||
594 | 71 | - Fix one Finger tap as mouse click is confusing LP: #647761 | ||
595 | 72 | |||
596 | 73 | -- Henrik Rydberg <rydberg@bitmath.org> Tue, 28 Sep 2010 13:55:19 +0200 | ||
597 | 74 | |||
598 | 75 | utouch-grail (1.0.14-0ubuntu1) maverick; urgency=low | ||
599 | 76 | |||
600 | 77 | [ Henrik Rydberg ] | ||
601 | 78 | * New upstream release. | ||
602 | 79 | |||
603 | 80 | [ Stephen M. Webb ] | ||
604 | 81 | * Ubuntu feature freeze exception (LP: #644385 ). | ||
605 | 82 | |||
606 | 83 | -- Stephen M. Webb <stephen.webb@canonical.com> Wed, 22 Sep 2010 07:20:16 -0400 | ||
607 | 84 | |||
608 | 85 | utouch-grail (1.0.13-0ubuntu1) maverick; urgency=low | ||
609 | 86 | |||
610 | 87 | [ Henrik Rydberg ] | ||
611 | 88 | * New upstream release. | ||
612 | 89 | - LP: #635011 | ||
613 | 90 | |||
614 | 91 | -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 10 Sep 2010 11:25:44 -0400 | ||
615 | 92 | |||
616 | 93 | utouch-grail (1.0.12-0ubuntu1) maverick; urgency=low | ||
617 | 94 | |||
618 | 95 | * New upstream release. | ||
619 | 96 | |||
620 | 97 | -- Henrik Rydberg <rydberg@bitmath.org> Tue, 07 Sep 2010 20:55:38 +0200 | ||
621 | 98 | |||
622 | 99 | utouch-grail (1.0.11-0ubuntu1) maverick; urgency=low | ||
623 | 100 | |||
624 | 101 | * New upstream release. | ||
625 | 102 | - LP: #624856 | ||
626 | 103 | |||
627 | 104 | -- Chase Douglas <chase.douglas@ubuntu.com> Thu, 26 Aug 2010 15:16:10 -0400 | ||
628 | 105 | |||
629 | 106 | utouch-grail (1.0.10-0ubuntu1) maverick; urgency=low | ||
630 | 107 | |||
631 | 108 | [ Chase Douglas ] | ||
632 | 109 | * Add udeb for debian installer | ||
633 | 110 | * Update package descriptions | ||
634 | 111 | |||
635 | 112 | [ Henrik Rydberg ] | ||
636 | 113 | * New upstream release. | ||
637 | 114 | * Modified symbols file. | ||
638 | 115 | * Added break clause for geis and gevdev. | ||
639 | 116 | * Added newer dependency on mtdev. | ||
640 | 117 | |||
641 | 118 | [ Chase Douglas ] | ||
642 | 119 | * Upload package to Ubuntu | ||
643 | 120 | - LP: #623005 | ||
644 | 121 | |||
645 | 122 | -- Chase Douglas <chase.douglas@ubuntu.com> Mon, 23 Aug 2010 16:57:54 -0400 | ||
646 | 123 | |||
647 | 124 | utouch-grail (1.0.8-0ubuntu3) maverick; urgency=low | ||
648 | 125 | |||
649 | 126 | * Add src/evbuf.h copyright to debian/copyright | ||
650 | 127 | |||
651 | 128 | -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 13 Aug 2010 09:38:58 +0100 | ||
652 | 129 | |||
653 | 130 | utouch-grail (1.0.8-0ubuntu2) maverick; urgency=low | ||
654 | 131 | |||
655 | 132 | * Fix utouch-grail-tools install file | ||
656 | 133 | |||
657 | 134 | -- Chase Douglas <chase.douglas@ubuntu.com> Thu, 12 Aug 2010 17:46:41 +0100 | ||
658 | 135 | |||
659 | 136 | utouch-grail (1.0.8-0ubuntu1) maverick; urgency=low | ||
660 | 137 | |||
661 | 138 | * New upstream release. | ||
662 | 139 | * Update library names | ||
663 | 140 | * Close packaging bug (LP: #616897) | ||
664 | 141 | |||
665 | 142 | -- Henrik Rydberg <rydberg@bitmath.org> Thu, 12 Aug 2010 17:25:03 +0100 | ||
666 | 143 | |||
667 | 144 | grail (1.0.7-0ubuntu1) maverick; urgency=low | ||
668 | 145 | |||
669 | 146 | * New upstream release. | ||
670 | 147 | * Update symbols file | ||
671 | 148 | |||
672 | 149 | -- Henrik Rydberg <rydberg@bitmath.org> Wed, 11 Aug 2010 18:17:26 +0100 | ||
673 | 150 | |||
674 | 151 | grail (1.0.6-0ubuntu1) maverick; urgency=low | ||
675 | 152 | |||
676 | 153 | * New upstream release. | ||
677 | 154 | |||
678 | 155 | -- Henrik Rydberg <rydberg@bitmath.org> Tue, 10 Aug 2010 19:15:37 +0100 | ||
679 | 156 | |||
680 | 157 | grail (1.0.5-0ubuntu1) maverick; urgency=low | ||
681 | 158 | |||
682 | 159 | * New upstream release. | ||
683 | 160 | * Update symbols file | ||
684 | 161 | |||
685 | 162 | -- Henrik Rydberg <rydberg@bitmath.org> Tue, 10 Aug 2010 18:01:15 +0100 | ||
686 | 163 | |||
687 | 164 | grail (1.0.4-0ubuntu1) maverick; urgency=low | ||
688 | 165 | |||
689 | 166 | * New upstream release. | ||
690 | 167 | * Update symbols file | ||
691 | 168 | |||
692 | 169 | -- Henrik Rydberg <rydberg@bitmath.org> Sun, 08 Aug 2010 13:13:22 +0200 | ||
693 | 170 | |||
694 | 171 | grail (1.0.3-0ubuntu1) maverick; urgency=low | ||
695 | 172 | |||
696 | 173 | * New upstream release. | ||
697 | 174 | * Update symbols file | ||
698 | 175 | |||
699 | 176 | -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 06 Aug 2010 17:47:37 +0000 | ||
700 | 177 | |||
701 | 178 | grail (1.0.0-0ubuntu1) maverick; urgency=low | ||
702 | 179 | |||
703 | 180 | * Initial package | ||
704 | 181 | |||
705 | 182 | -- Chase Douglas <chase.douglas@ubuntu.com> Fri, 06 Aug 2010 16:26:37 +0000 | ||
717 | 183 | 12 | ||
718 | === modified file 'debian/control' | |||
719 | --- debian/control 2011-08-09 22:02:41 +0000 | |||
720 | +++ debian/control 2012-08-22 19:30:25 +0000 | |||
721 | @@ -1,4 +1,4 @@ | |||
723 | 1 | Source: utouch-grail | 1 | Source: grail |
724 | 2 | Section: libs | 2 | Section: libs |
725 | 3 | Priority: optional | 3 | Priority: optional |
726 | 4 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | 4 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
727 | @@ -6,28 +6,29 @@ | |||
728 | 6 | pkg-config, | 6 | pkg-config, |
729 | 7 | cdbs, | 7 | cdbs, |
730 | 8 | libmtdev-dev (>= 1.1), | 8 | libmtdev-dev (>= 1.1), |
733 | 9 | libutouch-evemu-dev (>= 1.0), | 9 | libevemu-dev, |
734 | 10 | libutouch-frame-dev (>= 1.0) | 10 | libframe-dev |
735 | 11 | Standards-Version: 3.9.2 | 11 | Standards-Version: 3.9.2 |
736 | 12 | 12 | ||
738 | 13 | Package: libutouch-grail1 | 13 | Package: libgrail1 |
739 | 14 | Architecture: any | 14 | Architecture: any |
740 | 15 | Depends: ${shlibs:Depends}, | 15 | Depends: ${shlibs:Depends}, |
741 | 16 | ${misc:Depends} | 16 | ${misc:Depends} |
744 | 17 | Breaks: xserver-xorg-input-gevdev (<= 1:2.3.2-6ubuntu1), | 17 | Breaks: xserver-xorg-input-gevdev (<= 1:2.3.2-6ubuntu1) |
743 | 18 | libutouch-geis1 (<= 1.0.8) | ||
745 | 19 | Description: Gesture Recognition And Instantiation Library | 18 | Description: Gesture Recognition And Instantiation Library |
746 | 20 | This library consists of an interface and tools for handling gesture | 19 | This library consists of an interface and tools for handling gesture |
747 | 21 | recognition and gesture instantiation. Applications can use the grail | 20 | recognition and gesture instantiation. Applications can use the grail |
748 | 22 | callbacks to receive gesture primitives and raw input events from the | 21 | callbacks to receive gesture primitives and raw input events from the |
749 | 23 | underlying kernel device. | 22 | underlying kernel device. |
750 | 24 | 23 | ||
752 | 25 | Package: libutouch-grail-dev | 24 | Package: libgrail-dev |
753 | 26 | Section: libdevel | 25 | Section: libdevel |
754 | 27 | Architecture: any | 26 | Architecture: any |
757 | 28 | Depends: libutouch-grail1 (= ${binary:Version}), | 27 | Depends: libgrail1 (= ${binary:Version}), |
758 | 29 | libutouch-frame-dev, | 28 | libframe-dev, |
759 | 30 | ${misc:Depends} | 29 | ${misc:Depends} |
760 | 30 | Replaces: libutouch-grail-dev | ||
761 | 31 | Conflicts: libutouch-grail-dev | ||
762 | 31 | Description: Gesture Recognition And Instantiation Library - dev files | 32 | Description: Gesture Recognition And Instantiation Library - dev files |
763 | 32 | This library consists of an interface and tools for handling gesture | 33 | This library consists of an interface and tools for handling gesture |
764 | 33 | recognition and gesture instantiation. Applications can use the grail | 34 | recognition and gesture instantiation. Applications can use the grail |
765 | @@ -36,12 +37,14 @@ | |||
766 | 36 | . | 37 | . |
767 | 37 | This package contains files that are needed to build applications. | 38 | This package contains files that are needed to build applications. |
768 | 38 | 39 | ||
770 | 39 | Package: utouch-grail-tools | 40 | Package: grail-tools |
771 | 40 | Section: libdevel | 41 | Section: libdevel |
772 | 41 | Architecture: any | 42 | Architecture: any |
774 | 42 | Depends: libutouch-grail1 (= ${binary:Version}), | 43 | Depends: libgrail1 (= ${binary:Version}), |
775 | 43 | ${shlibs:Depends}, | 44 | ${shlibs:Depends}, |
776 | 44 | ${misc:Depends} | 45 | ${misc:Depends} |
777 | 46 | Replaces: utouch-grail-tools | ||
778 | 47 | Conflicts: utouch-grail-tools | ||
779 | 45 | Description: Gesture Recognition And Instantiation Library - test tools | 48 | Description: Gesture Recognition And Instantiation Library - test tools |
780 | 46 | This library consists of an interface and tools for handling gesture | 49 | This library consists of an interface and tools for handling gesture |
781 | 47 | recognition and gesture instantiation. Applications can use the grail | 50 | recognition and gesture instantiation. Applications can use the grail |
782 | @@ -50,12 +53,14 @@ | |||
783 | 50 | . | 53 | . |
784 | 51 | This package provides some test tools for the grail library. | 54 | This package provides some test tools for the grail library. |
785 | 52 | 55 | ||
787 | 53 | Package: libutouch-grail1-udeb | 56 | Package: libgrail1-udeb |
788 | 54 | Section: debian-installer | 57 | Section: debian-installer |
789 | 55 | Architecture: any | 58 | Architecture: any |
790 | 56 | XC-Package-Type: udeb | 59 | XC-Package-Type: udeb |
791 | 57 | Depends: ${shlibs:Depends}, | 60 | Depends: ${shlibs:Depends}, |
792 | 58 | ${misc:Depends} | 61 | ${misc:Depends} |
793 | 62 | Replaces: libutouch-grail1-udeb | ||
794 | 63 | Conflicts: libutouch-grail1-udeb | ||
795 | 59 | Description: Gesture Recognition And Instantiation Library | 64 | Description: Gesture Recognition And Instantiation Library |
796 | 60 | This library consists of an interface and tools for handling gesture | 65 | This library consists of an interface and tools for handling gesture |
797 | 61 | recognition and gesture instantiation. Applications can use the grail | 66 | recognition and gesture instantiation. Applications can use the grail |
798 | 62 | 67 | ||
799 | === modified file 'debian/copyright' | |||
800 | --- debian/copyright 2010-08-13 08:38:54 +0000 | |||
801 | +++ debian/copyright 2012-08-22 19:30:25 +0000 | |||
802 | @@ -1,7 +1,7 @@ | |||
803 | 1 | Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION | 1 | Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION |
805 | 2 | Name: utouch-grail | 2 | Name: grail |
806 | 3 | Maintainer: Henrik Rydberg <rydberg@euromail.se> | 3 | Maintainer: Henrik Rydberg <rydberg@euromail.se> |
808 | 4 | Source: http://launchpad.net/utouch-grail | 4 | Source: http://launchpad.net/grail |
809 | 5 | 5 | ||
810 | 6 | Files: * (unless noted below) | 6 | Files: * (unless noted below) |
811 | 7 | Copyright: 2010, Canonical Ltd. | 7 | Copyright: 2010, Canonical Ltd. |
812 | 8 | 8 | ||
813 | === renamed file 'debian/utouch-grail-tools.install' => 'debian/grail-tools.install' | |||
814 | === renamed file 'debian/libutouch-grail-dev.install' => 'debian/libgrail-dev.install' | |||
815 | --- debian/libutouch-grail-dev.install 2010-08-12 16:15:57 +0000 | |||
816 | +++ debian/libgrail-dev.install 2012-08-22 19:30:25 +0000 | |||
817 | @@ -1,3 +1,3 @@ | |||
818 | 1 | usr/include | 1 | usr/include |
820 | 2 | usr/lib/libutouch-grail.so | 2 | usr/lib/libgrail.so |
821 | 3 | usr/lib/pkgconfig | 3 | usr/lib/pkgconfig |
822 | 4 | 4 | ||
823 | === renamed file 'debian/libutouch-grail1-udeb.install' => 'debian/libgrail1-udeb.install' | |||
824 | --- debian/libutouch-grail1-udeb.install 2010-08-19 15:04:08 +0000 | |||
825 | +++ debian/libgrail1-udeb.install 2012-08-22 19:30:25 +0000 | |||
826 | @@ -1,1 +1,1 @@ | |||
828 | 1 | usr/lib/libutouch-grail.so.1* | 1 | usr/lib/libgrail.so.1* |
829 | 2 | 2 | ||
830 | === renamed file 'debian/libutouch-grail1.install' => 'debian/libgrail1.install' | |||
831 | --- debian/libutouch-grail1.install 2010-08-12 16:15:57 +0000 | |||
832 | +++ debian/libgrail1.install 2012-08-22 19:30:25 +0000 | |||
833 | @@ -1,1 +1,1 @@ | |||
835 | 1 | usr/lib/libutouch-grail.so.1* | 1 | usr/lib/libgrail.so.1* |
836 | 2 | 2 | ||
837 | === renamed file 'debian/libutouch-grail1.symbols' => 'debian/libgrail1.symbols' | |||
838 | --- debian/libutouch-grail1.symbols 2011-06-16 17:36:34 +0000 | |||
839 | +++ debian/libgrail1.symbols 2012-08-22 19:30:25 +0000 | |||
840 | @@ -1,4 +1,4 @@ | |||
842 | 1 | libutouch-grail.so.1 libutouch-grail1 #MINVER# | 1 | libgrail.so.1 libgrail1 #MINVER# |
843 | 2 | grail_close@Base 1.0.4 | 2 | grail_close@Base 1.0.4 |
844 | 3 | grail_delete@Base 2.0.0 | 3 | grail_delete@Base 2.0.0 |
845 | 4 | grail_filter_abs_events@Base 1.0.5 | 4 | grail_filter_abs_events@Base 1.0.5 |
846 | 5 | 5 | ||
847 | === modified file 'debian/rules' | |||
848 | --- debian/rules 2011-04-12 18:49:24 +0000 | |||
849 | +++ debian/rules 2012-08-22 19:30:25 +0000 | |||
850 | @@ -6,7 +6,7 @@ | |||
851 | 6 | 6 | ||
852 | 7 | LDFLAGS += -Wl,-z,defs -Wl,--as-needed | 7 | LDFLAGS += -Wl,-z,defs -Wl,--as-needed |
853 | 8 | 8 | ||
855 | 9 | DEB_DH_MAKESHLIBS_ARGS_libutouch-grail1 = --add-udeb=libutouch-grail1-udeb | 9 | DEB_DH_MAKESHLIBS_ARGS_libgrail1 = --add-udeb=libgrail1-udeb |
856 | 10 | 10 | ||
857 | 11 | common-binary-post-install-arch:: | 11 | common-binary-post-install-arch:: |
858 | 12 | find debian/tmp/usr/lib -name \*.la -exec rm {} \; | 12 | find debian/tmp/usr/lib -name \*.la -exec rm {} \; |
859 | 13 | 13 | ||
860 | === modified file 'debian/watch' | |||
861 | --- debian/watch 2010-08-12 16:15:57 +0000 | |||
862 | +++ debian/watch 2012-08-22 19:30:25 +0000 | |||
863 | @@ -1,2 +1,2 @@ | |||
864 | 1 | version=3 | 1 | version=3 |
866 | 2 | https://launchpad.net/utouch-grail/+download http://launchpad.net/utouch-grail/.*/utouch-grail-(.+).tar.gz | 2 | https://launchpad.net/grail/2.0.1 .*/2.0.1/.*/grail-(.+).tar.(?:bz2|gz) |
867 | 3 | 3 | ||
868 | === renamed file 'utouch-grail.pc.in' => 'grail.pc.in' | |||
869 | --- utouch-grail.pc.in 2011-04-27 08:56:48 +0000 | |||
870 | +++ grail.pc.in 2012-08-22 19:30:25 +0000 | |||
871 | @@ -3,8 +3,8 @@ | |||
872 | 3 | libdir=@libdir@ | 3 | libdir=@libdir@ |
873 | 4 | includedir=@includedir@ | 4 | includedir=@includedir@ |
874 | 5 | 5 | ||
876 | 6 | Name: utouch-grail | 6 | Name: grail |
877 | 7 | Description: Gesture Recognition And Instantiation Library | 7 | Description: Gesture Recognition And Instantiation Library |
878 | 8 | Version: @PACKAGE_VERSION@ | 8 | Version: @PACKAGE_VERSION@ |
879 | 9 | Cflags: -I${includedir} | 9 | Cflags: -I${includedir} |
881 | 10 | Libs: -L${libdir} -lutouch-grail | 10 | Libs: -L${libdir} -lgrail |
882 | 11 | 11 | ||
883 | === modified file 'include/grail.h' | |||
884 | --- include/grail.h 2011-06-16 17:28:51 +0000 | |||
885 | +++ include/grail.h 2012-08-22 19:30:25 +0000 | |||
886 | @@ -25,7 +25,7 @@ | |||
887 | 25 | #include <linux/input.h> | 25 | #include <linux/input.h> |
888 | 26 | #include <grail-bits.h> | 26 | #include <grail-bits.h> |
889 | 27 | #include <grail-types.h> | 27 | #include <grail-types.h> |
891 | 28 | #include <utouch/frame.h> | 28 | #include <oif/frame.h> |
892 | 29 | 29 | ||
893 | 30 | #ifdef __cplusplus | 30 | #ifdef __cplusplus |
894 | 31 | extern "C" { | 31 | extern "C" { |
895 | @@ -50,7 +50,7 @@ | |||
896 | 50 | #define GRAIL_EXPECT_MASK 0x000f | 50 | #define GRAIL_EXPECT_MASK 0x000f |
897 | 51 | 51 | ||
898 | 52 | typedef float grail_prop_t; /* gesture properties */ | 52 | typedef float grail_prop_t; /* gesture properties */ |
900 | 53 | typedef utouch_frame_time_t grail_time_t; /* time in milliseconds */ | 53 | typedef oif_frame_time_t grail_time_t; /* time in milliseconds */ |
901 | 54 | typedef struct grail *grail_handle; /* the grail instance handle */ | 54 | typedef struct grail *grail_handle; /* the grail instance handle */ |
902 | 55 | 55 | ||
903 | 56 | /** | 56 | /** |
904 | @@ -75,7 +75,7 @@ | |||
905 | 75 | float x, y; | 75 | float x, y; |
906 | 76 | }; | 76 | }; |
907 | 77 | 77 | ||
909 | 78 | grail_handle GRAIL_PUBLIC grail_new_raw(utouch_frame_handle fh, | 78 | grail_handle GRAIL_PUBLIC grail_new_raw(oif_frame_handle fh, |
910 | 79 | unsigned int num_frames, | 79 | unsigned int num_frames, |
911 | 80 | void *select, | 80 | void *select, |
912 | 81 | unsigned int version, | 81 | unsigned int version, |
913 | @@ -85,7 +85,7 @@ | |||
914 | 85 | 85 | ||
915 | 86 | /** | 86 | /** |
916 | 87 | * grail_new - allocate and initialize a new grail instance | 87 | * grail_new - allocate and initialize a new grail instance |
918 | 88 | * @fh: utouch frame handle to use | 88 | * @fh: oif frame handle to use |
919 | 89 | * @num_frames: number of frames in cyclic buffer | 89 | * @num_frames: number of frames in cyclic buffer |
920 | 90 | * @select: client selection callback | 90 | * @select: client selection callback |
921 | 91 | * | 91 | * |
922 | @@ -131,7 +131,7 @@ | |||
923 | 131 | * has grail scope. | 131 | * has grail scope. |
924 | 132 | */ | 132 | */ |
925 | 133 | const struct grail_frame GRAIL_PUBLIC * | 133 | const struct grail_frame GRAIL_PUBLIC * |
927 | 134 | grail_pump_frame(grail_handle ge, const struct utouch_frame *frame); | 134 | grail_pump_frame(grail_handle ge, const struct oif_frame *frame); |
928 | 135 | 135 | ||
929 | 136 | /** | 136 | /** |
930 | 137 | * struct grail_client_id - Gesture client information | 137 | * struct grail_client_id - Gesture client information |
931 | @@ -209,7 +209,7 @@ | |||
932 | 209 | */ | 209 | */ |
933 | 210 | struct grail_frame { | 210 | struct grail_frame { |
934 | 211 | const struct grail_frame *prev; | 211 | const struct grail_frame *prev; |
936 | 212 | const struct utouch_frame *touch; | 212 | const struct oif_frame *touch; |
937 | 213 | unsigned int num_ongoing; | 213 | unsigned int num_ongoing; |
938 | 214 | struct grail_element **ongoing; | 214 | struct grail_element **ongoing; |
939 | 215 | struct grail_element **slots; | 215 | struct grail_element **slots; |
940 | @@ -254,7 +254,7 @@ | |||
941 | 254 | int slot; | 254 | int slot; |
942 | 255 | int id; | 255 | int id; |
943 | 256 | int num_touches; | 256 | int num_touches; |
945 | 257 | const struct utouch_contact **touches; | 257 | const struct oif_contact **touches; |
946 | 258 | grail_time_t start_time; | 258 | grail_time_t start_time; |
947 | 259 | unsigned int expect_mask; | 259 | unsigned int expect_mask; |
948 | 260 | unsigned int active_mask; | 260 | unsigned int active_mask; |
949 | @@ -444,7 +444,7 @@ | |||
950 | 444 | * The frame pointer is ABI agnostic, owned by the grail instance, and | 444 | * The frame pointer is ABI agnostic, owned by the grail instance, and |
951 | 445 | * has grail scope. | 445 | * has grail scope. |
952 | 446 | */ | 446 | */ |
954 | 447 | const struct utouch_frame GRAIL_PUBLIC * | 447 | const struct oif_frame GRAIL_PUBLIC * |
955 | 448 | grail_get_contact_frame(const struct grail *ge); | 448 | grail_get_contact_frame(const struct grail *ge); |
956 | 449 | 449 | ||
957 | 450 | #ifndef GRAIL_NO_LEGACY_API | 450 | #ifndef GRAIL_NO_LEGACY_API |
958 | 451 | 451 | ||
959 | === modified file 'src/Makefile.am' | |||
960 | --- src/Makefile.am 2011-04-28 16:53:41 +0000 | |||
961 | +++ src/Makefile.am 2012-08-22 19:30:25 +0000 | |||
962 | @@ -1,13 +1,13 @@ | |||
964 | 1 | lib_LTLIBRARIES = libutouch-grail.la | 1 | lib_LTLIBRARIES = libgrail.la |
965 | 2 | 2 | ||
967 | 3 | libutouch_grail_la_LDFLAGS = \ | 3 | libgrail_la_LDFLAGS = \ |
968 | 4 | -version-info @LIB_VERSION@ \ | 4 | -version-info @LIB_VERSION@ \ |
969 | 5 | -lm \ | 5 | -lm \ |
970 | 6 | $(MTDEV_LIBS) \ | 6 | $(MTDEV_LIBS) \ |
971 | 7 | $(EVEMU_LIBS) \ | 7 | $(EVEMU_LIBS) \ |
972 | 8 | $(FRAME_LIBS) | 8 | $(FRAME_LIBS) |
973 | 9 | 9 | ||
975 | 10 | libutouch_grail_la_SOURCES = \ | 10 | libgrail_la_SOURCES = \ |
976 | 11 | evbuf.h \ | 11 | evbuf.h \ |
977 | 12 | gebuf.h \ | 12 | gebuf.h \ |
978 | 13 | grailbuf.h \ | 13 | grailbuf.h \ |
979 | @@ -36,8 +36,8 @@ | |||
980 | 36 | 36 | ||
981 | 37 | INCLUDES = -I$(top_srcdir)/include/ | 37 | INCLUDES = -I$(top_srcdir)/include/ |
982 | 38 | 38 | ||
985 | 39 | libutouch_grailincludedir = $(includedir) | 39 | libgrailincludedir = $(includedir) |
986 | 40 | libutouch_grailinclude_HEADERS = \ | 40 | libgrailinclude_HEADERS = \ |
987 | 41 | $(top_srcdir)/include/grail-bits.h \ | 41 | $(top_srcdir)/include/grail-bits.h \ |
988 | 42 | $(top_srcdir)/include/grail-types.h \ | 42 | $(top_srcdir)/include/grail-types.h \ |
989 | 43 | $(top_srcdir)/include/grail.h | 43 | $(top_srcdir)/include/grail.h |
990 | 44 | 44 | ||
991 | === modified file 'src/Makefile.in' | |||
992 | --- src/Makefile.in 2011-08-09 21:58:43 +0000 | |||
993 | +++ src/Makefile.in 2012-08-22 19:30:25 +0000 | |||
994 | @@ -36,7 +36,7 @@ | |||
995 | 36 | build_triplet = @build@ | 36 | build_triplet = @build@ |
996 | 37 | host_triplet = @host@ | 37 | host_triplet = @host@ |
997 | 38 | subdir = src | 38 | subdir = src |
999 | 39 | DIST_COMMON = $(libutouch_grailinclude_HEADERS) $(srcdir)/Makefile.am \ | 39 | DIST_COMMON = $(libgrailinclude_HEADERS) $(srcdir)/Makefile.am \ |
1000 | 40 | $(srcdir)/Makefile.in | 40 | $(srcdir)/Makefile.in |
1001 | 41 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | 41 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
1002 | 42 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | 42 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
1003 | @@ -68,18 +68,18 @@ | |||
1004 | 68 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | 68 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
1005 | 69 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | 69 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
1006 | 70 | am__installdirs = "$(DESTDIR)$(libdir)" \ | 70 | am__installdirs = "$(DESTDIR)$(libdir)" \ |
1008 | 71 | "$(DESTDIR)$(libutouch_grailincludedir)" | 71 | "$(DESTDIR)$(libgrailincludedir)" |
1009 | 72 | LTLIBRARIES = $(lib_LTLIBRARIES) | 72 | LTLIBRARIES = $(lib_LTLIBRARIES) |
1012 | 73 | libutouch_grail_la_LIBADD = | 73 | libgrail_la_LIBADD = |
1013 | 74 | am_libutouch_grail_la_OBJECTS = grail-bits.lo grail-inserter.lo \ | 74 | am_libgrail_la_OBJECTS = grail-bits.lo grail-inserter.lo \ |
1014 | 75 | grail-gestures.lo gestures-touch.lo gestures-drag.lo \ | 75 | grail-gestures.lo gestures-touch.lo gestures-drag.lo \ |
1015 | 76 | gestures-pinch.lo gestures-rotate.lo gestures-tapping.lo \ | 76 | gestures-pinch.lo gestures-rotate.lo gestures-tapping.lo \ |
1016 | 77 | grail-recognizer.lo grail-event.lo grail-api.lo \ | 77 | grail-recognizer.lo grail-event.lo grail-api.lo \ |
1017 | 78 | grail-legacy.lo grail-init.lo grail-frame.lo | 78 | grail-legacy.lo grail-init.lo grail-frame.lo |
1020 | 79 | libutouch_grail_la_OBJECTS = $(am_libutouch_grail_la_OBJECTS) | 79 | libgrail_la_OBJECTS = $(am_libgrail_la_OBJECTS) |
1021 | 80 | libutouch_grail_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ | 80 | libgrail_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ |
1022 | 81 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | 81 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
1024 | 82 | $(libutouch_grail_la_LDFLAGS) $(LDFLAGS) -o $@ | 82 | $(libgrail_la_LDFLAGS) $(LDFLAGS) -o $@ |
1025 | 83 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | 83 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
1026 | 84 | depcomp = $(SHELL) $(top_srcdir)/config-aux/depcomp | 84 | depcomp = $(SHELL) $(top_srcdir)/config-aux/depcomp |
1027 | 85 | am__depfiles_maybe = depfiles | 85 | am__depfiles_maybe = depfiles |
1028 | @@ -93,9 +93,9 @@ | |||
1029 | 93 | LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | 93 | LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
1030 | 94 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ | 94 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ |
1031 | 95 | $(LDFLAGS) -o $@ | 95 | $(LDFLAGS) -o $@ |
1035 | 96 | SOURCES = $(libutouch_grail_la_SOURCES) | 96 | SOURCES = $(libgrail_la_SOURCES) |
1036 | 97 | DIST_SOURCES = $(libutouch_grail_la_SOURCES) | 97 | DIST_SOURCES = $(libgrail_la_SOURCES) |
1037 | 98 | HEADERS = $(libutouch_grailinclude_HEADERS) | 98 | HEADERS = $(libgrailinclude_HEADERS) |
1038 | 99 | ETAGS = etags | 99 | ETAGS = etags |
1039 | 100 | CTAGS = ctags | 100 | CTAGS = ctags |
1040 | 101 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 101 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1041 | @@ -227,15 +227,15 @@ | |||
1042 | 227 | top_build_prefix = @top_build_prefix@ | 227 | top_build_prefix = @top_build_prefix@ |
1043 | 228 | top_builddir = @top_builddir@ | 228 | top_builddir = @top_builddir@ |
1044 | 229 | top_srcdir = @top_srcdir@ | 229 | top_srcdir = @top_srcdir@ |
1047 | 230 | lib_LTLIBRARIES = libutouch-grail.la | 230 | lib_LTLIBRARIES = libgrail.la |
1048 | 231 | libutouch_grail_la_LDFLAGS = \ | 231 | libgrail_la_LDFLAGS = \ |
1049 | 232 | -version-info @LIB_VERSION@ \ | 232 | -version-info @LIB_VERSION@ \ |
1050 | 233 | -lm \ | 233 | -lm \ |
1051 | 234 | $(MTDEV_LIBS) \ | 234 | $(MTDEV_LIBS) \ |
1052 | 235 | $(EVEMU_LIBS) \ | 235 | $(EVEMU_LIBS) \ |
1053 | 236 | $(FRAME_LIBS) | 236 | $(FRAME_LIBS) |
1054 | 237 | 237 | ||
1056 | 238 | libutouch_grail_la_SOURCES = \ | 238 | libgrail_la_SOURCES = \ |
1057 | 239 | evbuf.h \ | 239 | evbuf.h \ |
1058 | 240 | gebuf.h \ | 240 | gebuf.h \ |
1059 | 241 | grailbuf.h \ | 241 | grailbuf.h \ |
1060 | @@ -263,8 +263,8 @@ | |||
1061 | 263 | # the build. -fvisibility requires GCC > 4 (or clang) | 263 | # the build. -fvisibility requires GCC > 4 (or clang) |
1062 | 264 | AM_CFLAGS = $(CWARNFLAGS) -DBUILDING_GRAIL -fvisibility=hidden | 264 | AM_CFLAGS = $(CWARNFLAGS) -DBUILDING_GRAIL -fvisibility=hidden |
1063 | 265 | INCLUDES = -I$(top_srcdir)/include/ | 265 | INCLUDES = -I$(top_srcdir)/include/ |
1066 | 266 | libutouch_grailincludedir = $(includedir) | 266 | libgrailincludedir = $(includedir) |
1067 | 267 | libutouch_grailinclude_HEADERS = \ | 267 | libgrailinclude_HEADERS = \ |
1068 | 268 | $(top_srcdir)/include/grail-bits.h \ | 268 | $(top_srcdir)/include/grail-bits.h \ |
1069 | 269 | $(top_srcdir)/include/grail-types.h \ | 269 | $(top_srcdir)/include/grail-types.h \ |
1070 | 270 | $(top_srcdir)/include/grail.h | 270 | $(top_srcdir)/include/grail.h |
1071 | @@ -334,8 +334,8 @@ | |||
1072 | 334 | echo "rm -f \"$${dir}/so_locations\""; \ | 334 | echo "rm -f \"$${dir}/so_locations\""; \ |
1073 | 335 | rm -f "$${dir}/so_locations"; \ | 335 | rm -f "$${dir}/so_locations"; \ |
1074 | 336 | done | 336 | done |
1077 | 337 | libutouch-grail.la: $(libutouch_grail_la_OBJECTS) $(libutouch_grail_la_DEPENDENCIES) | 337 | libgrail.la: $(libgrail_la_OBJECTS) $(libgrail_la_DEPENDENCIES) |
1078 | 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) |
1079 | 339 | 339 | ||
1080 | 340 | mostlyclean-compile: | 340 | mostlyclean-compile: |
1081 | 341 | -rm -f *.$(OBJEXT) | 341 | -rm -f *.$(OBJEXT) |
1082 | @@ -384,26 +384,26 @@ | |||
1083 | 384 | 384 | ||
1084 | 385 | clean-libtool: | 385 | clean-libtool: |
1085 | 386 | -rm -rf .libs _libs | 386 | -rm -rf .libs _libs |
1087 | 387 | install-libutouch_grailincludeHEADERS: $(libutouch_grailinclude_HEADERS) | 387 | install-libgrailincludeHEADERS: $(libgrailinclude_HEADERS) |
1088 | 388 | @$(NORMAL_INSTALL) | 388 | @$(NORMAL_INSTALL) |
1091 | 389 | test -z "$(libutouch_grailincludedir)" || $(MKDIR_P) "$(DESTDIR)$(libutouch_grailincludedir)" | 389 | test -z "$(libgrailincludedir)" || $(MKDIR_P) "$(DESTDIR)$(libgrailincludedir)" |
1092 | 390 | @list='$(libutouch_grailinclude_HEADERS)'; test -n "$(libutouch_grailincludedir)" || list=; \ | 390 | @list='$(libgrailinclude_HEADERS)'; test -n "$(libgrailincludedir)" || list=; \ |
1093 | 391 | for p in $$list; do \ | 391 | for p in $$list; do \ |
1094 | 392 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 392 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
1095 | 393 | echo "$$d$$p"; \ | 393 | echo "$$d$$p"; \ |
1096 | 394 | done | $(am__base_list) | \ | 394 | done | $(am__base_list) | \ |
1097 | 395 | while read files; do \ | 395 | while read files; do \ |
1100 | 396 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libutouch_grailincludedir)'"; \ | 396 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libgrailincludedir)'"; \ |
1101 | 397 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(libutouch_grailincludedir)" || exit $$?; \ | 397 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(libgrailincludedir)" || exit $$?; \ |
1102 | 398 | done | 398 | done |
1103 | 399 | 399 | ||
1105 | 400 | uninstall-libutouch_grailincludeHEADERS: | 400 | uninstall-libgrailincludeHEADERS: |
1106 | 401 | @$(NORMAL_UNINSTALL) | 401 | @$(NORMAL_UNINSTALL) |
1108 | 402 | @list='$(libutouch_grailinclude_HEADERS)'; test -n "$(libutouch_grailincludedir)" || list=; \ | 402 | @list='$(libgrailinclude_HEADERS)'; test -n "$(libgrailincludedir)" || list=; \ |
1109 | 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|^.*/||'`; \ |
1110 | 404 | test -n "$$files" || exit 0; \ | 404 | test -n "$$files" || exit 0; \ |
1113 | 405 | echo " ( cd '$(DESTDIR)$(libutouch_grailincludedir)' && rm -f" $$files ")"; \ | 405 | echo " ( cd '$(DESTDIR)$(libgrailincludedir)' && rm -f" $$files ")"; \ |
1114 | 406 | cd "$(DESTDIR)$(libutouch_grailincludedir)" && rm -f $$files | 406 | cd "$(DESTDIR)$(libgrailincludedir)" && rm -f $$files |
1115 | 407 | 407 | ||
1116 | 408 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | 408 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
1117 | 409 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | 409 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
1118 | @@ -491,7 +491,7 @@ | |||
1119 | 491 | check: check-am | 491 | check: check-am |
1120 | 492 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) | 492 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) |
1121 | 493 | installdirs: | 493 | installdirs: |
1123 | 494 | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libutouch_grailincludedir)"; do \ | 494 | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libgrailincludedir)"; do \ |
1124 | 495 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | 495 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
1125 | 496 | done | 496 | done |
1126 | 497 | install: install-am | 497 | install: install-am |
1127 | @@ -542,7 +542,7 @@ | |||
1128 | 542 | 542 | ||
1129 | 543 | info-am: | 543 | info-am: |
1130 | 544 | 544 | ||
1132 | 545 | install-data-am: install-libutouch_grailincludeHEADERS | 545 | install-data-am: install-libgrailincludeHEADERS |
1133 | 546 | 546 | ||
1134 | 547 | install-dvi: install-dvi-am | 547 | install-dvi: install-dvi-am |
1135 | 548 | 548 | ||
1136 | @@ -589,7 +589,7 @@ | |||
1137 | 589 | ps-am: | 589 | ps-am: |
1138 | 590 | 590 | ||
1139 | 591 | uninstall-am: uninstall-libLTLIBRARIES \ | 591 | uninstall-am: uninstall-libLTLIBRARIES \ |
1141 | 592 | uninstall-libutouch_grailincludeHEADERS | 592 | uninstall-libgrailincludeHEADERS |
1142 | 593 | 593 | ||
1143 | 594 | .MAKE: install-am install-strip | 594 | .MAKE: install-am install-strip |
1144 | 595 | 595 | ||
1145 | @@ -600,14 +600,14 @@ | |||
1146 | 600 | install install-am install-data install-data-am install-dvi \ | 600 | install install-am install-data install-data-am install-dvi \ |
1147 | 601 | install-dvi-am install-exec install-exec-am install-html \ | 601 | install-dvi-am install-exec install-exec-am install-html \ |
1148 | 602 | install-html-am install-info install-info-am \ | 602 | install-html-am install-info install-info-am \ |
1150 | 603 | install-libLTLIBRARIES install-libutouch_grailincludeHEADERS \ | 603 | install-libLTLIBRARIES install-libgrailincludeHEADERS \ |
1151 | 604 | install-man install-pdf install-pdf-am install-ps \ | 604 | install-man install-pdf install-pdf-am install-ps \ |
1152 | 605 | install-ps-am install-strip installcheck installcheck-am \ | 605 | install-ps-am install-strip installcheck installcheck-am \ |
1153 | 606 | installdirs maintainer-clean maintainer-clean-generic \ | 606 | installdirs maintainer-clean maintainer-clean-generic \ |
1154 | 607 | mostlyclean mostlyclean-compile mostlyclean-generic \ | 607 | mostlyclean mostlyclean-compile mostlyclean-generic \ |
1155 | 608 | mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ | 608 | mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ |
1156 | 609 | uninstall-am uninstall-libLTLIBRARIES \ | 609 | uninstall-am uninstall-libLTLIBRARIES \ |
1158 | 610 | uninstall-libutouch_grailincludeHEADERS | 610 | uninstall-libgrailincludeHEADERS |
1159 | 611 | 611 | ||
1160 | 612 | 612 | ||
1161 | 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. |
1162 | 614 | 614 | ||
1163 | === modified file 'src/gebuf.h' | |||
1164 | --- src/gebuf.h 2011-06-16 17:28:51 +0000 | |||
1165 | +++ src/gebuf.h 2012-08-22 19:30:25 +0000 | |||
1166 | @@ -30,7 +30,7 @@ | |||
1167 | 30 | int status; | 30 | int status; |
1168 | 31 | int ntouch; | 31 | int ntouch; |
1169 | 32 | int nprop; | 32 | int nprop; |
1171 | 33 | utouch_frame_time_t time; | 33 | oif_frame_time_t time; |
1172 | 34 | struct grail_coord pos; | 34 | struct grail_coord pos; |
1173 | 35 | grail_prop_t prop[DIM_GRAIL_PROP]; | 35 | grail_prop_t prop[DIM_GRAIL_PROP]; |
1174 | 36 | }; | 36 | }; |
1175 | 37 | 37 | ||
1176 | === modified file 'src/gestures-drag.c' | |||
1177 | --- src/gestures-drag.c 2011-06-16 17:28:51 +0000 | |||
1178 | +++ src/gestures-drag.c 2012-08-22 19:30:25 +0000 | |||
1179 | @@ -34,7 +34,7 @@ | |||
1180 | 34 | 34 | ||
1181 | 35 | static void set_props(const struct gesture_inserter *gin, | 35 | static void set_props(const struct gesture_inserter *gin, |
1182 | 36 | struct combo_model *s, const struct move_model *m, | 36 | struct combo_model *s, const struct move_model *m, |
1184 | 37 | const struct utouch_frame *frame) | 37 | const struct oif_frame *frame) |
1185 | 38 | { | 38 | { |
1186 | 39 | if (m->single) { | 39 | if (m->single) { |
1187 | 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; |
1188 | @@ -54,7 +54,7 @@ | |||
1189 | 54 | static const int fm_mask = 0x03; | 54 | static const int fm_mask = 0x03; |
1190 | 55 | 55 | ||
1191 | 56 | int gru_drag(struct grail *ge, | 56 | int gru_drag(struct grail *ge, |
1193 | 57 | const struct utouch_frame *frame) | 57 | const struct oif_frame *frame) |
1194 | 58 | { | 58 | { |
1195 | 59 | struct gesture_recognizer *gru = ge->gru; | 59 | struct gesture_recognizer *gru = ge->gru; |
1196 | 60 | struct combo_model *state = &gru->drag; | 60 | struct combo_model *state = &gru->drag; |
1197 | @@ -89,7 +89,7 @@ | |||
1198 | 89 | } | 89 | } |
1199 | 90 | 90 | ||
1200 | 91 | int gru_windrag(struct grail *ge, | 91 | int gru_windrag(struct grail *ge, |
1202 | 92 | const struct utouch_frame *frame) | 92 | const struct oif_frame *frame) |
1203 | 93 | { | 93 | { |
1204 | 94 | struct gesture_recognizer *gru = ge->gru; | 94 | struct gesture_recognizer *gru = ge->gru; |
1205 | 95 | struct combo_model *state = &gru->windrag; | 95 | struct combo_model *state = &gru->windrag; |
1206 | 96 | 96 | ||
1207 | === modified file 'src/gestures-pinch.c' | |||
1208 | --- src/gestures-pinch.c 2011-06-16 17:28:51 +0000 | |||
1209 | +++ src/gestures-pinch.c 2012-08-22 19:30:25 +0000 | |||
1210 | @@ -37,7 +37,7 @@ | |||
1211 | 37 | static void set_props(const struct gesture_inserter *gin, | 37 | static void set_props(const struct gesture_inserter *gin, |
1212 | 38 | struct combo_model *s, | 38 | struct combo_model *s, |
1213 | 39 | const struct move_model *m, | 39 | const struct move_model *m, |
1215 | 40 | const struct utouch_frame *frame) | 40 | const struct oif_frame *frame) |
1216 | 41 | { | 41 | { |
1217 | 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; |
1218 | 43 | s->prop[GRAIL_PROP_PINCH_VR] = m->fm[FM_R].velocity; | 43 | s->prop[GRAIL_PROP_PINCH_VR] = m->fm[FM_R].velocity; |
1219 | @@ -49,7 +49,7 @@ | |||
1220 | 49 | } | 49 | } |
1221 | 50 | 50 | ||
1222 | 51 | int gru_pinch(struct grail *ge, | 51 | int gru_pinch(struct grail *ge, |
1224 | 52 | const struct utouch_frame *frame) | 52 | const struct oif_frame *frame) |
1225 | 53 | { | 53 | { |
1226 | 54 | struct gesture_recognizer *gru = ge->gru; | 54 | struct gesture_recognizer *gru = ge->gru; |
1227 | 55 | struct combo_model *state = &gru->pinch; | 55 | struct combo_model *state = &gru->pinch; |
1228 | @@ -85,7 +85,7 @@ | |||
1229 | 85 | } | 85 | } |
1230 | 86 | 86 | ||
1231 | 87 | int gru_winpinch(struct grail *ge, | 87 | int gru_winpinch(struct grail *ge, |
1233 | 88 | const struct utouch_frame *frame) | 88 | const struct oif_frame *frame) |
1234 | 89 | { | 89 | { |
1235 | 90 | struct gesture_recognizer *gru = ge->gru; | 90 | struct gesture_recognizer *gru = ge->gru; |
1236 | 91 | struct combo_model *state = &gru->winpinch; | 91 | struct combo_model *state = &gru->winpinch; |
1237 | 92 | 92 | ||
1238 | === modified file 'src/gestures-rotate.c' | |||
1239 | --- src/gestures-rotate.c 2011-06-16 17:28:51 +0000 | |||
1240 | +++ src/gestures-rotate.c 2012-08-22 19:30:25 +0000 | |||
1241 | @@ -36,7 +36,7 @@ | |||
1242 | 36 | 36 | ||
1243 | 37 | static void set_props(const struct gesture_inserter *gin, | 37 | static void set_props(const struct gesture_inserter *gin, |
1244 | 38 | struct combo_model *s, const struct move_model *m, | 38 | struct combo_model *s, const struct move_model *m, |
1246 | 39 | const struct utouch_frame *frame) | 39 | const struct oif_frame *frame) |
1247 | 40 | { | 40 | { |
1248 | 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; |
1249 | 42 | s->prop[GRAIL_PROP_ROTATE_VA] = m->fm[FM_A].velocity; | 42 | s->prop[GRAIL_PROP_ROTATE_VA] = m->fm[FM_A].velocity; |
1250 | @@ -48,7 +48,7 @@ | |||
1251 | 48 | } | 48 | } |
1252 | 49 | 49 | ||
1253 | 50 | int gru_rotate(struct grail *ge, | 50 | int gru_rotate(struct grail *ge, |
1255 | 51 | const struct utouch_frame *frame) | 51 | const struct oif_frame *frame) |
1256 | 52 | { | 52 | { |
1257 | 53 | struct gesture_recognizer *gru = ge->gru; | 53 | struct gesture_recognizer *gru = ge->gru; |
1258 | 54 | struct combo_model *state = &gru->rotate; | 54 | struct combo_model *state = &gru->rotate; |
1259 | @@ -84,7 +84,7 @@ | |||
1260 | 84 | } | 84 | } |
1261 | 85 | 85 | ||
1262 | 86 | int gru_winrotate(struct grail *ge, | 86 | int gru_winrotate(struct grail *ge, |
1264 | 87 | const struct utouch_frame *frame) | 87 | const struct oif_frame *frame) |
1265 | 88 | { | 88 | { |
1266 | 89 | struct gesture_recognizer *gru = ge->gru; | 89 | struct gesture_recognizer *gru = ge->gru; |
1267 | 90 | struct combo_model *state = &gru->winrotate; | 90 | struct combo_model *state = &gru->winrotate; |
1268 | 91 | 91 | ||
1269 | === modified file 'src/gestures-tapping.c' | |||
1270 | --- src/gestures-tapping.c 2011-06-16 17:28:51 +0000 | |||
1271 | +++ src/gestures-tapping.c 2012-08-22 19:30:25 +0000 | |||
1272 | @@ -26,7 +26,7 @@ | |||
1273 | 26 | 26 | ||
1274 | 27 | static void set_props(const struct gesture_inserter *gin, | 27 | static void set_props(const struct gesture_inserter *gin, |
1275 | 28 | struct tapping_model *s, const struct move_model *m, | 28 | struct tapping_model *s, const struct move_model *m, |
1277 | 29 | const struct utouch_frame *frame) | 29 | const struct oif_frame *frame) |
1278 | 30 | { | 30 | { |
1279 | 31 | s->prop[GRAIL_PROP_TAP_DT] = m->time - s->start; | 31 | s->prop[GRAIL_PROP_TAP_DT] = m->time - s->start; |
1280 | 32 | s->prop[GRAIL_PROP_TAP_X] = m->fm[FM_X].value; | 32 | s->prop[GRAIL_PROP_TAP_X] = m->fm[FM_X].value; |
1281 | @@ -36,7 +36,7 @@ | |||
1282 | 36 | } | 36 | } |
1283 | 37 | 37 | ||
1284 | 38 | int gru_tapping(struct grail *ge, | 38 | int gru_tapping(struct grail *ge, |
1286 | 39 | const struct utouch_frame *frame) | 39 | const struct oif_frame *frame) |
1287 | 40 | { | 40 | { |
1288 | 41 | struct gesture_recognizer *gru = ge->gru; | 41 | struct gesture_recognizer *gru = ge->gru; |
1289 | 42 | struct tapping_model *state = &gru->tapping; | 42 | struct tapping_model *state = &gru->tapping; |
1290 | 43 | 43 | ||
1291 | === modified file 'src/gestures-touch.c' | |||
1292 | --- src/gestures-touch.c 2011-04-04 17:27:38 +0000 | |||
1293 | +++ src/gestures-touch.c 2012-08-22 19:30:25 +0000 | |||
1294 | @@ -34,7 +34,7 @@ | |||
1295 | 34 | }; | 34 | }; |
1296 | 35 | 35 | ||
1297 | 36 | int gru_touch(struct grail *ge, | 36 | int gru_touch(struct grail *ge, |
1299 | 37 | const struct utouch_frame *frame) | 37 | const struct oif_frame *frame) |
1300 | 38 | { | 38 | { |
1301 | 39 | struct gesture_recognizer *gru = ge->gru; | 39 | struct gesture_recognizer *gru = ge->gru; |
1302 | 40 | struct combo_model *state = &gru->touch; | 40 | struct combo_model *state = &gru->touch; |
1303 | @@ -61,7 +61,7 @@ | |||
1304 | 61 | } | 61 | } |
1305 | 62 | 62 | ||
1306 | 63 | int gru_wintouch(struct grail *ge, | 63 | int gru_wintouch(struct grail *ge, |
1308 | 64 | const struct utouch_frame *frame) | 64 | const struct oif_frame *frame) |
1309 | 65 | { | 65 | { |
1310 | 66 | struct gesture_recognizer *gru = ge->gru; | 66 | struct gesture_recognizer *gru = ge->gru; |
1311 | 67 | struct combo_model *state = &gru->wintouch; | 67 | struct combo_model *state = &gru->wintouch; |
1312 | 68 | 68 | ||
1313 | === modified file 'src/grail-api.c' | |||
1314 | --- src/grail-api.c 2011-06-16 17:28:51 +0000 | |||
1315 | +++ src/grail-api.c 2012-08-22 19:30:25 +0000 | |||
1316 | @@ -67,7 +67,7 @@ | |||
1317 | 67 | ret = evemu_extract(x->evemu, fd); | 67 | ret = evemu_extract(x->evemu, fd); |
1318 | 68 | if (ret) | 68 | if (ret) |
1319 | 69 | goto freemem; | 69 | goto freemem; |
1321 | 70 | if (!utouch_frame_is_supported_mtdev(x->evemu)) { | 70 | if (!oif_frame_is_supported_mtdev(x->evemu)) { |
1322 | 71 | ret = -ENODEV; | 71 | ret = -ENODEV; |
1323 | 72 | goto freemem; | 72 | goto freemem; |
1324 | 73 | } | 73 | } |
1325 | @@ -79,12 +79,12 @@ | |||
1326 | 79 | goto freemem; | 79 | goto freemem; |
1327 | 80 | } | 80 | } |
1328 | 81 | } | 81 | } |
1330 | 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); |
1331 | 83 | if (!x->fh) { | 83 | if (!x->fh) { |
1332 | 84 | ret = -ENOMEM; | 84 | ret = -ENOMEM; |
1333 | 85 | goto freedev; | 85 | goto freedev; |
1334 | 86 | } | 86 | } |
1336 | 87 | ret = utouch_frame_init_mtdev(x->fh, x->evemu); | 87 | ret = oif_frame_init_mtdev(x->fh, x->evemu); |
1337 | 88 | if (ret) | 88 | if (ret) |
1338 | 89 | goto freeframe; | 89 | goto freeframe; |
1339 | 90 | 90 | ||
1340 | @@ -102,7 +102,7 @@ | |||
1341 | 102 | freegin: | 102 | freegin: |
1342 | 103 | gin_destroy(ge); | 103 | gin_destroy(ge); |
1343 | 104 | freeframe: | 104 | freeframe: |
1345 | 105 | utouch_frame_delete_engine(x->fh); | 105 | oif_frame_delete_engine(x->fh); |
1346 | 106 | freedev: | 106 | freedev: |
1347 | 107 | if (x->mtdev) | 107 | if (x->mtdev) |
1348 | 108 | mtdev_close_delete(x->mtdev); | 108 | mtdev_close_delete(x->mtdev); |
1349 | @@ -120,7 +120,7 @@ | |||
1350 | 120 | struct grail_impl *x = ge->impl; | 120 | struct grail_impl *x = ge->impl; |
1351 | 121 | gru_destroy(ge); | 121 | gru_destroy(ge); |
1352 | 122 | gin_destroy(ge); | 122 | gin_destroy(ge); |
1354 | 123 | utouch_frame_delete_engine(x->fh); | 123 | oif_frame_delete_engine(x->fh); |
1355 | 124 | if (x->mtdev) | 124 | if (x->mtdev) |
1356 | 125 | mtdev_close_delete(x->mtdev); | 125 | mtdev_close_delete(x->mtdev); |
1357 | 126 | evemu_delete(x->evemu); | 126 | evemu_delete(x->evemu); |
1358 | @@ -143,14 +143,14 @@ | |||
1359 | 143 | void GRAIL_PUBLIC grail_get_units(const struct grail *ge, | 143 | void GRAIL_PUBLIC grail_get_units(const struct grail *ge, |
1360 | 144 | struct grail_coord *min, struct grail_coord *max) | 144 | struct grail_coord *min, struct grail_coord *max) |
1361 | 145 | { | 145 | { |
1363 | 146 | struct utouch_surface *s = utouch_frame_get_surface(ge->impl->fh); | 146 | struct oif_surface *s = oif_frame_get_surface(ge->impl->fh); |
1364 | 147 | min->x = s->min_x; | 147 | min->x = s->min_x; |
1365 | 148 | min->y = s->min_y; | 148 | min->y = s->min_y; |
1366 | 149 | max->x = s->max_x; | 149 | max->x = s->max_x; |
1367 | 150 | max->y = s->max_y; | 150 | max->y = s->max_y; |
1368 | 151 | } | 151 | } |
1369 | 152 | 152 | ||
1371 | 153 | const struct utouch_frame GRAIL_PUBLIC * | 153 | const struct oif_frame GRAIL_PUBLIC * |
1372 | 154 | grail_get_contact_frame(const struct grail *ge) | 154 | grail_get_contact_frame(const struct grail *ge) |
1373 | 155 | { | 155 | { |
1374 | 156 | return ge->impl->touch; | 156 | return ge->impl->touch; |
1375 | @@ -215,7 +215,7 @@ | |||
1376 | 215 | } | 215 | } |
1377 | 216 | } | 216 | } |
1378 | 217 | 217 | ||
1380 | 218 | static int gesture_timeout(struct grail *ge, const struct utouch_frame *frame) | 218 | static int gesture_timeout(struct grail *ge, const struct oif_frame *frame) |
1381 | 219 | { | 219 | { |
1382 | 220 | struct gesture_recognizer *gru = ge->gru; | 220 | struct gesture_recognizer *gru = ge->gru; |
1383 | 221 | struct gesture_inserter *gin = ge->gin; | 221 | struct gesture_inserter *gin = ge->gin; |
1384 | @@ -225,7 +225,7 @@ | |||
1385 | 225 | } | 225 | } |
1386 | 226 | 226 | ||
1387 | 227 | static void report_frame(struct grail *ge, | 227 | static void report_frame(struct grail *ge, |
1389 | 228 | const struct utouch_frame *touch, | 228 | const struct oif_frame *touch, |
1390 | 229 | const struct input_event *syn) | 229 | const struct input_event *syn) |
1391 | 230 | { | 230 | { |
1392 | 231 | struct grail_impl *impl = ge->impl; | 231 | struct grail_impl *impl = ge->impl; |
1393 | @@ -255,12 +255,12 @@ | |||
1394 | 255 | static void grail_pump_mtdev(struct grail *ge, const struct input_event *ev) | 255 | static void grail_pump_mtdev(struct grail *ge, const struct input_event *ev) |
1395 | 256 | { | 256 | { |
1396 | 257 | struct grail_impl *impl = ge->impl; | 257 | struct grail_impl *impl = ge->impl; |
1398 | 258 | const struct utouch_frame *frame; | 258 | const struct oif_frame *frame; |
1399 | 259 | 259 | ||
1400 | 260 | evbuf_put(&impl->evbuf, ev); | 260 | evbuf_put(&impl->evbuf, ev); |
1401 | 261 | 261 | ||
1402 | 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) { |
1404 | 263 | frame = utouch_frame_pump_mtdev(impl->fh, ev); | 263 | frame = oif_frame_pump_mtdev(impl->fh, ev); |
1405 | 264 | if (frame) | 264 | if (frame) |
1406 | 265 | report_frame(ge, frame, ev); | 265 | report_frame(ge, frame, ev); |
1407 | 266 | } | 266 | } |
1408 | 267 | 267 | ||
1409 | === modified file 'src/grail-event.c' | |||
1410 | --- src/grail-event.c 2011-06-16 17:28:51 +0000 | |||
1411 | +++ src/grail-event.c 2012-08-22 19:30:25 +0000 | |||
1412 | @@ -27,7 +27,7 @@ | |||
1413 | 27 | #include <math.h> | 27 | #include <math.h> |
1414 | 28 | 28 | ||
1415 | 29 | static void compute_bbox(struct grail_coord *min, struct grail_coord *max, | 29 | static void compute_bbox(struct grail_coord *min, struct grail_coord *max, |
1417 | 30 | const struct utouch_frame *frame) | 30 | const struct oif_frame *frame) |
1418 | 31 | { | 31 | { |
1419 | 32 | float x, y; | 32 | float x, y; |
1420 | 33 | int i; | 33 | int i; |
1421 | @@ -52,7 +52,7 @@ | |||
1422 | 52 | } | 52 | } |
1423 | 53 | 53 | ||
1424 | 54 | int gin_add_contact_props(const struct gesture_inserter *gin, | 54 | int gin_add_contact_props(const struct gesture_inserter *gin, |
1426 | 55 | grail_prop_t *prop, const struct utouch_frame *frame) | 55 | grail_prop_t *prop, const struct oif_frame *frame) |
1427 | 56 | { | 56 | { |
1428 | 57 | struct grail_coord min, max; | 57 | struct grail_coord min, max; |
1429 | 58 | int i, n = 0, ntouch = frame->num_active; | 58 | int i, n = 0, ntouch = frame->num_active; |
1430 | @@ -66,7 +66,7 @@ | |||
1431 | 66 | prop[n++] = max.x; | 66 | prop[n++] = max.x; |
1432 | 67 | prop[n++] = max.y; | 67 | prop[n++] = max.y; |
1433 | 68 | for (i = 0; i < ntouch; i++) { | 68 | for (i = 0; i < ntouch; i++) { |
1435 | 69 | const struct utouch_contact *ct = frame->active[i]; | 69 | const struct oif_contact *ct = frame->active[i]; |
1436 | 70 | prop[n++] = ct->id; | 70 | prop[n++] = ct->id; |
1437 | 71 | prop[n++] = ct->x; | 71 | prop[n++] = ct->x; |
1438 | 72 | prop[n++] = ct->y; | 72 | prop[n++] = ct->y; |
1439 | @@ -78,7 +78,7 @@ | |||
1440 | 78 | struct grail_client_info *info, int maxinfo, | 78 | struct grail_client_info *info, int maxinfo, |
1441 | 79 | const grail_mask_t* types, int btypes, | 79 | const grail_mask_t* types, int btypes, |
1442 | 80 | const grail_mask_t* span, int bspan, | 80 | const grail_mask_t* span, int bspan, |
1444 | 81 | const struct utouch_frame *frame) | 81 | const struct oif_frame *frame) |
1445 | 82 | { | 82 | { |
1446 | 83 | struct grail_coord pos[DIM_TOUCH]; | 83 | struct grail_coord pos[DIM_TOUCH]; |
1447 | 84 | int i, npos = 0; | 84 | int i, npos = 0; |
1448 | @@ -94,7 +94,7 @@ | |||
1449 | 94 | 94 | ||
1450 | 95 | void gin_send_event(struct grail *ge, struct slot_state *s, | 95 | void gin_send_event(struct grail *ge, struct slot_state *s, |
1451 | 96 | const struct gesture_event *ev, | 96 | const struct gesture_event *ev, |
1453 | 97 | const struct utouch_frame *frame) | 97 | const struct oif_frame *frame) |
1454 | 98 | { | 98 | { |
1455 | 99 | struct grail_impl *impl = ge->impl; | 99 | struct grail_impl *impl = ge->impl; |
1456 | 100 | const struct gesture_inserter *gin = ge->gin; | 100 | const struct gesture_inserter *gin = ge->gin; |
1457 | 101 | 101 | ||
1458 | === modified file 'src/grail-frame.c' | |||
1459 | --- src/grail-frame.c 2011-05-20 14:35:18 +0000 | |||
1460 | +++ src/grail-frame.c 2012-08-22 19:30:25 +0000 | |||
1461 | @@ -27,7 +27,7 @@ | |||
1462 | 27 | static void set_center_velocity_and_radius(struct grail_impl *impl, | 27 | static void set_center_velocity_and_radius(struct grail_impl *impl, |
1463 | 28 | struct grail_element *slot) | 28 | struct grail_element *slot) |
1464 | 29 | { | 29 | { |
1466 | 30 | const struct utouch_contact **tc = slot->touches; | 30 | const struct oif_contact **tc = slot->touches; |
1467 | 31 | double x, y, vx, vy, r2, dx, dy; | 31 | double x, y, vx, vy, r2, dx, dy; |
1468 | 32 | int i; | 32 | int i; |
1469 | 33 | 33 | ||
1470 | @@ -98,7 +98,7 @@ | |||
1471 | 98 | 98 | ||
1472 | 99 | static void start_slot(struct grail_impl *impl, | 99 | static void start_slot(struct grail_impl *impl, |
1473 | 100 | struct grail_element *slot, | 100 | struct grail_element *slot, |
1475 | 101 | const struct utouch_frame *touch) | 101 | const struct oif_frame *touch) |
1476 | 102 | { | 102 | { |
1477 | 103 | float *T = slot->transform; | 103 | float *T = slot->transform; |
1478 | 104 | 104 | ||
1479 | @@ -156,11 +156,11 @@ | |||
1480 | 156 | 156 | ||
1481 | 157 | static void set_slot_one(struct grail_impl *impl, | 157 | static void set_slot_one(struct grail_impl *impl, |
1482 | 158 | struct grail_element *slot, | 158 | struct grail_element *slot, |
1485 | 159 | const struct utouch_frame *touch, | 159 | const struct oif_frame *touch, |
1486 | 160 | const struct utouch_contact *t1) | 160 | const struct oif_contact *t1) |
1487 | 161 | { | 161 | { |
1488 | 162 | const struct grail_element *pslot = slot->prev; | 162 | const struct grail_element *pslot = slot->prev; |
1490 | 163 | const struct utouch_contact *p1 = pslot->touches[0]; | 163 | const struct oif_contact *p1 = pslot->touches[0]; |
1491 | 164 | 164 | ||
1492 | 165 | if (!t1->active) { | 165 | if (!t1->active) { |
1493 | 166 | stop_slot(impl, slot); | 166 | stop_slot(impl, slot); |
1494 | @@ -180,13 +180,13 @@ | |||
1495 | 180 | 180 | ||
1496 | 181 | static void set_slot_two(struct grail_impl *impl, | 181 | static void set_slot_two(struct grail_impl *impl, |
1497 | 182 | struct grail_element *slot, | 182 | struct grail_element *slot, |
1501 | 183 | const struct utouch_frame *touch, | 183 | const struct oif_frame *touch, |
1502 | 184 | const struct utouch_contact *t1, | 184 | const struct oif_contact *t1, |
1503 | 185 | const struct utouch_contact *t2) | 185 | const struct oif_contact *t2) |
1504 | 186 | { | 186 | { |
1505 | 187 | const struct grail_element *pslot = slot->prev; | 187 | const struct grail_element *pslot = slot->prev; |
1508 | 188 | const struct utouch_contact *p1 = pslot->touches[0]; | 188 | const struct oif_contact *p1 = pslot->touches[0]; |
1509 | 189 | const struct utouch_contact *p2 = pslot->touches[1]; | 189 | const struct oif_contact *p2 = pslot->touches[1]; |
1510 | 190 | double tx, ty, px, py, d2; | 190 | double tx, ty, px, py, d2; |
1511 | 191 | 191 | ||
1512 | 192 | if (!t1->active || !t2->active) { | 192 | if (!t1->active || !t2->active) { |
1513 | @@ -221,7 +221,7 @@ | |||
1514 | 221 | static void set_slot_multi(struct grail_impl *impl, | 221 | static void set_slot_multi(struct grail_impl *impl, |
1515 | 222 | struct grail_element *slot, | 222 | struct grail_element *slot, |
1516 | 223 | struct grail_frame *frame, | 223 | struct grail_frame *frame, |
1518 | 224 | const struct utouch_frame *touch) | 224 | const struct oif_frame *touch) |
1519 | 225 | { | 225 | { |
1520 | 226 | const struct grail_element *pslot = slot->prev; | 226 | const struct grail_element *pslot = slot->prev; |
1521 | 227 | struct grail_element **slots = frame->slots; | 227 | struct grail_element **slots = frame->slots; |
1522 | @@ -318,10 +318,10 @@ | |||
1523 | 318 | 318 | ||
1524 | 319 | static void set_slots(struct grail_impl *impl, | 319 | static void set_slots(struct grail_impl *impl, |
1525 | 320 | struct grail_frame *frame, | 320 | struct grail_frame *frame, |
1527 | 321 | const struct utouch_frame *touch) | 321 | const struct oif_frame *touch) |
1528 | 322 | { | 322 | { |
1529 | 323 | struct grail_element **slots = frame->slots; | 323 | struct grail_element **slots = frame->slots; |
1531 | 324 | struct utouch_contact *const *tc = touch->slots; | 324 | struct oif_contact *const *tc = touch->slots; |
1532 | 325 | int i, j, n = 0; | 325 | int i, j, n = 0; |
1533 | 326 | 326 | ||
1534 | 327 | for (i = 0; i < impl->num_touches; i++) | 327 | for (i = 0; i < impl->num_touches; i++) |
1535 | @@ -336,9 +336,9 @@ | |||
1536 | 336 | 336 | ||
1537 | 337 | static void collect_transforms(struct grail_impl *impl, | 337 | static void collect_transforms(struct grail_impl *impl, |
1538 | 338 | struct grail_frame *frame, | 338 | struct grail_frame *frame, |
1540 | 339 | const struct utouch_frame *touch) | 339 | const struct oif_frame *touch) |
1541 | 340 | { | 340 | { |
1543 | 341 | const struct utouch_surface *s = utouch_frame_get_surface(impl->fh); | 341 | const struct oif_surface *s = oif_frame_get_surface(impl->fh); |
1544 | 342 | const struct grail_control *ctl = impl->ctl; | 342 | const struct grail_control *ctl = impl->ctl; |
1545 | 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); |
1546 | 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); |
1547 | @@ -386,7 +386,7 @@ | |||
1548 | 386 | } | 386 | } |
1549 | 387 | 387 | ||
1550 | 388 | const struct grail_frame GRAIL_PUBLIC * | 388 | const struct grail_frame GRAIL_PUBLIC * |
1552 | 389 | grail_pump_frame(grail_handle ge, const struct utouch_frame *touch) | 389 | grail_pump_frame(grail_handle ge, const struct oif_frame *touch) |
1553 | 390 | { | 390 | { |
1554 | 391 | struct grail_impl *impl = ge->impl; | 391 | struct grail_impl *impl = ge->impl; |
1555 | 392 | struct grail_frame *frame = impl->frames[impl->nextframe]; | 392 | struct grail_frame *frame = impl->frames[impl->nextframe]; |
1556 | 393 | 393 | ||
1557 | === modified file 'src/grail-gestures.c' | |||
1558 | --- src/grail-gestures.c 2011-08-09 21:58:43 +0000 | |||
1559 | +++ src/grail-gestures.c 2012-08-22 19:30:25 +0000 | |||
1560 | @@ -35,7 +35,7 @@ | |||
1561 | 35 | static const float EPS = 1e-3; | 35 | static const float EPS = 1e-3; |
1562 | 36 | 36 | ||
1563 | 37 | static void compute_position(float *x, float *y, | 37 | static void compute_position(float *x, float *y, |
1565 | 38 | const struct utouch_frame *frame) | 38 | const struct oif_frame *frame) |
1566 | 39 | { | 39 | { |
1567 | 40 | int i, n = frame->num_active; | 40 | int i, n = frame->num_active; |
1568 | 41 | *x = 0; | 41 | *x = 0; |
1569 | @@ -43,7 +43,7 @@ | |||
1570 | 43 | if (n < 1) | 43 | if (n < 1) |
1571 | 44 | return; | 44 | return; |
1572 | 45 | for (i = 0; i < n; i++) { | 45 | for (i = 0; i < n; i++) { |
1574 | 46 | const struct utouch_contact *t = frame->active[i]; | 46 | const struct oif_contact *t = frame->active[i]; |
1575 | 47 | *x += t->x; | 47 | *x += t->x; |
1576 | 48 | *y += t->y; | 48 | *y += t->y; |
1577 | 49 | } | 49 | } |
1578 | @@ -52,14 +52,14 @@ | |||
1579 | 52 | } | 52 | } |
1580 | 53 | 53 | ||
1581 | 54 | static float compute_radius(float x, float y, | 54 | static float compute_radius(float x, float y, |
1583 | 55 | const struct utouch_frame *frame) | 55 | const struct oif_frame *frame) |
1584 | 56 | { | 56 | { |
1585 | 57 | int i, n = frame->num_active; | 57 | int i, n = frame->num_active; |
1586 | 58 | float r = 0, r2 = 0; | 58 | float r = 0, r2 = 0; |
1587 | 59 | if (n < 2) | 59 | if (n < 2) |
1588 | 60 | return r; | 60 | return r; |
1589 | 61 | for (i = 0; i < n; i++) { | 61 | for (i = 0; i < n; i++) { |
1591 | 62 | const struct utouch_contact *t = frame->active[i]; | 62 | const struct oif_contact *t = frame->active[i]; |
1592 | 63 | float dx = t->x - x; | 63 | float dx = t->x - x; |
1593 | 64 | float dy = t->y - y; | 64 | float dy = t->y - y; |
1594 | 65 | r2 += dx * dx + dy * dy; | 65 | r2 += dx * dx + dy * dy; |
1595 | @@ -70,15 +70,15 @@ | |||
1596 | 70 | } | 70 | } |
1597 | 71 | 71 | ||
1598 | 72 | static float compute_rotation(float x, float y, float r, | 72 | static float compute_rotation(float x, float y, float r, |
1600 | 73 | const struct utouch_frame *frame) | 73 | const struct oif_frame *frame) |
1601 | 74 | { | 74 | { |
1602 | 75 | int i, n = frame->num_active; | 75 | int i, n = frame->num_active; |
1603 | 76 | float da = 0, darc2 = 0; | 76 | float da = 0, darc2 = 0; |
1604 | 77 | if (n < 2) | 77 | if (n < 2) |
1605 | 78 | return da; | 78 | return da; |
1606 | 79 | for (i = 0; i < n; i++) { | 79 | for (i = 0; i < n; i++) { |
1609 | 80 | const struct utouch_contact *t = frame->active[i]; | 80 | const struct oif_contact *t = frame->active[i]; |
1610 | 81 | const struct utouch_contact *ot = t->prev; | 81 | const struct oif_contact *ot = t->prev; |
1611 | 82 | float dx = t->x - x; | 82 | float dx = t->x - x; |
1612 | 83 | float dy = t->y - y; | 83 | float dy = t->y - y; |
1613 | 84 | float mx = t->x - ot->x; | 84 | float mx = t->x - ot->x; |
1614 | @@ -137,7 +137,7 @@ | |||
1615 | 137 | 137 | ||
1616 | 138 | void gru_init_motion(struct grail *ge) | 138 | void gru_init_motion(struct grail *ge) |
1617 | 139 | { | 139 | { |
1619 | 140 | struct utouch_surface *s = utouch_frame_get_surface(ge->impl->fh); | 140 | struct oif_surface *s = oif_frame_get_surface(ge->impl->fh); |
1620 | 141 | struct gesture_recognizer *gru = ge->gru; | 141 | struct gesture_recognizer *gru = ge->gru; |
1621 | 142 | struct move_model *m = &gru->move; | 142 | struct move_model *m = &gru->move; |
1622 | 143 | float U[DIM_FM]; /* Device unit dimensions */ | 143 | float U[DIM_FM]; /* Device unit dimensions */ |
1623 | @@ -160,9 +160,9 @@ | |||
1624 | 160 | } | 160 | } |
1625 | 161 | 161 | ||
1626 | 162 | void gru_motion(struct grail *ge, | 162 | void gru_motion(struct grail *ge, |
1628 | 163 | const struct utouch_frame *frame) | 163 | const struct oif_frame *frame) |
1629 | 164 | { | 164 | { |
1631 | 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); |
1632 | 166 | struct gesture_recognizer *gru = ge->gru; | 166 | struct gesture_recognizer *gru = ge->gru; |
1633 | 167 | struct move_model *m = &gru->move; | 167 | struct move_model *m = &gru->move; |
1634 | 168 | grail_time_t t = frame->time; | 168 | grail_time_t t = frame->time; |
1635 | 169 | 169 | ||
1636 | === modified file 'src/grail-gestures.h' | |||
1637 | --- src/grail-gestures.h 2011-06-16 17:28:51 +0000 | |||
1638 | +++ src/grail-gestures.h 2012-08-22 19:30:25 +0000 | |||
1639 | @@ -61,7 +61,7 @@ | |||
1640 | 61 | 61 | ||
1641 | 62 | void gru_init_motion(struct grail *ge); | 62 | void gru_init_motion(struct grail *ge); |
1642 | 63 | void gru_motion(struct grail *ge, | 63 | void gru_motion(struct grail *ge, |
1644 | 64 | const struct utouch_frame *frame); | 64 | const struct oif_frame *frame); |
1645 | 65 | void gru_event(struct grail *ge, int gid, | 65 | void gru_event(struct grail *ge, int gid, |
1646 | 66 | const struct move_model *move, | 66 | const struct move_model *move, |
1647 | 67 | const grail_prop_t *prop, int nprop); | 67 | const grail_prop_t *prop, int nprop); |
1648 | @@ -77,13 +77,13 @@ | |||
1649 | 77 | }; | 77 | }; |
1650 | 78 | 78 | ||
1651 | 79 | int gru_touch(struct grail *ge, | 79 | int gru_touch(struct grail *ge, |
1653 | 80 | const struct utouch_frame *frame); | 80 | const struct oif_frame *frame); |
1654 | 81 | int gru_drag(struct grail *ge, | 81 | int gru_drag(struct grail *ge, |
1656 | 82 | const struct utouch_frame *frame); | 82 | const struct oif_frame *frame); |
1657 | 83 | int gru_pinch(struct grail *ge, | 83 | int gru_pinch(struct grail *ge, |
1659 | 84 | const struct utouch_frame *frame); | 84 | const struct oif_frame *frame); |
1660 | 85 | int gru_rotate(struct grail *ge, | 85 | int gru_rotate(struct grail *ge, |
1662 | 86 | const struct utouch_frame *frame); | 86 | const struct oif_frame *frame); |
1663 | 87 | 87 | ||
1664 | 88 | static inline int out_of_bounds(const struct combo_model *s, | 88 | static inline int out_of_bounds(const struct combo_model *s, |
1665 | 89 | const struct move_model *m) | 89 | const struct move_model *m) |
1666 | @@ -92,13 +92,13 @@ | |||
1667 | 92 | } | 92 | } |
1668 | 93 | 93 | ||
1669 | 94 | int gru_wintouch(struct grail *ge, | 94 | int gru_wintouch(struct grail *ge, |
1671 | 95 | const struct utouch_frame *frame); | 95 | const struct oif_frame *frame); |
1672 | 96 | int gru_windrag(struct grail *ge, | 96 | int gru_windrag(struct grail *ge, |
1674 | 97 | const struct utouch_frame *frame); | 97 | const struct oif_frame *frame); |
1675 | 98 | int gru_winpinch(struct grail *ge, | 98 | int gru_winpinch(struct grail *ge, |
1677 | 99 | const struct utouch_frame *frame); | 99 | const struct oif_frame *frame); |
1678 | 100 | int gru_winrotate(struct grail *ge, | 100 | int gru_winrotate(struct grail *ge, |
1680 | 101 | const struct utouch_frame *frame); | 101 | const struct oif_frame *frame); |
1681 | 102 | 102 | ||
1682 | 103 | struct tapping_model { | 103 | struct tapping_model { |
1683 | 104 | grail_time_t start; | 104 | grail_time_t start; |
1684 | @@ -109,7 +109,7 @@ | |||
1685 | 109 | }; | 109 | }; |
1686 | 110 | 110 | ||
1687 | 111 | int gru_tapping(struct grail *ge, | 111 | int gru_tapping(struct grail *ge, |
1689 | 112 | const struct utouch_frame *frame); | 112 | const struct oif_frame *frame); |
1690 | 113 | 113 | ||
1691 | 114 | #endif | 114 | #endif |
1692 | 115 | 115 | ||
1693 | 116 | 116 | ||
1694 | === modified file 'src/grail-impl.h' | |||
1695 | --- src/grail-impl.h 2011-06-16 17:28:51 +0000 | |||
1696 | +++ src/grail-impl.h 2012-08-22 19:30:25 +0000 | |||
1697 | @@ -26,7 +26,7 @@ | |||
1698 | 26 | #define GRAIL_NO_LEGACY_API | 26 | #define GRAIL_NO_LEGACY_API |
1699 | 27 | 27 | ||
1700 | 28 | #include <grail.h> | 28 | #include <grail.h> |
1702 | 29 | #include <utouch/frame-mtdev.h> | 29 | #include <oif/frame-mtdev.h> |
1703 | 30 | #include "evbuf.h" | 30 | #include "evbuf.h" |
1704 | 31 | #include "grailbuf.h" | 31 | #include "grailbuf.h" |
1705 | 32 | 32 | ||
1706 | @@ -49,7 +49,7 @@ | |||
1707 | 49 | } | 49 | } |
1708 | 50 | 50 | ||
1709 | 51 | int create_grail2(struct grail_impl *x, | 51 | int create_grail2(struct grail_impl *x, |
1711 | 52 | utouch_frame_handle fh, | 52 | oif_frame_handle fh, |
1712 | 53 | unsigned int num_frames, | 53 | unsigned int num_frames, |
1713 | 54 | void *select, | 54 | void *select, |
1714 | 55 | unsigned int version, | 55 | unsigned int version, |
1715 | @@ -62,8 +62,8 @@ | |||
1716 | 62 | struct grail_impl { | 62 | struct grail_impl { |
1717 | 63 | struct evemu_device *evemu; | 63 | struct evemu_device *evemu; |
1718 | 64 | struct mtdev *mtdev; | 64 | struct mtdev *mtdev; |
1721 | 65 | utouch_frame_handle fh; | 65 | oif_frame_handle fh; |
1722 | 66 | const struct utouch_frame *touch; | 66 | const struct oif_frame *touch; |
1723 | 67 | struct evbuf evbuf; | 67 | struct evbuf evbuf; |
1724 | 68 | struct grailbuf gbuf; | 68 | struct grailbuf gbuf; |
1725 | 69 | int filter_abs; | 69 | int filter_abs; |
1726 | 70 | 70 | ||
1727 | === modified file 'src/grail-init.c' | |||
1728 | --- src/grail-init.c 2011-05-18 16:38:44 +0000 | |||
1729 | +++ src/grail-init.c 2012-08-22 19:30:25 +0000 | |||
1730 | @@ -147,7 +147,7 @@ | |||
1731 | 147 | } | 147 | } |
1732 | 148 | 148 | ||
1733 | 149 | int create_grail2(struct grail_impl *x, | 149 | int create_grail2(struct grail_impl *x, |
1735 | 150 | utouch_frame_handle fh, | 150 | oif_frame_handle fh, |
1736 | 151 | unsigned int num_frames, | 151 | unsigned int num_frames, |
1737 | 152 | grail_select_callback select, | 152 | grail_select_callback select, |
1738 | 153 | unsigned int version, | 153 | unsigned int version, |
1739 | @@ -155,8 +155,8 @@ | |||
1740 | 155 | unsigned int frame_size, | 155 | unsigned int frame_size, |
1741 | 156 | unsigned int slot_size) | 156 | unsigned int slot_size) |
1742 | 157 | { | 157 | { |
1745 | 158 | struct utouch_surface *s = utouch_frame_get_surface(fh); | 158 | struct oif_surface *s = oif_frame_get_surface(fh); |
1746 | 159 | unsigned int ntouch = utouch_frame_get_num_slots(fh); | 159 | unsigned int ntouch = oif_frame_get_num_slots(fh); |
1747 | 160 | unsigned int nslot = get_slot_count(ntouch); | 160 | unsigned int nslot = get_slot_count(ntouch); |
1748 | 161 | int i, j; | 161 | int i, j; |
1749 | 162 | 162 | ||
1750 | @@ -194,7 +194,7 @@ | |||
1751 | 194 | free(x->ctl); | 194 | free(x->ctl); |
1752 | 195 | } | 195 | } |
1753 | 196 | 196 | ||
1755 | 197 | grail_handle GRAIL_PUBLIC grail_new_raw(utouch_frame_handle fh, | 197 | grail_handle GRAIL_PUBLIC grail_new_raw(oif_frame_handle fh, |
1756 | 198 | unsigned int num_frames, | 198 | unsigned int num_frames, |
1757 | 199 | grail_select_callback select, | 199 | grail_select_callback select, |
1758 | 200 | unsigned int version, | 200 | unsigned int version, |
1759 | 201 | 201 | ||
1760 | === modified file 'src/grail-inserter.c' | |||
1761 | --- src/grail-inserter.c 2011-06-16 17:28:51 +0000 | |||
1762 | +++ src/grail-inserter.c 2012-08-22 19:30:25 +0000 | |||
1763 | @@ -52,7 +52,7 @@ | |||
1764 | 52 | 52 | ||
1765 | 53 | // todo: spanning tree for multi-user case | 53 | // todo: spanning tree for multi-user case |
1766 | 54 | static void setup_new_gestures(struct grail *ge, | 54 | static void setup_new_gestures(struct grail *ge, |
1768 | 55 | const struct utouch_frame *frame) | 55 | const struct oif_frame *frame) |
1769 | 56 | { | 56 | { |
1770 | 57 | struct gesture_inserter *gin = ge->gin; | 57 | struct gesture_inserter *gin = ge->gin; |
1771 | 58 | grail_mask_t types[DIM_GRAIL_TYPE_BYTES]; | 58 | grail_mask_t types[DIM_GRAIL_TYPE_BYTES]; |
1772 | @@ -114,7 +114,7 @@ | |||
1773 | 114 | ge->gin = NULL; | 114 | ge->gin = NULL; |
1774 | 115 | } | 115 | } |
1775 | 116 | 116 | ||
1777 | 117 | void gin_frame_begin(struct grail *ge, const struct utouch_frame *frame) | 117 | void gin_frame_begin(struct grail *ge, const struct oif_frame *frame) |
1778 | 118 | { | 118 | { |
1779 | 119 | struct gesture_inserter *gin = ge->gin; | 119 | struct gesture_inserter *gin = ge->gin; |
1780 | 120 | memset(gin->types, 0, sizeof(gin->types)); | 120 | memset(gin->types, 0, sizeof(gin->types)); |
1781 | @@ -123,7 +123,7 @@ | |||
1782 | 123 | gin->grab_active = 0; | 123 | gin->grab_active = 0; |
1783 | 124 | } | 124 | } |
1784 | 125 | 125 | ||
1786 | 126 | void gin_frame_end(struct grail *ge, const struct utouch_frame *frame) | 126 | void gin_frame_end(struct grail *ge, const struct oif_frame *frame) |
1787 | 127 | { | 127 | { |
1788 | 128 | struct gesture_inserter *gin = ge->gin; | 128 | struct gesture_inserter *gin = ge->gin; |
1789 | 129 | grail_mask_t keep[DIM_TOUCH_BYTES]; | 129 | grail_mask_t keep[DIM_TOUCH_BYTES]; |
1790 | @@ -186,7 +186,7 @@ | |||
1791 | 186 | } | 186 | } |
1792 | 187 | 187 | ||
1793 | 188 | int gin_gid_begin(struct grail *ge, int type, int priority, | 188 | int gin_gid_begin(struct grail *ge, int type, int priority, |
1795 | 189 | const struct utouch_frame *frame) | 189 | const struct oif_frame *frame) |
1796 | 190 | { | 190 | { |
1797 | 191 | struct gesture_inserter *gin = ge->gin; | 191 | struct gesture_inserter *gin = ge->gin; |
1798 | 192 | struct slot_state *s; | 192 | struct slot_state *s; |
1799 | @@ -292,7 +292,7 @@ | |||
1800 | 292 | const struct grail_coord *tmin, | 292 | const struct grail_coord *tmin, |
1801 | 293 | const struct grail_coord *tmax) | 293 | const struct grail_coord *tmax) |
1802 | 294 | { | 294 | { |
1804 | 295 | struct utouch_surface *s = utouch_frame_get_surface(ge->impl->fh); | 295 | struct oif_surface *s = oif_frame_get_surface(ge->impl->fh); |
1805 | 296 | 296 | ||
1806 | 297 | s->mapped_min_x = tmin->x; | 297 | s->mapped_min_x = tmin->x; |
1807 | 298 | s->mapped_min_y = tmin->y; | 298 | s->mapped_min_y = tmin->y; |
1808 | 299 | 299 | ||
1809 | === modified file 'src/grail-inserter.h' | |||
1810 | --- src/grail-inserter.h 2011-06-16 17:28:51 +0000 | |||
1811 | +++ src/grail-inserter.h 2012-08-22 19:30:25 +0000 | |||
1812 | @@ -60,25 +60,25 @@ | |||
1813 | 60 | }; | 60 | }; |
1814 | 61 | 61 | ||
1815 | 62 | int gin_add_contact_props(const struct gesture_inserter *gin, | 62 | int gin_add_contact_props(const struct gesture_inserter *gin, |
1817 | 63 | grail_prop_t *prop, const struct utouch_frame *frame); | 63 | grail_prop_t *prop, const struct oif_frame *frame); |
1818 | 64 | 64 | ||
1819 | 65 | int gin_get_clients(struct grail *ge, | 65 | int gin_get_clients(struct grail *ge, |
1820 | 66 | struct grail_client_info *info, int maxinfo, | 66 | struct grail_client_info *info, int maxinfo, |
1821 | 67 | const grail_mask_t* types, int btypes, | 67 | const grail_mask_t* types, int btypes, |
1822 | 68 | const grail_mask_t* span, int bspan, | 68 | const grail_mask_t* span, int bspan, |
1824 | 69 | const struct utouch_frame *frame); | 69 | const struct oif_frame *frame); |
1825 | 70 | void gin_send_event(struct grail *ge, struct slot_state *s, | 70 | void gin_send_event(struct grail *ge, struct slot_state *s, |
1826 | 71 | const struct gesture_event *ev, | 71 | const struct gesture_event *ev, |
1828 | 72 | const struct utouch_frame *frame); | 72 | const struct oif_frame *frame); |
1829 | 73 | 73 | ||
1830 | 74 | int gin_init(struct grail *ge); | 74 | int gin_init(struct grail *ge); |
1831 | 75 | void gin_destroy(struct grail *ge); | 75 | void gin_destroy(struct grail *ge); |
1832 | 76 | 76 | ||
1835 | 77 | void gin_frame_begin(struct grail *ge, const struct utouch_frame *frame); | 77 | void gin_frame_begin(struct grail *ge, const struct oif_frame *frame); |
1836 | 78 | void gin_frame_end(struct grail *ge, const struct utouch_frame *frame); | 78 | void gin_frame_end(struct grail *ge, const struct oif_frame *frame); |
1837 | 79 | 79 | ||
1838 | 80 | int gin_gid_begin(struct grail *ge, int type, int priority, | 80 | int gin_gid_begin(struct grail *ge, int type, int priority, |
1840 | 81 | const struct utouch_frame *frame); | 81 | const struct oif_frame *frame); |
1841 | 82 | void gin_gid_discard(struct grail *ge, int gid); | 82 | void gin_gid_discard(struct grail *ge, int gid); |
1842 | 83 | void gin_gid_timeout(struct grail *ge, int gid); | 83 | void gin_gid_timeout(struct grail *ge, int gid); |
1843 | 84 | 84 | ||
1844 | 85 | 85 | ||
1845 | === modified file 'src/grail-legacy.c' | |||
1846 | --- src/grail-legacy.c 2011-04-28 16:53:57 +0000 | |||
1847 | +++ src/grail-legacy.c 2012-08-22 19:30:25 +0000 | |||
1848 | @@ -41,13 +41,13 @@ | |||
1849 | 41 | struct grail_contact *touch, int max_touch) | 41 | struct grail_contact *touch, int max_touch) |
1850 | 42 | { | 42 | { |
1851 | 43 | const struct gesture_inserter *gin = ge->gin; | 43 | const struct gesture_inserter *gin = ge->gin; |
1853 | 44 | const struct utouch_frame *frame = ge->impl->touch; | 44 | const struct oif_frame *frame = ge->impl->touch; |
1854 | 45 | int i; | 45 | int i; |
1855 | 46 | if (frame->num_active < max_touch) | 46 | if (frame->num_active < max_touch) |
1856 | 47 | max_touch = frame->num_active; | 47 | max_touch = frame->num_active; |
1857 | 48 | for (i = 0; i < max_touch; i++) { | 48 | for (i = 0; i < max_touch; i++) { |
1858 | 49 | struct grail_contact *t = &touch[i]; | 49 | struct grail_contact *t = &touch[i]; |
1860 | 50 | const struct utouch_contact *ct = frame->active[i]; | 50 | const struct oif_contact *ct = frame->active[i]; |
1861 | 51 | t->id = ct->id; | 51 | t->id = ct->id; |
1862 | 52 | t->tool_type = ct->tool_type; | 52 | t->tool_type = ct->tool_type; |
1863 | 53 | t->pos.x = ct->x; | 53 | t->pos.x = ct->x; |
1864 | 54 | 54 | ||
1865 | === modified file 'src/grail-recognizer.c' | |||
1866 | --- src/grail-recognizer.c 2011-06-16 17:28:51 +0000 | |||
1867 | +++ src/grail-recognizer.c 2012-08-22 19:30:25 +0000 | |||
1868 | @@ -41,7 +41,7 @@ | |||
1869 | 41 | ge->gru = NULL; | 41 | ge->gru = NULL; |
1870 | 42 | } | 42 | } |
1871 | 43 | 43 | ||
1873 | 44 | void gru_recognize(struct grail *ge, const struct utouch_frame *frame) | 44 | void gru_recognize(struct grail *ge, const struct oif_frame *frame) |
1874 | 45 | { | 45 | { |
1875 | 46 | if (!ge->gin || !ge->gru) | 46 | if (!ge->gin || !ge->gru) |
1876 | 47 | return; | 47 | return; |
1877 | 48 | 48 | ||
1878 | === modified file 'src/grail-recognizer.h' | |||
1879 | --- src/grail-recognizer.h 2011-06-16 17:28:51 +0000 | |||
1880 | +++ src/grail-recognizer.h 2012-08-22 19:30:25 +0000 | |||
1881 | @@ -38,7 +38,7 @@ | |||
1882 | 38 | }; | 38 | }; |
1883 | 39 | 39 | ||
1884 | 40 | int gru_init(struct grail *ge); | 40 | int gru_init(struct grail *ge); |
1886 | 41 | void gru_recognize(struct grail *ge, const struct utouch_frame *frame); | 41 | void gru_recognize(struct grail *ge, const struct oif_frame *frame); |
1887 | 42 | void gru_destroy(struct grail *ge); | 42 | void gru_destroy(struct grail *ge); |
1888 | 43 | 43 | ||
1889 | 44 | #endif | 44 | #endif |
1890 | 45 | 45 | ||
1891 | === modified file 'test/Makefile.am' | |||
1892 | --- test/Makefile.am 2011-04-28 16:53:46 +0000 | |||
1893 | +++ test/Makefile.am 2012-08-22 19:30:25 +0000 | |||
1894 | @@ -23,6 +23,6 @@ | |||
1895 | 23 | # internal symbols. | 23 | # internal symbols. |
1896 | 24 | # | 24 | # |
1897 | 25 | check_grail_LDADD = \ | 25 | check_grail_LDADD = \ |
1899 | 26 | $(top_builddir)/src/.libs/libutouch-grail.a \ | 26 | $(top_builddir)/src/.libs/libgrail.a \ |
1900 | 27 | $(CHECK_LIBS) \ | 27 | $(CHECK_LIBS) \ |
1902 | 28 | -lutouch-frame -lutouch-evemu -lmtdev -lm | 28 | -lframe -levemu -lmtdev -lm |
1903 | 29 | 29 | ||
1904 | === modified file 'test/Makefile.in' | |||
1905 | --- test/Makefile.in 2011-08-09 21:58:43 +0000 | |||
1906 | +++ test/Makefile.in 2012-08-22 19:30:25 +0000 | |||
1907 | @@ -53,8 +53,7 @@ | |||
1908 | 53 | check_grail-check-grail.$(OBJEXT) | 53 | check_grail-check-grail.$(OBJEXT) |
1909 | 54 | check_grail_OBJECTS = $(am_check_grail_OBJECTS) | 54 | check_grail_OBJECTS = $(am_check_grail_OBJECTS) |
1910 | 55 | am__DEPENDENCIES_1 = | 55 | am__DEPENDENCIES_1 = |
1913 | 56 | check_grail_DEPENDENCIES = \ | 56 | check_grail_DEPENDENCIES = $(top_builddir)/src/.libs/libgrail.a \ |
1912 | 57 | $(top_builddir)/src/.libs/libutouch-grail.a \ | ||
1914 | 58 | $(am__DEPENDENCIES_1) | 57 | $(am__DEPENDENCIES_1) |
1915 | 59 | check_grail_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ | 58 | check_grail_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ |
1916 | 60 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(check_grail_CFLAGS) \ | 59 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(check_grail_CFLAGS) \ |
1917 | @@ -226,9 +225,9 @@ | |||
1918 | 226 | # internal symbols. | 225 | # internal symbols. |
1919 | 227 | # | 226 | # |
1920 | 228 | check_grail_LDADD = \ | 227 | check_grail_LDADD = \ |
1922 | 229 | $(top_builddir)/src/.libs/libutouch-grail.a \ | 228 | $(top_builddir)/src/.libs/libgrail.a \ |
1923 | 230 | $(CHECK_LIBS) \ | 229 | $(CHECK_LIBS) \ |
1925 | 231 | -lutouch-frame -lutouch-evemu -lmtdev -lm | 230 | -lframe -levemu -lmtdev -lm |
1926 | 232 | 231 | ||
1927 | 233 | all: all-am | 232 | all: all-am |
1928 | 234 | 233 | ||
1929 | 235 | 234 | ||
1930 | === modified file 'test/check-transform.c' | |||
1931 | --- test/check-transform.c 2011-04-28 16:53:46 +0000 | |||
1932 | +++ test/check-transform.c 2012-08-22 19:30:25 +0000 | |||
1933 | @@ -1,5 +1,5 @@ | |||
1934 | 1 | #include <check.h> | 1 | #include <check.h> |
1936 | 2 | #include <utouch/frame-mtdev.h> | 2 | #include <oif/frame-mtdev.h> |
1937 | 3 | #include <grail.h> | 3 | #include <grail.h> |
1938 | 4 | #include <string.h> | 4 | #include <string.h> |
1939 | 5 | #include <stdio.h> | 5 | #include <stdio.h> |
1940 | @@ -11,7 +11,7 @@ | |||
1941 | 11 | 11 | ||
1942 | 12 | struct test_data { | 12 | struct test_data { |
1943 | 13 | struct evemu_device *evemu; | 13 | struct evemu_device *evemu; |
1945 | 14 | utouch_frame_handle fh; | 14 | oif_frame_handle fh; |
1946 | 15 | grail_handle ge; | 15 | grail_handle ge; |
1947 | 16 | FILE *fp; | 16 | FILE *fp; |
1948 | 17 | struct timeval evtime; | 17 | struct timeval evtime; |
1949 | @@ -36,8 +36,8 @@ | |||
1950 | 36 | if (!data->evemu || evemu_read(data->evemu, data->fp) <= 0) | 36 | if (!data->evemu || evemu_read(data->evemu, data->fp) <= 0) |
1951 | 37 | return -1; | 37 | return -1; |
1952 | 38 | 38 | ||
1955 | 39 | data->fh = utouch_frame_new_engine(100, 32, 100); | 39 | data->fh = oif_frame_new_engine(100, 32, 100); |
1956 | 40 | if (!data->fh || utouch_frame_init_mtdev(data->fh, data->evemu)) | 40 | if (!data->fh || oif_frame_init_mtdev(data->fh, data->evemu)) |
1957 | 41 | return -1; | 41 | return -1; |
1958 | 42 | 42 | ||
1959 | 43 | data->ge = grail_new(data->fh, 10, 0); | 43 | data->ge = grail_new(data->fh, 10, 0); |
1960 | @@ -50,7 +50,7 @@ | |||
1961 | 50 | static void term_test_data(struct test_data *data) | 50 | static void term_test_data(struct test_data *data) |
1962 | 51 | { | 51 | { |
1963 | 52 | grail_delete(data->ge); | 52 | grail_delete(data->ge); |
1965 | 53 | utouch_frame_delete_engine(data->fh); | 53 | oif_frame_delete_engine(data->fh); |
1966 | 54 | evemu_delete(data->evemu); | 54 | evemu_delete(data->evemu); |
1967 | 55 | fclose(data->fp); | 55 | fclose(data->fp); |
1968 | 56 | } | 56 | } |
1969 | @@ -63,10 +63,10 @@ | |||
1970 | 63 | static const struct grail_element *get_element(struct test_data *data, | 63 | static const struct grail_element *get_element(struct test_data *data, |
1971 | 64 | const struct input_event *ev) | 64 | const struct input_event *ev) |
1972 | 65 | { | 65 | { |
1974 | 66 | const struct utouch_frame *touch; | 66 | const struct oif_frame *touch; |
1975 | 67 | const struct grail_frame *frame; | 67 | const struct grail_frame *frame; |
1976 | 68 | 68 | ||
1978 | 69 | touch = utouch_frame_pump_mtdev(data->fh, ev); | 69 | touch = oif_frame_pump_mtdev(data->fh, ev); |
1979 | 70 | if (!touch) | 70 | if (!touch) |
1980 | 71 | return 0; | 71 | return 0; |
1981 | 72 | frame = grail_pump_frame(data->ge, touch); | 72 | frame = grail_pump_frame(data->ge, touch); |
1982 | 73 | 73 | ||
1983 | === modified file 'tools/Makefile.am' | |||
1984 | --- tools/Makefile.am 2011-04-28 16:53:53 +0000 | |||
1985 | +++ tools/Makefile.am 2012-08-22 19:30:25 +0000 | |||
1986 | @@ -11,5 +11,5 @@ | |||
1987 | 11 | AM_CFLAGS = $(X11_CFLAGS) $(XINPUT_CFLAGS) | 11 | AM_CFLAGS = $(X11_CFLAGS) $(XINPUT_CFLAGS) |
1988 | 12 | 12 | ||
1989 | 13 | AM_LDFLAGS = -L$(top_builddir)/src/.libs/ \ | 13 | AM_LDFLAGS = -L$(top_builddir)/src/.libs/ \ |
1991 | 14 | -lutouch-grail -lutouch-frame -lutouch-evemu -lmtdev \ | 14 | -lgrail -lframe -levemu -lmtdev \ |
1992 | 15 | $(X11_LIBS) $(XINPUT_LIBS) -lm | 15 | $(X11_LIBS) $(XINPUT_LIBS) -lm |
1993 | 16 | 16 | ||
1994 | === modified file 'tools/Makefile.in' | |||
1995 | --- tools/Makefile.in 2011-08-09 21:58:43 +0000 | |||
1996 | +++ tools/Makefile.in 2012-08-22 19:30:25 +0000 | |||
1997 | @@ -208,7 +208,7 @@ | |||
1998 | 208 | INCLUDES = -I$(top_srcdir)/include/ | 208 | INCLUDES = -I$(top_srcdir)/include/ |
1999 | 209 | AM_CFLAGS = $(X11_CFLAGS) $(XINPUT_CFLAGS) | 209 | AM_CFLAGS = $(X11_CFLAGS) $(XINPUT_CFLAGS) |
2000 | 210 | AM_LDFLAGS = -L$(top_builddir)/src/.libs/ \ | 210 | AM_LDFLAGS = -L$(top_builddir)/src/.libs/ \ |
2002 | 211 | -lutouch-grail -lutouch-frame -lutouch-evemu -lmtdev \ | 211 | -lgrail -lframe -levemu -lmtdev \ |
2003 | 212 | $(X11_LIBS) $(XINPUT_LIBS) -lm | 212 | $(X11_LIBS) $(XINPUT_LIBS) -lm |
2004 | 213 | 213 | ||
2005 | 214 | all: all-am | 214 | all: all-am |
2006 | 215 | 215 | ||
2007 | === modified file 'tools/grail-test-mtdev.c' | |||
2008 | --- tools/grail-test-mtdev.c 2011-05-18 16:38:44 +0000 | |||
2009 | +++ tools/grail-test-mtdev.c 2012-08-22 19:30:25 +0000 | |||
2010 | @@ -21,7 +21,7 @@ | |||
2011 | 21 | 21 | ||
2012 | 22 | #define MTDEV_NO_LEGACY_API | 22 | #define MTDEV_NO_LEGACY_API |
2013 | 23 | 23 | ||
2015 | 24 | #include <utouch/frame-mtdev.h> | 24 | #include <oif/frame-mtdev.h> |
2016 | 25 | #include <grail.h> | 25 | #include <grail.h> |
2017 | 26 | #include <string.h> | 26 | #include <string.h> |
2018 | 27 | #include <stdio.h> | 27 | #include <stdio.h> |
2019 | @@ -32,7 +32,7 @@ | |||
2020 | 32 | struct frame_test { | 32 | struct frame_test { |
2021 | 33 | struct evemu_device *evemu; | 33 | struct evemu_device *evemu; |
2022 | 34 | struct mtdev *mtdev; | 34 | struct mtdev *mtdev; |
2024 | 35 | utouch_frame_handle fh; | 35 | oif_frame_handle fh; |
2025 | 36 | grail_handle ge; | 36 | grail_handle ge; |
2026 | 37 | }; | 37 | }; |
2027 | 38 | 38 | ||
2028 | @@ -57,10 +57,10 @@ | |||
2029 | 57 | 57 | ||
2030 | 58 | static int init_frame(struct frame_test *test, int fd) | 58 | static int init_frame(struct frame_test *test, int fd) |
2031 | 59 | { | 59 | { |
2033 | 60 | test->fh = utouch_frame_new_engine(100, 32, 100); | 60 | test->fh = oif_frame_new_engine(100, 32, 100); |
2034 | 61 | if (!test->fh) | 61 | if (!test->fh) |
2035 | 62 | return -1; | 62 | return -1; |
2037 | 63 | return utouch_frame_init_mtdev(test->fh, test->evemu); | 63 | return oif_frame_init_mtdev(test->fh, test->evemu); |
2038 | 64 | } | 64 | } |
2039 | 65 | 65 | ||
2040 | 66 | static int init_grail(struct frame_test *test) | 66 | static int init_grail(struct frame_test *test) |
2041 | @@ -77,7 +77,7 @@ | |||
2042 | 77 | static void destroy_all(struct frame_test *test) | 77 | static void destroy_all(struct frame_test *test) |
2043 | 78 | { | 78 | { |
2044 | 79 | grail_delete(test->ge); | 79 | grail_delete(test->ge); |
2046 | 80 | utouch_frame_delete_engine(test->fh); | 80 | oif_frame_delete_engine(test->fh); |
2047 | 81 | if (test->mtdev) | 81 | if (test->mtdev) |
2048 | 82 | mtdev_close_delete(test->mtdev); | 82 | mtdev_close_delete(test->mtdev); |
2049 | 83 | evemu_delete(test->evemu); | 83 | evemu_delete(test->evemu); |
2050 | @@ -85,7 +85,7 @@ | |||
2051 | 85 | } | 85 | } |
2052 | 86 | 86 | ||
2053 | 87 | static void report_frame(grail_handle ge, | 87 | static void report_frame(grail_handle ge, |
2055 | 88 | const struct utouch_frame *touch) | 88 | const struct oif_frame *touch) |
2056 | 89 | { | 89 | { |
2057 | 90 | const struct grail_frame *frame = grail_pump_frame(ge, touch); | 90 | const struct grail_frame *frame = grail_pump_frame(ge, touch); |
2058 | 91 | int i; | 91 | int i; |
2059 | @@ -131,21 +131,21 @@ | |||
2060 | 131 | 131 | ||
2061 | 132 | static void loop_device(struct frame_test *test, FILE *fp, int fd) | 132 | static void loop_device(struct frame_test *test, FILE *fp, int fd) |
2062 | 133 | { | 133 | { |
2064 | 134 | const struct utouch_frame *frame; | 134 | const struct oif_frame *frame; |
2065 | 135 | struct input_event ev; | 135 | struct input_event ev; |
2066 | 136 | 136 | ||
2067 | 137 | if (fp) { | 137 | if (fp) { |
2068 | 138 | struct timeval evtime; | 138 | struct timeval evtime; |
2069 | 139 | memset(&evtime, 0, sizeof(evtime)); | 139 | memset(&evtime, 0, sizeof(evtime)); |
2070 | 140 | while (evemu_read_event_realtime(fp, &ev, &evtime) > 0) { | 140 | while (evemu_read_event_realtime(fp, &ev, &evtime) > 0) { |
2072 | 141 | frame = utouch_frame_pump_mtdev(test->fh, &ev); | 141 | frame = oif_frame_pump_mtdev(test->fh, &ev); |
2073 | 142 | if (frame) | 142 | if (frame) |
2074 | 143 | report_frame(test->ge, frame); | 143 | report_frame(test->ge, frame); |
2075 | 144 | } | 144 | } |
2076 | 145 | } else { | 145 | } else { |
2077 | 146 | while (!mtdev_idle(test->mtdev, fd, 5000)) { | 146 | while (!mtdev_idle(test->mtdev, fd, 5000)) { |
2078 | 147 | while (mtdev_get(test->mtdev, fd, &ev, 1) > 0) { | 147 | while (mtdev_get(test->mtdev, fd, &ev, 1) > 0) { |
2080 | 148 | frame = utouch_frame_pump_mtdev(test->fh, &ev); | 148 | frame = oif_frame_pump_mtdev(test->fh, &ev); |
2081 | 149 | if (frame) | 149 | if (frame) |
2082 | 150 | report_frame(test->ge, frame); | 150 | report_frame(test->ge, frame); |
2083 | 151 | } | 151 | } |
2084 | @@ -155,7 +155,7 @@ | |||
2085 | 155 | 155 | ||
2086 | 156 | static void report_device_caps(struct frame_test *test) | 156 | static void report_device_caps(struct frame_test *test) |
2087 | 157 | { | 157 | { |
2089 | 158 | const struct utouch_surface *s = utouch_frame_get_surface(test->fh); | 158 | const struct oif_surface *s = oif_frame_get_surface(test->fh); |
2090 | 159 | 159 | ||
2091 | 160 | fprintf(stderr, "device props:\n"); | 160 | fprintf(stderr, "device props:\n"); |
2092 | 161 | if (s->needs_pointer) | 161 | if (s->needs_pointer) |
2093 | @@ -183,9 +183,9 @@ | |||
2094 | 183 | fprintf(stderr, "\tdistance\n"); | 183 | fprintf(stderr, "\tdistance\n"); |
2095 | 184 | 184 | ||
2096 | 185 | fprintf(stderr, "touch frames: %d\n", | 185 | fprintf(stderr, "touch frames: %d\n", |
2098 | 186 | utouch_frame_get_num_frames(test->fh)); | 186 | oif_frame_get_num_frames(test->fh)); |
2099 | 187 | fprintf(stderr, "touch slots: %d\n", | 187 | fprintf(stderr, "touch slots: %d\n", |
2101 | 188 | utouch_frame_get_num_slots(test->fh)); | 188 | oif_frame_get_num_slots(test->fh)); |
2102 | 189 | } | 189 | } |
2103 | 190 | 190 | ||
2104 | 191 | int main(int argc, char *argv[]) | 191 | int main(int argc, char *argv[]) |
2105 | @@ -223,7 +223,7 @@ | |||
2106 | 223 | fprintf(stderr, "error: could not describe device\n"); | 223 | fprintf(stderr, "error: could not describe device\n"); |
2107 | 224 | return -1; | 224 | return -1; |
2108 | 225 | } | 225 | } |
2110 | 226 | if (!utouch_frame_is_supported_mtdev(test.evemu)) { | 226 | if (!oif_frame_is_supported_mtdev(test.evemu)) { |
2111 | 227 | fprintf(stderr, "error: unsupported device\n"); | 227 | fprintf(stderr, "error: unsupported device\n"); |
2112 | 228 | return -1; | 228 | return -1; |
2113 | 229 | } | 229 | } |
2114 | 230 | 230 | ||
2115 | === modified file 'tools/grail-transform.c' | |||
2116 | --- tools/grail-transform.c 2011-05-24 08:16:15 +0000 | |||
2117 | +++ tools/grail-transform.c 2012-08-22 19:30:25 +0000 | |||
2118 | @@ -21,8 +21,8 @@ | |||
2119 | 21 | 21 | ||
2120 | 22 | #include "config.h" | 22 | #include "config.h" |
2121 | 23 | #include <evemu.h> | 23 | #include <evemu.h> |
2124 | 24 | #include <utouch/frame-mtdev.h> | 24 | #include <oif/frame-mtdev.h> |
2125 | 25 | #include <utouch/frame-xi2.h> | 25 | #include <oif/frame-xi2.h> |
2126 | 26 | #include <grail.h> | 26 | #include <grail.h> |
2127 | 27 | #include <stdio.h> | 27 | #include <stdio.h> |
2128 | 28 | #include <stdlib.h> | 28 | #include <stdlib.h> |
2129 | @@ -37,7 +37,7 @@ | |||
2130 | 37 | int fd; | 37 | int fd; |
2131 | 38 | struct evemu_device *evemu; | 38 | struct evemu_device *evemu; |
2132 | 39 | struct mtdev *mtdev; | 39 | struct mtdev *mtdev; |
2134 | 40 | utouch_frame_handle fh; | 40 | oif_frame_handle fh; |
2135 | 41 | struct grail *ge; | 41 | struct grail *ge; |
2136 | 42 | 42 | ||
2137 | 43 | struct grail_coord pos[4]; | 43 | struct grail_coord pos[4]; |
2138 | @@ -59,7 +59,7 @@ | |||
2139 | 59 | 59 | ||
2140 | 60 | static void clear_screen(struct appdata *w) | 60 | static void clear_screen(struct appdata *w) |
2141 | 61 | { | 61 | { |
2143 | 62 | const struct utouch_surface *s = utouch_frame_get_surface(w->fh); | 62 | const struct oif_surface *s = oif_frame_get_surface(w->fh); |
2144 | 63 | int width = s->mapped_max_x - s->mapped_min_x; | 63 | int width = s->mapped_max_x - s->mapped_min_x; |
2145 | 64 | int height = s->mapped_max_y - s->mapped_min_y; | 64 | int height = s->mapped_max_y - s->mapped_min_y; |
2146 | 65 | int i; | 65 | int i; |
2147 | @@ -80,7 +80,7 @@ | |||
2148 | 80 | static void draw_object(struct appdata *w) | 80 | static void draw_object(struct appdata *w) |
2149 | 81 | { | 81 | { |
2150 | 82 | static const double frac = 0.04; | 82 | static const double frac = 0.04; |
2152 | 83 | const struct utouch_surface *s = utouch_frame_get_surface(w->fh); | 83 | const struct oif_surface *s = oif_frame_get_surface(w->fh); |
2153 | 84 | double d = frac * (s->mapped_max_x - s->mapped_min_x); | 84 | double d = frac * (s->mapped_max_x - s->mapped_min_x); |
2154 | 85 | int i; | 85 | int i; |
2155 | 86 | 86 | ||
2156 | @@ -105,7 +105,7 @@ | |||
2157 | 105 | } | 105 | } |
2158 | 106 | 106 | ||
2159 | 107 | static void report_frame(struct appdata *w, | 107 | static void report_frame(struct appdata *w, |
2161 | 108 | const struct utouch_frame *touch) | 108 | const struct oif_frame *touch) |
2162 | 109 | { | 109 | { |
2163 | 110 | const struct grail_frame *frame; | 110 | const struct grail_frame *frame; |
2164 | 111 | const struct grail_element *slot; | 111 | const struct grail_element *slot; |
2165 | @@ -201,7 +201,7 @@ | |||
2166 | 201 | 201 | ||
2167 | 202 | static void set_screen_size_mtdev(struct appdata *w, XEvent *xev) | 202 | static void set_screen_size_mtdev(struct appdata *w, XEvent *xev) |
2168 | 203 | { | 203 | { |
2170 | 204 | struct utouch_surface *s = utouch_frame_get_surface(w->fh); | 204 | struct oif_surface *s = oif_frame_get_surface(w->fh); |
2171 | 205 | XConfigureEvent *cev = (XConfigureEvent *)xev; | 205 | XConfigureEvent *cev = (XConfigureEvent *)xev; |
2172 | 206 | 206 | ||
2173 | 207 | s->mapped_min_x = 0; | 207 | s->mapped_min_x = 0; |
2174 | @@ -218,7 +218,7 @@ | |||
2175 | 218 | 218 | ||
2176 | 219 | static void loop_device_mtdev(struct appdata *w) | 219 | static void loop_device_mtdev(struct appdata *w) |
2177 | 220 | { | 220 | { |
2179 | 221 | const struct utouch_frame *tf; | 221 | const struct oif_frame *tf; |
2180 | 222 | struct input_event iev; | 222 | struct input_event iev; |
2181 | 223 | XEvent xev; | 223 | XEvent xev; |
2182 | 224 | 224 | ||
2183 | @@ -230,7 +230,7 @@ | |||
2184 | 230 | while (1) { | 230 | while (1) { |
2185 | 231 | while (!mtdev_idle(w->mtdev, w->fd, 100)) { | 231 | while (!mtdev_idle(w->mtdev, w->fd, 100)) { |
2186 | 232 | while (mtdev_get(w->mtdev, w->fd, &iev, 1) > 0) { | 232 | while (mtdev_get(w->mtdev, w->fd, &iev, 1) > 0) { |
2188 | 233 | tf = utouch_frame_pump_mtdev(w->fh, &iev); | 233 | tf = oif_frame_pump_mtdev(w->fh, &iev); |
2189 | 234 | report_frame(w, tf); | 234 | report_frame(w, tf); |
2190 | 235 | } | 235 | } |
2191 | 236 | } | 236 | } |
2192 | @@ -261,10 +261,10 @@ | |||
2193 | 261 | w->mtdev = mtdev_new_open(w->fd); | 261 | w->mtdev = mtdev_new_open(w->fd); |
2194 | 262 | if (!w->mtdev) | 262 | if (!w->mtdev) |
2195 | 263 | return -1; | 263 | return -1; |
2197 | 264 | w->fh = utouch_frame_new_engine(500, 32, 100); | 264 | w->fh = oif_frame_new_engine(500, 32, 100); |
2198 | 265 | if (!w->fh) | 265 | if (!w->fh) |
2199 | 266 | return -1; | 266 | return -1; |
2201 | 267 | if (utouch_frame_init_mtdev(w->fh, w->evemu)) | 267 | if (oif_frame_init_mtdev(w->fh, w->evemu)) |
2202 | 268 | return -1; | 268 | return -1; |
2203 | 269 | w->ge = grail_new(w->fh, 100, 0); | 269 | w->ge = grail_new(w->fh, 100, 0); |
2204 | 270 | if (!w->ge) | 270 | if (!w->ge) |
2205 | @@ -278,7 +278,7 @@ | |||
2206 | 278 | loop_device_mtdev(w); | 278 | loop_device_mtdev(w); |
2207 | 279 | 279 | ||
2208 | 280 | grail_delete(w->ge); | 280 | grail_delete(w->ge); |
2210 | 281 | utouch_frame_delete_engine(w->fh); | 281 | oif_frame_delete_engine(w->fh); |
2211 | 282 | mtdev_close_delete(w->mtdev); | 282 | mtdev_close_delete(w->mtdev); |
2212 | 283 | evemu_delete(w->evemu); | 283 | evemu_delete(w->evemu); |
2213 | 284 | 284 | ||
2214 | @@ -322,7 +322,7 @@ | |||
2215 | 322 | 322 | ||
2216 | 323 | static void loop_device_xi2(struct appdata *w, int id) | 323 | static void loop_device_xi2(struct appdata *w, int id) |
2217 | 324 | { | 324 | { |
2219 | 325 | const struct utouch_frame *tf; | 325 | const struct oif_frame *tf; |
2220 | 326 | XIEventMask mask; | 326 | XIEventMask mask; |
2221 | 327 | 327 | ||
2222 | 328 | mask.deviceid = id; | 328 | mask.deviceid = id; |
2223 | @@ -346,7 +346,7 @@ | |||
2224 | 346 | if (XGetEventData(w->dsp, cookie) && | 346 | if (XGetEventData(w->dsp, cookie) && |
2225 | 347 | cookie->type == GenericEvent && | 347 | cookie->type == GenericEvent && |
2226 | 348 | cookie->extension == w->opcode) { | 348 | cookie->extension == w->opcode) { |
2228 | 349 | tf = utouch_frame_pump_xi2(w->fh, cookie->data); | 349 | tf = oif_frame_pump_xi2(w->fh, cookie->data); |
2229 | 350 | report_frame(w, tf); | 350 | report_frame(w, tf); |
2230 | 351 | } | 351 | } |
2231 | 352 | XFreeEventData(w->dsp, cookie); | 352 | XFreeEventData(w->dsp, cookie); |
2232 | @@ -373,10 +373,10 @@ | |||
2233 | 373 | if (!dev) | 373 | if (!dev) |
2234 | 374 | return -1; | 374 | return -1; |
2235 | 375 | 375 | ||
2237 | 376 | w->fh = utouch_frame_new_engine(500, 32, 100); | 376 | w->fh = oif_frame_new_engine(500, 32, 100); |
2238 | 377 | if (!w->fh) | 377 | if (!w->fh) |
2239 | 378 | return -1; | 378 | return -1; |
2241 | 379 | if (utouch_frame_init_xi2(w->fh, w->dsp, dev)) | 379 | if (oif_frame_init_xi2(w->fh, w->dsp, dev)) |
2242 | 380 | return -1; | 380 | return -1; |
2243 | 381 | w->ge = grail_new(w->fh, 100, 0); | 381 | w->ge = grail_new(w->fh, 100, 0); |
2244 | 382 | if (!w->ge) | 382 | if (!w->ge) |
2245 | @@ -385,7 +385,7 @@ | |||
2246 | 385 | loop_device_xi2(w, id); | 385 | loop_device_xi2(w, id); |
2247 | 386 | 386 | ||
2248 | 387 | grail_delete(w->ge); | 387 | grail_delete(w->ge); |
2250 | 388 | utouch_frame_delete_engine(w->fh); | 388 | oif_frame_delete_engine(w->fh); |
2251 | 389 | 389 | ||
2252 | 390 | XIFreeDeviceInfo(info); | 390 | XIFreeDeviceInfo(info); |
2253 | 391 | 391 |
Looks ok. Builds fine.