Merge lp:~oif-packaging/frame/ubuntu.v1.1.2 into lp:frame/ubuntu
- ubuntu.v1.1.2
- Merge into ubuntu
Proposed by
Henrik Rydberg
Status: | Merged |
---|---|
Merged at revision: | 24 |
Proposed branch: | lp:~oif-packaging/frame/ubuntu.v1.1.2 |
Merge into: | lp:frame/ubuntu |
Diff against target: |
509 lines (+159/-53) 8 files modified
ChangeLog (+33/-0) configure (+56/-28) configure.ac (+7/-3) debian/changelog (+8/-0) debian/control (+1/-1) tools/utouch-frame-test-mtdev.1 (+2/-2) tools/utouch-frame-test-mtdev.c (+50/-17) tools/utouch-frame-test-xi2.1 (+2/-2) |
To merge this branch: | bzr merge lp:~oif-packaging/frame/ubuntu.v1.1.2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chase Douglas (community) | Approve | ||
Henrik Rydberg (community) | Approve | ||
Review via email: mp+53505@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Henrik Rydberg (rydberg) wrote : | # |
Revision history for this message
Henrik Rydberg (rydberg) wrote : | # |
Added an xi-enabled version in the utouch unstable ppa. Test tool: utouch-
Revision history for this message
Henrik Rydberg (rydberg) wrote : | # |
This branch was approved, merged and released already.
review:
Approve
Revision history for this message
Henrik Rydberg (rydberg) wrote : | # |
No it is not, sorry about that.
Revision history for this message
Henrik Rydberg (rydberg) wrote : | # |
It seems the FFe has been approved, so a review of this branch and subsequent upload before adding more new stuff seems like a good idea.
Revision history for this message
Chase Douglas (chasedouglas) wrote : | # |
Looks good to me. I think we should aim for oneiric with this though, so lets merge it and get it into a daily build. We can do an upstream release when we want to too.
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'ChangeLog' | |||
2 | --- ChangeLog 2011-02-24 15:01:51 +0000 | |||
3 | +++ ChangeLog 2011-03-16 07:08:31 +0000 | |||
4 | @@ -1,4 +1,37 @@ | |||
5 | 1 | ------------------------------------------------------------ | 1 | ------------------------------------------------------------ |
6 | 2 | revno: 29 | ||
7 | 3 | tags: v1.1.2 | ||
8 | 4 | committer: Henrik Rydberg <rydberg@bitmath.org> | ||
9 | 5 | branch nick: trunk | ||
10 | 6 | timestamp: Tue 2011-03-15 20:15:23 +0100 | ||
11 | 7 | message: | ||
12 | 8 | Release version 1.1.2 | ||
13 | 9 | |||
14 | 10 | Signed-off-by: Henrik Rydberg <rydberg@euromail.se> | ||
15 | 11 | ------------------------------------------------------------ | ||
16 | 12 | revno: 28 | ||
17 | 13 | committer: Henrik Rydberg <rydberg@bitmath.org> | ||
18 | 14 | branch nick: trunk | ||
19 | 15 | timestamp: Tue 2011-03-15 20:15:17 +0100 | ||
20 | 16 | message: | ||
21 | 17 | Allow replay of device data through utouch-frame | ||
22 | 18 | |||
23 | 19 | This patch adds replay capabilities to test-mtdev. | ||
24 | 20 | If the specified device points to a valid evemu file, | ||
25 | 21 | the device properties will be extracted from that file | ||
26 | 22 | instead. Any appended event data will be replayed in | ||
27 | 23 | realtime. In practise, test-mtdev can be executed with | ||
28 | 24 | a test file. | ||
29 | 25 | |||
30 | 26 | Signed-off-by: Henrik Rydberg <rydberg@euromail.se> | ||
31 | 27 | ------------------------------------------------------------ | ||
32 | 28 | revno: 27 [merge] | ||
33 | 29 | committer: Stephen M. Webb <stephen.webb@canonical.com> | ||
34 | 30 | branch nick: utouch-frame | ||
35 | 31 | timestamp: Tue 2011-03-15 15:04:33 -0400 | ||
36 | 32 | message: | ||
37 | 33 | Added a dependency check on xorg-server-dev when building with xi2 support. | ||
38 | 34 | ------------------------------------------------------------ | ||
39 | 2 | revno: 26 | 35 | revno: 26 |
40 | 3 | tags: v1.1.1 | 36 | tags: v1.1.1 |
41 | 4 | committer: Henrik Rydberg <rydberg@bitmath.org> | 37 | committer: Henrik Rydberg <rydberg@bitmath.org> |
42 | 5 | 38 | ||
43 | === modified file 'configure' | |||
44 | --- configure 2011-02-24 15:03:01 +0000 | |||
45 | +++ configure 2011-03-16 07:08:31 +0000 | |||
46 | @@ -1,6 +1,6 @@ | |||
47 | 1 | #! /bin/sh | 1 | #! /bin/sh |
48 | 2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
50 | 3 | # Generated by GNU Autoconf 2.67 for Touch Frame Library 1.1.1. | 3 | # Generated by GNU Autoconf 2.67 for Touch Frame Library 1.1.2. |
51 | 4 | # | 4 | # |
52 | 5 | # | 5 | # |
53 | 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
54 | @@ -698,8 +698,8 @@ | |||
55 | 698 | # Identity of this package. | 698 | # Identity of this package. |
56 | 699 | PACKAGE_NAME='Touch Frame Library' | 699 | PACKAGE_NAME='Touch Frame Library' |
57 | 700 | PACKAGE_TARNAME='utouch-frame' | 700 | PACKAGE_TARNAME='utouch-frame' |
60 | 701 | PACKAGE_VERSION='1.1.1' | 701 | PACKAGE_VERSION='1.1.2' |
61 | 702 | PACKAGE_STRING='Touch Frame Library 1.1.1' | 702 | PACKAGE_STRING='Touch Frame Library 1.1.2' |
62 | 703 | PACKAGE_BUGREPORT='' | 703 | PACKAGE_BUGREPORT='' |
63 | 704 | PACKAGE_URL='' | 704 | PACKAGE_URL='' |
64 | 705 | 705 | ||
65 | @@ -1440,7 +1440,7 @@ | |||
66 | 1440 | # Omit some internal or obsolete options to make the list less imposing. | 1440 | # Omit some internal or obsolete options to make the list less imposing. |
67 | 1441 | # This message is too long to be a string in the A/UX 3.1 sh. | 1441 | # This message is too long to be a string in the A/UX 3.1 sh. |
68 | 1442 | cat <<_ACEOF | 1442 | cat <<_ACEOF |
70 | 1443 | \`configure' configures Touch Frame Library 1.1.1 to adapt to many kinds of systems. | 1443 | \`configure' configures Touch Frame Library 1.1.2 to adapt to many kinds of systems. |
71 | 1444 | 1444 | ||
72 | 1445 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1445 | Usage: $0 [OPTION]... [VAR=VALUE]... |
73 | 1446 | 1446 | ||
74 | @@ -1510,7 +1510,7 @@ | |||
75 | 1510 | 1510 | ||
76 | 1511 | if test -n "$ac_init_help"; then | 1511 | if test -n "$ac_init_help"; then |
77 | 1512 | case $ac_init_help in | 1512 | case $ac_init_help in |
79 | 1513 | short | recursive ) echo "Configuration of Touch Frame Library 1.1.1:";; | 1513 | short | recursive ) echo "Configuration of Touch Frame Library 1.1.2:";; |
80 | 1514 | esac | 1514 | esac |
81 | 1515 | cat <<\_ACEOF | 1515 | cat <<\_ACEOF |
82 | 1516 | 1516 | ||
83 | @@ -1626,7 +1626,7 @@ | |||
84 | 1626 | test -n "$ac_init_help" && exit $ac_status | 1626 | test -n "$ac_init_help" && exit $ac_status |
85 | 1627 | if $ac_init_version; then | 1627 | if $ac_init_version; then |
86 | 1628 | cat <<\_ACEOF | 1628 | cat <<\_ACEOF |
88 | 1629 | Touch Frame Library configure 1.1.1 | 1629 | Touch Frame Library configure 1.1.2 |
89 | 1630 | generated by GNU Autoconf 2.67 | 1630 | generated by GNU Autoconf 2.67 |
90 | 1631 | 1631 | ||
91 | 1632 | Copyright (C) 2010 Free Software Foundation, Inc. | 1632 | Copyright (C) 2010 Free Software Foundation, Inc. |
92 | @@ -1904,7 +1904,7 @@ | |||
93 | 1904 | This file contains any messages produced by compilers while | 1904 | This file contains any messages produced by compilers while |
94 | 1905 | running configure, to aid debugging if configure makes a mistake. | 1905 | running configure, to aid debugging if configure makes a mistake. |
95 | 1906 | 1906 | ||
97 | 1907 | It was created by Touch Frame Library $as_me 1.1.1, which was | 1907 | It was created by Touch Frame Library $as_me 1.1.2, which was |
98 | 1908 | generated by GNU Autoconf 2.67. Invocation command line was | 1908 | generated by GNU Autoconf 2.67. Invocation command line was |
99 | 1909 | 1909 | ||
100 | 1910 | $ $0 $@ | 1910 | $ $0 $@ |
101 | @@ -2724,7 +2724,7 @@ | |||
102 | 2724 | 2724 | ||
103 | 2725 | # Define the identity of the package. | 2725 | # Define the identity of the package. |
104 | 2726 | PACKAGE='utouch-frame' | 2726 | PACKAGE='utouch-frame' |
106 | 2727 | VERSION='1.1.1' | 2727 | VERSION='1.1.2' |
107 | 2728 | 2728 | ||
108 | 2729 | 2729 | ||
109 | 2730 | cat >>confdefs.h <<_ACEOF | 2730 | cat >>confdefs.h <<_ACEOF |
110 | @@ -11282,12 +11282,12 @@ | |||
111 | 11282 | pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS" | 11282 | pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS" |
112 | 11283 | elif test -n "$PKG_CONFIG"; then | 11283 | elif test -n "$PKG_CONFIG"; then |
113 | 11284 | if test -n "$PKG_CONFIG" && \ | 11284 | if test -n "$PKG_CONFIG" && \ |
116 | 11285 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu >= 1.0\""; } >&5 | 11285 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu >= 1.0.5\""; } >&5 |
117 | 11286 | ($PKG_CONFIG --exists --print-errors "utouch-evemu >= 1.0") 2>&5 | 11286 | ($PKG_CONFIG --exists --print-errors "utouch-evemu >= 1.0.5") 2>&5 |
118 | 11287 | ac_status=$? | 11287 | ac_status=$? |
119 | 11288 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 11288 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
120 | 11289 | test $ac_status = 0; }; then | 11289 | test $ac_status = 0; }; then |
122 | 11290 | pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "utouch-evemu >= 1.0" 2>/dev/null` | 11290 | pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "utouch-evemu >= 1.0.5" 2>/dev/null` |
123 | 11291 | else | 11291 | else |
124 | 11292 | pkg_failed=yes | 11292 | pkg_failed=yes |
125 | 11293 | fi | 11293 | fi |
126 | @@ -11298,12 +11298,12 @@ | |||
127 | 11298 | pkg_cv_EVEMU_LIBS="$EVEMU_LIBS" | 11298 | pkg_cv_EVEMU_LIBS="$EVEMU_LIBS" |
128 | 11299 | elif test -n "$PKG_CONFIG"; then | 11299 | elif test -n "$PKG_CONFIG"; then |
129 | 11300 | if test -n "$PKG_CONFIG" && \ | 11300 | if test -n "$PKG_CONFIG" && \ |
132 | 11301 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu >= 1.0\""; } >&5 | 11301 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu >= 1.0.5\""; } >&5 |
133 | 11302 | ($PKG_CONFIG --exists --print-errors "utouch-evemu >= 1.0") 2>&5 | 11302 | ($PKG_CONFIG --exists --print-errors "utouch-evemu >= 1.0.5") 2>&5 |
134 | 11303 | ac_status=$? | 11303 | ac_status=$? |
135 | 11304 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 11304 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
136 | 11305 | test $ac_status = 0; }; then | 11305 | test $ac_status = 0; }; then |
138 | 11306 | pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "utouch-evemu >= 1.0" 2>/dev/null` | 11306 | pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "utouch-evemu >= 1.0.5" 2>/dev/null` |
139 | 11307 | else | 11307 | else |
140 | 11308 | pkg_failed=yes | 11308 | pkg_failed=yes |
141 | 11309 | fi | 11309 | fi |
142 | @@ -11323,14 +11323,14 @@ | |||
143 | 11323 | _pkg_short_errors_supported=no | 11323 | _pkg_short_errors_supported=no |
144 | 11324 | fi | 11324 | fi |
145 | 11325 | if test $_pkg_short_errors_supported = yes; then | 11325 | if test $_pkg_short_errors_supported = yes; then |
147 | 11326 | EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "utouch-evemu >= 1.0" 2>&1` | 11326 | EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "utouch-evemu >= 1.0.5" 2>&1` |
148 | 11327 | else | 11327 | else |
150 | 11328 | EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors "utouch-evemu >= 1.0" 2>&1` | 11328 | EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors "utouch-evemu >= 1.0.5" 2>&1` |
151 | 11329 | fi | 11329 | fi |
152 | 11330 | # Put the nasty error message in config.log where it belongs | 11330 | # Put the nasty error message in config.log where it belongs |
153 | 11331 | echo "$EVEMU_PKG_ERRORS" >&5 | 11331 | echo "$EVEMU_PKG_ERRORS" >&5 |
154 | 11332 | 11332 | ||
156 | 11333 | as_fn_error $? "Package requirements (utouch-evemu >= 1.0) were not met: | 11333 | as_fn_error $? "Package requirements (utouch-evemu >= 1.0.5) were not met: |
157 | 11334 | 11334 | ||
158 | 11335 | $EVEMU_PKG_ERRORS | 11335 | $EVEMU_PKG_ERRORS |
159 | 11336 | 11336 | ||
160 | @@ -11389,12 +11389,21 @@ | |||
161 | 11389 | pkg_cv_XINPUT_CFLAGS="$XINPUT_CFLAGS" | 11389 | pkg_cv_XINPUT_CFLAGS="$XINPUT_CFLAGS" |
162 | 11390 | elif test -n "$PKG_CONFIG"; then | 11390 | elif test -n "$PKG_CONFIG"; then |
163 | 11391 | if test -n "$PKG_CONFIG" && \ | 11391 | if test -n "$PKG_CONFIG" && \ |
166 | 11392 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1\""; } >&5 | 11392 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext |
167 | 11393 | ($PKG_CONFIG --exists --print-errors "x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1") 2>&5 | 11393 | xi >= 1.4.1.99.1 |
168 | 11394 | inputproto >= 2.0.99.1 | ||
169 | 11395 | xorg-server\""; } >&5 | ||
170 | 11396 | ($PKG_CONFIG --exists --print-errors "x11 xext | ||
171 | 11397 | xi >= 1.4.1.99.1 | ||
172 | 11398 | inputproto >= 2.0.99.1 | ||
173 | 11399 | xorg-server") 2>&5 | ||
174 | 11394 | ac_status=$? | 11400 | ac_status=$? |
175 | 11395 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 11401 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
176 | 11396 | test $ac_status = 0; }; then | 11402 | test $ac_status = 0; }; then |
178 | 11397 | pkg_cv_XINPUT_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1" 2>/dev/null` | 11403 | pkg_cv_XINPUT_CFLAGS=`$PKG_CONFIG --cflags "x11 xext |
179 | 11404 | xi >= 1.4.1.99.1 | ||
180 | 11405 | inputproto >= 2.0.99.1 | ||
181 | 11406 | xorg-server" 2>/dev/null` | ||
182 | 11398 | else | 11407 | else |
183 | 11399 | pkg_failed=yes | 11408 | pkg_failed=yes |
184 | 11400 | fi | 11409 | fi |
185 | @@ -11405,12 +11414,21 @@ | |||
186 | 11405 | pkg_cv_XINPUT_LIBS="$XINPUT_LIBS" | 11414 | pkg_cv_XINPUT_LIBS="$XINPUT_LIBS" |
187 | 11406 | elif test -n "$PKG_CONFIG"; then | 11415 | elif test -n "$PKG_CONFIG"; then |
188 | 11407 | if test -n "$PKG_CONFIG" && \ | 11416 | if test -n "$PKG_CONFIG" && \ |
191 | 11408 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1\""; } >&5 | 11417 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext |
192 | 11409 | ($PKG_CONFIG --exists --print-errors "x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1") 2>&5 | 11418 | xi >= 1.4.1.99.1 |
193 | 11419 | inputproto >= 2.0.99.1 | ||
194 | 11420 | xorg-server\""; } >&5 | ||
195 | 11421 | ($PKG_CONFIG --exists --print-errors "x11 xext | ||
196 | 11422 | xi >= 1.4.1.99.1 | ||
197 | 11423 | inputproto >= 2.0.99.1 | ||
198 | 11424 | xorg-server") 2>&5 | ||
199 | 11410 | ac_status=$? | 11425 | ac_status=$? |
200 | 11411 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 11426 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
201 | 11412 | test $ac_status = 0; }; then | 11427 | test $ac_status = 0; }; then |
203 | 11413 | pkg_cv_XINPUT_LIBS=`$PKG_CONFIG --libs "x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1" 2>/dev/null` | 11428 | pkg_cv_XINPUT_LIBS=`$PKG_CONFIG --libs "x11 xext |
204 | 11429 | xi >= 1.4.1.99.1 | ||
205 | 11430 | inputproto >= 2.0.99.1 | ||
206 | 11431 | xorg-server" 2>/dev/null` | ||
207 | 11414 | else | 11432 | else |
208 | 11415 | pkg_failed=yes | 11433 | pkg_failed=yes |
209 | 11416 | fi | 11434 | fi |
210 | @@ -11430,14 +11448,23 @@ | |||
211 | 11430 | _pkg_short_errors_supported=no | 11448 | _pkg_short_errors_supported=no |
212 | 11431 | fi | 11449 | fi |
213 | 11432 | if test $_pkg_short_errors_supported = yes; then | 11450 | if test $_pkg_short_errors_supported = yes; then |
215 | 11433 | XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1" 2>&1` | 11451 | XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext |
216 | 11452 | xi >= 1.4.1.99.1 | ||
217 | 11453 | inputproto >= 2.0.99.1 | ||
218 | 11454 | xorg-server" 2>&1` | ||
219 | 11434 | else | 11455 | else |
221 | 11435 | XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1" 2>&1` | 11456 | XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext |
222 | 11457 | xi >= 1.4.1.99.1 | ||
223 | 11458 | inputproto >= 2.0.99.1 | ||
224 | 11459 | xorg-server" 2>&1` | ||
225 | 11436 | fi | 11460 | fi |
226 | 11437 | # Put the nasty error message in config.log where it belongs | 11461 | # Put the nasty error message in config.log where it belongs |
227 | 11438 | echo "$XINPUT_PKG_ERRORS" >&5 | 11462 | echo "$XINPUT_PKG_ERRORS" >&5 |
228 | 11439 | 11463 | ||
230 | 11440 | as_fn_error $? "Package requirements (x11 xext xi >= 1.4.1.99.1 inputproto >= 2.0.99.1) were not met: | 11464 | as_fn_error $? "Package requirements (x11 xext |
231 | 11465 | xi >= 1.4.1.99.1 | ||
232 | 11466 | inputproto >= 2.0.99.1 | ||
233 | 11467 | xorg-server) were not met: | ||
234 | 11441 | 11468 | ||
235 | 11442 | $XINPUT_PKG_ERRORS | 11469 | $XINPUT_PKG_ERRORS |
236 | 11443 | 11470 | ||
237 | @@ -11470,6 +11497,7 @@ | |||
238 | 11470 | 11497 | ||
239 | 11471 | fi | 11498 | fi |
240 | 11472 | 11499 | ||
241 | 11500 | |||
242 | 11473 | fi | 11501 | fi |
243 | 11474 | 11502 | ||
244 | 11475 | # Extract the first word of "a2x", so it can be a program name with args. | 11503 | # Extract the first word of "a2x", so it can be a program name with args. |
245 | @@ -12062,7 +12090,7 @@ | |||
246 | 12062 | # report actual input values of CONFIG_FILES etc. instead of their | 12090 | # report actual input values of CONFIG_FILES etc. instead of their |
247 | 12063 | # values after options handling. | 12091 | # values after options handling. |
248 | 12064 | ac_log=" | 12092 | ac_log=" |
250 | 12065 | This file was extended by Touch Frame Library $as_me 1.1.1, which was | 12093 | This file was extended by Touch Frame Library $as_me 1.1.2, which was |
251 | 12066 | generated by GNU Autoconf 2.67. Invocation command line was | 12094 | generated by GNU Autoconf 2.67. Invocation command line was |
252 | 12067 | 12095 | ||
253 | 12068 | CONFIG_FILES = $CONFIG_FILES | 12096 | CONFIG_FILES = $CONFIG_FILES |
254 | @@ -12128,7 +12156,7 @@ | |||
255 | 12128 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 12156 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
256 | 12129 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 12157 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
257 | 12130 | ac_cs_version="\\ | 12158 | ac_cs_version="\\ |
259 | 12131 | Touch Frame Library config.status 1.1.1 | 12159 | Touch Frame Library config.status 1.1.2 |
260 | 12132 | configured by $0, generated by GNU Autoconf 2.67, | 12160 | configured by $0, generated by GNU Autoconf 2.67, |
261 | 12133 | with options \\"\$ac_cs_config\\" | 12161 | with options \\"\$ac_cs_config\\" |
262 | 12134 | 12162 | ||
263 | 12135 | 12163 | ||
264 | === modified file 'configure.ac' | |||
265 | --- configure.ac 2011-02-24 15:03:01 +0000 | |||
266 | +++ configure.ac 2011-03-16 07:08:31 +0000 | |||
267 | @@ -1,7 +1,7 @@ | |||
268 | 1 | # Initialize Autoconf | 1 | # Initialize Autoconf |
269 | 2 | AC_PREREQ([2.60]) | 2 | AC_PREREQ([2.60]) |
270 | 3 | AC_INIT([Touch Frame Library], | 3 | AC_INIT([Touch Frame Library], |
272 | 4 | [1.1.1], | 4 | [1.1.2], |
273 | 5 | [], | 5 | [], |
274 | 6 | [utouch-frame]) | 6 | [utouch-frame]) |
275 | 7 | AC_CONFIG_SRCDIR([Makefile.am]) | 7 | AC_CONFIG_SRCDIR([Makefile.am]) |
276 | @@ -23,13 +23,17 @@ | |||
277 | 23 | AC_PROG_INSTALL | 23 | AC_PROG_INSTALL |
278 | 24 | 24 | ||
279 | 25 | PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1]) | 25 | PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1]) |
281 | 26 | PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0]) | 26 | PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0.5]) |
282 | 27 | 27 | ||
283 | 28 | AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support])) | 28 | AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support])) |
284 | 29 | AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) | 29 | AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) |
285 | 30 | 30 | ||
286 | 31 | AS_IF([test "x$with_xi" = "xyes"], [ | 31 | AS_IF([test "x$with_xi" = "xyes"], [ |
288 | 32 | PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.4.1.99.1] [inputproto >= 2.0.99.1]) | 32 | PKG_CHECK_MODULES(XINPUT, x11 xext |
289 | 33 | [xi >= 1.4.1.99.1] | ||
290 | 34 | [inputproto >= 2.0.99.1] | ||
291 | 35 | [xorg-server]) | ||
292 | 36 | |||
293 | 33 | ]) | 37 | ]) |
294 | 34 | 38 | ||
295 | 35 | AC_CHECK_PROG([ASCIIDOC], [a2x], [a2x]) | 39 | AC_CHECK_PROG([ASCIIDOC], [a2x], [a2x]) |
296 | 36 | 40 | ||
297 | === modified file 'debian/changelog' | |||
298 | --- debian/changelog 2011-02-24 16:17:17 +0000 | |||
299 | +++ debian/changelog 2011-03-16 07:08:31 +0000 | |||
300 | @@ -1,3 +1,11 @@ | |||
301 | 1 | utouch-frame (1.1.2-0ubuntu1) UNRELEASED; urgency=low | ||
302 | 2 | |||
303 | 3 | * New upstream release. | ||
304 | 4 | * Feature freeze exception LP: #735672 | ||
305 | 5 | * Updated dependency evemu-1.0.5 | ||
306 | 6 | |||
307 | 7 | -- Henrik Rydberg <rydberg@bitmath.org> Wed, 16 Mar 2011 08:08:58 +0100 | ||
308 | 8 | |||
309 | 1 | utouch-frame (1.1.1-0ubuntu1) natty; urgency=low | 9 | utouch-frame (1.1.1-0ubuntu1) natty; urgency=low |
310 | 2 | 10 | ||
311 | 3 | [ Henrik Rydberg ] | 11 | [ Henrik Rydberg ] |
312 | 4 | 12 | ||
313 | === modified file 'debian/control' | |||
314 | --- debian/control 2011-02-18 14:37:53 +0000 | |||
315 | +++ debian/control 2011-03-16 07:08:31 +0000 | |||
316 | @@ -13,7 +13,7 @@ | |||
317 | 13 | libtool, | 13 | libtool, |
318 | 14 | cdbs, | 14 | cdbs, |
319 | 15 | libmtdev-dev (>= 1.1), | 15 | libmtdev-dev (>= 1.1), |
321 | 16 | libutouch-evemu-dev (>= 1.0) | 16 | libutouch-evemu-dev (>= 1.0.5) |
322 | 17 | Standards-Version: 3.9.1 | 17 | Standards-Version: 3.9.1 |
323 | 18 | Vcs-Bzr: https://code.launchpad.net/~utouch-packaging/utouch-frame/ubuntu | 18 | Vcs-Bzr: https://code.launchpad.net/~utouch-packaging/utouch-frame/ubuntu |
324 | 19 | 19 | ||
325 | 20 | 20 | ||
326 | === modified file 'tools/utouch-frame-test-mtdev.1' | |||
327 | --- tools/utouch-frame-test-mtdev.1 2011-02-24 15:01:51 +0000 | |||
328 | +++ tools/utouch-frame-test-mtdev.1 2011-03-16 07:08:31 +0000 | |||
329 | @@ -2,12 +2,12 @@ | |||
330 | 2 | .\" Title: utouch-frame-test-mtdev | 2 | .\" Title: utouch-frame-test-mtdev |
331 | 3 | .\" Author: [see the "AUTHOR" section] | 3 | .\" Author: [see the "AUTHOR" section] |
332 | 4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> | 4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> |
334 | 5 | .\" Date: 02/24/2011 | 5 | .\" Date: 03/15/2011 |
335 | 6 | .\" Manual: \ \& | 6 | .\" Manual: \ \& |
336 | 7 | .\" Source: \ \& | 7 | .\" Source: \ \& |
337 | 8 | .\" Language: English | 8 | .\" Language: English |
338 | 9 | .\" | 9 | .\" |
340 | 10 | .TH "UTOUCH\-FRAME\-TEST\" "1" "02/24/2011" "\ \&" "\ \&" | 10 | .TH "UTOUCH\-FRAME\-TEST\" "1" "03/15/2011" "\ \&" "\ \&" |
341 | 11 | .\" ----------------------------------------------------------------- | 11 | .\" ----------------------------------------------------------------- |
342 | 12 | .\" * Define some portability stuff | 12 | .\" * Define some portability stuff |
343 | 13 | .\" ----------------------------------------------------------------- | 13 | .\" ----------------------------------------------------------------- |
344 | 14 | 14 | ||
345 | === modified file 'tools/utouch-frame-test-mtdev.c' | |||
346 | --- tools/utouch-frame-test-mtdev.c 2011-02-23 10:25:28 +0000 | |||
347 | +++ tools/utouch-frame-test-mtdev.c 2011-03-16 07:08:31 +0000 | |||
348 | @@ -36,25 +36,32 @@ | |||
349 | 36 | struct evemu_device *evemu; | 36 | struct evemu_device *evemu; |
350 | 37 | struct mtdev *mtdev; | 37 | struct mtdev *mtdev; |
351 | 38 | utouch_frame_handle fh; | 38 | utouch_frame_handle fh; |
352 | 39 | struct stat fs; | ||
353 | 40 | FILE *fptest; | ||
354 | 41 | int fd; | ||
355 | 39 | }; | 42 | }; |
356 | 40 | 43 | ||
358 | 41 | static int init_evemu(struct frame_test *test, int fd) | 44 | static int init_evemu(struct frame_test *test) |
359 | 42 | { | 45 | { |
360 | 43 | test->evemu = evemu_new(NULL); | 46 | test->evemu = evemu_new(NULL); |
361 | 44 | if (!test->evemu) | 47 | if (!test->evemu) |
362 | 45 | return -1; | 48 | return -1; |
364 | 46 | return evemu_extract(test->evemu, fd); | 49 | if (test->fptest) |
365 | 50 | return evemu_read(test->evemu, test->fptest) <= 0; | ||
366 | 51 | return evemu_extract(test->evemu, test->fd); | ||
367 | 47 | } | 52 | } |
368 | 48 | 53 | ||
370 | 49 | static int init_mtdev(struct frame_test *test, int fd) | 54 | static int init_mtdev(struct frame_test *test) |
371 | 50 | { | 55 | { |
373 | 51 | test->mtdev = mtdev_new_open(fd); | 56 | if (test->fptest) |
374 | 57 | return 0; | ||
375 | 58 | test->mtdev = mtdev_new_open(test->fd); | ||
376 | 52 | if (!test->mtdev) | 59 | if (!test->mtdev) |
377 | 53 | return -1; | 60 | return -1; |
378 | 54 | return 0; | 61 | return 0; |
379 | 55 | } | 62 | } |
380 | 56 | 63 | ||
382 | 57 | static int init_frame(struct frame_test *test, int fd) | 64 | static int init_frame(struct frame_test *test) |
383 | 58 | { | 65 | { |
384 | 59 | test->fh = utouch_frame_new_engine(100, 32, 100); | 66 | test->fh = utouch_frame_new_engine(100, 32, 100); |
385 | 60 | if (!test->fh) | 67 | if (!test->fh) |
386 | @@ -65,46 +72,71 @@ | |||
387 | 65 | static void destroy_all(struct frame_test *test) | 72 | static void destroy_all(struct frame_test *test) |
388 | 66 | { | 73 | { |
389 | 67 | utouch_frame_delete_engine(test->fh); | 74 | utouch_frame_delete_engine(test->fh); |
391 | 68 | mtdev_close_delete(test->mtdev); | 75 | if (test->mtdev) |
392 | 76 | mtdev_close_delete(test->mtdev); | ||
393 | 69 | evemu_delete(test->evemu); | 77 | evemu_delete(test->evemu); |
394 | 78 | if (test->fptest) | ||
395 | 79 | fclose(test->fptest); | ||
396 | 80 | else | ||
397 | 81 | ioctl(test->fd, EVIOCGRAB, 0); | ||
398 | 82 | close(test->fd); | ||
399 | 70 | memset(test, 0, sizeof(*test)); | 83 | memset(test, 0, sizeof(*test)); |
400 | 71 | } | 84 | } |
401 | 72 | 85 | ||
403 | 73 | static void loop_device(struct frame_test *test, int fd) | 86 | static void loop_device(struct frame_test *test) |
404 | 74 | { | 87 | { |
405 | 88 | FILE * fp = test->fptest; | ||
406 | 75 | const struct utouch_frame *frame; | 89 | const struct utouch_frame *frame; |
407 | 76 | struct input_event ev; | 90 | struct input_event ev; |
408 | 77 | 91 | ||
411 | 78 | while (!mtdev_idle(test->mtdev, fd, 5000)) { | 92 | if (fp) { |
412 | 79 | while (mtdev_get(test->mtdev, fd, &ev, 1) > 0) { | 93 | struct timeval evtime; |
413 | 94 | memset(&evtime, 0, sizeof(evtime)); | ||
414 | 95 | while (evemu_read_event_realtime(fp, &ev, &evtime) > 0) { | ||
415 | 80 | frame = utouch_frame_pump_mtdev(test->fh, &ev); | 96 | frame = utouch_frame_pump_mtdev(test->fh, &ev); |
416 | 81 | if (frame) | 97 | if (frame) |
417 | 82 | report_frame(frame); | 98 | report_frame(frame); |
418 | 83 | } | 99 | } |
419 | 100 | } else { | ||
420 | 101 | while (!mtdev_idle(test->mtdev, test->fd, 5000)) { | ||
421 | 102 | while (mtdev_get(test->mtdev, test->fd, &ev, 1) > 0) { | ||
422 | 103 | frame = utouch_frame_pump_mtdev(test->fh, &ev); | ||
423 | 104 | if (frame) | ||
424 | 105 | report_frame(frame); | ||
425 | 106 | } | ||
426 | 107 | } | ||
427 | 84 | } | 108 | } |
428 | 85 | } | 109 | } |
429 | 86 | 110 | ||
430 | 87 | int main(int argc, char *argv[]) | 111 | int main(int argc, char *argv[]) |
431 | 88 | { | 112 | { |
432 | 89 | struct frame_test test; | 113 | struct frame_test test; |
433 | 90 | int fd; | ||
434 | 91 | 114 | ||
435 | 92 | if (argc < 2) { | 115 | if (argc < 2) { |
436 | 93 | fprintf(stderr, "Usage: %s <device>\n", argv[0]); | 116 | fprintf(stderr, "Usage: %s <device>\n", argv[0]); |
437 | 94 | return -1; | 117 | return -1; |
438 | 95 | } | 118 | } |
439 | 96 | 119 | ||
442 | 97 | fd = open(argv[1], O_RDONLY | O_NONBLOCK); | 120 | memset(&test, 0, sizeof(test)); |
443 | 98 | if (fd < 0) { | 121 | |
444 | 122 | test.fd = open(argv[1], O_RDONLY | O_NONBLOCK); | ||
445 | 123 | if (test.fd < 0) { | ||
446 | 99 | fprintf(stderr, "error: could not open device\n"); | 124 | fprintf(stderr, "error: could not open device\n"); |
447 | 100 | return -1; | 125 | return -1; |
448 | 101 | } | 126 | } |
450 | 102 | if (ioctl(fd, EVIOCGRAB, 1)) { | 127 | if (fstat(test.fd, &test.fs)) { |
451 | 128 | fprintf(stderr, "error: could not stat the device\n"); | ||
452 | 129 | return -1; | ||
453 | 130 | } | ||
454 | 131 | if (!test.fs.st_rdev) | ||
455 | 132 | test.fptest = fdopen(test.fd, "r"); | ||
456 | 133 | |||
457 | 134 | if (!test.fptest && ioctl(test.fd, EVIOCGRAB, 1)) { | ||
458 | 103 | fprintf(stderr, "error: could not grab the device\n"); | 135 | fprintf(stderr, "error: could not grab the device\n"); |
459 | 104 | return -1; | 136 | return -1; |
460 | 105 | } | 137 | } |
461 | 106 | 138 | ||
463 | 107 | if (init_evemu(&test, fd)) { | 139 | if (init_evemu(&test)) { |
464 | 108 | fprintf(stderr, "error: could not describe device\n"); | 140 | fprintf(stderr, "error: could not describe device\n"); |
465 | 109 | return -1; | 141 | return -1; |
466 | 110 | } | 142 | } |
467 | @@ -115,19 +147,20 @@ | |||
468 | 115 | 147 | ||
469 | 116 | fprintf(stderr, "device: %s\n", evemu_get_name(test.evemu)); | 148 | fprintf(stderr, "device: %s\n", evemu_get_name(test.evemu)); |
470 | 117 | 149 | ||
472 | 118 | if (init_mtdev(&test, fd)) { | 150 | if (init_mtdev(&test)) { |
473 | 119 | fprintf(stderr, "error: could not init mtdev\n"); | 151 | fprintf(stderr, "error: could not init mtdev\n"); |
474 | 120 | return -1; | 152 | return -1; |
475 | 121 | } | 153 | } |
477 | 122 | if (init_frame(&test, fd)) { | 154 | if (init_frame(&test)) { |
478 | 123 | fprintf(stderr, "error: could not init frame\n"); | 155 | fprintf(stderr, "error: could not init frame\n"); |
479 | 124 | return -1; | 156 | return -1; |
480 | 125 | } | 157 | } |
481 | 126 | 158 | ||
482 | 127 | report_device_caps(test.fh); | 159 | report_device_caps(test.fh); |
483 | 128 | 160 | ||
485 | 129 | loop_device(&test, fd); | 161 | loop_device(&test); |
486 | 130 | 162 | ||
487 | 131 | destroy_all(&test); | 163 | destroy_all(&test); |
488 | 164 | |||
489 | 132 | return 0; | 165 | return 0; |
490 | 133 | } | 166 | } |
491 | 134 | 167 | ||
492 | === modified file 'tools/utouch-frame-test-xi2.1' | |||
493 | --- tools/utouch-frame-test-xi2.1 2011-02-24 15:01:51 +0000 | |||
494 | +++ tools/utouch-frame-test-xi2.1 2011-03-16 07:08:31 +0000 | |||
495 | @@ -2,12 +2,12 @@ | |||
496 | 2 | .\" Title: utouch-frame-test-xi2 | 2 | .\" Title: utouch-frame-test-xi2 |
497 | 3 | .\" Author: [see the "AUTHOR" section] | 3 | .\" Author: [see the "AUTHOR" section] |
498 | 4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> | 4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> |
500 | 5 | .\" Date: 02/24/2011 | 5 | .\" Date: 03/15/2011 |
501 | 6 | .\" Manual: \ \& | 6 | .\" Manual: \ \& |
502 | 7 | .\" Source: \ \& | 7 | .\" Source: \ \& |
503 | 8 | .\" Language: English | 8 | .\" Language: English |
504 | 9 | .\" | 9 | .\" |
506 | 10 | .TH "UTOUCH\-FRAME\-TEST\" "1" "02/24/2011" "\ \&" "\ \&" | 10 | .TH "UTOUCH\-FRAME\-TEST\" "1" "03/15/2011" "\ \&" "\ \&" |
507 | 11 | .\" ----------------------------------------------------------------- | 11 | .\" ----------------------------------------------------------------- |
508 | 12 | .\" * Define some portability stuff | 12 | .\" * Define some portability stuff |
509 | 13 | .\" ----------------------------------------------------------------- | 13 | .\" ----------------------------------------------------------------- |
Packaging for the evemu replay feature in utouch- frame-test- mtdev.