Merge lp:~fginther/geis/geis-2.1.2.1-rename into lp:geis/oneiric
- geis-2.1.2.1-rename
- Merge into oneiric
Proposed by
Francis Ginther
Status: | Merged |
---|---|
Approved by: | Daniel d'Andrada |
Approved revision: | 140 |
Merged at revision: | 138 |
Proposed branch: | lp:~fginther/geis/geis-2.1.2.1-rename |
Merge into: | lp:geis/oneiric |
Diff against target: |
29808 lines (+10649/-9967) 135 files modified
ChangeLog (+0/-1720) Makefile.am (+3/-3) Makefile.in (+9/-7) NEWS (+1/-1) aclocal.m4 (+8/-6) config.aux/config.guess (+120/-105) config.aux/config.sub (+101/-55) config.aux/ltmain.sh (+2619/-1390) configure (+1836/-992) configure.ac (+12/-12) debian/changelog (+11/-253) debian/control (+22/-14) debian/copyright (+2/-2) debian/libgeis-doc.doc-base (+5/-5) debian/libgeis-doc.install (+1/-1) debian/libgeis1.install (+1/-1) debian/libgeis1.symbols (+1/-1) debian/patches/0001-fix-memory-leaks.patch (+15/-15) debian/patches/0002-fix-crash-no-X.patch (+9/-9) debian/patches/0003-fix-crash-unlabelled-axes.patch (+3/-3) debian/patches/0004-fix-device-array-overrun.patch (+3/-3) debian/patches/0005-restore-11.04-v1-gesture-names.patch (+4/-4) debian/source_geis.py (+1/-1) debian/watch (+1/-1) doc/Makefile.in (+3/-1) examples/Makefile.am (+3/-3) examples/Makefile.in (+7/-5) include/Makefile.am (+1/-1) include/Makefile.in (+4/-2) include/geis/geis.h (+6/-6) libgeis.pc.in (+2/-2) libgeis/Makefile.am (+12/-12) libgeis/Makefile.in (+1024/-0) libgeis/backend/Makefile.am (+3/-3) libgeis/backend/Makefile.in (+616/-0) libgeis/backend/test_fixture/Makefile.am (+9/-9) libgeis/backend/test_fixture/Makefile.in (+552/-0) libgeis/backend/test_fixture/geis_backend_test_fixture.c (+1/-1) libgeis/backend/xcb/Makefile.am (+8/-8) libgeis/backend/xcb/Makefile.in (+612/-0) libgeis/backend/xcb/geis_xcb_backend.c (+3/-3) libgeis/geis.c (+9/-9) libgeis/geis_atomic.h (+1/-1) libgeis/geis_attr.c (+1/-1) libgeis/geis_attr.h (+1/-1) libgeis/geis_class.c (+2/-2) libgeis/geis_class.h (+3/-3) libgeis/geis_device.c (+2/-2) libgeis/geis_device.h (+3/-3) libgeis/geis_error.c (+2/-2) libgeis/geis_event.c (+1/-1) libgeis/geis_event.h (+1/-1) libgeis/geis_event_queue.c (+1/-1) libgeis/geis_event_queue.h (+1/-1) libgeis/geis_filter.c (+2/-2) libgeis/geis_filter.h (+3/-3) libgeis/geis_filter_term.c (+2/-2) libgeis/geis_filter_term.h (+3/-3) libgeis/geis_group.c (+1/-1) libgeis/geis_group.h (+3/-3) libgeis/geis_region.c (+2/-2) libgeis/geis_region.h (+1/-1) libgeis/geis_subscription.c (+2/-2) libgeis/geis_subscription.h (+2/-2) libgeis/geis_timer.h (+1/-1) libgeis/geis_touch.c (+1/-1) libgeis/geis_touch.h (+3/-3) libgeis/geis_v1.c (+5/-5) libgeis/server/Makefile.am (+8/-8) libgeis/server/Makefile.in (+571/-0) libgeis/server/geis_dbus.h (+1/-1) libgeis/server/geis_dbus_server.h (+0/-3) libs/Makefile.am (+2/-2) libs/Makefile.in (+5/-3) libs/xcb/Makefile.am (+2/-2) libs/xcb/Makefile.in (+5/-3) libutouch-geis/Makefile.in (+0/-1030) libutouch-geis/backend/Makefile.in (+0/-614) libutouch-geis/backend/test_fixture/Makefile.in (+0/-550) libutouch-geis/backend/xcb/Makefile.in (+0/-611) libutouch-geis/server/Makefile.in (+0/-570) m4/ax_enable_xi2.m4 (+1/-1) m4/libtool.m4 (+1256/-782) m4/ltoptions.m4 (+7/-6) m4/ltversion.m4 (+6/-6) m4/lt~obsolete.m4 (+9/-3) python/Makefile.am (+3/-3) python/Makefile.in (+6/-4) python/_geis_bindings/_geis_bindings.c (+4/-4) python/geis/__init__.py (+6/-6) python/geis/geis_v2.py (+1/-1) python/pygeis (+1/-1) python/run_pygeis (+1/-1) testsuite/Makefile.am (+2/-2) testsuite/Makefile.in (+5/-3) testsuite/geis1/Makefile.am (+2/-2) testsuite/geis1/Makefile.in (+6/-5) testsuite/geis1/check_gesture_attrs.c (+1/-2) testsuite/geis1/check_gesture_types.c (+3/-0) testsuite/geis1/check_subscription.c (+3/-8) testsuite/geis2/Makefile.am (+2/-2) testsuite/geis2/Makefile.in (+6/-5) testsuite/geis2/check_class.c (+1/-1) testsuite/geis2/check_config.c (+1/-1) testsuite/geis2/check_device.c (+1/-1) testsuite/geis2/check_filter.c (+1/-1) testsuite/geis2/check_frame.c (+1/-1) testsuite/geis2/check_geis_new.c (+1/-1) testsuite/geis2/check_region.c (+1/-1) testsuite/geis2/check_subscription.c (+1/-1) testsuite/geistest/Makefile.am (+2/-2) testsuite/geistest/Makefile.in (+6/-5) testsuite/libgeis/Makefile.am (+6/-6) testsuite/libgeis/Makefile.in (+936/-0) testsuite/libgeis/check_attr.c (+2/-2) testsuite/libgeis/check_backend_multiplexor.c (+3/-3) testsuite/libgeis/check_backend_token.c (+5/-5) testsuite/libgeis/check_class.c (+2/-2) testsuite/libgeis/check_device.c (+2/-2) testsuite/libgeis/check_error_reporting.c (+2/-2) testsuite/libgeis/check_event_queue.c (+3/-3) testsuite/libgeis/check_filter.c (+3/-3) testsuite/libgeis/check_geis2_internals.c (+2/-2) testsuite/libgeis/check_geis_private.c (+4/-4) testsuite/libgeis/check_region.c (+4/-4) testsuite/libgeis/check_subscription.c (+4/-4) testsuite/libgeis/check_timer.c (+4/-4) testsuite/libutouch-geis/Makefile.in (+0/-934) tools/Makefile.am (+1/-1) tools/Makefile.in (+4/-2) tools/geisview/Makefile.am (+1/-1) tools/geisview/Makefile.in (+4/-2) tools/geisview/defaults.py (+1/-1) tools/geisview/defaults.py.in (+1/-1) tools/geisview/geisview (+1/-1) |
To merge this branch: | bzr merge lp:~fginther/geis/geis-2.1.2.1-rename |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel d'Andrada (community) | Approve | ||
Review via email: mp+121070@code.launchpad.net |
Commit message
* New upstream microrelease, bug fixes only
- Rename project to simply 'geis' (LP: #1040755)
* Updated debian/watch file for project rename
* Rename package and update packaging
- Added Conflicts and Replaces clauses for libgeis-dev, libgeis-doc,
python-geis and geis-tools
Description of the change
The primary rationale for this change is to repackage geis for the project rename.
* New upstream microrelease, bug fixes only
- Rename project to simply 'geis' (LP: #1040755)
* Updated debian/watch file for project rename
* Rename package and update packaging
- Added Conflicts and Replaces clauses for libgeis-dev, libgeis-doc,
python-geis and geis-tools
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-06-02 19:38:57 +0000 |
3 | +++ ChangeLog 2012-08-23 18:45:02 +0000 |
4 | @@ -1,1720 +0,0 @@ |
5 | -2011-03-31 Stephen M. Webb <stephen.webb@canonical.com> |
6 | - |
7 | - Add initial python bindings. |
8 | - |
9 | - * python/Makefile.am: new file |
10 | - * python/_geis_bindings/_geis_bindings.c: new file |
11 | - * python/geis/__init__.py: new file |
12 | - * python/geis/geis_v2.py: new file |
13 | - * python/pygeis: new script |
14 | - * Makefile.am (SUBDIRS): added python |
15 | - * configure.ac (AC_CONFIG_FILES): added new generated files |
16 | - |
17 | -2011-04-10 Stephen M. Webb <stephen.webb@canonical.com> |
18 | - |
19 | - Repaired a callback persistence problem (LP: #754135). |
20 | - |
21 | - * testsuite/geis1/check_subscription.c: new test suite |
22 | - * libutouch-geis/geis_v1.c: saved a copy of the callback tables |
23 | - * testsuite/geis1/Makefile.am: included new test suite |
24 | - * testsuite/geis1/check_geis1_api.c: ran new test suite |
25 | - |
26 | -2011-04-12 Stephen M. Webb <stephen.webb@canonical.com> |
27 | - |
28 | - Made direct use of XI2.1 optional at build time (LP: #741404). |
29 | - |
30 | - * m4/ax_enable_xi2.m4: new autoconf macro |
31 | - * configure.ac: invoked the new macro |
32 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c: optioned XI2.1 code |
33 | - |
34 | -2011-04-05 Stephen M. Webb <stephen.webb@canonical.com> |
35 | - |
36 | - Fixed invalid pointer dereference on XI initialization failure in XCB back |
37 | - end (LP: #730899). |
38 | - |
39 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c |
40 | - (geis_xcb_backend_new): cleared properly to indicate a failure. |
41 | - |
42 | -2011-03-28 Stephen M. Webb <stephen.webb@canonical.com> |
43 | - |
44 | - Changes the list of attrs received from grail for the Touch gesture. |
45 | - |
46 | - * libutouch-geis/backend/xcb/grail_gestures.c: change Touch attrs |
47 | - |
48 | -2011-03-25 Stephen M. Webb <stephen.webb@canonical.com> |
49 | - |
50 | - Added new TOUCH gesture types (LP: #742555). |
51 | - |
52 | - * include/geis/geis.h: added new TOUCH gesture types |
53 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c: tweaked gesture mask size |
54 | - * libutouch-geis/backend/xcb/grail_gestures.c: added new TOUCH gesture types |
55 | - added proper handling of a variable-size gesture mask |
56 | - * libutouch-geis/geis_v1.c: mapped new TOUCH gesture types to grail TOUCH |
57 | - gesture types |
58 | - * testsuite/geis1/check_gesture_types.c: new testsuite |
59 | - * testsuite/geis1/Makefile.am: added new testsuite |
60 | - * testsuite/geis1/check_geis1_api.c: invoked new testsuite |
61 | - * testsuite/geistest/geistest.c: added new gesture types |
62 | - |
63 | -2011-03-24 Stephen M. Webb <stephen.webb@canonical.com> |
64 | - |
65 | - Fixed a bad index when translating grail touches (LP: #742002). |
66 | - |
67 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture): |
68 | - fixed offset calculation for grail touch properties |
69 | - |
70 | -2011-03-22 Stephen M. Webb <stephen.webb@canonical.com> |
71 | - |
72 | - Added a default back end (LP: #740311). |
73 | - |
74 | - * examples/geis2.c (dump_gesture_event): dumped more info |
75 | - (main): removed GEIS_INIT_UTOUCH_XCB from geis_new call |
76 | - * libutouch-geis/geis.c (geis_new): added GEIS_INIT_UTOUCH_XCB as default |
77 | - |
78 | -2011-03-22 Stephen M. Webb <stephen.webb@canonical.com> |
79 | - |
80 | - Passed the correct gesture_id to GEIS v1 callbacks (LP: #740284). |
81 | - |
82 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture): |
83 | - Used the grail gesture_id as the frame_id. |
84 | - * testsuite/geistest/geistest.c (gesture_update): reported the gesture_id |
85 | - (gesture_start): reported the gesture_id |
86 | - (gesture_finish): reported the gesture_id |
87 | - |
88 | -2011-03-22 Stephen M. Webb <stephen.webb@canonical.com> |
89 | - |
90 | - Corrected the number of touches on a gesture event (LP: #737745). |
91 | - |
92 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture): |
93 | - replaced geis_xcb_backend_touch_count() call with a calculation based on |
94 | - the number of touch properties passed from grail |
95 | - * libutouch-geis/backend/xcb/grail_gestures.c (geis_xcb_backend_touch_count): |
96 | - removed |
97 | - * libutouch-geis/backend/xcb/grail_gestures.h (geis_xcb_backend_touch_count): |
98 | - removed |
99 | - |
100 | -2011-03-17 Stephen M. Webb <stephen.webb@canonical.com> |
101 | - |
102 | - Added definitions for GEIS v1 gesture primitive types (LP: #737230). |
103 | - |
104 | - * include/geis/geis.h (GEIS_GESTURE_PRIMITIVE_DRAG): new symbol |
105 | - (GEIS_GESTURE_PRIMITIVE_PINCH): new symbol |
106 | - (GEIS_GESTURE_PRIMITIVE_ROTATE): new symbol |
107 | - (GEIS_GESTURE_PRIMITIVE_TAP): new symbol |
108 | - * libutouch-geis/backend/xcb/grail_gestures.c (s_grail_class_map): |
109 | - replaced utouch-grail symbolic constants with the new GEIS symbolic |
110 | - constants |
111 | - |
112 | -2011-03-16 Stephen M. Webb <stephen.webb@canonical.com> |
113 | - |
114 | - Refined the API documentation and added an examples directory. |
115 | - |
116 | - * doc/api.dox: new documentation file |
117 | - * doc/logo_x64.png: new logo image |
118 | - * doc/using_geis_v2.dox: new documentation file |
119 | - * examples/Makefile.am: examples subdirectory Makefile |
120 | - * examples/geis2.c: new example program |
121 | - * Makefile.am: added examples subdirectory |
122 | - * configure.ac: added examples subdirectory |
123 | - * doc/Doxyfile: tweaked Doxygen settings |
124 | - * include/geis/geis.h: complete API docs refinement |
125 | - |
126 | -2011-03-16 Stephen M. Webb <stephen.webb@canonical.com> |
127 | - |
128 | - Replaced device class with explicit attributes. |
129 | - |
130 | - * include/geis/geis.h (GEIS_DEVICE_CLASS_*) removed |
131 | - (GEIS_DEVICE_ATTRIBUTE_DIRECT_TOUCH): added |
132 | - (GEIS_DEVICE_ATTRIBUTE_INDEPENDENT_TOUCH): added |
133 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c: |
134 | - (_map_xi2_mode_to_geis_device_attrs): replaced function |
135 | - _map_xi2_mode_to_geis_device_class |
136 | - * testsuite/geis2/check_device.c: added checks for new attributes |
137 | - |
138 | -2011-03-16 Stephen M. Webb <stephen.webb@canonical.com> |
139 | - |
140 | - Refinement of input device class handling. |
141 | - |
142 | - * include/geis/geis.h (GEIS_DEVICE_CLASS_UNKNOWN): new device class |
143 | - (GEIS_DEVICE_CLASS_TOUCH_MULTIFINGER): new device class |
144 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c |
145 | - (_map_xi2_mode_to_geis_device_class): new function |
146 | - (_report_an_xcb_device): used it |
147 | - |
148 | -2011-03-13 Stephen M. Webb <stephen.webb@canonical.com> |
149 | - |
150 | - Initialized an uninitialized variable. |
151 | - |
152 | - * libutouch-geis/geis_v1.c (_v1_input_callback): initialized device_id |
153 | - |
154 | -2011-03-12 Stephen M. Webb <stephen.webb@canonical.com> |
155 | - |
156 | - Added spcifying devices to geistest. |
157 | - |
158 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c: added -d swicth |
159 | - * doc/geistest.1: documented its use |
160 | - |
161 | -2011-03-12 Stephen M. Webb <stephen.webb@canonical.com> |
162 | - |
163 | - Added proper device ID filtering for GEIS v1. |
164 | - |
165 | - * libutouch-geis/geis_v1.c (_subscribe_device): Added filter for device ID. |
166 | - |
167 | -2011-03-11 Stephen M. Webb <stephen.webb@canonical.com> |
168 | - |
169 | - Implement device enumeration (LP: #733296) |
170 | - |
171 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_report_an_xcb_device): new |
172 | - (_report_xcb_devices): imlemented |
173 | - * libutouch-geis/geis_device.c (geis_device_new): made "id" an attr |
174 | - (geis_device_id): same |
175 | - (geis_device_add_attr): implemented missing function |
176 | - * libutouch-geis/geis_v1.c (_v1_input_callback): new function |
177 | - (geis_input_devices): implemented |
178 | - * testsuite/geis1/check_gesture_attrs.c: removed debug message |
179 | - * testsuite/geistest/geistest.c (input_device_added): added a dump |
180 | - |
181 | -2011-03-11 Stephen M. Webb <stephen.webb@canonical.com> |
182 | - |
183 | - Fix a lifetime issue with string attrs. |
184 | - |
185 | - * libutouch_ges/geis_attr.c (geis_attr_new): dup all strings |
186 | - (geis_attr_delete): free strings |
187 | - |
188 | -2011-03-11 Stephen M. Webb <stephen.webb@canonical.com> |
189 | - |
190 | - Added new device symbolic constants due to a change in the GEIS spec. |
191 | - |
192 | - * include/geis/geis.h (GEIS_DEVICE_ATTRIBUTE_CLASS): new constant |
193 | - (GEIS_DEVICE_ATTRIBUTE_TOUCHES): new constant |
194 | - (GEIS_DEVICE_CLASS_TOUCH_DIRECT): new constant |
195 | - (GEIS_DEVICE_CLASS_TOUCH_DEPENDENT): new constant |
196 | - (GEIS_DEVICE_CLASS_TOUCH_INDEPENDENT): new constant |
197 | - (GEIS_DEVICE_CLASS_TOUCH_PARTIAL): new constant |
198 | - * testsuite/geis2/check_device.c: added tests for the above |
199 | - |
200 | -2011-03-11 Stephen M. Webb <stephen.webb@canonical.com> |
201 | - |
202 | - Added a required symbolic constant for device events. |
203 | - |
204 | - * include/geis/geis.h (GEIS_EVENT_ATTRIBUTE_DEVICE): new symbol |
205 | - (GEIS_DEVICE_ATTRIBUTE_ID): new symbol |
206 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c: used them |
207 | - * libutouch-geis/geis.c: used them |
208 | - * testsuite/geis2/check_device.c (geis_device_types): checked them |
209 | - * testsuite/geis2/check_subscription.c: used them |
210 | - |
211 | -2011-03-08 Stephen M. Webb <stephen.webb@canonical.com> |
212 | - |
213 | - Released utouch-geis v2.0.3. |
214 | - |
215 | - * configure.ac (AC_INIT): bumped version to 2.0.3 |
216 | - |
217 | -2011-03-08 Stephen M. Webb <stephen.webb@canonical.com> |
218 | - |
219 | - Added fix for LP: #732104: re-order class event pump in v1 emulation. |
220 | - |
221 | - * libutouch-geis/geis_v1.c (_subscribe_device): added more diagnostic messages |
222 | - (geis_subscribe): re-ordered event pump to prime the class table |
223 | - |
224 | -2011-03-08 Stephen M. Webb <stephen.webb@canonical.com> |
225 | - |
226 | - Added a unit test and related infrastructure in the mock objects to reproduce |
227 | - LP: #732104. |
228 | - |
229 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c: |
230 | - moved generation of gesture events to after subscription creation, added |
231 | - support for TOUCH filters |
232 | - * testsuite/geis1/check_gesture_attrs.c: added check for touch count, |
233 | - changed subscription from GEIS_ALL_GESTURES to an explicit list |
234 | - * testsuite/geis2/check_frame.c: activated subscription |
235 | - |
236 | -2011-03-07 Stephen M. Webb <stephen.webb@canonical.com> |
237 | - |
238 | - Released GEIS v2.0.2. |
239 | - |
240 | - * configure.ac (AC_INIT): bumped version to 2.0.2 |
241 | - |
242 | -2011-03-07 Stephen M. Webb <stephen.webb@canonical.com> |
243 | - |
244 | - Renamed test case for LP: #728606 |
245 | - |
246 | - * testsuite/geis1/check_gesture_attrs.c: renamed from |
247 | - testsuite/geis1/check_lp728606.c |
248 | - * testsuite/geis1/Makefile.am: renamed source file |
249 | - added -Werror to CFLAGS |
250 | - * testsuite/geis1/check_geis1_api.c: renamed test |
251 | - |
252 | -2011-03-07 Stephen M. Webb <stephen.webb@canonical.com> |
253 | - |
254 | - Added regression test for LP: #728606 |
255 | - |
256 | - * testsuite/geis1/check_lp728606.c: new test suite |
257 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c |
258 | - (_create_gesture_events): add some basic gesture attrs to mock events |
259 | - * libutouch-geis/geis_v1.c (geis_init): tweaked mock object creation |
260 | - (geis_finish): reset global Geis object |
261 | - (geis_subscribe): relocated class event pump |
262 | - * testsuite/geis1/Makefile.am: added new test suite source |
263 | - * testsuite/geis1/check_geis1_api.c: ran new test suite |
264 | - |
265 | -2011-03-07 Stephen M. Webb <stephen.webb@canonical.com> |
266 | - |
267 | - Enabled GEIS v1 for basic API unit testing. |
268 | - |
269 | - * testsuite/geis1/check_instance.c: new test suite |
270 | - * libutouch-geis/geis_v1.c (_generate_subscription_name): handled NULL XCB info |
271 | - (geis_init): handled request for mock back end |
272 | - * testsuite/geis1/Makefile.am: added new source file |
273 | - * testsuite/geis1/check_geis1_api.c: ran new test suite |
274 | - |
275 | -2011-03-07 Stephen M. Webb <stephen.webb@canonical.com> |
276 | - |
277 | - Re-added GEIS v1 API testing. |
278 | - |
279 | - * testsuite/geis1/check_geis_internals.c: removed |
280 | - * testsuite/geis1/check_instance_table.c: removed |
281 | - * testsuite/geis1/check_geis1_api.c: new file |
282 | - * configure.ac (AC_CONFIG_FILES): added testsuite.geis1/Makefile |
283 | - * testsuite/Makefile.am (SUBDIRS): added geis1 |
284 | - * testsuite/geis1/Makefile.am: Removed old unit tests, added check_geis1_api |
285 | - |
286 | -2011-03-03 Stephen M. Webb <stephen.webb@canonical.com> |
287 | - |
288 | - Fixed incorrect data conversion in GEIS v1 implementation (LP: #728606) |
289 | - |
290 | - * libutouch_geis/geis_v1 (_map_frame_to_attrs): put float value in the float |
291 | - member of the attr union to avoid unwanted coercion. |
292 | - |
293 | -2011-02-28 Stephen M. Webb <stephen.webb@canonical.com> |
294 | - |
295 | - Added a graceful exit to the geistest tool. |
296 | - |
297 | - * testsuite/geistest/geistest.c (main): added watch on stdin for exit |
298 | - * doc/geistest.1: mentioned how to exit gracefully |
299 | - |
300 | -2011-02-28 Stephen M. Webb <stephen.webb@canonical.com> |
301 | - |
302 | - Fixed logic in a string-to-boolean conversion. |
303 | - |
304 | - * libutouch-geis/geis_attr.c (geis_attr_value_to_boolean): fixed logic |
305 | - |
306 | -2011-02-27 Stephen M. Webb <stephen.webb@canonical.com> |
307 | - |
308 | - Fixed memory leaks in GEIS v2 subscriptions. |
309 | - |
310 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_finalize): closed X display |
311 | - * libutouch-geis/geis.c (geis_new): reffed the new geis object |
312 | - (geis_delete): invalidated all outstanding subscriptions |
313 | - * libutouch-geis/geis_backend.c: fixed debug message to avoid a bad dereference |
314 | - * libutouch-geis/geis_filter.c: only unref ther geis object on destruction |
315 | - * libutouch-geis/geis_filter_term.c: free the bag store on deletion |
316 | - * libutouch-geis/geis_subscription.h (geis_subscription_bag_invalidate): new |
317 | - (geis_subscription_invalidate): new |
318 | - * libutouch-geis/geis_subscription.c: imlemented new functions |
319 | - (_subscription_destroy): handled destruction in invalided state |
320 | - * libutouch-geis/geis_v1.c (geis_finish): deleted window filter |
321 | - |
322 | -2011-02-23 Stephen M. Webb <stephen.webb@canonical.com> |
323 | - |
324 | - Fixed memory leaks in GEIS v2 group and touch sets. |
325 | - |
326 | - * libutouch-geis/geis_frame.c (geis_frameset_delete): fixed loop condition |
327 | - (geis_frame_delete): freed touches |
328 | - * libutouch-geis/geis_group.c (geis_groupset_delete): fixed loop condition |
329 | - * libutouch-geis/geis_touch.c (geis_touchset_delete): fixed loop condition |
330 | - |
331 | -2011-02-23 Stephen M. Webb <stephen.webb@canonical.com> |
332 | - |
333 | - Fixed a memory leak in GEIS v2 gesture events. |
334 | - |
335 | - * libutouch-geis/geis_attr.h (GeisAttrDestructor): new type |
336 | - (geis_attr_set_destructor): new function |
337 | - * libutouch-geis/geis_attr.c (geis_attr_set_destructor): implemented it |
338 | - (attr_value): named union for ISO C compatibility |
339 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture): added |
340 | - destructors to groupset and touchset attrs |
341 | - |
342 | -2011-02-22 Stephen M. Webb <stephen.webb@canonical.com> |
343 | - |
344 | - Released version 2.0.1. |
345 | - |
346 | - * configure.ac (AC_INIT): bumped package version to 2.0.1 |
347 | - |
348 | -2011-02-22 Stephen M. Webb <stephen.webb@canonical.com> |
349 | - |
350 | - Used standardized LGPL-v3 license text. |
351 | - |
352 | - * COPYING: refreshed with standardized text. |
353 | - |
354 | -2011-02-22 Stephen M. Webb <stephen.webb@canonical.com> |
355 | - |
356 | - Restored missing GEIS v1 symbols and fixed a segfault in libgrip. |
357 | - |
358 | - * libutouch-geis/geis_v1.c (struct _GeisInstance): added window_filter field |
359 | - (geis_init): initialized window_filter field |
360 | - (_subscribe_device): used window_filter field from instance |
361 | - (geis_configuration_set_value): added missing GEIS v1 function |
362 | - (geis_unsubscribe): added missing GEIS v1 function |
363 | - |
364 | -2011-02-22 Stephen M. Webb <stephen.webb@canonical.com> |
365 | - |
366 | - Release version 2.0.0 |
367 | - |
368 | - * configure.ac (AC_INIT): bumped package version to 2.0.0 |
369 | - * libutouch-geis/Makefile.am (libutouch_geis_la_LDFLAGS): bumped version-info |
370 | - to 3:0:2 (gives .so version 1.2.0) to reflect the addition of a new interface |
371 | - |
372 | -2011-02-21 Stephen M. Webb <stephen.webb@canonical.com> |
373 | - |
374 | - Added support for setting the XCB sysflg through the GEIS v1 interface. |
375 | - |
376 | - * include/geis/geis.h (GEIS_GESTURE_TYPE_SYSTEM): new gesture type |
377 | - * libutouch-geis/geis_subscription.h |
378 | - (geis_subscription_set_flags): new function |
379 | - * libutouch-geis/geis_subscription.c: implemented it |
380 | - * libutouch-geis/geis_v1.c (geis_subscribe): used it |
381 | - |
382 | -2011-02-20 Stephen M. Webb <stephen.webb@canonical.com> |
383 | - |
384 | - Cranked up warning level on testsuite and fixed (most of) the consequent |
385 | - warnings. |
386 | - |
387 | - * testsuite/geis2/check_attr.c: fxied compile-time warnings |
388 | - * testsuite/geis2/check_class.c: same |
389 | - * testsuite/geis2/check_device.c: same |
390 | - * testsuite/geis2/check_event.c: same |
391 | - * testsuite/geis2/check_filter.c: ditto |
392 | - * testsuite/geis2/check_frame.c: same |
393 | - * testsuite/geis2/check_geis2_api.c: same |
394 | - * testsuite/geis2/check_geis_new.c: same |
395 | - * testsuite/geis2/check_general_types.c: same |
396 | - * testsuite/geis2/check_region.c: same |
397 | - * testsuite/libutouch-geis/check_attr.c: same |
398 | - * testsuite/libutouch-geis/check_backend_multiplexor.c: same |
399 | - * testsuite/libutouch-geis/check_class.c: same |
400 | - * testsuite/libutouch-geis/check_device.c: idem |
401 | - * testsuite/libutouch-geis/check_error_reporting.c: same |
402 | - * testsuite/libutouch-geis/check_filter.c: yep |
403 | - * testsuite/libutouch-geis/check_geis2_internals.c: you guessed it |
404 | - * testsuite/libutouch-geis/check_geis_private.c: uh-huh |
405 | - |
406 | -2011-02-19 Stephen M. Webb <stephen.webb@canonical.com> |
407 | - |
408 | - Fixed failed "make distcheck". |
409 | - |
410 | - * libutouch-geis/Makefile.am: added geis_atomic.h |
411 | - * libutouch-geis/server/Makefile.am: added geis_dbus.h |
412 | - |
413 | -2011-02-19 Stephen M. Webb <stephen.webb@canonical.com> |
414 | - |
415 | - Removed old crufty unused source code. |
416 | - |
417 | - * libgeis-dbus: removed directory |
418 | - * libutouch-geis-xcb: removed directory |
419 | - |
420 | -2011-02-17 Stephen M. Webb <stephen.webb@canonical.com> |
421 | - |
422 | - Added proper support for region filters in XCB. |
423 | - |
424 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c |
425 | - (XcbGestureSub): added windows and window_count fields |
426 | - (_translate_device_term_to_xcb): eliminated duplicates |
427 | - (_translate_region_term_to_xcb): new function |
428 | - (_subscribe): used new fields/function |
429 | - * libutouch-geis/geis_v1.c (geis_init): added region filter for window |
430 | - |
431 | -2011-02-17 Stephen M. Webb <stephen.webb@canonical.com> |
432 | - |
433 | - Added a check for the maximum number of device terms. |
434 | - |
435 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c |
436 | - (_translate_device_term_to_xcb): Added MAX_NUM_DEVICES and checked it. |
437 | - |
438 | -2011-02-17 Stephen M. Webb <stephen.webb@canonical.com> |
439 | - |
440 | - Added proper support for continuations and system gestures. |
441 | - |
442 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c |
443 | - (_translate_class_term_to_xcb): fixed min/max logic |
444 | - (_translate_filter_to_xcb): added subscription parameter, |
445 | - called new functions, |
446 | - ORed masks from different filters on same subscription |
447 | - (_subscribe): removed special case for no class filters |
448 | - * libutouch-geis/backend/xcb/grail_gestures.h |
449 | - (geis_xcb_backend_create_gesture_bitmask): removed and replaced with... |
450 | - (geis_xcb_backend_gesture_bitmask_filter_class): new function |
451 | - (geis_xcb_backend_gesture_bitmask_filter_touches): new function |
452 | - (geis_xcb_backend_gesture_bitmask_init): new function |
453 | - * libutouch-geis/backend/xcb/grail_gestures.c: implemented the above new |
454 | - * functions |
455 | - * libutouch-geis/geis_subscription.h (geis_subscription_flags): new function |
456 | - * libutouch-geis/geis_subscription.c: implemented it |
457 | - * testsuite/geistest/geistest.c: switched from 'all' to a set of gestures |
458 | - |
459 | -2011-02-17 Stephen M. Webb <stephen.webb@canonical.com> |
460 | - |
461 | - Added the ability to fetch a filter from a subscription and clone it. |
462 | - |
463 | - * include/geis/geis.h (geis_filter_clone): new function |
464 | - (geis_subscription_filter_by_name): new function |
465 | - * libutouch-geis/geis_filter.h (geis_filter_bag_filter_by_name): new function |
466 | - * libutouch-geis/geis_filter.c (geis_filter_bag_filter_by_name): implemented |
467 | - (_filter_new_empty): new function |
468 | - (geis_filter_new): used it |
469 | - (geis_filter_clone): implemented it |
470 | - (geis_filter_delete): unreffed geis |
471 | - * libutouch-geis/geis_filter_term.h (geis_filter_term_bag_clone): new function |
472 | - * libutouch-geis/geis_filter_term.c (geis_filter_term_bag_clone): implemented |
473 | - * libutouch-geis/geis_subscription.c (geis_subscription_filter_by_name): impl |
474 | - * libutouch-geis/geis_v1.c (_subscribe): used new functions |
475 | - * libutouch-geis/libutouch-geis.ver (geis_filter_clone): new exported symbol |
476 | - (geis_subscription_filter_by_name): new exported symbol |
477 | - * testsuite/geis2/Makefile.am: added -Wall -Wextra CFLAGS |
478 | - * testsuite/geis2/check_filter.c: new test case, silenced warnings |
479 | - * testsuite/geis2/check_subscription.c: new test case, silenced warnings |
480 | - * testsuite/libutouch-geis/Makefile.am: added -Wall -Wextra CFLAGS |
481 | - |
482 | -2011-02-17 Stephen M. Webb <stephen.webb@canonical.com> |
483 | - |
484 | - Reference counting fixes: added geis_atomic functions, added reference |
485 | - counting semantics to Geis and GeisFilterTerm modules. |
486 | - |
487 | - * libutouch-geis/geis_atomic.h: new file |
488 | - * libutouch-geis/geis.c (_geis_destroy): new function |
489 | - (geis_ref): new function |
490 | - (geis_unref): new function |
491 | - (geis_delete): used new functions |
492 | - * libutouch-geis/geis_class.c (geis_gesture_class_ref): used new atomics |
493 | - (geis_gesture_class_unref): same |
494 | - * libutouch-geis/geis_device.c (geis_device_ref): used new atomics |
495 | - (geis_device_unref): same |
496 | - * libutouch-geis/geis_filter.c (geis_filter_ref): used new atomics |
497 | - (geis_filter_unref): same |
498 | - (geis_filter_bag_insert): moved ref call to after all possible errors |
499 | - * libutouch-geis/geis_filter.h (geis_filter_ref): changed return type |
500 | - * libutouch-geis/geis_filter_term.c (struct _GeisFilterTerm): added refcount |
501 | - (geis_filter_term_ref): new function |
502 | - (geis_filter_term_unref): new function |
503 | - (geis_filter_term_new): called geis_filter_term_ref |
504 | - (geis_filter_term_delete): made static and renamed _filter_term_destroy |
505 | - * libutouch-geis/geis_filter_term.h: prototyped new functions |
506 | - * libutouch-geis/geis_private.h: prototyped new functions |
507 | - * libutouch-geis/geis_region.c: used new atomics |
508 | - * libutouch-geis/geis_subscription.c (_subscription_ref): new static function |
509 | - (_subscription_unref): new static function |
510 | - (geis_subscription_bag_empty): new function |
511 | - (geis_subscription_bag_new): used new function |
512 | - (geis_subscription_bag_delete): used new function |
513 | - (geis_subscription_bag_remov): used new function |
514 | - * libutouch-geis/geis_subscription.h: prototyped new functions |
515 | - |
516 | - 2011-02-11 Stephen M. Webb <stephen.webb@canonical.com> |
517 | - |
518 | - Implemented class and device filters properly. |
519 | - |
520 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (struct _XcbGestureSub): |
521 | - added new fields |
522 | - (_translate_class_filter_to_xcb): removed function |
523 | - (_translate_device_term_to_xcb): new function |
524 | - (_translate_class_term_to_xcb): new function |
525 | - (_translate_filter_to_xcb): new function |
526 | - (_subscribe): replaced old functions with new, restructired filter loop |
527 | - * libutouch-geis/backend/xcb/grail_gestures.c: silenced compiler warnings |
528 | - * libutouch-geis/geis_filter.c: replace by_facility functions |
529 | - * libutouch-geis/geis_filter.h: same |
530 | - * libutouch-geis/geis_filter_term.c: same |
531 | - * libutouch-geis/geis_filter_term.h: same |
532 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c: |
533 | - replaced filter by_facility calls. |
534 | - |
535 | - 2011-02-09 Stephen M. Webb <stephen.webb@canonical.com> |
536 | - |
537 | - Fixed a memory allocation problem during error reporting. |
538 | - |
539 | - * libutouch-geis/geis_error.c (geis_error_stack_push): fixed realloc size |
540 | - |
541 | - 2011-02-05 Stephen M. Webb <stephen.webb@canonical.com> |
542 | - |
543 | - Fixed a memory leak in the XCB back end. |
544 | - |
545 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_xcb_dispatch): freed XCB |
546 | - event |
547 | - |
548 | - 2011-02-04 Stephen M. Webb <stephen.webb@canonical.com> |
549 | - |
550 | - Reimplement GEIS v1.0 on top of GEIS v2.0, Part III (touch attrs). |
551 | - |
552 | - * include/geis/geis.h (GEIS_TOUCH_ATTRIBUTE_ID): new symbol |
553 | - (GEIS_TOUCH_ATTRIBUTE_X): new symbol |
554 | - (GEIS_TOUCH_ATTRIBUTE_Y): new symbol |
555 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture): |
556 | - added touch mapping |
557 | - * libutouch-geis/geis_v1.c (_map_frame_to_attrs): mapped touches into |
558 | - gesture attrs |
559 | - |
560 | - 2011-02-02 Stephen M. Webb <stephen.webb@canonical.com> |
561 | - |
562 | - Reimplement GEIS v1.0 on top of GEIS v2.0, Part II (gesture attrs). |
563 | - |
564 | - * libutouch-geis/backend/xcb/grail_gestures.h |
565 | - (geis_xcb_backend_map_grail_attrs): new function |
566 | - * libutouch-geis/backend/xcb/grail_gestures.c: implemented it |
567 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture): |
568 | - called it |
569 | - * libutouch-geis/geis_attr.c: fixed a memory leak |
570 | - * libutouch-geis/geis_v1.c (_map_frame_to_attrs): new function |
571 | - (_v1_event_callback): called it |
572 | - |
573 | - 2011-01-31 Stephen M. Webb <stephen.webb@canonical.com> |
574 | - |
575 | - Reimplement GEIS v1.0 on top of GEIS v2.0, Part I (basic gesture events). |
576 | - |
577 | - * libutouch-geis/geis_v1.c: new file |
578 | - * configure.ac: removed refs to libutouch-geis-xcb and testsuite/geis1 |
579 | - * libutouch-geis/Makefile.am: removed refs to libutouch-geis-xcb |
580 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture): |
581 | - added basic group, frame, and touch attrs to gesture events |
582 | - * testsuite/Makefile.am: removed refs to testsuite/geis1 |
583 | - |
584 | - 2011-01-28 Stephen M. Webb <stephen.webb@canonical.com> |
585 | - |
586 | - Implemented basic gesture subscriptions through the XCB back end. |
587 | - |
588 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (struct _XcbGestureSub): new |
589 | - (_dispatch_gesture): new function |
590 | - (_xcb_dispatch): called it |
591 | - (_subscribe): initialized XcbGestureSub |
592 | - (_unsubscribe): destroyed XcbGestureSub |
593 | - * libutouch-geis/backend/xcb/grail_gestures.h |
594 | - (geis_xcb_backend_primitive_class): new function |
595 | - (geis_xcb_backend_touch_count): implemented new functions |
596 | - * libutouch-geis/geis_subscription.h (geis_subscription_pdata): new function |
597 | - (geis_subscription_set_pdata): new function |
598 | - * libutouch-geis/geis_subscription.c: implemented new functions |
599 | - |
600 | - 2011-01-27 Stephen M. Webb <stephen.webb@canonical.com> |
601 | - |
602 | - Added GEIS v2.0 gesture module, part V (refined frame-touch interaction) |
603 | - |
604 | - * include/geis/geis.h (GeisTouchId) new type |
605 | - (geis_touchset_touch_by_id(): new function |
606 | - (geis_frame_touchid_count(): renamed from geis_frame_touch_count |
607 | - (geis_frame_touchid): renamed from geis_frame_touch |
608 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c |
609 | - (_create_gesture_events): called geis_frame_add_touchid |
610 | - * libutouch-geis/geis_frame.c (struct _GeisFrame): added touch fields |
611 | - (geis_frame_new): initialized touch fields |
612 | - (geis_frame_delete): destroyed touch fields |
613 | - * libutouch-geis/geis_frame.h (geis_frame_add_touchid): new fucntion |
614 | - * libutouch-geis/geis_touch.c: implemented new function |
615 | - * libutouch-geis/geis_touch.h (geis_touch_new): changed parameter type |
616 | - * libutouch-geis/libutouch-geis.ver: added/renamed symbols |
617 | - * testsuite/geis2/check_frame.c: expanded test case to include frame-touch |
618 | - |
619 | - 2011-01-27 Stephen M. Webb <stephen.webb@canonical.com> |
620 | - |
621 | - Added GEIS v2.0 gesture module, part IV (frame implementation) |
622 | - |
623 | - * libutouch-geis/geis_frame.c: new file |
624 | - * libutouch-geis/geis_frame.h: new file |
625 | - * libutouch-geis/Makefile.am: added new files |
626 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c |
627 | - (_create_gesture_events): added frame to injected event |
628 | - * libutouch-geis/geis_group.c (struct _GeisGroup): added frameset field |
629 | - (geis_groupset_delete): cleaned out container |
630 | - (geis_group_new): initialized frameset member |
631 | - (geis_group_delete): destroyed frameset member |
632 | - (geis_group_insert_frame): added function implementation |
633 | - (geis_group_frame_count): added function implementation |
634 | - (geis_group_frame): added function implementation |
635 | - (geis_group_reject): added function stub |
636 | - * libutouch-geis/geis_group.h (geis_group_insert_frame): new function |
637 | - * libutouch-geis/geis_touch.c (geis_touchset_delete): cleaned out container |
638 | - (geis_touch_new): initialized attr_bag member |
639 | - (geis_touch_delete): destroyed attr_bag member |
640 | - * testsuite/geis2/check_frame.c: added new checks for frames |
641 | - |
642 | - 2011-01-27 Stephen M. Webb <stephen.webb@canonical.com> |
643 | - |
644 | - Added missing callback registration function. |
645 | - |
646 | - * libutouch-geis/geis.c (geis_register_device_callback): implemented function |
647 | - |
648 | - 2011-01-27 Stephen M. Webb <stephen.webb@canonical.com> |
649 | - |
650 | - Added GEIS v2.0 gesture module, part III (touch/touchset implementation) |
651 | - |
652 | - * libutouch-geis/geis_touch.c: new file |
653 | - * libutouch-geis/geis_touch.h: new file |
654 | - * libutouch-geis/Makefile.am: added new files |
655 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c |
656 | - (_create_gesture_events): added touch set to injected event |
657 | - * testsuite/geis2/check_frame.c: added test case |
658 | - |
659 | - 2011-01-26 Stephen M. Webb <stephen.webb@canonical.com> |
660 | - |
661 | - Added GEIS v2.0 gesture module, part II (group/groupset implementation) |
662 | - |
663 | - * libutouch-geis/geis_group.c: new file |
664 | - * libutouch-geis/geis_group.h: new file |
665 | - * libutouch-geis/Makefile.am: added new files |
666 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c |
667 | - (_create_gesture_events): new function |
668 | - (geis_backend_new_test_fixture): called it |
669 | - * testsuite/geis2/check_class.c(receive_events): allowed for multiple events |
670 | - * testsuite/geis2/check_device.c(receive_events): allowed for multiple events |
671 | - * testsuite/geis2/check_frame.c (receive_events): new test case |
672 | - * testsuite/geis2/check_subscription.c (receive_events): fixed leak |
673 | - |
674 | - 2011-01-25 Stephen M. Webb <stephen.webb@canonical.com> |
675 | - |
676 | - Added GEIS v2.0 gesture module, part I (public API). |
677 | - |
678 | - * testsuite/geis2/check_frame.c: new test suite |
679 | - * include/geis/geis.h (GeisGroup): new type |
680 | - (GeisGroupSet): new type |
681 | - (GeisTouch): new type |
682 | - (GeisTouchSet): new type |
683 | - (GeisFrame): new type |
684 | - (GEIS_EVENT_ATTRIBUTE_GROUPSET): new symbol |
685 | - (GEIS_EVENT_ATTRIBUTE_TOUCHSET): new symbol |
686 | - (geis_groupset_group_count): new function |
687 | - (geis_groupset_group): new function |
688 | - (geis_group_id): new function |
689 | - (geis_group_frame_count): new function |
690 | - (geis_group_frame): new function |
691 | - (geis_group_reject): new function |
692 | - (geis_touchset_touch_count): new function |
693 | - (geis_touchset_touch): new function |
694 | - (geis_touch_id): new function |
695 | - (geis_touch_attr_count): new function |
696 | - (geis_touch_attr): new function |
697 | - (geis_touch_attr_by_name): new function |
698 | - (geis_frame_id): new function |
699 | - (geis_frame_is_class): new function |
700 | - (geis_frame_attr_count): new function |
701 | - (geis_frame_attr): new function |
702 | - (geis_frame_attr_by_name): new function |
703 | - (geis_frame_matrix): new function |
704 | - (geis_frame_touch_count): new function |
705 | - (geis_frame_touch): new function |
706 | - (geis_gesture_reject): new function |
707 | - * libutouch-geis/libutouch-geis.ver: added new symbols |
708 | - * testsuite/geis2/Makefile.am: added new test suite file |
709 | - * testsuite/geis2/check_geis2_api.c: referenced new test suite |
710 | - |
711 | - 2011-01-10 Stephen M. Webb <stephen.webb@canonical.com> |
712 | - |
713 | - Added gesture class events to XCB back end. |
714 | - |
715 | - * libutouch-geis/backend/xcb/grail_gestures.c: new file |
716 | - * libutouch-geis/backend/xcb/grail_gestures.h: new file |
717 | - * libutouch-geis/backend/xcb/Makefile.am: added new files |
718 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c (_report_xcb_devices): new |
719 | - (_report_grail_glasses): new |
720 | - (geis_xcb_backend_new: called new functions |
721 | - |
722 | -2011-01-07 Stephen M. Webb <stephen.webb@canonical.com> |
723 | - |
724 | - Added XCB back end convenience library. |
725 | - |
726 | - * libutouch-geis/backend/xcb/geis_xcb_backend.c: new file |
727 | - * libutouch-geis/backend/xcb/geis_xcb_backend.h: new file |
728 | - * libutouch-geis/backend/xcb/Makefile.am: added rules for new library |
729 | - * include/geis/geis.h (GEIS_INIT_UTOUCH_XCB): new init arg symbol |
730 | - * libutouch-geis/geis.c: used it |
731 | - * libutouch-geis/Makefile.am: added XCB protocol library |
732 | - * libutouch-geis-xcb/Makefile.am: removed XCB protocol library |
733 | - * testsuite/libutouch-geis/Makefile.am: added XCB runtime libraries |
734 | - |
735 | -2011-01-07 Stephen M. Webb <stephen.webb@canonical.com> |
736 | - |
737 | - Refactored XCB protocol library into a separate convenience lib. |
738 | - |
739 | - * libs/Makefile.am: new directory |
740 | - * libs/xcb/Makefile.am: new subproject |
741 | - * libs/xcb/c-client.xsl: renamed from libutouch-geis-xcb/c-client.xsl |
742 | - * libs/xcb/c_client.py: renamed from libutouch-geis-xcb/c_client.py |
743 | - * libs/xcb/xcb_gesture.xml.in: was libutouch-geis-xcb/xcb_gesture.xml.in |
744 | - * Makefile.am: added new subproject |
745 | - * configure.ac: added new subproject |
746 | - * libutouch-geis-xcb/Makefile.am: moved XCB protocol to libs/xcb subproject |
747 | - |
748 | -2011-01-07 Stephen M. Webb <stephen.webb@canonical.com> |
749 | - |
750 | - Added XCB back end subproject to libutouch-geis. |
751 | - |
752 | - * libutouch-geis/backend/xcb: new subproject |
753 | - * libutouch-geis/backend/xcb/Makefile.am: new file. |
754 | - * Makefile.am: updated copyright |
755 | - * configure.ac: added new subproject |
756 | - * libutouch-geis/backend/Makefile.am: added new subproject |
757 | - |
758 | -2011-01-06 Stephen M. Webb <stephen.webb@canonical.com> |
759 | - |
760 | - Added Geis v2.0 gesture class implementation (part 2, utouch internals) |
761 | - |
762 | - * testsuite/libutouch-geis/check_class.c: new test suite |
763 | - * include/geis/geis.h: fixed GEIS_FILTER_CLASS |
764 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c |
765 | - (_create_test_classes): new function |
766 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.h |
767 | - (geis_backend_new_test_fixture): added track_classes parameter |
768 | - * libutouch-geis/geis.c (struct _Geis): added new fields |
769 | - (_class_event_handler): implemented event handling |
770 | - (geis_new_empty): initialized new fields |
771 | - (_set_valist): handled GEIS_INIT_TRACK_GESTURE_CLASSES |
772 | - (geis_get_class_attr_type): new function |
773 | - * libutouch-geis/geis_class.h (GeisGestureClassBag): new data structure |
774 | - (geis_gesture_class_bag_new): new function |
775 | - (geis_gesture_class_bag_delete): new function |
776 | - (geis_gesture_class_bag_count): new function |
777 | - (geis_gesture_class_bag_gesture_class): new function |
778 | - (geis_gesture_class_bag_insert): new function |
779 | - (geis_gesture_class_bag_remove): new function |
780 | - * libutouch-geis/geis_class.c: implemented above new functions |
781 | - * libutouch-geis/geis_filter.c (_facility_is_valid): fixed facility name |
782 | - * libutouch-geis/geis_private.h (geis_get_class_attr_type): new function |
783 | - * testsuite/geis2/check_filter.c: fixed facility name |
784 | - * testsuite/geis2/check_subscription.c: added check for class subscription |
785 | - * testsuite/libutouch-geis/Makefile.am: added new test suite file |
786 | - * testsuite/libutouch-geis/check_geis2_internals.c: called new test suite |
787 | - |
788 | -2011-01-06 Stephen M. Webb <stephen.webb@canonical.com> |
789 | - |
790 | - Added Geis v2.0 gesture class implementation (part 1, basic API) |
791 | - |
792 | - * libutouch-geis/geis_class.c: new file |
793 | - * libutouch-geis/geis_class.h: new file |
794 | - * libutouch-geis/Makefile.am: added new source files |
795 | - * libutouch-geis/geis.c (struct _Geis): added new class callback fields |
796 | - (_class_event_handler): new function |
797 | - (_input_event_handler): added case for gesture class events |
798 | - (geis_register_class_callback): implemented function |
799 | - * include/geis/geis.h (geis_gesture_class_ref): adjusted return type |
800 | - (geis_gesture_class_unref): same |
801 | - |
802 | -2011-01-06 Stephen M. Webb <stephen.webb@canonical.com> |
803 | - |
804 | - Added GEIS v2.0 gesture class API |
805 | - |
806 | - * testsuite/geis2/check_class.c: new test suite |
807 | - * include/geis/geis.h (GEIS_INIT_TRACK_GESTURE_CLASSES): new init ath |
808 | - (GEIS_EVENT_CLASS_AVAILABLE): new event type |
809 | - (GEIS_EVENT_CLASS_CHANGED): new event type |
810 | - (GEIS_EVENT_CLASS_UNAVAILABLE): new event type |
811 | - (GeisGestureClass): new opaque type |
812 | - (GEIS_CLASS_ATTRIBUTE_NAME): new attribute name |
813 | - (GEIS_CLASS_ATTRIBUTE_ID): new attribute name |
814 | - (GEIS_EVENT_ATTRIBUTE_CLASS): new attribute name |
815 | - (geis_register_class_callback): new function |
816 | - (geis_gesture_class_ref): new function |
817 | - (geis_gesture_class_unref): new function |
818 | - (geis_gesture_class_name): new function |
819 | - (geis_gesture_class_id): new function |
820 | - (geis_gesture_class_attr_count): new function |
821 | - (geis_gesture_class_attr): new function |
822 | - * libutouch-geis/libutouch-geis.ver: added new exported symbols |
823 | - * testsuite/geis2/Makefile.am: build new test suite |
824 | - * testsuite/geis2/check_event.c: changed event type names |
825 | - * testsuite/geis2/check_geis2_api.c: used new test suite |
826 | - * testsuite/geis2/check_geis_new.c: changed init constant names |
827 | - |
828 | -2011-01-05 Stephen M. Webb <stephen.webb@canonical.com> |
829 | - |
830 | - Minor tweaks. |
831 | - |
832 | - * include/geis/geis.h: fixed typos in comments |
833 | - (GEIS_DEVICE_ATTRIBUTE_NAME): new constant |
834 | - * libutouch-geis/geis_device.c: used new constant instead of hard-coded string |
835 | - * testsuite/geis2/check_subscription.c: same |
836 | - |
837 | -2011-01-05 Stephen M. Webb <stephen.webb@canonical.com> |
838 | - |
839 | - Added GEIS v2.0 filter implementation (part 4, device subscription) |
840 | - |
841 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c |
842 | - (_subscription): add debug output to the test fixture |
843 | - * libutouch-geis/geis_device.c: made name an attr for filtering on |
844 | - * libutouch-geis/geis_filter.h |
845 | - (geis_filter_term_by_facility_count): new function |
846 | - (geis_filter_term_by_facility): new function |
847 | - * libutouch-geis/geis_filter.c: implemented the above new functions |
848 | - * libutouch-geis/geis_subscription.h |
849 | - (geis_subscription_filter_count): new function |
850 | - (geis_subscription_filter): new function |
851 | - * libutouch-geis/geis_subscription.c: implemented the above new functions |
852 | - * testsuite/geis2/check_subscription.c (device_filter): new test case |
853 | - |
854 | -2011-01-05 Stephen M. Webb <stephen.webb@canonical.com> |
855 | - |
856 | - Added group test for back end device creation. |
857 | - |
858 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c |
859 | - (_create_test_devices): new function |
860 | - (geis_backend_new_test_fixture): used it |
861 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.h |
862 | - (geis_backend_new_test_fixture): added track_devices parameter |
863 | - * libutouch-geis/geis.c (_set_valist): refactored to propagate init args |
864 | - * testsuite/geis2/check_device.c: new test case |
865 | - |
866 | -2011-01-05 Stephen M. Webb <stephen.webb@canonical.com> |
867 | - |
868 | - Marked missing geis_event_* symbols as exported. |
869 | - |
870 | - * libutouch-geis/libutouch-geis.ver (geis_event_attr): exported |
871 | - (geis_event_attr_by_name): exported |
872 | - (geis_event_attr_count): exported |
873 | - (geis_event_delete): exported |
874 | - (geis_event_type): exported |
875 | - |
876 | -2011-01-05 Stephen M. Webb <stephen.webb@canonical.com> |
877 | - |
878 | - Moved back end test fixture into a subproject. |
879 | - |
880 | - * libutouch-geis/backend/test_fixture: new subproject |
881 | - * libutouch-geis/backend/test_fixture/Makefile.am: new file |
882 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.c: renamed |
883 | - from libutouch-geis/geis_backend_test_fixture.c |
884 | - * libutouch-geis/backend/test_fixture/geis_backend_test_fixture.h: renamed |
885 | - from libutouch-geis/geis_backend_test_fixture.h |
886 | - * configure.ac (AC_OUTPUT): added libutouch-geis/backend/test_fixture/Makefile |
887 | - * libutouch-geis/Makefile.am: linked in new subproject |
888 | - * libutouch-geis/backend/Makefile.am: added new subproject |
889 | - * libutouch-geis/geis.c: changed header qualification |
890 | - |
891 | -2011-01-05 Stephen M. Webb <stephen.webb@canonical.com> |
892 | - |
893 | - Added device cacheing. |
894 | - |
895 | - * libutouch-geis/geis_private.h (geis_get_device_attr_type): new function |
896 | - * libutouch-geis/geis.c (struct _Geis): added devices field |
897 | - (_device_event_handler): new function |
898 | - (_input_event_handler): dispatched BE device events |
899 | - (geis_new_empty): initialized devices field |
900 | - (geis_new_delete): destroyed devices field |
901 | - * libutouch-geis/geis_filter.c (_get_attr_type_for_facility): implemented for |
902 | - the device facility |
903 | - |
904 | -2011-01-05 Stephen M. Webb <stephen.webb@canonical.com> |
905 | - |
906 | - Fixed failure-mode return value from geis_filter_term_bag_new |
907 | - |
908 | - * libutouch-geis/geis_filter_term.c (geis_filter_term_bag_new): returned |
909 | - NULL on failure |
910 | - |
911 | -2011-01-05 Stephen M. Webb <stephen.webb@canonical.com> |
912 | - |
913 | - Added missing geis_attr_value_to_pointer. |
914 | - |
915 | - * libutouch-geis/geis_attr.c (geis_attr_value_to_pointer): new function |
916 | - (geis_attr_value_to_string): added case to handle GEIS_ATTR_TYPE_POINTER |
917 | - |
918 | -2011-01-03 Stephen M. Webb <stephen.webb@canonical.com> |
919 | - |
920 | - Added GEIS v2.0 filter implementation (part 3, filter terms) |
921 | - |
922 | - * libutouch-geis/geis_filter_term.c: new file |
923 | - * libutouch-geis/geis_filter_term.h: new file |
924 | - * include/geis/geis.h (GeisFilterOperation): fixed typo |
925 | - * libutouch-geis/Makefile.am: added new files |
926 | - * libutouch-geis/geis_filter.c (geis_filter_add_term): implemented function |
927 | - (_facility_is_valid): new function |
928 | - (_operation_is_valid): new function |
929 | - (_get_attr_for_facility): new function |
930 | - |
931 | -2011-01-01 Stephen M. Webb <stephen.webb@canonical.com> |
932 | - |
933 | - Added GEIS v2.0 filter implementation (part 2) |
934 | - |
935 | - * libutouch-geis/geis_filter.c: fixed refcounting on bag insertion |
936 | - * libutouch-geis/geis_subscription.c |
937 | - (geis_subscription_add_filter): implemented stubbed-out function |
938 | - (geis_subscription_remove_filter): implemented stubbed-out function |
939 | - * testsuite/geis2/check_subscription.c: new test case |
940 | - |
941 | -2010-12-20 Stephen M. Webb <stephen.webb@canonical.com> |
942 | - |
943 | - Added GEIS v2.0 filter implementation (part 1) |
944 | - |
945 | - * testsuite/libutouch-geis/check_filter.c: new test suite |
946 | - * libutouch-geis/geis_filter.h (GeisFilterBag): new data structure |
947 | - (geis_filter_bag_new): new function |
948 | - (geis_filter_bag_delete): new function |
949 | - (geis_filter_bag_count): new function |
950 | - (geis_filter_bag_filter): new function |
951 | - (geis_filter_bag_insert): new function |
952 | - (geis_filter_bag_remove): new function |
953 | - (geis_filter_ref): new function |
954 | - (geis_filter_unref): new function |
955 | - * libutouch-geis/geis_filter.c: implemented new functions |
956 | - * testsuite/libutouch-geis/Makefile.am: added new test suite |
957 | - * testsuite/libutouch-geis/check_geis2_internals.c: added new test suite |
958 | - |
959 | -2010-12-29 Stephen M. Webb <stephen.webb@canonical.com> |
960 | - |
961 | - Added GEIS v2.0 filter API |
962 | - |
963 | - * libutouch-geis/geis_filter.c: new file |
964 | - * libutouch-geis/geis_filter.h: new file |
965 | - * testsuite/geis2/check_filter.c: new test suite |
966 | - * include/geis/geis.h (GeisFilter): new type |
967 | - (GeisFilterFacility): new enumeration |
968 | - (GeisFilterOperation): new enumeration |
969 | - (gei_filter_new): new function |
970 | - (geis_filter_delete): new function |
971 | - (geis_filter_name): new function |
972 | - (geis_filter_add_term): new function |
973 | - * libutouch-geis/Makefile.am: added new files |
974 | - * libutouch-geis/libutouch-geis.ver: added new symbols |
975 | - * testsuite/geis2/Makefile.am: added new test suite |
976 | - * testsuite/geis2/check_geis2_api.c: added new test suite |
977 | - |
978 | -2010-12-29 Stephen M. Webb <stephen.webb@canonical.com> |
979 | - |
980 | - Added backend subdirectory to libutouch-geis. |
981 | - |
982 | - * libutouch-geis/backend/Makefile.am: new file |
983 | - * configure.ac (AC_OUTPUT): added libutouch-geis/backend/Makefile |
984 | - * libutouch-geis/Makefile.am (SUBDORS): added backend |
985 | - |
986 | -2010-12-29 Stephen M. Webb <stephen.webb@canonical.com> |
987 | - |
988 | - Moved geis/geisimpl.h into GEIS v2.0 sources. |
989 | - |
990 | - * libutouch-geis/geis/geisimple.h: renamed from libutouch-geis-xcb/geis |
991 | - * libutouch-geis-xcb/Makefile.am: changed header search path |
992 | - * libutouch-geis/Makefile.am: changed header search path |
993 | - * testsuite/geis1/Makefile.am: changed header search path |
994 | - * testsuite/geis2/Makefile.am: changed header search path |
995 | - * testsuite/geistest/Makefile.am: changed header search path |
996 | - * testsuite/libutouch-geis/Makefile.am: changed header search path |
997 | - |
998 | -2010-12-20 Stephen M. Webb <stephen.webb@canonical.com> |
999 | - |
1000 | - Added GEIS v2.0 input device implementation. |
1001 | - |
1002 | - * libutouch-geis/geis_device.h (GeisDeviceBag): new type |
1003 | - (geis_device_bag_new): new function |
1004 | - (geis_device_bag_delete): new function |
1005 | - (geis_device_bag_count): new function |
1006 | - (geis_device_bag_device): new function |
1007 | - (geis_device_bag_insert): new function |
1008 | - (geis_device_bag_remove): new function |
1009 | - * libutouch-geis/geis_device.c: implemented new functions |
1010 | - * testsuite/libutouch-geis/check_device.c: new test suite |
1011 | - * testsuite/libutouch-geis/Makefile.am: added new test suite |
1012 | - * testsuite/libutouch-geis/check_geis2_internals.c: added new test suite |
1013 | - |
1014 | -2010-12-20 Stephen M. Webb <stephen.webb@canonical.com> |
1015 | - |
1016 | - Added GEIS v2.0 input device API |
1017 | - |
1018 | - * libutouch-geis/geis_device.c: new file |
1019 | - * libutouch-geis/geis_device.h: new file |
1020 | - * testsuite/geis2/check_device.c: new test suite |
1021 | - * include/geis/geis.h (GeisDevice): new type |
1022 | - (geis_register_device_callback): new function |
1023 | - (geis_device_ref): new function |
1024 | - (geis_device_unref): new function |
1025 | - (geis_device_name): new function |
1026 | - (geis_device_id): new function |
1027 | - (geis_device_attr_count): new function |
1028 | - (geis_device_attr): new function |
1029 | - * libutouch-geis/Makefile.am: added new files |
1030 | - * libutouch-geis/libutouch-geis.ver: added new API symbols |
1031 | - * testsuite/geis2/Makefile.am: added new test suite |
1032 | - * testsuite/geis2/check_geis2_api.c: added new test suite |
1033 | - |
1034 | -2010-12-20 Stephen M. Webb <stephen.webb@canonical.com> |
1035 | - |
1036 | - Updates to match new GEIS v2.0 spec release of 2010.12.20. |
1037 | - - added a pointer type to the GEIS attr module |
1038 | - - added additional required GEIS initialization arguments |
1039 | - - event type enumarant name changes |
1040 | - |
1041 | - * testsuite/geis2/check_attr.c: new test suite |
1042 | - * testsuite/geis2/check_event.c: new test suite |
1043 | - * include/geis/geis.h (GEIS_INIT_TRACK_DEVICES): new init arg |
1044 | - (GEIS_INIT_TRACK_GESTURE_TYPES): new init arg |
1045 | - (GeisAttrType): added GEIS_ATTR_TYPE_POINTER enumerant |
1046 | - (geis_attr_value_to_pointer): new function |
1047 | - (GeisEventType): added new enumerants |
1048 | - * libutouch-geis-xcb/geis/geisimpl.h: added GeisPointer type |
1049 | - * libutouch-geis/Makefile.am: added libutouch-geis-xcb to header search path |
1050 | - * libutouch-geis/libutouch-geis.ver (geis_attr_value_to_pointer): new symbol |
1051 | - * testsuite/geis2/Makefile.am: added new test suites |
1052 | - * testsuite/geis2/check_geis2_api.c: added new test suites |
1053 | - * testsuite/geis2/check_geis_new.c: added new test case for init args |
1054 | - * testsuite/geis2/check_general_types.c: added new test case fo GeisPointer |
1055 | - * testsuite/geistest/Makefile.am: added libutouch-geis-xcb to header search path |
1056 | - * testsuite/libutouch-geis/Makefile.am: same |
1057 | - * testsuite/libutouch-geis/check_event_queue.c: changed name of event types |
1058 | - * testsuite/libutouch-geis/check_geis_private.c: changed name of event types |
1059 | - |
1060 | -2010-12-15 Stephen M. Webb <stephen.webb@canonical.com> |
1061 | - |
1062 | - Added GEIS v2.0 region module. |
1063 | - |
1064 | - * libutouch-geis/geis_region.c: new file |
1065 | - * libutouch-geis/geis_region.h: new file |
1066 | - * testsuite/geis2/check_region.c: new test suite |
1067 | - * testsuite/libutouch-geis/check_region.c: new test suite |
1068 | - * include/geis/geis.h (GeisRegion): new typedef |
1069 | - (GEIS_REGION_X11_ROOT): new region initialization constant |
1070 | - (GEIS_REGION_X11_WINDOWID): new region initialization constant |
1071 | - (geis_region_new): new function |
1072 | - (geis_region_delete): new function |
1073 | - (geis_region_name): new function |
1074 | - * libutouch-geis/Makefile.am: added new files |
1075 | - * libutouch-geis/libutouch-geis.ver: added new symbols |
1076 | - * testsuite/geis2/Makefile.am: added new test suite files |
1077 | - * testsuite/geis2/check_geis2_api.c: added new test suite |
1078 | - * testsuite/libutouch-geis/Makefile.am: added new test suite files |
1079 | - * testsuite/libutouch-geis/check_geis2_internals.c: added new test suite |
1080 | - |
1081 | -2010-12-12 Stephen M. Webb <stephen.webb@canonical.com> |
1082 | - |
1083 | - Fixed some container expansion errors. |
1084 | - |
1085 | - * libutouch-geis/geis_attr.c (geis_attr_bag_insert): fixed realloc size |
1086 | - * libutouch-geis/geis_subscription.c (geis_subscription_bag_insert): |
1087 | - fixed realloc size, cleared newly realloc'd memory |
1088 | - * testsuite/libutouch-geis/check_attr.c (expansion): new check |
1089 | - * testsuite/libutouch-geis/check_subscription.c (expansion): new check |
1090 | - |
1091 | -2010-12-12 Stephen M. Webb <stephen.webb@canonical.com> |
1092 | - |
1093 | - Added GEIS v2.0 subscription activation calls. |
1094 | - |
1095 | - * include/geis/geis.h (geis_subscription_activate): new function |
1096 | - (geis_subscription_deactivate): new function |
1097 | - * libutouch-geis/geis_subscription.c: implemented above new functions |
1098 | - * libutouch-geis/geis_backend.h (geis_backend_subscribe) new function |
1099 | - (geis_backend_unsubscribe): new function |
1100 | - * libutouch-geis/geis_backend.c: implemented above new functions |
1101 | - * libutouch-geis/geis_backend_protected.h (GeisBackendVtable): added new |
1102 | - subscribe and unsubscribe function pointers |
1103 | - * libutouch-geis/geis_backend_test_fixture.c (_subscribe): new vfunction |
1104 | - (_unsubscribe): new vfunction |
1105 | - * libutouch-geis/geis_private.h (geis_activate_subscription): new function |
1106 | - (geis_deactivate_subscription): new function |
1107 | - * libutouch-geis/geis.c: implemented above new functions |
1108 | - * libutouch-geis/geis_subscription.h: fixed a typo in a prototype |
1109 | - * libutouch-geis/libutouch-geis.ver: added new GEIS v2.0 symbols |
1110 | - * testsuite/geis2/check_subscription.c: new test cases |
1111 | - |
1112 | -2010-12-12 Stephen M. Webb <stephen.webb@canonical.com> |
1113 | - |
1114 | - Added forwarding functions so back ends can multiplex file descriptors through |
1115 | - the API. |
1116 | - |
1117 | - * libutouch-geis/geis_private.h (geis_multiplex_fd): new function |
1118 | - (geis_demultiplex_fd): new function |
1119 | - * libutouch-geis/geis.c: implemented above new functions |
1120 | - * testsuite/libutouch-geis/check_geis_private.c: |
1121 | - renamed from check_backend_event_posting.c |
1122 | - (multiplex_fd): new test case |
1123 | - * testsuite/libutouch-geis/Makefile.am: renamed above file |
1124 | - * testsuite/libutouch-geis/check_backend_multiplexor.c: removed debug message |
1125 | - silenced build warnings |
1126 | - |
1127 | -2010-12-08 Stephen M. Webb <stephen.webb@canonical.com> |
1128 | - |
1129 | - Refactored event queue style. |
1130 | - |
1131 | - * libutouch-geis/geis_event_queue.h (geis_event_queue_enqueue): renamed from |
1132 | - geis_event_queue_push |
1133 | - (geis_event_queue_dequeue): renamed from geis_event_queue_pop |
1134 | - changed event output parameter to return value |
1135 | - * libutouch-geis/geis_event_queue.c: refactored for above |
1136 | - * libutouch-geis/geis.c: refactored for above |
1137 | - * testsuite/libutouch-geis/check_event_queue.c: refactored for above |
1138 | - |
1139 | - |
1140 | -2010-12-08 Stephen M. Webb <stephen.webb@canonical.com> |
1141 | - |
1142 | - Added an event queue. |
1143 | - |
1144 | - * libutouch-geis/geis_event.c: new file |
1145 | - * libutouch-geis/geis_event.h: new file |
1146 | - * libutouch-geis/geis_event_queue.c: new file |
1147 | - * libutouch-geis/geis_event_queue.h: new file |
1148 | - * testsuite/libutouch-geis/check_backend_event_posting.c: new test case |
1149 | - * testsuite/libutouch-geis/check_event_queue.c: new test case |
1150 | - * include/geis/geis.h (GeisEventType): new enum type |
1151 | - (geis_event_delete): new function |
1152 | - (geis_event_type): new function |
1153 | - (geis_event_attr_count): new function |
1154 | - (geis_event_attr): new function |
1155 | - (geis_event_attr_by_name): new function |
1156 | - * libutouch-geis/Makefile.am: added new files |
1157 | - * libutouch-geis/geis.c (struct _Geis): added input_event_queue, |
1158 | - output_event_queue, and input_signal_pipe members |
1159 | - (_default_output_event_callback): new function |
1160 | - (_input_event_handler): new function |
1161 | - (geis_new_empty): initialized new members |
1162 | - (geis_register_event_callback): used _default_output_event_callback |
1163 | - (geis_next_event): implemented stubbed-out function |
1164 | - * testsuite/libutouch-geis/Makefile.am: added new test cases |
1165 | - * testsuite/libutouch-geis/check_geis2_internals.c: added new test cases |
1166 | - |
1167 | - |
1168 | -2010-12-02 Stephen M. Webb <stephen.webb@canonical.com> |
1169 | - |
1170 | - Added GEIS v2.0 event control functions. |
1171 | - |
1172 | - * include/geis/geis.h (GeisEvent): new type |
1173 | - (GeisEventCallback): new type |
1174 | - (GEIS_DEFAULT_EVENT_CALLBACK): new constant |
1175 | - (geis_register_event_callback): new function |
1176 | - (geis_dispatch_events): new function |
1177 | - (geis_next_event): new function |
1178 | - * libutouch-geis/geis_private.h (geis_post_event): new function |
1179 | - * libutouch-geis/geis.c: implemented new functions |
1180 | - * libutouch-geis/libutouch-geis.ver: added new symbols |
1181 | - |
1182 | -2010-12-02 Stephen M. Webb <stephen.webb@canonical.com> |
1183 | - |
1184 | - Added a back end base and test fixture. |
1185 | - |
1186 | - * libutouch-geis/geis_backend.c: new file |
1187 | - * libutouch-geis/geis_backend.h: new file |
1188 | - * libutouch-geis/geis_backend_protected.h: new file |
1189 | - * libutouch-geis/geis_backend_test_fixture.c: new file |
1190 | - * libutouch-geis/geis_backend_test_fixture.h: new file |
1191 | - * include/geis/geis.h (GEIS_INIT_SERVICE_PROVIDER): changed constant value |
1192 | - (GEIS_INIT_UTOUCH_MOCK_ENGINE): added new constant |
1193 | - * libutouch-geis/Makefile.am: added new files |
1194 | - * libutouch-geis/geis.c (struct _Geis): replaced is_test_fixture with backend |
1195 | - (geis_set_valist): created new test fixture backend |
1196 | - (geis_delete): destroyed backend |
1197 | - * testsuite/geis2/check_config.c: used new name for test fixture back end |
1198 | - * testsuite/geis2/check_geis_new.c: same |
1199 | - * testsuite/geis2/check_subscription.c: idem |
1200 | - * testsuite/libutouch-geis/check_subscription.c: ditto |
1201 | - |
1202 | -2010-12-02 Stephen M. Webb <stephen.webb@canonical.com> |
1203 | - |
1204 | - Added a back end multiplexor. |
1205 | - |
1206 | - * libutouch-geis/geis_backend_multiplexor.c: new file |
1207 | - * libutouch-geis/geis_backend_multiplexor.h: new file |
1208 | - * testsuite/libutouch-geis/check_backend_multiplexor.c: new testsuite |
1209 | - * include/geis/geis.h (GeisStatus): added new status codes |
1210 | - GEIS_STATUS_CONTINUE and GEIS_STATUS_EMPTY |
1211 | - (GEIS_CONFIG_UTOUCH_MAX_EVENTS): new configuration item |
1212 | - * libutouch-geis/Makefile.am: added new files |
1213 | - * libutouch-geis/geis.c (struct _Geis): added backend_multiplexor field |
1214 | - (geis_new_empty): initialized it |
1215 | - (geis_delete): destroyed it |
1216 | - (geis_get_configuration): retrieved its file descriptor and config value |
1217 | - (geis_set_configuration): set its configuration value |
1218 | - * testsuite/geis2/check_error_codes.c: checked new status codes |
1219 | - * testsuite/libutouch-geis/Makefile.am |
1220 | - * testsuite/libutouch-geis/check_geis2_internals.c |
1221 | - |
1222 | -2010-11-29 Stephen M. Webb <stephen.webb@canonical.com> |
1223 | - |
1224 | - Refactored geis_private.h to provide improved data encapsulation. |
1225 | - |
1226 | - * libutouch-geis/geis_private.h (struct _Geis): moved to geis.c |
1227 | - (geis_error_stack): new function |
1228 | - * libutouch-geis/geis.c: implemented new function |
1229 | - * libutouch-geis/geis_error.c: used new function |
1230 | - |
1231 | -2010-11-29 Stephen M. Webb <stephen.webb@canonical.com> |
1232 | - |
1233 | - Fixed a typo in the Doxygen comments in geis.h. |
1234 | - |
1235 | - * include/geis/geis.h: fixed typo in documentation |
1236 | - |
1237 | -2010-11-28 Stephen M. Webb <stephen.webb@canonical.com> |
1238 | - |
1239 | - Added Geis Subscription creation and accessors. |
1240 | - |
1241 | - * libutouch-geis/geis_subscription.c: new file |
1242 | - * libutouch-geis/geis_subscription.h: new file |
1243 | - * testsuite/geis2/check_subscription.c: new API test suite |
1244 | - * testsuite/libutouch-geis/check_subscription.c: new internals test suite |
1245 | - * include/geis/geis.h (GeisFilter): new type |
1246 | - (GeisSubscription): new type |
1247 | - (GeisSubscriptionFlags): new type |
1248 | - (geis_subscription_new): new function |
1249 | - (geis_subscription_delete): new function |
1250 | - (geis_subscription_name): new function |
1251 | - (geis_subscription_id): new function |
1252 | - (geis_subscription_add_filter): new function |
1253 | - (geis_subscription_remove_filter): new function |
1254 | - * libutouch-geis/Makefile.am: added new files |
1255 | - * libutouch-geis/geis_private.h (geis_subscription_bag): new function |
1256 | - (struct _Geis): added subscription_bag field |
1257 | - * libutouch-geis/geis.c (geis_subscription_bag): implemented it |
1258 | - (geis_new_empty): created an empty subscription bag |
1259 | - * libutouch-geis/libutouch-geis.ver: added new geis_subscription_* symbols |
1260 | - * testsuite/geis2/Makefile.am: added new test suite source |
1261 | - * testsuite/geis2/check_geis2_api.c: added new test suite |
1262 | - * testsuite/libutouch-geis/Makefile.am: added new test suite source |
1263 | - * testsuite/libutouch-geis/check_geis2_internals.c: added new test suite |
1264 | - |
1265 | - |
1266 | -2010-11-26 Stephen M. Webb <stephen.webb@canonical.com> |
1267 | - |
1268 | - Added Geis Attr functions. |
1269 | - |
1270 | - * libutouch-geis/geis_attr.c: new file |
1271 | - * libutouch-geis/geis_attr.h: new file |
1272 | - * testsuite/libutouch-geis/check_attr.c: new unit test suite |
1273 | - * include/geis/geis.h (GeisAttr): new type |
1274 | - (geis_attr_name): new function |
1275 | - (geis_attr_type): new function |
1276 | - (geis_attr_value_to_boolean): new function |
1277 | - (geis_attr_value_to_float): new function |
1278 | - (geis_attr_value_to_integer): new function |
1279 | - (geis_attr_value_to_string): new function |
1280 | - * libutouch-geis/Makefile.am: added new files |
1281 | - * libutouch-geis/libutouch-geis.ver: added new symbols |
1282 | - * testsuite/libutouch-geis/Makefile.am: added new test suite |
1283 | - * testsuite/libutouch-geis/check_error_reporting.c: renamed test suite |
1284 | - * testsuite/libutouch-geis/check_geis2_internals.c: added new test suite |
1285 | - |
1286 | -2010-11-24 Stephen M. Webb <stephen.webb@canonical.com> |
1287 | - |
1288 | - Added Geis configuration functions. |
1289 | - |
1290 | - * include/geis/geis.h (geis_get_config): new function |
1291 | - (geis_set_config): new function |
1292 | - * libutouch-geis/geis.c: added stubs for new functions |
1293 | - * libutouch-geis/libutouch-geis.ver: added symbols for new functions |
1294 | - * testsuite/geis2/check_config.c: new test suite for new functions |
1295 | - * testsuite/geis2/Makefile.am: added above new file |
1296 | - |
1297 | -2010-11-24 Stephen M. Webb <stephen.webb@canonical.com> |
1298 | - |
1299 | - Added silent rules to build. |
1300 | - |
1301 | - * configure.ac (AM_INIT_AUTOMAKE): required minimum version 1.11 |
1302 | - (AM_SILENT_RULES): new macros to set silent build rules on by default |
1303 | - |
1304 | -2010-11-24 Stephen M. Webb <stephen.webb@canonical.com> |
1305 | - |
1306 | - Fixed a "make distcheck" problem. |
1307 | - |
1308 | - * testsuite/libutouch-geis/Makefile.am (check_geis2_internals_CFLAGS): added |
1309 | - $(top_srcdir) to the header search path |
1310 | - |
1311 | -2010-11-24 Stephen M. Webb <stephen.webb@canonical.com> |
1312 | - |
1313 | - Added unit testing for uTouch GEIS v2.0 internals. |
1314 | - |
1315 | - * testsuite/libutouch-geis: new subdirectory |
1316 | - * testsuite/libutouch-geis/Makefile.am: new file |
1317 | - * testsuite/libutouch-geis/check_error_reporting.c: new file |
1318 | - * testsuite/libutouch-geis/check_geis2_internals.c: new file |
1319 | - * configure.ac (AC_OUTPUT): added new Makefile |
1320 | - * testsuite/Makefile.am (SUBDIRS): added new subdirectory |
1321 | - * testsuite/geis1/check_geis_internals.c: renamed test suite |
1322 | - * testsuite/geis2/check_geis2_api.c: renamed test suite |
1323 | - |
1324 | -2010-11-23 Stephen M. Webb <stephen.webb@canonical.com> |
1325 | - |
1326 | - Added Error Reporting functions. |
1327 | - |
1328 | - * libutouch-geis/geis_error.c: new file |
1329 | - * libutouch-geis/geis_error.h: new file |
1330 | - * libutouch-geis/geis_private.h: new file |
1331 | - * include/geis/geis.h (geis_error_count): new function |
1332 | - (geis_error_code): new function |
1333 | - (geis_error_message): new function |
1334 | - * libutouch-geis/Makefile.am: added new files |
1335 | - * libutouch-geis/geis.c: used new functions |
1336 | - * libutouch-geis/libutouch-geis.ver: added new function symbols |
1337 | - |
1338 | -2010-11-23 Stephen M. Webb <stephen.webb@canonical.com> |
1339 | - |
1340 | - Added diagnostics to geis_new(). |
1341 | - |
1342 | - * libutouch-geis/geis.c (geis_error): reported calloc failure |
1343 | - (geis_set_valist): added debug diagnostics for init args |
1344 | - |
1345 | -2010-11-23 Stephen M. Webb <stephen.webb@canonical.com> |
1346 | - |
1347 | - Moved diagnostic logging from GEIS v1.0 to GEIS v2.0 libraries. |
1348 | - |
1349 | - * libutouch-geis/geis_logging.h: renamed from libutouch-geis-xcb/geis_logging.h |
1350 | - * libutouch-geis/geis_logging.c: renamed from libutouch-geis-xcb/geis_logging.c |
1351 | - * libutouch-geis-xcb/Makefile.am: removed above renamed files |
1352 | - * libutouch-geis/Makefile.am: added above renamed files |
1353 | - * testsuite/geis1/Makefile.am: changed library path |
1354 | - * testsuite/geistest/Makefile.am: changed library path |
1355 | - |
1356 | -2010-11-23 Stephen M. Webb <stephen.webb@canonical.com> |
1357 | - |
1358 | - Merged GEIS v1.0 into GEIS v2.0 library for backwards compatibility. |
1359 | - |
1360 | - * libutouch-geis-xcb/libutouch-geis-xcb.ver: removed |
1361 | - * libutouch-geis-xcb/Makefile.am: converted to build a convenience lib |
1362 | - * libutouch-geis/Makefile.am: added libutouch-geis-xcb as a conveniemnce lib |
1363 | - * libutouch-geis/libutouch-geis.ver: Added GEIS v1.0 symbols |
1364 | - * testsuite/geis2/Makefile.am: fixed path to shared library in build tree |
1365 | - |
1366 | -2010-11-22 Stephen M. Webb <stephen.webb@canonical.com> |
1367 | - |
1368 | - Refactored API initialization to use variadic arguments a la spec change. |
1369 | - |
1370 | - * include/geis/geis.h (geis_new): changed function prototype |
1371 | - * libutouch-geis/geis.c (geis_new_empty): new function |
1372 | - (geis_set_valist): new function |
1373 | - (geis_new): changed parameters, used new functions |
1374 | - * testsuite/geis2/check_geis_new.c (geis_new_and_delete): changed geis_new() |
1375 | - arguments |
1376 | - |
1377 | -2010-11-22 Stephen M. Webb <stephen.webb@canonical.com> |
1378 | - |
1379 | - Fixed visibility of new GEIS 2.0 symbols. |
1380 | - |
1381 | - * include/geis/geis.h (geis_new): fixed visibility |
1382 | - (geis_delete): same |
1383 | - |
1384 | -2010-11-22 Stephen M. Webb <stephen.webb@canonical.com> |
1385 | - |
1386 | - Made geis2_geis_new test case pass. |
1387 | - |
1388 | - * libutouch-geis/geis.c (geis_hints_find_by_id): new static function |
1389 | - (geis_hints_append): new static function |
1390 | - (geis_new): used them, malloc'd struct _Geis |
1391 | - (geis_delete): free'd struct _Geis |
1392 | - |
1393 | -2010-11-22 Stephen M. Webb <stephen.webb@canonical.com> |
1394 | - |
1395 | - Added test case for GEIS v2.0 geis_new() and geis_delete() functions, together |
1396 | - with a skeletal implementation of the libutouch-geis v2.0 library. |
1397 | - |
1398 | - * libutouch-geis: new source directory |
1399 | - * libutouch-geis/Makefile.am: new build recipe for libutouch-geis v2.0 |
1400 | - * libutouch-geis/geis.c: new source file |
1401 | - * libutouch-geis/libutouch-geis.ver: new library version map |
1402 | - * testsuite/geis2/check_geis_new.c: new test suite |
1403 | - * Makefile.am (SUBDIRS): added libutouch-geis |
1404 | - * configure.ac (AC_OUTPUT): added libutouch-geis/Makefile |
1405 | - * include/geis/geis.h (GeisHints): new data structure |
1406 | - (Geis): new opaque data structure |
1407 | - (geis_new): new function |
1408 | - (geis_delete): new function |
1409 | - * testsuite/geis2/Makefile.am (check_geis2_api_SOURCES): added check_geis_new |
1410 | - * testsuite/geis2/check_geis2_api.c (main): added geis_new_suite |
1411 | - |
1412 | -2010-11-21 Stephen M. Webb <stephen.webb@canonical.com> |
1413 | - |
1414 | - Added test case for geis v2.0 error codes. |
1415 | - |
1416 | - * include/geis/geis.h: added required v2.0 error codes |
1417 | - * testsuite/geis2/check_error_codes.c: new test case |
1418 | - * testsuite/geis2/Makefile.am: added new test case |
1419 | - * testsuite/geis2/check_geis2_api.c: same |
1420 | - |
1421 | -2010-11-20 Stephen M. Webb <stephen.webb@canonical.com> |
1422 | - |
1423 | - Added test case for geis v2.0 basic types. |
1424 | - |
1425 | - * testsuite/geis2/check_general_types.c: new file |
1426 | - * testsuite/geis2/Makefile.am: added above new file |
1427 | - * testsuite/geis2/check_geis2_api.c (geis2_general_types_suite_new): added new |
1428 | - unit test |
1429 | - |
1430 | -2010-11-19 Stephen M. Webb <stephen.webb@canonical.com> |
1431 | - |
1432 | - Added geis v2.0 test hardness and version macro test. |
1433 | - |
1434 | - * include/geis/geis.h (GEIS_VERSION_2_0): added macro |
1435 | - * testsuite/geis2/check_geis_api.c: new testsuite. |
1436 | - * testsuite/geis2/check_version_macro.c: added unit test for geis 2.0 version |
1437 | - macro |
1438 | - * testsuite/geis2/Makefile: new file |
1439 | - * configure.ac (AC_OUTPUT): added above enw file |
1440 | - * testsuite/Makefile: added new testsuite directory geis2 |
1441 | - |
1442 | -2010-11-12 Stephen M. Webb <stephen.webb@canonical.com> |
1443 | - |
1444 | - Made existing unit test directory specific to geis v1.0. |
1445 | - |
1446 | - * testsuite/geis1: renamed from testsuite/check |
1447 | - * configure.ac: renamed testsuite/check |
1448 | - * testsuite/Makefile.am: same |
1449 | - * testsuite/geis1/Makefile.am: same |
1450 | - |
1451 | -2010-10-20 Stephen M. Webb <stephen.webb@canonical.com> |
1452 | - |
1453 | - Added unit tests for internal geis_instance_table. |
1454 | - |
1455 | - * testsuite/check/check_instance_table.c: new file |
1456 | - * testsuite/check/Makefile.am (check_geis_internals_SOURCES): added it |
1457 | - (MOSTLYCLEANFILES): new target to clean up unit test logs |
1458 | - * testsuite/check/check_geis_internals.c (main): added unit test suite |
1459 | - |
1460 | -2010-10-20 Stephen M. Webb <stephen.webb@canonical.com> |
1461 | - |
1462 | - Added unit test infrastructure based on 'check'. |
1463 | - |
1464 | - * testsuite/check/Makefile.am: new file |
1465 | - * testsuite/check/check_geis_internals.c: new file |
1466 | - * testsuite/Makefile.am (SUBDIRS): added check target |
1467 | - * configure.ac: added new stanza for detecting check package |
1468 | - (AC_CONFIG_FILES): added testsuite/check/Makefile |
1469 | - |
1470 | -2010-10-18 Stephen M. Webb <stephen.webb@canonical.com> |
1471 | - |
1472 | - Added configury check for xcb-proto package >= 1.6 (LP: #661946). |
1473 | - |
1474 | - * configure.ac: added PKG_CHECK_MODULES for xcb-proto >= 1.6 |
1475 | - |
1476 | -2010-10-14 Stephen M. Webb <stephen.webb@canonical.com> |
1477 | - |
1478 | - Release version 1.0.13. |
1479 | - |
1480 | - * configure.ac (AC_INIT): bumped package version to 1.0.13 |
1481 | - |
1482 | -2010-10-12 Stephen M. Webb <stephen.webb@canonical.com> |
1483 | - |
1484 | - Removed extra newlines from diagnostic messages |
1485 | - |
1486 | - * libutouch-geis-xcb/geis_xcb.c: removed newline from several diagnostic |
1487 | - messages. |
1488 | - |
1489 | -2010-10-07 Stephen M. Webb <stephen.webb@canonical.com> |
1490 | - |
1491 | - Fixed LP: #656503 - event dispatch can hang under some circumstances |
1492 | - |
1493 | - * libutouch-geis-xcb/geis_xcb.c (geis_xcb_dispatch): changed loop condition |
1494 | - * libutouch-geis-xcb/Makefile.am (libutouch_geis_la_LDFLAGS): bumped library |
1495 | - revision |
1496 | - |
1497 | -2010-09-28 Stephen M. Webb <stephen.webb@canonical.com> |
1498 | - |
1499 | - Version bump to 1.0.12. |
1500 | - |
1501 | - * configure.ac (AC_INIT): bumped package version to 1.0.12 |
1502 | - |
1503 | -2010-09-28 Stephen M. Webb <stephen.webb@canonical.com> |
1504 | - |
1505 | - Made lib compatible with C++. |
1506 | - |
1507 | - * geis/geis.h: forced C linkage |
1508 | - |
1509 | -2010-09-14 Stephen M. Webb <stephen.webb@canonical.com> |
1510 | - |
1511 | - Version bump tp 1.0.11 |
1512 | - |
1513 | - * configure.ac: bumped package version to 1.0.11 |
1514 | - * libutouch-geis-xcb/Makefile.am: bumped shlib version to reflect changes |
1515 | - |
1516 | -2010-09-01 Stephen M. Webb <stephen.webb@canonical.com> |
1517 | - |
1518 | - Fixed typos in manpage. |
1519 | - |
1520 | - * doc/geistest.1: fixed several typographical errors |
1521 | - |
1522 | -2010-09-01 Stephen M. Webb <stephen.webb@canonical.com> |
1523 | - |
1524 | - Fixed a memory leak when logging messages. |
1525 | - |
1526 | - * libutouch-geis-xcb/geis_logging.c (_geis_message): fixed memory leak |
1527 | - |
1528 | -2010-08-31 Stephen M. Webb <stephen.webb@canonical.com> |
1529 | - |
1530 | - Fixed prefix string used in diagnostics. |
1531 | - |
1532 | - * libutouch-geis-xcb/geis_logging.c (_geis_message): fixed which prefix string |
1533 | - gets used for which diagnostic level |
1534 | - |
1535 | -2010-08-31 Stephen M. Webb <stephen.webb@canonical.com> |
1536 | - |
1537 | - Removed input device enumeration handling until later. |
1538 | - |
1539 | - * libutouch-geis-xcb/geis.c (geis_input_devices): removed #if 0 block |
1540 | - * libutouch-geis-xcb/geis_instance.h (geis_instance_input_devices): removed |
1541 | - * libutouch-geis-xcb/geis_instance.c (geis_instance_input_devices): removed |
1542 | - * libutouch-geis-xcb/geis_xcb.h (geis_xcb_input_devices): added funcs and |
1543 | - cookie parameters |
1544 | - * libutouch-geis-xcb/geis_xcb.c (_GeisXcb): added input_funcs and input_cookie |
1545 | - (geis_xcb_new): removed #if 0 blocks |
1546 | - (geis_xcb_input_devices): removed XInput handling until later |
1547 | - |
1548 | -2010-08-30 Stephen M. Webb <stephen.webb@canonical.com> |
1549 | - |
1550 | - Removed some debug code and fixed pasto. |
1551 | - |
1552 | - * libutouch-geis-xcb/geis_instance.c: fixed a pasto |
1553 | - * testsuite/geistest/geistest.c: removed debug code |
1554 | - |
1555 | -2010-08-30 Stephen M. Webb <stephen.webb@canonical.com> |
1556 | - |
1557 | - Fixed so multiple windows will work. |
1558 | - |
1559 | - Altered geistest to work with a single window or all windows, had to fix geis |
1560 | - implementation so this was possible. |
1561 | - |
1562 | - * libutouch-geis-xcb/geis_instance_table.c: new file |
1563 | - * libutouch-geis-xcb/geis_instance_table.h: new file |
1564 | - * configure.ac: added package checks for x11-xcb and xi |
1565 | - * doc/geistest.1: documented new CLI switches |
1566 | - * geis/geis.h (geis_input_devices): fixed argument type |
1567 | - * libutouch-geis-xcb/Makefile.am (libutouch_geis_la_SOURCES): added new files |
1568 | - (libutouch_geis_la_CFLAGS): aded X11XCB_CFLAGS and XI2_CFLAGS |
1569 | - (libutouch_geis_la_LIBADD): aded X11XCB_LIBS and XI2LIBS_ |
1570 | - * libutouch-geis-xcb/geis.c (s_geis_xcb): new static global |
1571 | - (geis_init): used it |
1572 | - * libutouch-geis-xcb/geis_instance.h (_GeisInstance): added window_id |
1573 | - (geis_instance_new): renamed from geis_instance_get |
1574 | - (geis_instance_input_devices): new function |
1575 | - (geis_instance_subscribe): added GeisXcb parameter |
1576 | - (geis_instance_get_window_id): new function |
1577 | - (geis_instance_fd): removed function |
1578 | - (geis_instance_event_dispatch): removed function |
1579 | - * libutouch-geis-xcb/geis_instance.c: implemented new functions |
1580 | - * libutouch-geis-xcb/geis_xcb.h (geis_xcb_new): renamed from geis_xcb_get |
1581 | - (geis_xcb_create_instance): new function |
1582 | - (geis_xcb_input_devices): new function |
1583 | - (geis_xcb_subscribe): added GeisInstance parameter |
1584 | - (geis_xcb_dispatch): changed parameter type to GeisXcb |
1585 | - * libutouch-geis-xcb/geis_xcb.c: Implemeneted new functions |
1586 | - * testsuite/geistest/geistest.c (parse_opts): added -w switch |
1587 | - (subscribe_window): new function |
1588 | - (subscribe_windows_preorder): new function |
1589 | - (subscribe_all_windows): new function |
1590 | - (main): used the new functions |
1591 | - |
1592 | -2010-08-30 Stephen M. Webb <stephen.webb@canonical.com> |
1593 | - |
1594 | - Added runtime diagnostic facility. |
1595 | - |
1596 | - * libutouch-geis-xcb/geis_debug.h: replaced with |
1597 | - * libutouch-geis-xcb/geis_logging.h: mew file |
1598 | - * libutouch-geis-xcb/geis_logging.c: new file |
1599 | - * libutouch-geis-xcb/Makefile.am: replaced above files |
1600 | - * libutouch-geis-xcb/geis_xcb.c: replaced geis_debug calls with |
1601 | - geis_warning or geis_error as appropriate |
1602 | - |
1603 | -2010-08-27 Stephen M. Webb <stephen.webb@canonical.com> |
1604 | - |
1605 | - Fixed checking of gesture masks for multiple input devices. |
1606 | - |
1607 | - * libutouch-geis-xcb/geis_instance.c (geis_instance_subscribe): |
1608 | - added missing index increment |
1609 | - * libutouch-geis-xcb/geis_xcb.c (geis_xcb_verify_event_selection): |
1610 | - added logic for iterating through multiple input devices |
1611 | - |
1612 | -2010-08-27 Stephen M. Webb <stephen.webb@canonical.com> |
1613 | - |
1614 | - Move gesture-type-added callback until later in the subscription sequence. |
1615 | - |
1616 | - * libutouch-geis-xcb/geis_xcb.c (geis_xcb_subscribe): move call to |
1617 | - geis_xcb_dispatch_gesture_type until later in sequence |
1618 | - |
1619 | -2010-08-27 Stephen M. Webb <stephen.webb@canonical.com> |
1620 | - |
1621 | - Removed "Grab" gestire entirely from the list of known gestures. |
1622 | - |
1623 | - * libutouch-geis-xcb/geis_xcb.c (s_grail_type_map): removed GRAIL_TYPE_SYSFLAG1 |
1624 | - (geis_xcb_dispatch_gesture_type): removed references to GRAIL_TYPE_SYSFLAG1 |
1625 | - |
1626 | -2010-08-26 Stephen M. Webb <stephen.webb@canonical.com> |
1627 | - |
1628 | - Prevented "Grab" gesture from being propagated. |
1629 | - |
1630 | - * libutouch-geis-xcb/geis_xcb.c (geis_xcb_dispatch_gesture_type): skipped |
1631 | - notification of the availability of the "Grab" gesture type. |
1632 | - |
1633 | -2010-08-26 Stephen M. Webb <stephen.webb@canonical.com> |
1634 | - |
1635 | - Fixed an allocation size issue. |
1636 | - |
1637 | - * libutouch-geis-xcb/geis_instance.c (geis_instance_get): fixed allocation |
1638 | - size issue |
1639 | - |
1640 | -2010-08-26 Stephen M. Webb <stephen.webb@canonical.com> |
1641 | - |
1642 | - Minor style adjustments. Adjusted whitespace for consistency. |
1643 | - |
1644 | - * libutouch-geis-xcb/geis_xcb.c (geis_xcb_verify_event_selection): |
1645 | - renamed function from geis_xcb_select_events |
1646 | - (geis_xcb_determine_primitive_type): renamed from |
1647 | - geis_xcb_determine_fundamental_gesture_type |
1648 | - (geis_xcb_get_gesture_type_primitive_name): renamed form |
1649 | - geis_xcb_get_gesture_type_fundamental_name |
1650 | - |
1651 | -2010-08-25 Stephen M. Webb <stephen.webb@canonical.com> |
1652 | - |
1653 | - Reverted version bump. |
1654 | - |
1655 | - * configure,.ac (AC_INIT): reverted to version 1.0.10 |
1656 | - |
1657 | -2010-08-23 Stephen M. Webb <stephen.webb@canonical.com> |
1658 | - |
1659 | - Implemented gesture and input device selection. |
1660 | - |
1661 | - * geis/geis.h: new gesture definitions |
1662 | - * libutouch-geis-xcb/geis_xcb.h (geis_xcb_subscribe): |
1663 | - added device_id parameter |
1664 | - * libutouch-geis-xcb/geis_xcb.c (s_grail_type_map): new gesture definitions |
1665 | - (geis_xcb_map_gestures_to_mask): new function |
1666 | - (geis_xcb_select_events): new function |
1667 | - (geis_xcb_subscribe): used them |
1668 | - added device_id parameter |
1669 | - (geis_xcb_determine_gesture_type): renamed to |
1670 | - geis_xcb_determine_fundamental_gesture_type |
1671 | - (geis_xcb_get_gesture_type_fundamental_name): new function |
1672 | - (geis_xcb_dispatch_gesture_type): mapped public gesture definitions to |
1673 | - fundamental gesture types |
1674 | - * libutouch-geis-xcb/geis_instance.c (geis_instance_subscribe): |
1675 | - handled input_list argument |
1676 | - * testsuite/geistest/geistest.c: included an example of selecting gestures |
1677 | - |
1678 | -2010-08-22 Chase Douglas <chase.douglas@canonical.com> |
1679 | - |
1680 | - Bumped to version 1.0.10 for various fixes |
1681 | - |
1682 | - * geisimple.h: Define the correct number of attributes for each gesture |
1683 | - * geis.h: Sync up with latest grail ABI for gesture attributes |
1684 | - * geis_xcb.c: Sync up with latest grail ABI for gesture attributes |
1685 | - * geisspec-1.0.asc: Sync up with latest grail ABI for gesture attributes |
1686 | - * geis_instance.h: Fix header include macro typo |
1687 | - * geisimple.h: Use int32_t instead of long for integer values |
1688 | - * geis.h: Make win_type unsigned to match usage in code |
1689 | - * geis_xcb.c: Fix missing initializer value issue |
1690 | - * geis_xcb.c: Fix unused variable warning |
1691 | - |
1692 | -2010-08-20 Stephen M. Webb <stephen.webb@canonical.com> |
1693 | - |
1694 | - Removed spec build from packaged files. |
1695 | - |
1696 | - * doc/Makefile.am (doc-html): removed doc-html-asciidoc |
1697 | - |
1698 | -2010-08-16 Stephen M. Webb <stephen.webb@canonical.com> |
1699 | - |
1700 | - Conformed to GNU strictness for consistency. |
1701 | - |
1702 | - * AUTHORS: New file. |
1703 | - * COPYING: new file renamed from COPYING.LGPL. |
1704 | - * INSTALL: New file. |
1705 | - * NEWS: New file. |
1706 | - * README: New file. |
1707 | - * Makefile.am: distributed the new files. |
1708 | - * configure.ac: Swicthed from foreign to gnu conformance level. |
1709 | - * libutouch-geis-xcb/Makefile.am: Fixed relative paths. |
1710 | - |
1711 | -2010-08-16 Stephen M. Webb <stephen.webb@canonical.com> |
1712 | - |
1713 | - Bumped version to 1.0.9 to replect API change. |
1714 | - |
1715 | - * configure.ac: bumped package version. |
1716 | - |
1717 | -2010-08-16 Stephen M. Webb <stephen.webb@canonical.com> |
1718 | - |
1719 | - Added standard fundamental gesture constants. |
1720 | - |
1721 | - * doc/geisspec-1.0.asc: Added section on fundamental gestures. |
1722 | - * geis/geis.h: Added fundamental gestures and attributes. |
1723 | - * libutouch-geis-xcb/geis_xcb.c: Used them. |
1724 | - |
1725 | |
1726 | === modified file 'Makefile.am' |
1727 | --- Makefile.am 2011-06-02 19:38:57 +0000 |
1728 | +++ Makefile.am 2012-08-23 18:45:02 +0000 |
1729 | @@ -4,7 +4,7 @@ |
1730 | # |
1731 | # Copyright 2010, 2011 Canonical, Ltd. |
1732 | # |
1733 | -# This file is part of the utouch-geis library. This library is free software; |
1734 | +# This file is part of the geis library. This library is free software; |
1735 | # you can redistribute it and/or modify it under the terms of the GNU Lesser |
1736 | # General Public License as published by the Free Software Foundation; either |
1737 | # version 3 of the License, or (at your option) any later version. |
1738 | @@ -21,14 +21,14 @@ |
1739 | |
1740 | ACLOCAL_MFLAGS = -I m4 |
1741 | |
1742 | -SUBDIRS = include libs libutouch-geis testsuite python tools examples doc |
1743 | +SUBDIRS = include libs libgeis testsuite python tools examples doc |
1744 | |
1745 | doc-%: |
1746 | $(MAKE) -C doc $@ |
1747 | |
1748 | pkgconfigdir = $(libdir)/pkgconfig |
1749 | |
1750 | -pkgconfig_DATA = libutouch-geis.pc |
1751 | +pkgconfig_DATA = libgeis.pc |
1752 | |
1753 | EXTRA_DIST = \ |
1754 | AUTHORS \ |
1755 | |
1756 | === modified file 'Makefile.in' |
1757 | --- Makefile.in 2011-07-27 19:55:58 +0000 |
1758 | +++ Makefile.in 2012-08-23 18:45:02 +0000 |
1759 | @@ -21,7 +21,7 @@ |
1760 | # |
1761 | # Copyright 2010, 2011 Canonical, Ltd. |
1762 | # |
1763 | -# This file is part of the utouch-geis library. This library is free software; |
1764 | +# This file is part of the geis library. This library is free software; |
1765 | # you can redistribute it and/or modify it under the terms of the GNU Lesser |
1766 | # General Public License as published by the Free Software Foundation; either |
1767 | # version 3 of the License, or (at your option) any later version. |
1768 | @@ -57,7 +57,7 @@ |
1769 | subdir = . |
1770 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
1771 | $(srcdir)/Makefile.in $(srcdir)/geis_config.h.in \ |
1772 | - $(srcdir)/libutouch-geis.pc.in $(top_srcdir)/configure AUTHORS \ |
1773 | + $(srcdir)/libgeis.pc.in $(top_srcdir)/configure AUTHORS \ |
1774 | COPYING ChangeLog INSTALL NEWS config.aux/compile \ |
1775 | config.aux/config.guess config.aux/config.sub \ |
1776 | config.aux/depcomp config.aux/install-sh config.aux/ltmain.sh \ |
1777 | @@ -73,7 +73,7 @@ |
1778 | configure.lineno config.status.lineno |
1779 | mkinstalldirs = $(install_sh) -d |
1780 | CONFIG_HEADER = geis_config.h |
1781 | -CONFIG_CLEAN_FILES = libutouch-geis.pc |
1782 | +CONFIG_CLEAN_FILES = libgeis.pc |
1783 | CONFIG_CLEAN_VPATH_FILES = |
1784 | AM_V_GEN = $(am__v_GEN_$(V)) |
1785 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) |
1786 | @@ -177,6 +177,7 @@ |
1787 | DBUS_LIBS = @DBUS_LIBS@ |
1788 | DEFS = @DEFS@ |
1789 | DEPDIR = @DEPDIR@ |
1790 | +DLLTOOL = @DLLTOOL@ |
1791 | DSYMUTIL = @DSYMUTIL@ |
1792 | DUMPBIN = @DUMPBIN@ |
1793 | ECHO_C = @ECHO_C@ |
1794 | @@ -202,6 +203,7 @@ |
1795 | LN_S = @LN_S@ |
1796 | LTLIBOBJS = @LTLIBOBJS@ |
1797 | MAKEINFO = @MAKEINFO@ |
1798 | +MANIFEST_TOOL = @MANIFEST_TOOL@ |
1799 | MKDIR_P = @MKDIR_P@ |
1800 | NM = @NM@ |
1801 | NMEDIT = @NMEDIT@ |
1802 | @@ -250,6 +252,7 @@ |
1803 | abs_srcdir = @abs_srcdir@ |
1804 | abs_top_builddir = @abs_top_builddir@ |
1805 | abs_top_srcdir = @abs_top_srcdir@ |
1806 | +ac_ct_AR = @ac_ct_AR@ |
1807 | ac_ct_CC = @ac_ct_CC@ |
1808 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
1809 | am__include = @am__include@ |
1810 | @@ -282,7 +285,6 @@ |
1811 | libexecdir = @libexecdir@ |
1812 | localedir = @localedir@ |
1813 | localstatedir = @localstatedir@ |
1814 | -lt_ECHO = @lt_ECHO@ |
1815 | mandir = @mandir@ |
1816 | mkdir_p = @mkdir_p@ |
1817 | oldincludedir = @oldincludedir@ |
1818 | @@ -303,9 +305,9 @@ |
1819 | top_builddir = @top_builddir@ |
1820 | top_srcdir = @top_srcdir@ |
1821 | ACLOCAL_MFLAGS = -I m4 |
1822 | -SUBDIRS = include libs libutouch-geis testsuite python tools examples doc |
1823 | +SUBDIRS = include libs libgeis testsuite python tools examples doc |
1824 | pkgconfigdir = $(libdir)/pkgconfig |
1825 | -pkgconfig_DATA = libutouch-geis.pc |
1826 | +pkgconfig_DATA = libgeis.pc |
1827 | EXTRA_DIST = \ |
1828 | AUTHORS \ |
1829 | COPYING \ |
1830 | @@ -369,7 +371,7 @@ |
1831 | |
1832 | distclean-hdr: |
1833 | -rm -f geis_config.h stamp-h1 |
1834 | -libutouch-geis.pc: $(top_builddir)/config.status $(srcdir)/libutouch-geis.pc.in |
1835 | +libgeis.pc: $(top_builddir)/config.status $(srcdir)/libgeis.pc.in |
1836 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
1837 | |
1838 | mostlyclean-libtool: |
1839 | |
1840 | === modified file 'NEWS' |
1841 | --- NEWS 2011-02-21 16:08:50 +0000 |
1842 | +++ NEWS 2012-08-23 18:45:02 +0000 |
1843 | @@ -1,4 +1,4 @@ |
1844 | -uTouch-geis NEWS -- a history of user-visible changes |
1845 | +geis NEWS -- a history of user-visible changes |
1846 | |
1847 | Copyright 2010, 2011 Canonical Ltd. |
1848 | |
1849 | |
1850 | === modified file 'aclocal.m4' |
1851 | --- aclocal.m4 2011-06-02 19:38:57 +0000 |
1852 | +++ aclocal.m4 2012-08-23 18:45:02 +0000 |
1853 | @@ -13,8 +13,8 @@ |
1854 | |
1855 | m4_ifndef([AC_AUTOCONF_VERSION], |
1856 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
1857 | -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, |
1858 | -[m4_warning([this file was generated for autoconf 2.67. |
1859 | +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
1860 | +[m4_warning([this file was generated for autoconf 2.68. |
1861 | You have another version of autoconf. It may work, but is not guaranteed to. |
1862 | If you have problems, you may need to regenerate the build system entirely. |
1863 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
1864 | @@ -47,7 +47,8 @@ |
1865 | # ---------------------------------- |
1866 | AC_DEFUN([PKG_PROG_PKG_CONFIG], |
1867 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
1868 | -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) |
1869 | +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
1870 | +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
1871 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
1872 | AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
1873 | AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
1874 | @@ -93,7 +94,8 @@ |
1875 | pkg_cv_[]$1="$$1" |
1876 | elif test -n "$PKG_CONFIG"; then |
1877 | PKG_CHECK_EXISTS([$3], |
1878 | - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], |
1879 | + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
1880 | + test "x$?" != "x0" && pkg_failed=yes ], |
1881 | [pkg_failed=yes]) |
1882 | else |
1883 | pkg_failed=untried |
1884 | @@ -141,9 +143,9 @@ |
1885 | AC_MSG_RESULT([no]) |
1886 | _PKG_SHORT_ERRORS_SUPPORTED |
1887 | if test $_pkg_short_errors_supported = yes; then |
1888 | - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` |
1889 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
1890 | else |
1891 | - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` |
1892 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
1893 | fi |
1894 | # Put the nasty error message in config.log where it belongs |
1895 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
1896 | |
1897 | === modified file 'config.aux/config.guess' |
1898 | --- config.aux/config.guess 2010-08-11 16:07:43 +0000 |
1899 | +++ config.aux/config.guess 2012-08-23 18:45:02 +0000 |
1900 | @@ -1,10 +1,10 @@ |
1901 | #! /bin/sh |
1902 | # Attempt to guess a canonical system name. |
1903 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
1904 | -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
1905 | -# Free Software Foundation, Inc. |
1906 | +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
1907 | +# 2011 Free Software Foundation, Inc. |
1908 | |
1909 | -timestamp='2009-12-30' |
1910 | +timestamp='2011-05-11' |
1911 | |
1912 | # This file is free software; you can redistribute it and/or modify it |
1913 | # under the terms of the GNU General Public License as published by |
1914 | @@ -57,7 +57,7 @@ |
1915 | |
1916 | Originally written by Per Bothner. |
1917 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
1918 | -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free |
1919 | +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free |
1920 | Software Foundation, Inc. |
1921 | |
1922 | This is free software; see the source for copying conditions. There is NO |
1923 | @@ -181,7 +181,7 @@ |
1924 | fi |
1925 | ;; |
1926 | *) |
1927 | - os=netbsd |
1928 | + os=netbsd |
1929 | ;; |
1930 | esac |
1931 | # The OS release |
1932 | @@ -224,7 +224,7 @@ |
1933 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
1934 | ;; |
1935 | *5.*) |
1936 | - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
1937 | + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
1938 | ;; |
1939 | esac |
1940 | # According to Compaq, /usr/sbin/psrinfo has been available on |
1941 | @@ -270,7 +270,10 @@ |
1942 | # A Xn.n version is an unreleased experimental baselevel. |
1943 | # 1.2 uses "1.2" for uname -r. |
1944 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
1945 | - exit ;; |
1946 | + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
1947 | + exitcode=$? |
1948 | + trap '' 0 |
1949 | + exit $exitcode ;; |
1950 | Alpha\ *:Windows_NT*:*) |
1951 | # How do we know it's Interix rather than the generic POSIX subsystem? |
1952 | # Should we change UNAME_MACHINE based on the output of uname instead |
1953 | @@ -296,7 +299,7 @@ |
1954 | echo s390-ibm-zvmoe |
1955 | exit ;; |
1956 | *:OS400:*:*) |
1957 | - echo powerpc-ibm-os400 |
1958 | + echo powerpc-ibm-os400 |
1959 | exit ;; |
1960 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
1961 | echo arm-acorn-riscix${UNAME_RELEASE} |
1962 | @@ -395,23 +398,23 @@ |
1963 | # MiNT. But MiNT is downward compatible to TOS, so this should |
1964 | # be no problem. |
1965 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
1966 | - echo m68k-atari-mint${UNAME_RELEASE} |
1967 | + echo m68k-atari-mint${UNAME_RELEASE} |
1968 | exit ;; |
1969 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
1970 | echo m68k-atari-mint${UNAME_RELEASE} |
1971 | - exit ;; |
1972 | + exit ;; |
1973 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
1974 | - echo m68k-atari-mint${UNAME_RELEASE} |
1975 | + echo m68k-atari-mint${UNAME_RELEASE} |
1976 | exit ;; |
1977 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
1978 | - echo m68k-milan-mint${UNAME_RELEASE} |
1979 | - exit ;; |
1980 | + echo m68k-milan-mint${UNAME_RELEASE} |
1981 | + exit ;; |
1982 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
1983 | - echo m68k-hades-mint${UNAME_RELEASE} |
1984 | - exit ;; |
1985 | + echo m68k-hades-mint${UNAME_RELEASE} |
1986 | + exit ;; |
1987 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
1988 | - echo m68k-unknown-mint${UNAME_RELEASE} |
1989 | - exit ;; |
1990 | + echo m68k-unknown-mint${UNAME_RELEASE} |
1991 | + exit ;; |
1992 | m68k:machten:*:*) |
1993 | echo m68k-apple-machten${UNAME_RELEASE} |
1994 | exit ;; |
1995 | @@ -481,8 +484,8 @@ |
1996 | echo m88k-motorola-sysv3 |
1997 | exit ;; |
1998 | AViiON:dgux:*:*) |
1999 | - # DG/UX returns AViiON for all architectures |
2000 | - UNAME_PROCESSOR=`/usr/bin/uname -p` |
2001 | + # DG/UX returns AViiON for all architectures |
2002 | + UNAME_PROCESSOR=`/usr/bin/uname -p` |
2003 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
2004 | then |
2005 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
2006 | @@ -495,7 +498,7 @@ |
2007 | else |
2008 | echo i586-dg-dgux${UNAME_RELEASE} |
2009 | fi |
2010 | - exit ;; |
2011 | + exit ;; |
2012 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
2013 | echo m88k-dolphin-sysv3 |
2014 | exit ;; |
2015 | @@ -552,7 +555,7 @@ |
2016 | echo rs6000-ibm-aix3.2 |
2017 | fi |
2018 | exit ;; |
2019 | - *:AIX:*:[456]) |
2020 | + *:AIX:*:[4567]) |
2021 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
2022 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
2023 | IBM_ARCH=rs6000 |
2024 | @@ -595,52 +598,52 @@ |
2025 | 9000/[678][0-9][0-9]) |
2026 | if [ -x /usr/bin/getconf ]; then |
2027 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
2028 | - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
2029 | - case "${sc_cpu_version}" in |
2030 | - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
2031 | - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
2032 | - 532) # CPU_PA_RISC2_0 |
2033 | - case "${sc_kernel_bits}" in |
2034 | - 32) HP_ARCH="hppa2.0n" ;; |
2035 | - 64) HP_ARCH="hppa2.0w" ;; |
2036 | + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
2037 | + case "${sc_cpu_version}" in |
2038 | + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
2039 | + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
2040 | + 532) # CPU_PA_RISC2_0 |
2041 | + case "${sc_kernel_bits}" in |
2042 | + 32) HP_ARCH="hppa2.0n" ;; |
2043 | + 64) HP_ARCH="hppa2.0w" ;; |
2044 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
2045 | - esac ;; |
2046 | - esac |
2047 | + esac ;; |
2048 | + esac |
2049 | fi |
2050 | if [ "${HP_ARCH}" = "" ]; then |
2051 | eval $set_cc_for_build |
2052 | - sed 's/^ //' << EOF >$dummy.c |
2053 | - |
2054 | - #define _HPUX_SOURCE |
2055 | - #include <stdlib.h> |
2056 | - #include <unistd.h> |
2057 | - |
2058 | - int main () |
2059 | - { |
2060 | - #if defined(_SC_KERNEL_BITS) |
2061 | - long bits = sysconf(_SC_KERNEL_BITS); |
2062 | - #endif |
2063 | - long cpu = sysconf (_SC_CPU_VERSION); |
2064 | - |
2065 | - switch (cpu) |
2066 | - { |
2067 | - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
2068 | - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
2069 | - case CPU_PA_RISC2_0: |
2070 | - #if defined(_SC_KERNEL_BITS) |
2071 | - switch (bits) |
2072 | - { |
2073 | - case 64: puts ("hppa2.0w"); break; |
2074 | - case 32: puts ("hppa2.0n"); break; |
2075 | - default: puts ("hppa2.0"); break; |
2076 | - } break; |
2077 | - #else /* !defined(_SC_KERNEL_BITS) */ |
2078 | - puts ("hppa2.0"); break; |
2079 | - #endif |
2080 | - default: puts ("hppa1.0"); break; |
2081 | - } |
2082 | - exit (0); |
2083 | - } |
2084 | + sed 's/^ //' << EOF >$dummy.c |
2085 | + |
2086 | + #define _HPUX_SOURCE |
2087 | + #include <stdlib.h> |
2088 | + #include <unistd.h> |
2089 | + |
2090 | + int main () |
2091 | + { |
2092 | + #if defined(_SC_KERNEL_BITS) |
2093 | + long bits = sysconf(_SC_KERNEL_BITS); |
2094 | + #endif |
2095 | + long cpu = sysconf (_SC_CPU_VERSION); |
2096 | + |
2097 | + switch (cpu) |
2098 | + { |
2099 | + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
2100 | + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
2101 | + case CPU_PA_RISC2_0: |
2102 | + #if defined(_SC_KERNEL_BITS) |
2103 | + switch (bits) |
2104 | + { |
2105 | + case 64: puts ("hppa2.0w"); break; |
2106 | + case 32: puts ("hppa2.0n"); break; |
2107 | + default: puts ("hppa2.0"); break; |
2108 | + } break; |
2109 | + #else /* !defined(_SC_KERNEL_BITS) */ |
2110 | + puts ("hppa2.0"); break; |
2111 | + #endif |
2112 | + default: puts ("hppa1.0"); break; |
2113 | + } |
2114 | + exit (0); |
2115 | + } |
2116 | EOF |
2117 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
2118 | test -z "$HP_ARCH" && HP_ARCH=hppa |
2119 | @@ -731,22 +734,22 @@ |
2120 | exit ;; |
2121 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
2122 | echo c1-convex-bsd |
2123 | - exit ;; |
2124 | + exit ;; |
2125 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
2126 | if getsysinfo -f scalar_acc |
2127 | then echo c32-convex-bsd |
2128 | else echo c2-convex-bsd |
2129 | fi |
2130 | - exit ;; |
2131 | + exit ;; |
2132 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
2133 | echo c34-convex-bsd |
2134 | - exit ;; |
2135 | + exit ;; |
2136 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
2137 | echo c38-convex-bsd |
2138 | - exit ;; |
2139 | + exit ;; |
2140 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
2141 | echo c4-convex-bsd |
2142 | - exit ;; |
2143 | + exit ;; |
2144 | CRAY*Y-MP:*:*:*) |
2145 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
2146 | exit ;; |
2147 | @@ -770,14 +773,14 @@ |
2148 | exit ;; |
2149 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
2150 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
2151 | - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
2152 | - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
2153 | - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
2154 | - exit ;; |
2155 | + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
2156 | + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
2157 | + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
2158 | + exit ;; |
2159 | 5000:UNIX_System_V:4.*:*) |
2160 | - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
2161 | - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
2162 | - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
2163 | + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
2164 | + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
2165 | + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
2166 | exit ;; |
2167 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
2168 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
2169 | @@ -805,14 +808,14 @@ |
2170 | echo ${UNAME_MACHINE}-pc-mingw32 |
2171 | exit ;; |
2172 | i*:windows32*:*) |
2173 | - # uname -m includes "-pc" on this system. |
2174 | - echo ${UNAME_MACHINE}-mingw32 |
2175 | + # uname -m includes "-pc" on this system. |
2176 | + echo ${UNAME_MACHINE}-mingw32 |
2177 | exit ;; |
2178 | i*:PW*:*) |
2179 | echo ${UNAME_MACHINE}-pc-pw32 |
2180 | exit ;; |
2181 | *:Interix*:*) |
2182 | - case ${UNAME_MACHINE} in |
2183 | + case ${UNAME_MACHINE} in |
2184 | x86) |
2185 | echo i586-pc-interix${UNAME_RELEASE} |
2186 | exit ;; |
2187 | @@ -867,7 +870,7 @@ |
2188 | EV6) UNAME_MACHINE=alphaev6 ;; |
2189 | EV67) UNAME_MACHINE=alphaev67 ;; |
2190 | EV68*) UNAME_MACHINE=alphaev68 ;; |
2191 | - esac |
2192 | + esac |
2193 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
2194 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
2195 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
2196 | @@ -879,7 +882,13 @@ |
2197 | then |
2198 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
2199 | else |
2200 | - echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
2201 | + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
2202 | + | grep -q __ARM_PCS_VFP |
2203 | + then |
2204 | + echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
2205 | + else |
2206 | + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf |
2207 | + fi |
2208 | fi |
2209 | exit ;; |
2210 | avr32*:Linux:*:*) |
2211 | @@ -892,7 +901,7 @@ |
2212 | echo crisv32-axis-linux-gnu |
2213 | exit ;; |
2214 | frv:Linux:*:*) |
2215 | - echo frv-unknown-linux-gnu |
2216 | + echo frv-unknown-linux-gnu |
2217 | exit ;; |
2218 | i*86:Linux:*:*) |
2219 | LIBC=gnu |
2220 | @@ -960,7 +969,7 @@ |
2221 | echo ${UNAME_MACHINE}-ibm-linux |
2222 | exit ;; |
2223 | sh64*:Linux:*:*) |
2224 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
2225 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
2226 | exit ;; |
2227 | sh*:Linux:*:*) |
2228 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
2229 | @@ -968,6 +977,9 @@ |
2230 | sparc:Linux:*:* | sparc64:Linux:*:*) |
2231 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
2232 | exit ;; |
2233 | + tile*:Linux:*:*) |
2234 | + echo ${UNAME_MACHINE}-tilera-linux-gnu |
2235 | + exit ;; |
2236 | vax:Linux:*:*) |
2237 | echo ${UNAME_MACHINE}-dec-linux-gnu |
2238 | exit ;; |
2239 | @@ -975,7 +987,7 @@ |
2240 | echo x86_64-unknown-linux-gnu |
2241 | exit ;; |
2242 | xtensa*:Linux:*:*) |
2243 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
2244 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
2245 | exit ;; |
2246 | i*86:DYNIX/ptx:4*:*) |
2247 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
2248 | @@ -984,11 +996,11 @@ |
2249 | echo i386-sequent-sysv4 |
2250 | exit ;; |
2251 | i*86:UNIX_SV:4.2MP:2.*) |
2252 | - # Unixware is an offshoot of SVR4, but it has its own version |
2253 | - # number series starting with 2... |
2254 | - # I am not positive that other SVR4 systems won't match this, |
2255 | + # Unixware is an offshoot of SVR4, but it has its own version |
2256 | + # number series starting with 2... |
2257 | + # I am not positive that other SVR4 systems won't match this, |
2258 | # I just have to hope. -- rms. |
2259 | - # Use sysv4.2uw... so that sysv4* matches it. |
2260 | + # Use sysv4.2uw... so that sysv4* matches it. |
2261 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
2262 | exit ;; |
2263 | i*86:OS/2:*:*) |
2264 | @@ -1020,7 +1032,7 @@ |
2265 | fi |
2266 | exit ;; |
2267 | i*86:*:5:[678]*) |
2268 | - # UnixWare 7.x, OpenUNIX and OpenServer 6. |
2269 | + # UnixWare 7.x, OpenUNIX and OpenServer 6. |
2270 | case `/bin/uname -X | grep "^Machine"` in |
2271 | *486*) UNAME_MACHINE=i486 ;; |
2272 | *Pentium) UNAME_MACHINE=i586 ;; |
2273 | @@ -1048,13 +1060,13 @@ |
2274 | exit ;; |
2275 | pc:*:*:*) |
2276 | # Left here for compatibility: |
2277 | - # uname -m prints for DJGPP always 'pc', but it prints nothing about |
2278 | - # the processor, so we play safe by assuming i586. |
2279 | + # uname -m prints for DJGPP always 'pc', but it prints nothing about |
2280 | + # the processor, so we play safe by assuming i586. |
2281 | # Note: whatever this is, it MUST be the same as what config.sub |
2282 | # prints for the "djgpp" host, or else GDB configury will decide that |
2283 | # this is a cross-build. |
2284 | echo i586-pc-msdosdjgpp |
2285 | - exit ;; |
2286 | + exit ;; |
2287 | Intel:Mach:3*:*) |
2288 | echo i386-pc-mach3 |
2289 | exit ;; |
2290 | @@ -1089,8 +1101,8 @@ |
2291 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
2292 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
2293 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
2294 | - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
2295 | - && { echo i486-ncr-sysv4; exit; } ;; |
2296 | + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
2297 | + && { echo i486-ncr-sysv4; exit; } ;; |
2298 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) |
2299 | OS_REL='.3' |
2300 | test -r /etc/.relid \ |
2301 | @@ -1133,10 +1145,10 @@ |
2302 | echo ns32k-sni-sysv |
2303 | fi |
2304 | exit ;; |
2305 | - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
2306 | - # says <Richard.M.Bartel@ccMail.Census.GOV> |
2307 | - echo i586-unisys-sysv4 |
2308 | - exit ;; |
2309 | + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
2310 | + # says <Richard.M.Bartel@ccMail.Census.GOV> |
2311 | + echo i586-unisys-sysv4 |
2312 | + exit ;; |
2313 | *:UNIX_System_V:4*:FTX*) |
2314 | # From Gerald Hewes <hewes@openmarket.com>. |
2315 | # How about differentiating between stratus architectures? -djm |
2316 | @@ -1162,11 +1174,11 @@ |
2317 | exit ;; |
2318 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
2319 | if [ -d /usr/nec ]; then |
2320 | - echo mips-nec-sysv${UNAME_RELEASE} |
2321 | + echo mips-nec-sysv${UNAME_RELEASE} |
2322 | else |
2323 | - echo mips-unknown-sysv${UNAME_RELEASE} |
2324 | + echo mips-unknown-sysv${UNAME_RELEASE} |
2325 | fi |
2326 | - exit ;; |
2327 | + exit ;; |
2328 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
2329 | echo powerpc-be-beos |
2330 | exit ;; |
2331 | @@ -1231,6 +1243,9 @@ |
2332 | *:QNX:*:4*) |
2333 | echo i386-pc-qnx |
2334 | exit ;; |
2335 | + NEO-?:NONSTOP_KERNEL:*:*) |
2336 | + echo neo-tandem-nsk${UNAME_RELEASE} |
2337 | + exit ;; |
2338 | NSE-?:NONSTOP_KERNEL:*:*) |
2339 | echo nse-tandem-nsk${UNAME_RELEASE} |
2340 | exit ;; |
2341 | @@ -1276,13 +1291,13 @@ |
2342 | echo pdp10-unknown-its |
2343 | exit ;; |
2344 | SEI:*:*:SEIUX) |
2345 | - echo mips-sei-seiux${UNAME_RELEASE} |
2346 | + echo mips-sei-seiux${UNAME_RELEASE} |
2347 | exit ;; |
2348 | *:DragonFly:*:*) |
2349 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
2350 | exit ;; |
2351 | *:*VMS:*:*) |
2352 | - UNAME_MACHINE=`(uname -p) 2>/dev/null` |
2353 | + UNAME_MACHINE=`(uname -p) 2>/dev/null` |
2354 | case "${UNAME_MACHINE}" in |
2355 | A*) echo alpha-dec-vms ; exit ;; |
2356 | I*) echo ia64-dec-vms ; exit ;; |
2357 | @@ -1322,11 +1337,11 @@ |
2358 | #include <sys/param.h> |
2359 | printf ("m68k-sony-newsos%s\n", |
2360 | #ifdef NEWSOS4 |
2361 | - "4" |
2362 | + "4" |
2363 | #else |
2364 | - "" |
2365 | + "" |
2366 | #endif |
2367 | - ); exit (0); |
2368 | + ); exit (0); |
2369 | #endif |
2370 | #endif |
2371 | |
2372 | |
2373 | === modified file 'config.aux/config.sub' |
2374 | --- config.aux/config.sub 2010-08-11 16:07:43 +0000 |
2375 | +++ config.aux/config.sub 2012-08-23 18:45:02 +0000 |
2376 | @@ -1,10 +1,10 @@ |
2377 | #! /bin/sh |
2378 | # Configuration validation subroutine script. |
2379 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
2380 | -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
2381 | -# Free Software Foundation, Inc. |
2382 | +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
2383 | +# 2011 Free Software Foundation, Inc. |
2384 | |
2385 | -timestamp='2010-01-22' |
2386 | +timestamp='2011-03-23' |
2387 | |
2388 | # This file is (in principle) common to ALL GNU software. |
2389 | # The presence of a machine in this file suggests that SOME GNU software |
2390 | @@ -76,7 +76,7 @@ |
2391 | GNU config.sub ($timestamp) |
2392 | |
2393 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
2394 | -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free |
2395 | +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free |
2396 | Software Foundation, Inc. |
2397 | |
2398 | This is free software; see the source for copying conditions. There is NO |
2399 | @@ -124,8 +124,9 @@ |
2400 | # Here we must recognize all the valid KERNEL-OS combinations. |
2401 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
2402 | case $maybe_os in |
2403 | - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
2404 | - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
2405 | + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
2406 | + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
2407 | + knetbsd*-gnu* | netbsd*-gnu* | \ |
2408 | kopensolaris*-gnu* | \ |
2409 | storm-chaos* | os2-emx* | rtmk-nova*) |
2410 | os=-$maybe_os |
2411 | @@ -157,8 +158,8 @@ |
2412 | os= |
2413 | basic_machine=$1 |
2414 | ;; |
2415 | - -bluegene*) |
2416 | - os=-cnk |
2417 | + -bluegene*) |
2418 | + os=-cnk |
2419 | ;; |
2420 | -sim | -cisco | -oki | -wec | -winbond) |
2421 | os= |
2422 | @@ -174,10 +175,10 @@ |
2423 | os=-chorusos |
2424 | basic_machine=$1 |
2425 | ;; |
2426 | - -chorusrdb) |
2427 | - os=-chorusrdb |
2428 | + -chorusrdb) |
2429 | + os=-chorusrdb |
2430 | basic_machine=$1 |
2431 | - ;; |
2432 | + ;; |
2433 | -hiux*) |
2434 | os=-hiuxwe2 |
2435 | ;; |
2436 | @@ -282,11 +283,13 @@ |
2437 | | moxie \ |
2438 | | mt \ |
2439 | | msp430 \ |
2440 | + | nds32 | nds32le | nds32be \ |
2441 | | nios | nios2 \ |
2442 | | ns16k | ns32k \ |
2443 | + | open8 \ |
2444 | | or32 \ |
2445 | | pdp10 | pdp11 | pj | pjl \ |
2446 | - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
2447 | + | powerpc | powerpc64 | powerpc64le | powerpcle \ |
2448 | | pyramid \ |
2449 | | rx \ |
2450 | | score \ |
2451 | @@ -294,15 +297,24 @@ |
2452 | | sh64 | sh64le \ |
2453 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
2454 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
2455 | - | spu | strongarm \ |
2456 | - | tahoe | thumb | tic4x | tic80 | tron \ |
2457 | + | spu \ |
2458 | + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ |
2459 | | ubicom32 \ |
2460 | | v850 | v850e \ |
2461 | | we32k \ |
2462 | - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
2463 | + | x86 | xc16x | xstormy16 | xtensa \ |
2464 | | z8k | z80) |
2465 | basic_machine=$basic_machine-unknown |
2466 | ;; |
2467 | + c54x) |
2468 | + basic_machine=tic54x-unknown |
2469 | + ;; |
2470 | + c55x) |
2471 | + basic_machine=tic55x-unknown |
2472 | + ;; |
2473 | + c6x) |
2474 | + basic_machine=tic6x-unknown |
2475 | + ;; |
2476 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) |
2477 | # Motorola 68HC11/12. |
2478 | basic_machine=$basic_machine-unknown |
2479 | @@ -314,6 +326,18 @@ |
2480 | basic_machine=mt-unknown |
2481 | ;; |
2482 | |
2483 | + strongarm | thumb | xscale) |
2484 | + basic_machine=arm-unknown |
2485 | + ;; |
2486 | + |
2487 | + xscaleeb) |
2488 | + basic_machine=armeb-unknown |
2489 | + ;; |
2490 | + |
2491 | + xscaleel) |
2492 | + basic_machine=armel-unknown |
2493 | + ;; |
2494 | + |
2495 | # We use `pc' rather than `unknown' |
2496 | # because (1) that's what they normally are, and |
2497 | # (2) the word "unknown" tends to confuse beginning users. |
2498 | @@ -334,7 +358,7 @@ |
2499 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
2500 | | avr-* | avr32-* \ |
2501 | | bfin-* | bs2000-* \ |
2502 | - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
2503 | + | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
2504 | | clipper-* | craynv-* | cydra-* \ |
2505 | | d10v-* | d30v-* | dlx-* \ |
2506 | | elxsi-* \ |
2507 | @@ -368,26 +392,28 @@ |
2508 | | mmix-* \ |
2509 | | mt-* \ |
2510 | | msp430-* \ |
2511 | + | nds32-* | nds32le-* | nds32be-* \ |
2512 | | nios-* | nios2-* \ |
2513 | | none-* | np1-* | ns16k-* | ns32k-* \ |
2514 | + | open8-* \ |
2515 | | orion-* \ |
2516 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
2517 | - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
2518 | + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
2519 | | pyramid-* \ |
2520 | | romp-* | rs6000-* | rx-* \ |
2521 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
2522 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
2523 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
2524 | | sparclite-* \ |
2525 | - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
2526 | - | tahoe-* | thumb-* \ |
2527 | + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ |
2528 | + | tahoe-* \ |
2529 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
2530 | | tile-* | tilegx-* \ |
2531 | | tron-* \ |
2532 | | ubicom32-* \ |
2533 | | v850-* | v850e-* | vax-* \ |
2534 | | we32k-* \ |
2535 | - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
2536 | + | x86-* | x86_64-* | xc16x-* | xps100-* \ |
2537 | | xstormy16-* | xtensa*-* \ |
2538 | | ymp-* \ |
2539 | | z8k-* | z80-*) |
2540 | @@ -412,7 +438,7 @@ |
2541 | basic_machine=a29k-amd |
2542 | os=-udi |
2543 | ;; |
2544 | - abacus) |
2545 | + abacus) |
2546 | basic_machine=abacus-unknown |
2547 | ;; |
2548 | adobe68k) |
2549 | @@ -482,11 +508,20 @@ |
2550 | basic_machine=powerpc-ibm |
2551 | os=-cnk |
2552 | ;; |
2553 | + c54x-*) |
2554 | + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` |
2555 | + ;; |
2556 | + c55x-*) |
2557 | + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` |
2558 | + ;; |
2559 | + c6x-*) |
2560 | + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` |
2561 | + ;; |
2562 | c90) |
2563 | basic_machine=c90-cray |
2564 | os=-unicos |
2565 | ;; |
2566 | - cegcc) |
2567 | + cegcc) |
2568 | basic_machine=arm-unknown |
2569 | os=-cegcc |
2570 | ;; |
2571 | @@ -518,7 +553,7 @@ |
2572 | basic_machine=craynv-cray |
2573 | os=-unicosmp |
2574 | ;; |
2575 | - cr16) |
2576 | + cr16 | cr16-*) |
2577 | basic_machine=cr16-unknown |
2578 | os=-elf |
2579 | ;; |
2580 | @@ -734,7 +769,7 @@ |
2581 | basic_machine=ns32k-utek |
2582 | os=-sysv |
2583 | ;; |
2584 | - microblaze) |
2585 | + microblaze) |
2586 | basic_machine=microblaze-xilinx |
2587 | ;; |
2588 | mingw32) |
2589 | @@ -841,6 +876,12 @@ |
2590 | np1) |
2591 | basic_machine=np1-gould |
2592 | ;; |
2593 | + neo-tandem) |
2594 | + basic_machine=neo-tandem |
2595 | + ;; |
2596 | + nse-tandem) |
2597 | + basic_machine=nse-tandem |
2598 | + ;; |
2599 | nsr-tandem) |
2600 | basic_machine=nsr-tandem |
2601 | ;; |
2602 | @@ -923,9 +964,10 @@ |
2603 | ;; |
2604 | power) basic_machine=power-ibm |
2605 | ;; |
2606 | - ppc) basic_machine=powerpc-unknown |
2607 | + ppc | ppcbe) basic_machine=powerpc-unknown |
2608 | ;; |
2609 | - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
2610 | + ppc-* | ppcbe-*) |
2611 | + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
2612 | ;; |
2613 | ppcle | powerpclittle | ppc-le | powerpc-little) |
2614 | basic_machine=powerpcle-unknown |
2615 | @@ -1019,6 +1061,9 @@ |
2616 | basic_machine=i860-stratus |
2617 | os=-sysv4 |
2618 | ;; |
2619 | + strongarm-* | thumb-*) |
2620 | + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` |
2621 | + ;; |
2622 | sun2) |
2623 | basic_machine=m68000-sun |
2624 | ;; |
2625 | @@ -1075,20 +1120,8 @@ |
2626 | basic_machine=t90-cray |
2627 | os=-unicos |
2628 | ;; |
2629 | - tic54x | c54x*) |
2630 | - basic_machine=tic54x-unknown |
2631 | - os=-coff |
2632 | - ;; |
2633 | - tic55x | c55x*) |
2634 | - basic_machine=tic55x-unknown |
2635 | - os=-coff |
2636 | - ;; |
2637 | - tic6x | c6x*) |
2638 | - basic_machine=tic6x-unknown |
2639 | - os=-coff |
2640 | - ;; |
2641 | - # This must be matched before tile*. |
2642 | - tilegx*) |
2643 | + # This must be matched before tile*. |
2644 | + tilegx*) |
2645 | basic_machine=tilegx-unknown |
2646 | os=-linux-gnu |
2647 | ;; |
2648 | @@ -1163,6 +1196,9 @@ |
2649 | xps | xps100) |
2650 | basic_machine=xps100-honeywell |
2651 | ;; |
2652 | + xscale-* | xscalee[bl]-*) |
2653 | + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` |
2654 | + ;; |
2655 | ymp) |
2656 | basic_machine=ymp-cray |
2657 | os=-unicos |
2658 | @@ -1260,11 +1296,11 @@ |
2659 | if [ x"$os" != x"" ] |
2660 | then |
2661 | case $os in |
2662 | - # First match some system type aliases |
2663 | - # that might get confused with valid system types. |
2664 | + # First match some system type aliases |
2665 | + # that might get confused with valid system types. |
2666 | # -solaris* is a basic system type, with this one exception. |
2667 | - -auroraux) |
2668 | - os=-auroraux |
2669 | + -auroraux) |
2670 | + os=-auroraux |
2671 | ;; |
2672 | -solaris1 | -solaris1.*) |
2673 | os=`echo $os | sed -e 's|solaris1|sunos4|'` |
2674 | @@ -1301,7 +1337,8 @@ |
2675 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
2676 | | -chorusos* | -chorusrdb* | -cegcc* \ |
2677 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
2678 | - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
2679 | + | -mingw32* | -linux-gnu* | -linux-android* \ |
2680 | + | -linux-newlib* | -linux-uclibc* \ |
2681 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
2682 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
2683 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
2684 | @@ -1348,7 +1385,7 @@ |
2685 | -opened*) |
2686 | os=-openedition |
2687 | ;; |
2688 | - -os400*) |
2689 | + -os400*) |
2690 | os=-os400 |
2691 | ;; |
2692 | -wince*) |
2693 | @@ -1397,7 +1434,7 @@ |
2694 | -sinix*) |
2695 | os=-sysv4 |
2696 | ;; |
2697 | - -tpf*) |
2698 | + -tpf*) |
2699 | os=-tpf |
2700 | ;; |
2701 | -triton*) |
2702 | @@ -1442,8 +1479,8 @@ |
2703 | -dicos*) |
2704 | os=-dicos |
2705 | ;; |
2706 | - -nacl*) |
2707 | - ;; |
2708 | + -nacl*) |
2709 | + ;; |
2710 | -none) |
2711 | ;; |
2712 | *) |
2713 | @@ -1466,10 +1503,10 @@ |
2714 | # system, and we'll never get to this point. |
2715 | |
2716 | case $basic_machine in |
2717 | - score-*) |
2718 | + score-*) |
2719 | os=-elf |
2720 | ;; |
2721 | - spu-*) |
2722 | + spu-*) |
2723 | os=-elf |
2724 | ;; |
2725 | *-acorn) |
2726 | @@ -1481,8 +1518,17 @@ |
2727 | arm*-semi) |
2728 | os=-aout |
2729 | ;; |
2730 | - c4x-* | tic4x-*) |
2731 | - os=-coff |
2732 | + c4x-* | tic4x-*) |
2733 | + os=-coff |
2734 | + ;; |
2735 | + tic54x-*) |
2736 | + os=-coff |
2737 | + ;; |
2738 | + tic55x-*) |
2739 | + os=-coff |
2740 | + ;; |
2741 | + tic6x-*) |
2742 | + os=-coff |
2743 | ;; |
2744 | # This must come before the *-dec entry. |
2745 | pdp10-*) |
2746 | @@ -1509,7 +1555,7 @@ |
2747 | m68*-cisco) |
2748 | os=-aout |
2749 | ;; |
2750 | - mep-*) |
2751 | + mep-*) |
2752 | os=-elf |
2753 | ;; |
2754 | mips*-cisco) |
2755 | @@ -1536,7 +1582,7 @@ |
2756 | *-ibm) |
2757 | os=-aix |
2758 | ;; |
2759 | - *-knuth) |
2760 | + *-knuth) |
2761 | os=-mmixware |
2762 | ;; |
2763 | *-wec) |
2764 | |
2765 | === modified file 'config.aux/ltmain.sh' |
2766 | --- config.aux/ltmain.sh 2011-03-23 18:16:08 +0000 |
2767 | +++ config.aux/ltmain.sh 2012-08-23 18:45:02 +0000 |
2768 | @@ -1,9 +1,9 @@ |
2769 | -# Generated from ltmain.m4sh. |
2770 | |
2771 | -# ltmain.sh (GNU libtool) 2.2.6b |
2772 | +# libtool (GNU libtool) 2.4 |
2773 | # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
2774 | |
2775 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. |
2776 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, |
2777 | +# 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
2778 | # This is free software; see the source for copying conditions. There is NO |
2779 | # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
2780 | |
2781 | @@ -32,50 +32,56 @@ |
2782 | # |
2783 | # Provide generalized library-building support services. |
2784 | # |
2785 | -# --config show all configuration variables |
2786 | -# --debug enable verbose shell tracing |
2787 | -# -n, --dry-run display commands without modifying any files |
2788 | -# --features display basic configuration information and exit |
2789 | -# --mode=MODE use operation mode MODE |
2790 | -# --preserve-dup-deps don't remove duplicate dependency libraries |
2791 | -# --quiet, --silent don't print informational messages |
2792 | -# --tag=TAG use configuration variables from tag TAG |
2793 | -# -v, --verbose print informational messages (default) |
2794 | -# --version print version information |
2795 | -# -h, --help print short or long help message |
2796 | +# --config show all configuration variables |
2797 | +# --debug enable verbose shell tracing |
2798 | +# -n, --dry-run display commands without modifying any files |
2799 | +# --features display basic configuration information and exit |
2800 | +# --mode=MODE use operation mode MODE |
2801 | +# --preserve-dup-deps don't remove duplicate dependency libraries |
2802 | +# --quiet, --silent don't print informational messages |
2803 | +# --no-quiet, --no-silent |
2804 | +# print informational messages (default) |
2805 | +# --tag=TAG use configuration variables from tag TAG |
2806 | +# -v, --verbose print more informational messages than default |
2807 | +# --no-verbose don't print the extra informational messages |
2808 | +# --version print version information |
2809 | +# -h, --help, --help-all print short, long, or detailed help message |
2810 | # |
2811 | # MODE must be one of the following: |
2812 | # |
2813 | -# clean remove files from the build directory |
2814 | -# compile compile a source file into a libtool object |
2815 | -# execute automatically set library path, then run a program |
2816 | -# finish complete the installation of libtool libraries |
2817 | -# install install libraries or executables |
2818 | -# link create a library or an executable |
2819 | -# uninstall remove libraries from an installed directory |
2820 | +# clean remove files from the build directory |
2821 | +# compile compile a source file into a libtool object |
2822 | +# execute automatically set library path, then run a program |
2823 | +# finish complete the installation of libtool libraries |
2824 | +# install install libraries or executables |
2825 | +# link create a library or an executable |
2826 | +# uninstall remove libraries from an installed directory |
2827 | # |
2828 | -# MODE-ARGS vary depending on the MODE. |
2829 | +# MODE-ARGS vary depending on the MODE. When passed as first option, |
2830 | +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. |
2831 | # Try `$progname --help --mode=MODE' for a more detailed description of MODE. |
2832 | # |
2833 | # When reporting a bug, please describe a test case to reproduce it and |
2834 | # include the following information: |
2835 | # |
2836 | -# host-triplet: $host |
2837 | -# shell: $SHELL |
2838 | -# compiler: $LTCC |
2839 | -# compiler flags: $LTCFLAGS |
2840 | -# linker: $LD (gnu? $with_gnu_ld) |
2841 | -# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3 |
2842 | -# automake: $automake_version |
2843 | -# autoconf: $autoconf_version |
2844 | +# host-triplet: $host |
2845 | +# shell: $SHELL |
2846 | +# compiler: $LTCC |
2847 | +# compiler flags: $LTCFLAGS |
2848 | +# linker: $LD (gnu? $with_gnu_ld) |
2849 | +# $progname: (GNU libtool) 2.4 Debian-2.4-2ubuntu1 |
2850 | +# automake: $automake_version |
2851 | +# autoconf: $autoconf_version |
2852 | # |
2853 | # Report bugs to <bug-libtool@gnu.org>. |
2854 | +# GNU libtool home page: <http://www.gnu.org/software/libtool/>. |
2855 | +# General help using GNU software: <http://www.gnu.org/gethelp/>. |
2856 | |
2857 | -PROGRAM=ltmain.sh |
2858 | +PROGRAM=libtool |
2859 | PACKAGE=libtool |
2860 | -VERSION="2.2.6b Debian-2.2.6b-2ubuntu3" |
2861 | +VERSION="2.4 Debian-2.4-2ubuntu1" |
2862 | TIMESTAMP="" |
2863 | -package_revision=1.3017 |
2864 | +package_revision=1.3293 |
2865 | |
2866 | # Be Bourne compatible |
2867 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
2868 | @@ -91,10 +97,15 @@ |
2869 | BIN_SH=xpg4; export BIN_SH # for Tru64 |
2870 | DUALCASE=1; export DUALCASE # for MKS sh |
2871 | |
2872 | +# A function that is used when there is no print builtin or printf. |
2873 | +func_fallback_echo () |
2874 | +{ |
2875 | + eval 'cat <<_LTECHO_EOF |
2876 | +$1 |
2877 | +_LTECHO_EOF' |
2878 | +} |
2879 | + |
2880 | # NLS nuisances: We save the old values to restore during execute mode. |
2881 | -# Only set LANG and LC_ALL to C if already set. |
2882 | -# These must not be set unconditionally because not all systems understand |
2883 | -# e.g. LANG=C (notably SCO). |
2884 | lt_user_locale= |
2885 | lt_safe_locale= |
2886 | for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES |
2887 | @@ -107,15 +118,24 @@ |
2888 | lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" |
2889 | fi" |
2890 | done |
2891 | +LC_ALL=C |
2892 | +LANGUAGE=C |
2893 | +export LANGUAGE LC_ALL |
2894 | |
2895 | $lt_unset CDPATH |
2896 | |
2897 | |
2898 | +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh |
2899 | +# is ksh but when the shell is invoked as "sh" and the current value of |
2900 | +# the _XPG environment variable is not equal to 1 (one), the special |
2901 | +# positional parameter $0, within a function call, is the name of the |
2902 | +# function. |
2903 | +progpath="$0" |
2904 | |
2905 | |
2906 | |
2907 | : ${CP="cp -f"} |
2908 | -: ${ECHO="echo"} |
2909 | +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} |
2910 | : ${EGREP="/bin/grep -E"} |
2911 | : ${FGREP="/bin/grep -F"} |
2912 | : ${GREP="/bin/grep"} |
2913 | @@ -144,6 +164,27 @@ |
2914 | dirname="s,/[^/]*$,," |
2915 | basename="s,^.*/,," |
2916 | |
2917 | +# func_dirname file append nondir_replacement |
2918 | +# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
2919 | +# otherwise set result to NONDIR_REPLACEMENT. |
2920 | +func_dirname () |
2921 | +{ |
2922 | + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` |
2923 | + if test "X$func_dirname_result" = "X${1}"; then |
2924 | + func_dirname_result="${3}" |
2925 | + else |
2926 | + func_dirname_result="$func_dirname_result${2}" |
2927 | + fi |
2928 | +} # func_dirname may be replaced by extended shell implementation |
2929 | + |
2930 | + |
2931 | +# func_basename file |
2932 | +func_basename () |
2933 | +{ |
2934 | + func_basename_result=`$ECHO "${1}" | $SED "$basename"` |
2935 | +} # func_basename may be replaced by extended shell implementation |
2936 | + |
2937 | + |
2938 | # func_dirname_and_basename file append nondir_replacement |
2939 | # perform func_basename and func_dirname in a single function |
2940 | # call: |
2941 | @@ -158,33 +199,183 @@ |
2942 | # those functions but instead duplicate the functionality here. |
2943 | func_dirname_and_basename () |
2944 | { |
2945 | - # Extract subdirectory from the argument. |
2946 | - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
2947 | - if test "X$func_dirname_result" = "X${1}"; then |
2948 | - func_dirname_result="${3}" |
2949 | - else |
2950 | - func_dirname_result="$func_dirname_result${2}" |
2951 | - fi |
2952 | - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
2953 | -} |
2954 | - |
2955 | -# Generated shell functions inserted here. |
2956 | - |
2957 | -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh |
2958 | -# is ksh but when the shell is invoked as "sh" and the current value of |
2959 | -# the _XPG environment variable is not equal to 1 (one), the special |
2960 | -# positional parameter $0, within a function call, is the name of the |
2961 | -# function. |
2962 | -progpath="$0" |
2963 | + # Extract subdirectory from the argument. |
2964 | + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` |
2965 | + if test "X$func_dirname_result" = "X${1}"; then |
2966 | + func_dirname_result="${3}" |
2967 | + else |
2968 | + func_dirname_result="$func_dirname_result${2}" |
2969 | + fi |
2970 | + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` |
2971 | +} # func_dirname_and_basename may be replaced by extended shell implementation |
2972 | + |
2973 | + |
2974 | +# func_stripname prefix suffix name |
2975 | +# strip PREFIX and SUFFIX off of NAME. |
2976 | +# PREFIX and SUFFIX must not contain globbing or regex special |
2977 | +# characters, hashes, percent signs, but SUFFIX may contain a leading |
2978 | +# dot (in which case that matches only a dot). |
2979 | +# func_strip_suffix prefix name |
2980 | +func_stripname () |
2981 | +{ |
2982 | + case ${2} in |
2983 | + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
2984 | + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
2985 | + esac |
2986 | +} # func_stripname may be replaced by extended shell implementation |
2987 | + |
2988 | + |
2989 | +# These SED scripts presuppose an absolute path with a trailing slash. |
2990 | +pathcar='s,^/\([^/]*\).*$,\1,' |
2991 | +pathcdr='s,^/[^/]*,,' |
2992 | +removedotparts=':dotsl |
2993 | + s@/\./@/@g |
2994 | + t dotsl |
2995 | + s,/\.$,/,' |
2996 | +collapseslashes='s@/\{1,\}@/@g' |
2997 | +finalslash='s,/*$,/,' |
2998 | + |
2999 | +# func_normal_abspath PATH |
3000 | +# Remove doubled-up and trailing slashes, "." path components, |
3001 | +# and cancel out any ".." path components in PATH after making |
3002 | +# it an absolute path. |
3003 | +# value returned in "$func_normal_abspath_result" |
3004 | +func_normal_abspath () |
3005 | +{ |
3006 | + # Start from root dir and reassemble the path. |
3007 | + func_normal_abspath_result= |
3008 | + func_normal_abspath_tpath=$1 |
3009 | + func_normal_abspath_altnamespace= |
3010 | + case $func_normal_abspath_tpath in |
3011 | + "") |
3012 | + # Empty path, that just means $cwd. |
3013 | + func_stripname '' '/' "`pwd`" |
3014 | + func_normal_abspath_result=$func_stripname_result |
3015 | + return |
3016 | + ;; |
3017 | + # The next three entries are used to spot a run of precisely |
3018 | + # two leading slashes without using negated character classes; |
3019 | + # we take advantage of case's first-match behaviour. |
3020 | + ///*) |
3021 | + # Unusual form of absolute path, do nothing. |
3022 | + ;; |
3023 | + //*) |
3024 | + # Not necessarily an ordinary path; POSIX reserves leading '//' |
3025 | + # and for example Cygwin uses it to access remote file shares |
3026 | + # over CIFS/SMB, so we conserve a leading double slash if found. |
3027 | + func_normal_abspath_altnamespace=/ |
3028 | + ;; |
3029 | + /*) |
3030 | + # Absolute path, do nothing. |
3031 | + ;; |
3032 | + *) |
3033 | + # Relative path, prepend $cwd. |
3034 | + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath |
3035 | + ;; |
3036 | + esac |
3037 | + # Cancel out all the simple stuff to save iterations. We also want |
3038 | + # the path to end with a slash for ease of parsing, so make sure |
3039 | + # there is one (and only one) here. |
3040 | + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ |
3041 | + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` |
3042 | + while :; do |
3043 | + # Processed it all yet? |
3044 | + if test "$func_normal_abspath_tpath" = / ; then |
3045 | + # If we ascended to the root using ".." the result may be empty now. |
3046 | + if test -z "$func_normal_abspath_result" ; then |
3047 | + func_normal_abspath_result=/ |
3048 | + fi |
3049 | + break |
3050 | + fi |
3051 | + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ |
3052 | + -e "$pathcar"` |
3053 | + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ |
3054 | + -e "$pathcdr"` |
3055 | + # Figure out what to do with it |
3056 | + case $func_normal_abspath_tcomponent in |
3057 | + "") |
3058 | + # Trailing empty path component, ignore it. |
3059 | + ;; |
3060 | + ..) |
3061 | + # Parent dir; strip last assembled component from result. |
3062 | + func_dirname "$func_normal_abspath_result" |
3063 | + func_normal_abspath_result=$func_dirname_result |
3064 | + ;; |
3065 | + *) |
3066 | + # Actual path component, append it. |
3067 | + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent |
3068 | + ;; |
3069 | + esac |
3070 | + done |
3071 | + # Restore leading double-slash if one was found on entry. |
3072 | + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result |
3073 | +} |
3074 | + |
3075 | +# func_relative_path SRCDIR DSTDIR |
3076 | +# generates a relative path from SRCDIR to DSTDIR, with a trailing |
3077 | +# slash if non-empty, suitable for immediately appending a filename |
3078 | +# without needing to append a separator. |
3079 | +# value returned in "$func_relative_path_result" |
3080 | +func_relative_path () |
3081 | +{ |
3082 | + func_relative_path_result= |
3083 | + func_normal_abspath "$1" |
3084 | + func_relative_path_tlibdir=$func_normal_abspath_result |
3085 | + func_normal_abspath "$2" |
3086 | + func_relative_path_tbindir=$func_normal_abspath_result |
3087 | + |
3088 | + # Ascend the tree starting from libdir |
3089 | + while :; do |
3090 | + # check if we have found a prefix of bindir |
3091 | + case $func_relative_path_tbindir in |
3092 | + $func_relative_path_tlibdir) |
3093 | + # found an exact match |
3094 | + func_relative_path_tcancelled= |
3095 | + break |
3096 | + ;; |
3097 | + $func_relative_path_tlibdir*) |
3098 | + # found a matching prefix |
3099 | + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" |
3100 | + func_relative_path_tcancelled=$func_stripname_result |
3101 | + if test -z "$func_relative_path_result"; then |
3102 | + func_relative_path_result=. |
3103 | + fi |
3104 | + break |
3105 | + ;; |
3106 | + *) |
3107 | + func_dirname $func_relative_path_tlibdir |
3108 | + func_relative_path_tlibdir=${func_dirname_result} |
3109 | + if test "x$func_relative_path_tlibdir" = x ; then |
3110 | + # Have to descend all the way to the root! |
3111 | + func_relative_path_result=../$func_relative_path_result |
3112 | + func_relative_path_tcancelled=$func_relative_path_tbindir |
3113 | + break |
3114 | + fi |
3115 | + func_relative_path_result=../$func_relative_path_result |
3116 | + ;; |
3117 | + esac |
3118 | + done |
3119 | + |
3120 | + # Now calculate path; take care to avoid doubling-up slashes. |
3121 | + func_stripname '' '/' "$func_relative_path_result" |
3122 | + func_relative_path_result=$func_stripname_result |
3123 | + func_stripname '/' '/' "$func_relative_path_tcancelled" |
3124 | + if test "x$func_stripname_result" != x ; then |
3125 | + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} |
3126 | + fi |
3127 | + |
3128 | + # Normalisation. If bindir is libdir, return empty string, |
3129 | + # else relative path ending with a slash; either way, target |
3130 | + # file name can be directly appended. |
3131 | + if test ! -z "$func_relative_path_result"; then |
3132 | + func_stripname './' '' "$func_relative_path_result/" |
3133 | + func_relative_path_result=$func_stripname_result |
3134 | + fi |
3135 | +} |
3136 | |
3137 | # The name of this program: |
3138 | -# In the unlikely event $progname began with a '-', it would play havoc with |
3139 | -# func_echo (imagine progname=-n), so we prepend ./ in that case: |
3140 | func_dirname_and_basename "$progpath" |
3141 | progname=$func_basename_result |
3142 | -case $progname in |
3143 | - -*) progname=./$progname ;; |
3144 | -esac |
3145 | |
3146 | # Make sure we have an absolute path for reexecution: |
3147 | case $progpath in |
3148 | @@ -215,6 +406,15 @@ |
3149 | # Same as above, but do not quote variable references. |
3150 | double_quote_subst='s/\(["`\\]\)/\\\1/g' |
3151 | |
3152 | +# Sed substitution that turns a string into a regex matching for the |
3153 | +# string literally. |
3154 | +sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' |
3155 | + |
3156 | +# Sed substitution that converts a w32 file name or path |
3157 | +# which contains forward slashes, into one that contains |
3158 | +# (escaped) backslashes. A very naive implementation. |
3159 | +lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' |
3160 | + |
3161 | # Re-`\' parameter expansions in output of double_quote_subst that were |
3162 | # `\'-ed in input to the same. If an odd number of `\' preceded a '$' |
3163 | # in input to double_quote_subst, that '$' was protected from expansion. |
3164 | @@ -243,7 +443,7 @@ |
3165 | # name if it has been set yet. |
3166 | func_echo () |
3167 | { |
3168 | - $ECHO "$progname${mode+: }$mode: $*" |
3169 | + $ECHO "$progname: ${opt_mode+$opt_mode: }$*" |
3170 | } |
3171 | |
3172 | # func_verbose arg... |
3173 | @@ -258,18 +458,25 @@ |
3174 | : |
3175 | } |
3176 | |
3177 | +# func_echo_all arg... |
3178 | +# Invoke $ECHO with all args, space-separated. |
3179 | +func_echo_all () |
3180 | +{ |
3181 | + $ECHO "$*" |
3182 | +} |
3183 | + |
3184 | # func_error arg... |
3185 | # Echo program name prefixed message to standard error. |
3186 | func_error () |
3187 | { |
3188 | - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 |
3189 | + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 |
3190 | } |
3191 | |
3192 | # func_warning arg... |
3193 | # Echo program name prefixed warning message to standard error. |
3194 | func_warning () |
3195 | { |
3196 | - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 |
3197 | + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 |
3198 | |
3199 | # bash bug again: |
3200 | : |
3201 | @@ -326,9 +533,9 @@ |
3202 | case $my_directory_path in */*) ;; *) break ;; esac |
3203 | |
3204 | # ...otherwise throw away the child directory and loop |
3205 | - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` |
3206 | + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` |
3207 | done |
3208 | - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` |
3209 | + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` |
3210 | |
3211 | save_mkdir_p_IFS="$IFS"; IFS=':' |
3212 | for my_dir in $my_dir_list; do |
3213 | @@ -378,7 +585,7 @@ |
3214 | func_fatal_error "cannot create temporary directory \`$my_tmpdir'" |
3215 | fi |
3216 | |
3217 | - $ECHO "X$my_tmpdir" | $Xsed |
3218 | + $ECHO "$my_tmpdir" |
3219 | } |
3220 | |
3221 | |
3222 | @@ -392,7 +599,7 @@ |
3223 | { |
3224 | case $1 in |
3225 | *[\\\`\"\$]*) |
3226 | - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; |
3227 | + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; |
3228 | *) |
3229 | func_quote_for_eval_unquoted_result="$1" ;; |
3230 | esac |
3231 | @@ -419,7 +626,7 @@ |
3232 | { |
3233 | case $1 in |
3234 | *[\\\`\"]*) |
3235 | - my_arg=`$ECHO "X$1" | $Xsed \ |
3236 | + my_arg=`$ECHO "$1" | $SED \ |
3237 | -e "$double_quote_subst" -e "$sed_double_backslash"` ;; |
3238 | *) |
3239 | my_arg="$1" ;; |
3240 | @@ -488,15 +695,39 @@ |
3241 | fi |
3242 | } |
3243 | |
3244 | - |
3245 | - |
3246 | +# func_tr_sh |
3247 | +# Turn $1 into a string suitable for a shell variable name. |
3248 | +# Result is stored in $func_tr_sh_result. All characters |
3249 | +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, |
3250 | +# if $1 begins with a digit, a '_' is prepended as well. |
3251 | +func_tr_sh () |
3252 | +{ |
3253 | + case $1 in |
3254 | + [0-9]* | *[!a-zA-Z0-9_]*) |
3255 | + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` |
3256 | + ;; |
3257 | + * ) |
3258 | + func_tr_sh_result=$1 |
3259 | + ;; |
3260 | + esac |
3261 | +} |
3262 | |
3263 | |
3264 | # func_version |
3265 | # Echo version message to standard output and exit. |
3266 | func_version () |
3267 | { |
3268 | - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { |
3269 | + $opt_debug |
3270 | + |
3271 | + $SED -n '/(C)/!b go |
3272 | + :more |
3273 | + /\./!{ |
3274 | + N |
3275 | + s/\n# / / |
3276 | + b more |
3277 | + } |
3278 | + :go |
3279 | + /^# '$PROGRAM' (GNU /,/# warranty; / { |
3280 | s/^# // |
3281 | s/^# *$// |
3282 | s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ |
3283 | @@ -509,22 +740,28 @@ |
3284 | # Echo short help message to standard output and exit. |
3285 | func_usage () |
3286 | { |
3287 | - $SED -n '/^# Usage:/,/# -h/ { |
3288 | + $opt_debug |
3289 | + |
3290 | + $SED -n '/^# Usage:/,/^# *.*--help/ { |
3291 | s/^# // |
3292 | s/^# *$// |
3293 | s/\$progname/'$progname'/ |
3294 | p |
3295 | }' < "$progpath" |
3296 | - $ECHO |
3297 | + echo |
3298 | $ECHO "run \`$progname --help | more' for full usage" |
3299 | exit $? |
3300 | } |
3301 | |
3302 | -# func_help |
3303 | -# Echo long help message to standard output and exit. |
3304 | +# func_help [NOEXIT] |
3305 | +# Echo long help message to standard output and exit, |
3306 | +# unless 'noexit' is passed as argument. |
3307 | func_help () |
3308 | { |
3309 | + $opt_debug |
3310 | + |
3311 | $SED -n '/^# Usage:/,/# Report bugs to/ { |
3312 | |
3313 | s/^# // |
3314 | s/^# *$// |
3315 | s*\$progname*'$progname'* |
3316 | @@ -537,8 +774,15 @@ |
3317 | s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ |
3318 | s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ |
3319 | p |
3320 | - }' < "$progpath" |
3321 | - exit $? |
3322 | + d |
3323 | + } |
3324 | + /^# .* home page:/b print |
3325 | + /^# General help using/b print |
3326 | + ' < "$progpath" |
3327 | + ret=$? |
3328 | + if test -z "$1"; then |
3329 | + exit $ret |
3330 | + fi |
3331 | } |
3332 | |
3333 | # func_missing_arg argname |
3334 | @@ -546,63 +790,106 @@ |
3335 | # exit_cmd. |
3336 | func_missing_arg () |
3337 | { |
3338 | - func_error "missing argument for $1" |
3339 | + $opt_debug |
3340 | + |
3341 | + func_error "missing argument for $1." |
3342 | exit_cmd=exit |
3343 | } |
3344 | |
3345 | + |
3346 | +# func_split_short_opt shortopt |
3347 | +# Set func_split_short_opt_name and func_split_short_opt_arg shell |
3348 | +# variables after splitting SHORTOPT after the 2nd character. |
3349 | +func_split_short_opt () |
3350 | +{ |
3351 | + my_sed_short_opt='1s/^\(..\).*$/\1/;q' |
3352 | + my_sed_short_rest='1s/^..\(.*\)$/\1/;q' |
3353 | + |
3354 | + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` |
3355 | + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` |
3356 | +} # func_split_short_opt may be replaced by extended shell implementation |
3357 | + |
3358 | + |
3359 | +# func_split_long_opt longopt |
3360 | +# Set func_split_long_opt_name and func_split_long_opt_arg shell |
3361 | +# variables after splitting LONGOPT at the `=' sign. |
3362 | +func_split_long_opt () |
3363 | +{ |
3364 | + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' |
3365 | + my_sed_long_arg='1s/^--[^=]*=//' |
3366 | + |
3367 | + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` |
3368 | + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` |
3369 | +} # func_split_long_opt may be replaced by extended shell implementation |
3370 | + |
3371 | exit_cmd=: |
3372 | |
3373 | |
3374 | |
3375 | |
3376 | |
3377 | -# Check that we have a working $ECHO. |
3378 | -if test "X$1" = X--no-reexec; then |
3379 | - # Discard the --no-reexec flag, and continue. |
3380 | - shift |
3381 | -elif test "X$1" = X--fallback-echo; then |
3382 | - # Avoid inline document here, it may be left over |
3383 | - : |
3384 | -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then |
3385 | - # Yippee, $ECHO works! |
3386 | - : |
3387 | -else |
3388 | - # Restart under the correct shell, and then maybe $ECHO will work. |
3389 | - exec $SHELL "$progpath" --no-reexec ${1+"$@"} |
3390 | -fi |
3391 | - |
3392 | -if test "X$1" = X--fallback-echo; then |
3393 | - # used as fallback echo |
3394 | - shift |
3395 | - cat <<EOF |
3396 | -$* |
3397 | -EOF |
3398 | - exit $EXIT_SUCCESS |
3399 | -fi |
3400 | - |
3401 | magic="%%%MAGIC variable%%%" |
3402 | magic_exe="%%%MAGIC EXE variable%%%" |
3403 | |
3404 | # Global variables. |
3405 | -# $mode is unset |
3406 | nonopt= |
3407 | -execute_dlfiles= |
3408 | preserve_args= |
3409 | lo2o="s/\\.lo\$/.${objext}/" |
3410 | o2lo="s/\\.${objext}\$/.lo/" |
3411 | extracted_archives= |
3412 | extracted_serial=0 |
3413 | |
3414 | -opt_dry_run=false |
3415 | -opt_duplicate_deps=false |
3416 | -opt_silent=false |
3417 | -opt_debug=: |
3418 | - |
3419 | # If this variable is set in any of the actions, the command in it |
3420 | # will be execed at the end. This prevents here-documents from being |
3421 | # left over by shells. |
3422 | exec_cmd= |
3423 | |
3424 | +# func_append var value |
3425 | +# Append VALUE to the end of shell variable VAR. |
3426 | +func_append () |
3427 | +{ |
3428 | + eval "${1}=\$${1}\${2}" |
3429 | +} # func_append may be replaced by extended shell implementation |
3430 | + |
3431 | +# func_append_quoted var value |
3432 | +# Quote VALUE and append to the end of shell variable VAR, separated |
3433 | +# by a space. |
3434 | +func_append_quoted () |
3435 | +{ |
3436 | + func_quote_for_eval "${2}" |
3437 | + eval "${1}=\$${1}\\ \$func_quote_for_eval_result" |
3438 | +} # func_append_quoted may be replaced by extended shell implementation |
3439 | + |
3440 | + |
3441 | +# func_arith arithmetic-term... |
3442 | +func_arith () |
3443 | +{ |
3444 | + func_arith_result=`expr "${@}"` |
3445 | +} # func_arith may be replaced by extended shell implementation |
3446 | + |
3447 | + |
3448 | +# func_len string |
3449 | +# STRING may not start with a hyphen. |
3450 | +func_len () |
3451 | +{ |
3452 | + func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` |
3453 | +} # func_len may be replaced by extended shell implementation |
3454 | + |
3455 | + |
3456 | +# func_lo2o object |
3457 | +func_lo2o () |
3458 | +{ |
3459 | + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` |
3460 | +} # func_lo2o may be replaced by extended shell implementation |
3461 | + |
3462 | + |
3463 | +# func_xform libobj-or-source |
3464 | +func_xform () |
3465 | +{ |
3466 | + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` |
3467 | +} # func_xform may be replaced by extended shell implementation |
3468 | + |
3469 | + |
3470 | # func_fatal_configuration arg... |
3471 | # Echo program name prefixed message to standard error, followed by |
3472 | # a configuration failure hint, and exit. |
3473 | @@ -636,16 +923,16 @@ |
3474 | # Display the features supported by this script. |
3475 | func_features () |
3476 | { |
3477 | - $ECHO "host: $host" |
3478 | + echo "host: $host" |
3479 | if test "$build_libtool_libs" = yes; then |
3480 | - $ECHO "enable shared libraries" |
3481 | + echo "enable shared libraries" |
3482 | else |
3483 | - $ECHO "disable shared libraries" |
3484 | + echo "disable shared libraries" |
3485 | fi |
3486 | if test "$build_old_libs" = yes; then |
3487 | - $ECHO "enable static libraries" |
3488 | + echo "enable static libraries" |
3489 | else |
3490 | - $ECHO "disable static libraries" |
3491 | + echo "disable static libraries" |
3492 | fi |
3493 | |
3494 | exit $? |
3495 | @@ -692,133 +979,6 @@ |
3496 | esac |
3497 | } |
3498 | |
3499 | -# Parse options once, thoroughly. This comes as soon as possible in |
3500 | -# the script to make things like `libtool --version' happen quickly. |
3501 | -{ |
3502 | - |
3503 | - # Shorthand for --mode=foo, only valid as the first argument |
3504 | - case $1 in |
3505 | - clean|clea|cle|cl) |
3506 | - shift; set dummy --mode clean ${1+"$@"}; shift |
3507 | - ;; |
3508 | - compile|compil|compi|comp|com|co|c) |
3509 | - shift; set dummy --mode compile ${1+"$@"}; shift |
3510 | - ;; |
3511 | - execute|execut|execu|exec|exe|ex|e) |
3512 | - shift; set dummy --mode execute ${1+"$@"}; shift |
3513 | - ;; |
3514 | - finish|finis|fini|fin|fi|f) |
3515 | - shift; set dummy --mode finish ${1+"$@"}; shift |
3516 | - ;; |
3517 | - install|instal|insta|inst|ins|in|i) |
3518 | - shift; set dummy --mode install ${1+"$@"}; shift |
3519 | - ;; |
3520 | - link|lin|li|l) |
3521 | - shift; set dummy --mode link ${1+"$@"}; shift |
3522 | - ;; |
3523 | - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) |
3524 | - shift; set dummy --mode uninstall ${1+"$@"}; shift |
3525 | - ;; |
3526 | - esac |
3527 | - |
3528 | - # Parse non-mode specific arguments: |
3529 | - while test "$#" -gt 0; do |
3530 | - opt="$1" |
3531 | - shift |
3532 | - |
3533 | - case $opt in |
3534 | - --config) func_config ;; |
3535 | - |
3536 | - --debug) preserve_args="$preserve_args $opt" |
3537 | - func_echo "enabling shell trace mode" |
3538 | - opt_debug='set -x' |
3539 | - $opt_debug |
3540 | - ;; |
3541 | - |
3542 | - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break |
3543 | - execute_dlfiles="$execute_dlfiles $1" |
3544 | - shift |
3545 | - ;; |
3546 | - |
3547 | - --dry-run | -n) opt_dry_run=: ;; |
3548 | - --features) func_features ;; |
3549 | - --finish) mode="finish" ;; |
3550 | - |
3551 | - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break |
3552 | - case $1 in |
3553 | - # Valid mode arguments: |
3554 | - clean) ;; |
3555 | - compile) ;; |
3556 | - execute) ;; |
3557 | - finish) ;; |
3558 | - install) ;; |
3559 | - link) ;; |
3560 | - relink) ;; |
3561 | - uninstall) ;; |
3562 | - |
3563 | - # Catch anything else as an error |
3564 | - *) func_error "invalid argument for $opt" |
3565 | - exit_cmd=exit |
3566 | - break |
3567 | - ;; |
3568 | - esac |
3569 | - |
3570 | - mode="$1" |
3571 | - shift |
3572 | - ;; |
3573 | - |
3574 | - --preserve-dup-deps) |
3575 | - opt_duplicate_deps=: ;; |
3576 | - |
3577 | - --quiet|--silent) preserve_args="$preserve_args $opt" |
3578 | - opt_silent=: |
3579 | - ;; |
3580 | - |
3581 | - --verbose| -v) preserve_args="$preserve_args $opt" |
3582 | - opt_silent=false |
3583 | - ;; |
3584 | - |
3585 | - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break |
3586 | - preserve_args="$preserve_args $opt $1" |
3587 | - func_enable_tag "$1" # tagname is set here |
3588 | - shift |
3589 | - ;; |
3590 | - |
3591 | - # Separate optargs to long options: |
3592 | - -dlopen=*|--mode=*|--tag=*) |
3593 | - func_opt_split "$opt" |
3594 | - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} |
3595 | - shift |
3596 | - ;; |
3597 | - |
3598 | - -\?|-h) func_usage ;; |
3599 | - --help) opt_help=: ;; |
3600 | - --version) func_version ;; |
3601 | - |
3602 | - -*) func_fatal_help "unrecognized option \`$opt'" ;; |
3603 | - |
3604 | - *) nonopt="$opt" |
3605 | - break |
3606 | - ;; |
3607 | - esac |
3608 | - done |
3609 | - |
3610 | - |
3611 | - case $host in |
3612 | - *cygwin* | *mingw* | *pw32* | *cegcc*) |
3613 | - # don't eliminate duplications in $postdeps and $predeps |
3614 | - opt_duplicate_compiler_generated_deps=: |
3615 | - ;; |
3616 | - *) |
3617 | - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps |
3618 | - ;; |
3619 | - esac |
3620 | - |
3621 | - # Having warned about all mis-specified options, bail out if |
3622 | - # anything was wrong. |
3623 | - $exit_cmd $EXIT_FAILURE |
3624 | -} |
3625 | - |
3626 | # func_check_version_match |
3627 | # Ensure that we are using m4 macros, and libtool script from the same |
3628 | # release of libtool. |
3629 | @@ -855,38 +1015,214 @@ |
3630 | } |
3631 | |
3632 | |
3633 | +# Shorthand for --mode=foo, only valid as the first argument |
3634 | +case $1 in |
3635 | +clean|clea|cle|cl) |
3636 | + shift; set dummy --mode clean ${1+"$@"}; shift |
3637 | + ;; |
3638 | +compile|compil|compi|comp|com|co|c) |
3639 | + shift; set dummy --mode compile ${1+"$@"}; shift |
3640 | + ;; |
3641 | +execute|execut|execu|exec|exe|ex|e) |
3642 | + shift; set dummy --mode execute ${1+"$@"}; shift |
3643 | + ;; |
3644 | +finish|finis|fini|fin|fi|f) |
3645 | + shift; set dummy --mode finish ${1+"$@"}; shift |
3646 | + ;; |
3647 | +install|instal|insta|inst|ins|in|i) |
3648 | + shift; set dummy --mode install ${1+"$@"}; shift |
3649 | + ;; |
3650 | +link|lin|li|l) |
3651 | + shift; set dummy --mode link ${1+"$@"}; shift |
3652 | + ;; |
3653 | +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) |
3654 | + shift; set dummy --mode uninstall ${1+"$@"}; shift |
3655 | + ;; |
3656 | +esac |
3657 | + |
3658 | + |
3659 | + |
3660 | +# Option defaults: |
3661 | +opt_debug=: |
3662 | +opt_dry_run=false |
3663 | +opt_config=false |
3664 | +opt_preserve_dup_deps=false |
3665 | +opt_features=false |
3666 | +opt_finish=false |
3667 | +opt_help=false |
3668 | +opt_help_all=false |
3669 | +opt_silent=: |
3670 | +opt_verbose=: |
3671 | +opt_silent=false |
3672 | +opt_verbose=false |
3673 | + |
3674 | + |
3675 | +# Parse options once, thoroughly. This comes as soon as possible in the |
3676 | +# script to make things like `--version' happen as quickly as we can. |
3677 | +{ |
3678 | + # this just eases exit handling |
3679 | + while test $# -gt 0; do |
3680 | + opt="$1" |
3681 | + shift |
3682 | + case $opt in |
3683 | + --debug|-x) opt_debug='set -x' |
3684 | + func_echo "enabling shell trace mode" |
3685 | + $opt_debug |
3686 | + ;; |
3687 | + --dry-run|--dryrun|-n) |
3688 | + opt_dry_run=: |
3689 | + ;; |
3690 | + --config) |
3691 | + opt_config=: |
3692 | +func_config |
3693 | + ;; |
3694 | + --dlopen|-dlopen) |
3695 | + optarg="$1" |
3696 | + opt_dlopen="${opt_dlopen+$opt_dlopen |
3697 | +}$optarg" |
3698 | + shift |
3699 | + ;; |
3700 | + --preserve-dup-deps) |
3701 | + opt_preserve_dup_deps=: |
3702 | + ;; |
3703 | + --features) |
3704 | + opt_features=: |
3705 | +func_features |
3706 | + ;; |
3707 | + --finish) |
3708 | + opt_finish=: |
3709 | +set dummy --mode finish ${1+"$@"}; shift |
3710 | + ;; |
3711 | + --help) |
3712 | + opt_help=: |
3713 | + ;; |
3714 | + --help-all) |
3715 | + opt_help_all=: |
3716 | +opt_help=': help-all' |
3717 | + ;; |
3718 | + --mode) |
3719 | + test $# = 0 && func_missing_arg $opt && break |
3720 | + optarg="$1" |
3721 | + opt_mode="$optarg" |
3722 | +case $optarg in |
3723 | + # Valid mode arguments: |
3724 | + clean|compile|execute|finish|install|link|relink|uninstall) ;; |
3725 | + |
3726 | + # Catch anything else as an error |
3727 | + *) func_error "invalid argument for $opt" |
3728 | + exit_cmd=exit |
3729 | + break |
3730 | + ;; |
3731 | +esac |
3732 | + shift |
3733 | + ;; |
3734 | + --no-silent|--no-quiet) |
3735 | + opt_silent=false |
3736 | +func_append preserve_args " $opt" |
3737 | + ;; |
3738 | + --no-verbose) |
3739 | + opt_verbose=false |
3740 | +func_append preserve_args " $opt" |
3741 | + ;; |
3742 | + --silent|--quiet) |
3743 | + opt_silent=: |
3744 | +func_append preserve_args " $opt" |
3745 | + opt_verbose=false |
3746 | + ;; |
3747 | + --verbose|-v) |
3748 | + opt_verbose=: |
3749 | +func_append preserve_args " $opt" |
3750 | +opt_silent=false |
3751 | + ;; |
3752 | + --tag) |
3753 | + test $# = 0 && func_missing_arg $opt && break |
3754 | + optarg="$1" |
3755 | + opt_tag="$optarg" |
3756 | +func_append preserve_args " $opt $optarg" |
3757 | +func_enable_tag "$optarg" |
3758 | + shift |
3759 | + ;; |
3760 | + |
3761 | + -\?|-h) func_usage ;; |
3762 | + --help) func_help ;; |
3763 | + --version) func_version ;; |
3764 | + |
3765 | + # Separate optargs to long options: |
3766 | + --*=*) |
3767 | + func_split_long_opt "$opt" |
3768 | + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} |
3769 | + shift |
3770 | + ;; |
3771 | + |
3772 | + # Separate non-argument short options: |
3773 | + -\?*|-h*|-n*|-v*) |
3774 | + func_split_short_opt "$opt" |
3775 | + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} |
3776 | + shift |
3777 | + ;; |
3778 | + |
3779 | + --) break ;; |
3780 | + -*) func_fatal_help "unrecognized option \`$opt'" ;; |
3781 | + *) set dummy "$opt" ${1+"$@"}; shift; break ;; |
3782 | + esac |
3783 | + done |
3784 | + |
3785 | + # Validate options: |
3786 | + |
3787 | + # save first non-option argument |
3788 | + if test "$#" -gt 0; then |
3789 | + nonopt="$opt" |
3790 | + shift |
3791 | + fi |
3792 | + |
3793 | + # preserve --debug |
3794 | + test "$opt_debug" = : || func_append preserve_args " --debug" |
3795 | + |
3796 | + case $host in |
3797 | + *cygwin* | *mingw* | *pw32* | *cegcc*) |
3798 | + # don't eliminate duplications in $postdeps and $predeps |
3799 | + opt_duplicate_compiler_generated_deps=: |
3800 | + ;; |
3801 | + *) |
3802 | + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps |
3803 | + ;; |
3804 | + esac |
3805 | + |
3806 | + $opt_help || { |
3807 | + # Sanity checks first: |
3808 | + func_check_version_match |
3809 | + |
3810 | + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then |
3811 | + func_fatal_configuration "not configured to build any kind of library" |
3812 | + fi |
3813 | + |
3814 | + # Darwin sucks |
3815 | + eval std_shrext=\"$shrext_cmds\" |
3816 | + |
3817 | + # Only execute mode is allowed to have -dlopen flags. |
3818 | + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then |
3819 | + func_error "unrecognized option \`-dlopen'" |
3820 | + $ECHO "$help" 1>&2 |
3821 | + exit $EXIT_FAILURE |
3822 | + fi |
3823 | + |
3824 | + # Change the help message to a mode-specific one. |
3825 | + generic_help="$help" |
3826 | + help="Try \`$progname --help --mode=$opt_mode' for more information." |
3827 | + } |
3828 | + |
3829 | + |
3830 | + # Bail if the options were screwed |
3831 | + $exit_cmd $EXIT_FAILURE |
3832 | +} |
3833 | + |
3834 | + |
3835 | + |
3836 | + |
3837 | ## ----------- ## |
3838 | ## Main. ## |
3839 | ## ----------- ## |
3840 | |
3841 | -$opt_help || { |
3842 | - # Sanity checks first: |
3843 | - func_check_version_match |
3844 | - |
3845 | - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then |
3846 | - func_fatal_configuration "not configured to build any kind of library" |
3847 | - fi |
3848 | - |
3849 | - test -z "$mode" && func_fatal_error "error: you must specify a MODE." |
3850 | - |
3851 | - |
3852 | - # Darwin sucks |
3853 | - eval std_shrext=\"$shrext_cmds\" |
3854 | - |
3855 | - |
3856 | - # Only execute mode is allowed to have -dlopen flags. |
3857 | - if test -n "$execute_dlfiles" && test "$mode" != execute; then |
3858 | - func_error "unrecognized option \`-dlopen'" |
3859 | - $ECHO "$help" 1>&2 |
3860 | - exit $EXIT_FAILURE |
3861 | - fi |
3862 | - |
3863 | - # Change the help message to a mode-specific one. |
3864 | - generic_help="$help" |
3865 | - help="Try \`$progname --help --mode=$mode' for more information." |
3866 | -} |
3867 | - |
3868 | - |
3869 | # func_lalib_p file |
3870 | # True iff FILE is a libtool `.la' library or `.lo' object file. |
3871 | # This function is only a basic sanity check; it will hardly flush out |
3872 | @@ -950,12 +1286,9 @@ |
3873 | # temporary ltwrapper_script. |
3874 | func_ltwrapper_scriptname () |
3875 | { |
3876 | - func_ltwrapper_scriptname_result="" |
3877 | - if func_ltwrapper_executable_p "$1"; then |
3878 | - func_dirname_and_basename "$1" "" "." |
3879 | - func_stripname '' '.exe' "$func_basename_result" |
3880 | - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" |
3881 | - fi |
3882 | + func_dirname_and_basename "$1" "" "." |
3883 | + func_stripname '' '.exe' "$func_basename_result" |
3884 | + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" |
3885 | } |
3886 | |
3887 | # func_ltwrapper_p file |
3888 | @@ -1001,6 +1334,37 @@ |
3889 | } |
3890 | |
3891 | |
3892 | +# func_resolve_sysroot PATH |
3893 | +# Replace a leading = in PATH with a sysroot. Store the result into |
3894 | +# func_resolve_sysroot_result |
3895 | +func_resolve_sysroot () |
3896 | +{ |
3897 | + func_resolve_sysroot_result=$1 |
3898 | + case $func_resolve_sysroot_result in |
3899 | + =*) |
3900 | + func_stripname '=' '' "$func_resolve_sysroot_result" |
3901 | + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result |
3902 | + ;; |
3903 | + esac |
3904 | +} |
3905 | + |
3906 | +# func_replace_sysroot PATH |
3907 | +# If PATH begins with the sysroot, replace it with = and |
3908 | +# store the result into func_replace_sysroot_result. |
3909 | +func_replace_sysroot () |
3910 | +{ |
3911 | + case "$lt_sysroot:$1" in |
3912 | + ?*:"$lt_sysroot"*) |
3913 | + func_stripname "$lt_sysroot" '' "$1" |
3914 | + func_replace_sysroot_result="=$func_stripname_result" |
3915 | + ;; |
3916 | + *) |
3917 | + # Including no sysroot. |
3918 | + func_replace_sysroot_result=$1 |
3919 | + ;; |
3920 | + esac |
3921 | +} |
3922 | + |
3923 | # func_infer_tag arg |
3924 | # Infer tagged configuration to use if any are available and |
3925 | # if one wasn't chosen via the "--tag" command line option. |
3926 | @@ -1013,13 +1377,15 @@ |
3927 | if test -n "$available_tags" && test -z "$tagname"; then |
3928 | CC_quoted= |
3929 | for arg in $CC; do |
3930 | - func_quote_for_eval "$arg" |
3931 | - CC_quoted="$CC_quoted $func_quote_for_eval_result" |
3932 | + func_append_quoted CC_quoted "$arg" |
3933 | done |
3934 | + CC_expanded=`func_echo_all $CC` |
3935 | + CC_quoted_expanded=`func_echo_all $CC_quoted` |
3936 | case $@ in |
3937 | # Blanks in the command may have been stripped by the calling shell, |
3938 | # but not from the CC environment variable when configure was run. |
3939 | - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; |
3940 | + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ |
3941 | + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; |
3942 | # Blanks at the start of $base_compile will cause this to fail |
3943 | # if we don't check for them as well. |
3944 | *) |
3945 | @@ -1030,11 +1396,13 @@ |
3946 | CC_quoted= |
3947 | for arg in $CC; do |
3948 | # Double-quote args containing other shell metacharacters. |
3949 | - func_quote_for_eval "$arg" |
3950 | - CC_quoted="$CC_quoted $func_quote_for_eval_result" |
3951 | + func_append_quoted CC_quoted "$arg" |
3952 | done |
3953 | + CC_expanded=`func_echo_all $CC` |
3954 | + CC_quoted_expanded=`func_echo_all $CC_quoted` |
3955 | case "$@ " in |
3956 | - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) |
3957 | + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ |
3958 | + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) |
3959 | # The compiler in the base compile command matches |
3960 | # the one in the tagged configuration. |
3961 | # Assume this is the tagged configuration we want. |
3962 | @@ -1097,6 +1465,486 @@ |
3963 | } |
3964 | } |
3965 | |
3966 | + |
3967 | +################################################## |
3968 | +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS # |
3969 | +################################################## |
3970 | + |
3971 | +# func_convert_core_file_wine_to_w32 ARG |
3972 | +# Helper function used by file name conversion functions when $build is *nix, |
3973 | +# and $host is mingw, cygwin, or some other w32 environment. Relies on a |
3974 | +# correctly configured wine environment available, with the winepath program |
3975 | +# in $build's $PATH. |
3976 | +# |
3977 | +# ARG is the $build file name to be converted to w32 format. |
3978 | +# Result is available in $func_convert_core_file_wine_to_w32_result, and will |
3979 | +# be empty on error (or when ARG is empty) |
3980 | +func_convert_core_file_wine_to_w32 () |
3981 | +{ |
3982 | + $opt_debug |
3983 | + func_convert_core_file_wine_to_w32_result="$1" |
3984 | + if test -n "$1"; then |
3985 | + # Unfortunately, winepath does not exit with a non-zero error code, so we |
3986 | + # are forced to check the contents of stdout. On the other hand, if the |
3987 | + # command is not found, the shell will set an exit code of 127 and print |
3988 | + # *an error message* to stdout. So we must check for both error code of |
3989 | + # zero AND non-empty stdout, which explains the odd construction: |
3990 | + func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null` |
3991 | + if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then |
3992 | + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | |
3993 | + $SED -e "$lt_sed_naive_backslashify"` |
3994 | + else |
3995 | + func_convert_core_file_wine_to_w32_result= |
3996 | + fi |
3997 | + fi |
3998 | +} |
3999 | +# end: func_convert_core_file_wine_to_w32 |
4000 | + |
4001 | + |
4002 | +# func_convert_core_path_wine_to_w32 ARG |
4003 | +# Helper function used by path conversion functions when $build is *nix, and |
4004 | +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly |
4005 | +# configured wine environment available, with the winepath program in $build's |
4006 | +# $PATH. Assumes ARG has no leading or trailing path separator characters. |
4007 | +# |
4008 | +# ARG is path to be converted from $build format to win32. |
4009 | +# Result is available in $func_convert_core_path_wine_to_w32_result. |
4010 | +# Unconvertible file (directory) names in ARG are skipped; if no directory names |
4011 | +# are convertible, then the result may be empty. |
4012 | +func_convert_core_path_wine_to_w32 () |
4013 | +{ |
4014 | + $opt_debug |
4015 | + # unfortunately, winepath doesn't convert paths, only file names |
4016 | + func_convert_core_path_wine_to_w32_result="" |
4017 | + if test -n "$1"; then |
4018 | + oldIFS=$IFS |
4019 | + IFS=: |
4020 | + for func_convert_core_path_wine_to_w32_f in $1; do |
4021 | + IFS=$oldIFS |
4022 | + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" |
4023 | + if test -n "$func_convert_core_file_wine_to_w32_result" ; then |
4024 | + if test -z "$func_convert_core_path_wine_to_w32_result"; then |
4025 | + func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" |
4026 | + else |
4027 | + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" |
4028 | + fi |
4029 | + fi |
4030 | + done |
4031 | + IFS=$oldIFS |
4032 | + fi |
4033 | +} |
4034 | +# end: func_convert_core_path_wine_to_w32 |
4035 | + |
4036 | + |
4037 | +# func_cygpath ARGS... |
4038 | +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when |
4039 | +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) |
4040 | +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or |
4041 | +# (2), returns the Cygwin file name or path in func_cygpath_result (input |
4042 | +# file name or path is assumed to be in w32 format, as previously converted |
4043 | +# from $build's *nix or MSYS format). In case (3), returns the w32 file name |
4044 | +# or path in func_cygpath_result (input file name or path is assumed to be in |
4045 | +# Cygwin format). Returns an empty string on error. |
4046 | +# |
4047 | +# ARGS are passed to cygpath, with the last one being the file name or path to |
4048 | +# be converted. |
4049 | +# |
4050 | +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH |
4051 | +# environment variable; do not put it in $PATH. |
4052 | +func_cygpath () |
4053 | +{ |
4054 | + $opt_debug |
4055 | + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then |
4056 | + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` |
4057 | + if test "$?" -ne 0; then |
4058 | + # on failure, ensure result is empty |
4059 | + func_cygpath_result= |
4060 | + fi |
4061 | + else |
4062 | + func_cygpath_result= |
4063 | + func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" |
4064 | + fi |
4065 | +} |
4066 | +#end: func_cygpath |
4067 | + |
4068 | + |
4069 | +# func_convert_core_msys_to_w32 ARG |
4070 | +# Convert file name or path ARG from MSYS format to w32 format. Return |
4071 | +# result in func_convert_core_msys_to_w32_result. |
4072 | +func_convert_core_msys_to_w32 () |
4073 | +{ |
4074 | + $opt_debug |
4075 | + # awkward: cmd appends spaces to result |
4076 | + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | |
4077 | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` |
4078 | +} |
4079 | +#end: func_convert_core_msys_to_w32 |
4080 | + |
4081 | + |
4082 | +# func_convert_file_check ARG1 ARG2 |
4083 | +# Verify that ARG1 (a file name in $build format) was converted to $host |
4084 | +# format in ARG2. Otherwise, emit an error message, but continue (resetting |
4085 | +# func_to_host_file_result to ARG1). |
4086 | +func_convert_file_check () |
4087 | +{ |
4088 | + $opt_debug |
4089 | + if test -z "$2" && test -n "$1" ; then |
4090 | + func_error "Could not determine host file name corresponding to" |
4091 | + func_error " \`$1'" |
4092 | + func_error "Continuing, but uninstalled executables may not work." |
4093 | + # Fallback: |
4094 | + func_to_host_file_result="$1" |
4095 | + fi |
4096 | +} |
4097 | +# end func_convert_file_check |
4098 | + |
4099 | + |
4100 | +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH |
4101 | +# Verify that FROM_PATH (a path in $build format) was converted to $host |
4102 | +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting |
4103 | +# func_to_host_file_result to a simplistic fallback value (see below). |
4104 | +func_convert_path_check () |
4105 | +{ |
4106 | + $opt_debug |
4107 | + if test -z "$4" && test -n "$3"; then |
4108 | + func_error "Could not determine the host path corresponding to" |
4109 | + func_error " \`$3'" |
4110 | + func_error "Continuing, but uninstalled executables may not work." |
4111 | + # Fallback. This is a deliberately simplistic "conversion" and |
4112 | + # should not be "improved". See libtool.info. |
4113 | + if test "x$1" != "x$2"; then |
4114 | + lt_replace_pathsep_chars="s|$1|$2|g" |
4115 | + func_to_host_path_result=`echo "$3" | |
4116 | + $SED -e "$lt_replace_pathsep_chars"` |
4117 | + else |
4118 | + func_to_host_path_result="$3" |
4119 | + fi |
4120 | + fi |
4121 | +} |
4122 | +# end func_convert_path_check |
4123 | + |
4124 | + |
4125 | +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG |
4126 | +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT |
4127 | +# and appending REPL if ORIG matches BACKPAT. |
4128 | +func_convert_path_front_back_pathsep () |
4129 | +{ |
4130 | + $opt_debug |
4131 | + case $4 in |
4132 | + $1 ) func_to_host_path_result="$3$func_to_host_path_result" |
4133 | + ;; |
4134 | + esac |
4135 | + case $4 in |
4136 | + $2 ) func_append func_to_host_path_result "$3" |
4137 | + ;; |
4138 | + esac |
4139 | +} |
4140 | +# end func_convert_path_front_back_pathsep |
4141 | + |
4142 | + |
4143 | +################################################## |
4144 | +# $build to $host FILE NAME CONVERSION FUNCTIONS # |
4145 | +################################################## |
4146 | +# invoked via `$to_host_file_cmd ARG' |
4147 | +# |
4148 | +# In each case, ARG is the path to be converted from $build to $host format. |
4149 | +# Result will be available in $func_to_host_file_result. |
4150 | + |
4151 | + |
4152 | +# func_to_host_file ARG |
4153 | +# Converts the file name ARG from $build format to $host format. Return result |
4154 | +# in func_to_host_file_result. |
4155 | +func_to_host_file () |
4156 | +{ |
4157 | + $opt_debug |
4158 | + $to_host_file_cmd "$1" |
4159 | +} |
4160 | +# end func_to_host_file |
4161 | + |
4162 | + |
4163 | +# func_to_tool_file ARG LAZY |
4164 | +# converts the file name ARG from $build format to toolchain format. Return |
4165 | +# result in func_to_tool_file_result. If the conversion in use is listed |
4166 | +# in (the comma separated) LAZY, no conversion takes place. |
4167 | +func_to_tool_file () |
4168 | +{ |
4169 | + $opt_debug |
4170 | + case ,$2, in |
4171 | + *,"$to_tool_file_cmd",*) |
4172 | + func_to_tool_file_result=$1 |
4173 | + ;; |
4174 | + *) |
4175 | + $to_tool_file_cmd "$1" |
4176 | + func_to_tool_file_result=$func_to_host_file_result |
4177 | + ;; |
4178 | + esac |
4179 | +} |
4180 | +# end func_to_tool_file |
4181 | + |
4182 | + |
4183 | +# func_convert_file_noop ARG |
4184 | +# Copy ARG to func_to_host_file_result. |
4185 | +func_convert_file_noop () |
4186 | +{ |
4187 | + func_to_host_file_result="$1" |
4188 | +} |
4189 | +# end func_convert_file_noop |
4190 | + |
4191 | + |
4192 | +# func_convert_file_msys_to_w32 ARG |
4193 | +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic |
4194 | +# conversion to w32 is not available inside the cwrapper. Returns result in |
4195 | +# func_to_host_file_result. |
4196 | +func_convert_file_msys_to_w32 () |
4197 | +{ |
4198 | + $opt_debug |
4199 | + func_to_host_file_result="$1" |
4200 | + if test -n "$1"; then |
4201 | + func_convert_core_msys_to_w32 "$1" |
4202 | + func_to_host_file_result="$func_convert_core_msys_to_w32_result" |
4203 | + fi |
4204 | + func_convert_file_check "$1" "$func_to_host_file_result" |
4205 | +} |
4206 | +# end func_convert_file_msys_to_w32 |
4207 | + |
4208 | + |
4209 | +# func_convert_file_cygwin_to_w32 ARG |
4210 | +# Convert file name ARG from Cygwin to w32 format. Returns result in |
4211 | +# func_to_host_file_result. |
4212 | +func_convert_file_cygwin_to_w32 () |
4213 | +{ |
4214 | + $opt_debug |
4215 | + func_to_host_file_result="$1" |
4216 | + if test -n "$1"; then |
4217 | + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use |
4218 | + # LT_CYGPATH in this case. |
4219 | + func_to_host_file_result=`cygpath -m "$1"` |
4220 | + fi |
4221 | + func_convert_file_check "$1" "$func_to_host_file_result" |
4222 | +} |
4223 | +# end func_convert_file_cygwin_to_w32 |
4224 | + |
4225 | + |
4226 | +# func_convert_file_nix_to_w32 ARG |
4227 | +# Convert file name ARG from *nix to w32 format. Requires a wine environment |
4228 | +# and a working winepath. Returns result in func_to_host_file_result. |
4229 | +func_convert_file_nix_to_w32 () |
4230 | +{ |
4231 | + $opt_debug |
4232 | + func_to_host_file_result="$1" |
4233 | + if test -n "$1"; then |
4234 | + func_convert_core_file_wine_to_w32 "$1" |
4235 | + func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" |
4236 | + fi |
4237 | + func_convert_file_check "$1" "$func_to_host_file_result" |
4238 | +} |
4239 | +# end func_convert_file_nix_to_w32 |
4240 | + |
4241 | + |
4242 | +# func_convert_file_msys_to_cygwin ARG |
4243 | +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. |
4244 | +# Returns result in func_to_host_file_result. |
4245 | +func_convert_file_msys_to_cygwin () |
4246 | +{ |
4247 | + $opt_debug |
4248 | + func_to_host_file_result="$1" |
4249 | + if test -n "$1"; then |
4250 | + func_convert_core_msys_to_w32 "$1" |
4251 | + func_cygpath -u "$func_convert_core_msys_to_w32_result" |
4252 | + func_to_host_file_result="$func_cygpath_result" |
4253 | + fi |
4254 | + func_convert_file_check "$1" "$func_to_host_file_result" |
4255 | +} |
4256 | +# end func_convert_file_msys_to_cygwin |
4257 | + |
4258 | + |
4259 | +# func_convert_file_nix_to_cygwin ARG |
4260 | +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed |
4261 | +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result |
4262 | +# in func_to_host_file_result. |
4263 | +func_convert_file_nix_to_cygwin () |
4264 | +{ |
4265 | + $opt_debug |
4266 | + func_to_host_file_result="$1" |
4267 | + if test -n "$1"; then |
4268 | + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. |
4269 | + func_convert_core_file_wine_to_w32 "$1" |
4270 | + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" |
4271 | + func_to_host_file_result="$func_cygpath_result" |
4272 | + fi |
4273 | + func_convert_file_check "$1" "$func_to_host_file_result" |
4274 | +} |
4275 | +# end func_convert_file_nix_to_cygwin |
4276 | + |
4277 | + |
4278 | +############################################# |
4279 | +# $build to $host PATH CONVERSION FUNCTIONS # |
4280 | +############################################# |
4281 | +# invoked via `$to_host_path_cmd ARG' |
4282 | +# |
4283 | +# In each case, ARG is the path to be converted from $build to $host format. |
4284 | +# The result will be available in $func_to_host_path_result. |
4285 | +# |
4286 | +# Path separators are also converted from $build format to $host format. If |
4287 | +# ARG begins or ends with a path separator character, it is preserved (but |
4288 | +# converted to $host format) on output. |
4289 | +# |
4290 | +# All path conversion functions are named using the following convention: |
4291 | +# file name conversion function : func_convert_file_X_to_Y () |
4292 | +# path conversion function : func_convert_path_X_to_Y () |
4293 | +# where, for any given $build/$host combination the 'X_to_Y' value is the |
4294 | +# same. If conversion functions are added for new $build/$host combinations, |
4295 | +# the two new functions must follow this pattern, or func_init_to_host_path_cmd |
4296 | +# will break. |
4297 | + |
4298 | + |
4299 | +# func_init_to_host_path_cmd |
4300 | +# Ensures that function "pointer" variable $to_host_path_cmd is set to the |
4301 | +# appropriate value, based on the value of $to_host_file_cmd. |
4302 | +to_host_path_cmd= |
4303 | +func_init_to_host_path_cmd () |
4304 | +{ |
4305 | + $opt_debug |
4306 | + if test -z "$to_host_path_cmd"; then |
4307 | + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" |
4308 | + to_host_path_cmd="func_convert_path_${func_stripname_result}" |
4309 | + fi |
4310 | +} |
4311 | + |
4312 | + |
4313 | +# func_to_host_path ARG |
4314 | +# Converts the path ARG from $build format to $host format. Return result |
4315 | +# in func_to_host_path_result. |
4316 | +func_to_host_path () |
4317 | +{ |
4318 | + $opt_debug |
4319 | + func_init_to_host_path_cmd |
4320 | + $to_host_path_cmd "$1" |
4321 | +} |
4322 | +# end func_to_host_path |
4323 | + |
4324 | + |
4325 | +# func_convert_path_noop ARG |
4326 | +# Copy ARG to func_to_host_path_result. |
4327 | +func_convert_path_noop () |
4328 | +{ |
4329 | + func_to_host_path_result="$1" |
4330 | +} |
4331 | +# end func_convert_path_noop |
4332 | + |
4333 | + |
4334 | +# func_convert_path_msys_to_w32 ARG |
4335 | +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic |
4336 | +# conversion to w32 is not available inside the cwrapper. Returns result in |
4337 | +# func_to_host_path_result. |
4338 | +func_convert_path_msys_to_w32 () |
4339 | +{ |
4340 | + $opt_debug |
4341 | + func_to_host_path_result="$1" |
4342 | + if test -n "$1"; then |
4343 | + # Remove leading and trailing path separator characters from ARG. MSYS |
4344 | + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; |
4345 | + # and winepath ignores them completely. |
4346 | + func_stripname : : "$1" |
4347 | + func_to_host_path_tmp1=$func_stripname_result |
4348 | + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" |
4349 | + func_to_host_path_result="$func_convert_core_msys_to_w32_result" |
4350 | + func_convert_path_check : ";" \ |
4351 | + "$func_to_host_path_tmp1" "$func_to_host_path_result" |
4352 | + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" |
4353 | + fi |
4354 | +} |
4355 | +# end func_convert_path_msys_to_w32 |
4356 | + |
4357 | + |
4358 | +# func_convert_path_cygwin_to_w32 ARG |
4359 | +# Convert path ARG from Cygwin to w32 format. Returns result in |
4360 | +# func_to_host_file_result. |
4361 | +func_convert_path_cygwin_to_w32 () |
4362 | +{ |
4363 | + $opt_debug |
4364 | + func_to_host_path_result="$1" |
4365 | + if test -n "$1"; then |
4366 | + # See func_convert_path_msys_to_w32: |
4367 | + func_stripname : : "$1" |
4368 | + func_to_host_path_tmp1=$func_stripname_result |
4369 | + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` |
4370 | + func_convert_path_check : ";" \ |
4371 | + "$func_to_host_path_tmp1" "$func_to_host_path_result" |
4372 | + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" |
4373 | + fi |
4374 | +} |
4375 | +# end func_convert_path_cygwin_to_w32 |
4376 | + |
4377 | + |
4378 | +# func_convert_path_nix_to_w32 ARG |
4379 | +# Convert path ARG from *nix to w32 format. Requires a wine environment and |
4380 | +# a working winepath. Returns result in func_to_host_file_result. |
4381 | +func_convert_path_nix_to_w32 () |
4382 | +{ |
4383 | + $opt_debug |
4384 | + func_to_host_path_result="$1" |
4385 | + if test -n "$1"; then |
4386 | + # See func_convert_path_msys_to_w32: |
4387 | + func_stripname : : "$1" |
4388 | + func_to_host_path_tmp1=$func_stripname_result |
4389 | + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" |
4390 | + func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" |
4391 | + func_convert_path_check : ";" \ |
4392 | + "$func_to_host_path_tmp1" "$func_to_host_path_result" |
4393 | + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" |
4394 | + fi |
4395 | +} |
4396 | +# end func_convert_path_nix_to_w32 |
4397 | + |
4398 | + |
4399 | +# func_convert_path_msys_to_cygwin ARG |
4400 | +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. |
4401 | +# Returns result in func_to_host_file_result. |
4402 | +func_convert_path_msys_to_cygwin () |
4403 | +{ |
4404 | + $opt_debug |
4405 | + func_to_host_path_result="$1" |
4406 | + if test -n "$1"; then |
4407 | + # See func_convert_path_msys_to_w32: |
4408 | + func_stripname : : "$1" |
4409 | + func_to_host_path_tmp1=$func_stripname_result |
4410 | + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" |
4411 | + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" |
4412 | + func_to_host_path_result="$func_cygpath_result" |
4413 | + func_convert_path_check : : \ |
4414 | + "$func_to_host_path_tmp1" "$func_to_host_path_result" |
4415 | + func_convert_path_front_back_pathsep ":*" "*:" : "$1" |
4416 | + fi |
4417 | +} |
4418 | +# end func_convert_path_msys_to_cygwin |
4419 | + |
4420 | + |
4421 | +# func_convert_path_nix_to_cygwin ARG |
4422 | +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a |
4423 | +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in |
4424 | +# func_to_host_file_result. |
4425 | +func_convert_path_nix_to_cygwin () |
4426 | +{ |
4427 | + $opt_debug |
4428 | + func_to_host_path_result="$1" |
4429 | + if test -n "$1"; then |
4430 | + # Remove leading and trailing path separator characters from |
4431 | + # ARG. msys behavior is inconsistent here, cygpath turns them |
4432 | + # into '.;' and ';.', and winepath ignores them completely. |
4433 | + func_stripname : : "$1" |
4434 | + func_to_host_path_tmp1=$func_stripname_result |
4435 | + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" |
4436 | + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" |
4437 | + func_to_host_path_result="$func_cygpath_result" |
4438 | + func_convert_path_check : : \ |
4439 | + "$func_to_host_path_tmp1" "$func_to_host_path_result" |
4440 | + func_convert_path_front_back_pathsep ":*" "*:" : "$1" |
4441 | + fi |
4442 | +} |
4443 | +# end func_convert_path_nix_to_cygwin |
4444 | + |
4445 | + |
4446 | # func_mode_compile arg... |
4447 | func_mode_compile () |
4448 | { |
4449 | @@ -1137,12 +1985,12 @@ |
4450 | ;; |
4451 | |
4452 | -pie | -fpie | -fPIE) |
4453 | - pie_flag="$pie_flag $arg" |
4454 | + func_append pie_flag " $arg" |
4455 | continue |
4456 | ;; |
4457 | |
4458 | -shared | -static | -prefer-pic | -prefer-non-pic) |
4459 | - later="$later $arg" |
4460 | + func_append later " $arg" |
4461 | continue |
4462 | ;; |
4463 | |
4464 | @@ -1163,15 +2011,14 @@ |
4465 | save_ifs="$IFS"; IFS=',' |
4466 | for arg in $args; do |
4467 | IFS="$save_ifs" |
4468 | - func_quote_for_eval "$arg" |
4469 | - lastarg="$lastarg $func_quote_for_eval_result" |
4470 | + func_append_quoted lastarg "$arg" |
4471 | done |
4472 | IFS="$save_ifs" |
4473 | func_stripname ' ' '' "$lastarg" |
4474 | lastarg=$func_stripname_result |
4475 | |
4476 | # Add the arguments to base_compile. |
4477 | - base_compile="$base_compile $lastarg" |
4478 | + func_append base_compile " $lastarg" |
4479 | continue |
4480 | ;; |
4481 | |
4482 | @@ -1187,8 +2034,7 @@ |
4483 | esac # case $arg_mode |
4484 | |
4485 | # Aesthetically quote the previous argument. |
4486 | - func_quote_for_eval "$lastarg" |
4487 | - base_compile="$base_compile $func_quote_for_eval_result" |
4488 | + func_append_quoted base_compile "$lastarg" |
4489 | done # for arg |
4490 | |
4491 | case $arg_mode in |
4492 | @@ -1213,7 +2059,7 @@ |
4493 | *.[cCFSifmso] | \ |
4494 | *.ada | *.adb | *.ads | *.asm | \ |
4495 | *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ |
4496 | - *.[fF][09]? | *.for | *.java | *.obj | *.sx) |
4497 | + *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup) |
4498 | func_xform "$libobj" |
4499 | libobj=$func_xform_result |
4500 | ;; |
4501 | @@ -1288,7 +2134,7 @@ |
4502 | # Calculate the filename of the output object if compiler does |
4503 | # not support -o with -c |
4504 | if test "$compiler_c_o" = no; then |
4505 | - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} |
4506 | + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} |
4507 | lockfile="$output_obj.lock" |
4508 | else |
4509 | output_obj= |
4510 | @@ -1319,17 +2165,16 @@ |
4511 | $opt_dry_run || $RM $removelist |
4512 | exit $EXIT_FAILURE |
4513 | fi |
4514 | - removelist="$removelist $output_obj" |
4515 | + func_append removelist " $output_obj" |
4516 | $ECHO "$srcfile" > "$lockfile" |
4517 | fi |
4518 | |
4519 | $opt_dry_run || $RM $removelist |
4520 | - removelist="$removelist $lockfile" |
4521 | + func_append removelist " $lockfile" |
4522 | trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 |
4523 | |
4524 | - if test -n "$fix_srcfile_path"; then |
4525 | - eval srcfile=\"$fix_srcfile_path\" |
4526 | - fi |
4527 | + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 |
4528 | + srcfile=$func_to_tool_file_result |
4529 | func_quote_for_eval "$srcfile" |
4530 | qsrcfile=$func_quote_for_eval_result |
4531 | |
4532 | @@ -1349,7 +2194,7 @@ |
4533 | |
4534 | if test -z "$output_obj"; then |
4535 | # Place PIC objects in $objdir |
4536 | - command="$command -o $lobj" |
4537 | + func_append command " -o $lobj" |
4538 | fi |
4539 | |
4540 | func_show_eval_locale "$command" \ |
4541 | @@ -1396,11 +2241,11 @@ |
4542 | command="$base_compile $qsrcfile $pic_flag" |
4543 | fi |
4544 | if test "$compiler_c_o" = yes; then |
4545 | - command="$command -o $obj" |
4546 | + func_append command " -o $obj" |
4547 | fi |
4548 | |
4549 | # Suppress compiler output if we already did a PIC compilation. |
4550 | - command="$command$suppress_output" |
4551 | + func_append command "$suppress_output" |
4552 | func_show_eval_locale "$command" \ |
4553 | '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' |
4554 | |
4555 | @@ -1445,13 +2290,13 @@ |
4556 | } |
4557 | |
4558 | $opt_help || { |
4559 | -test "$mode" = compile && func_mode_compile ${1+"$@"} |
4560 | + test "$opt_mode" = compile && func_mode_compile ${1+"$@"} |
4561 | } |
4562 | |
4563 | func_mode_help () |
4564 | { |
4565 | # We need to display help for each of the modes. |
4566 | - case $mode in |
4567 | + case $opt_mode in |
4568 | "") |
4569 | # Generic help is extracted from the usage comments |
4570 | # at the start of this file. |
4571 | @@ -1482,10 +2327,11 @@ |
4572 | |
4573 | -o OUTPUT-FILE set the output file name to OUTPUT-FILE |
4574 | -no-suppress do not suppress compiler output for multiple passes |
4575 | - -prefer-pic try to building PIC objects only |
4576 | - -prefer-non-pic try to building non-PIC objects only |
4577 | + -prefer-pic try to build PIC objects only |
4578 | + -prefer-non-pic try to build non-PIC objects only |
4579 | -shared do not build a \`.o' file suitable for static linking |
4580 | -static only build a \`.o' file suitable for static linking |
4581 | + -Wc,FLAG pass FLAG directly to the compiler |
4582 | |
4583 | COMPILE-COMMAND is a command to be used in creating a \`standard' object file |
4584 | from the given SOURCEFILE. |
4585 | @@ -1538,7 +2384,7 @@ |
4586 | |
4587 | The following components of INSTALL-COMMAND are treated specially: |
4588 | |
4589 | - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation |
4590 | + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation |
4591 | |
4592 | The rest of the components are interpreted as arguments to that command (only |
4593 | BSD-compatible install options are recognized)." |
4594 | @@ -1558,6 +2404,8 @@ |
4595 | |
4596 | -all-static do not do any dynamic linking at all |
4597 | -avoid-version do not add a version suffix if possible |
4598 | + -bindir BINDIR specify path to binaries directory (for systems where |
4599 | + libraries must be found in the PATH setting at runtime) |
4600 | -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime |
4601 | -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols |
4602 | -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) |
4603 | @@ -1586,6 +2434,11 @@ |
4604 | -version-info CURRENT[:REVISION[:AGE]] |
4605 | specify library version info [each variable defaults to 0] |
4606 | -weak LIBNAME declare that the target provides the LIBNAME interface |
4607 | + -Wc,FLAG |
4608 | + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler |
4609 | + -Wl,FLAG |
4610 | + -Xlinker FLAG pass linker-specific FLAG directly to the linker |
4611 | + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) |
4612 | |
4613 | All other options (arguments beginning with \`-') are ignored. |
4614 | |
4615 | @@ -1619,18 +2472,44 @@ |
4616 | ;; |
4617 | |
4618 | *) |
4619 | - func_fatal_help "invalid operation mode \`$mode'" |
4620 | + func_fatal_help "invalid operation mode \`$opt_mode'" |
4621 | ;; |
4622 | esac |
4623 | |
4624 | - $ECHO |
4625 | + echo |
4626 | $ECHO "Try \`$progname --help' for more information about other modes." |
4627 | - |
4628 | - exit $? |
4629 | } |
4630 | |
4631 | - # Now that we've collected a possible --mode arg, show help if necessary |
4632 | - $opt_help && func_mode_help |
4633 | +# Now that we've collected a possible --mode arg, show help if necessary |
4634 | +if $opt_help; then |
4635 | + if test "$opt_help" = :; then |
4636 | + func_mode_help |
4637 | + else |
4638 | + { |
4639 | + func_help noexit |
4640 | + for opt_mode in compile link execute install finish uninstall clean; do |
4641 | + func_mode_help |
4642 | + done |
4643 | + } | sed -n '1p; 2,$s/^Usage:/ or: /p' |
4644 | + { |
4645 | + func_help noexit |
4646 | + for opt_mode in compile link execute install finish uninstall clean; do |
4647 | + echo |
4648 | + func_mode_help |
4649 | + done |
4650 | + } | |
4651 | + sed '1d |
4652 | + /^When reporting/,/^Report/{ |
4653 | + H |
4654 | + d |
4655 | + } |
4656 | + $x |
4657 | + /information about other modes/d |
4658 | + /more detailed .*MODE/d |
4659 | + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' |
4660 | + fi |
4661 | + exit $? |
4662 | +fi |
4663 | |
4664 | |
4665 | # func_mode_execute arg... |
4666 | @@ -1643,13 +2522,16 @@ |
4667 | func_fatal_help "you must specify a COMMAND" |
4668 | |
4669 | # Handle -dlopen flags immediately. |
4670 | - for file in $execute_dlfiles; do |
4671 | + for file in $opt_dlopen; do |
4672 | test -f "$file" \ |
4673 | || func_fatal_help "\`$file' is not a file" |
4674 | |
4675 | dir= |
4676 | case $file in |
4677 | *.la) |
4678 | + func_resolve_sysroot "$file" |
4679 | + file=$func_resolve_sysroot_result |
4680 | + |
4681 | # Check to see that this really is a libtool archive. |
4682 | func_lalib_unsafe_p "$file" \ |
4683 | || func_fatal_help "\`$lib' is not a valid libtool archive" |
4684 | @@ -1671,7 +2553,7 @@ |
4685 | dir="$func_dirname_result" |
4686 | |
4687 | if test -f "$dir/$objdir/$dlname"; then |
4688 | - dir="$dir/$objdir" |
4689 | + func_append dir "/$objdir" |
4690 | else |
4691 | if test ! -f "$dir/$dlname"; then |
4692 | func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" |
4693 | @@ -1712,7 +2594,7 @@ |
4694 | for file |
4695 | do |
4696 | case $file in |
4697 | - -*) ;; |
4698 | + -* | *.la | *.lo ) ;; |
4699 | *) |
4700 | # Do a test to see if this is really a libtool program. |
4701 | if func_ltwrapper_script_p "$file"; then |
4702 | @@ -1728,8 +2610,7 @@ |
4703 | ;; |
4704 | esac |
4705 | # Quote arguments (to preserve shell metacharacters). |
4706 | - func_quote_for_eval "$file" |
4707 | - args="$args $func_quote_for_eval_result" |
4708 | + func_append_quoted args "$file" |
4709 | done |
4710 | |
4711 | if test "X$opt_dry_run" = Xfalse; then |
4712 | @@ -1754,29 +2635,66 @@ |
4713 | # Display what would be done. |
4714 | if test -n "$shlibpath_var"; then |
4715 | eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" |
4716 | - $ECHO "export $shlibpath_var" |
4717 | + echo "export $shlibpath_var" |
4718 | fi |
4719 | $ECHO "$cmd$args" |
4720 | exit $EXIT_SUCCESS |
4721 | fi |
4722 | } |
4723 | |
4724 | -test "$mode" = execute && func_mode_execute ${1+"$@"} |
4725 | +test "$opt_mode" = execute && func_mode_execute ${1+"$@"} |
4726 | |
4727 | |
4728 | # func_mode_finish arg... |
4729 | func_mode_finish () |
4730 | { |
4731 | $opt_debug |
4732 | - libdirs="$nonopt" |
4733 | + libs= |
4734 | + libdirs= |
4735 | admincmds= |
4736 | |
4737 | + for opt in "$nonopt" ${1+"$@"} |
4738 | + do |
4739 | + if test -d "$opt"; then |
4740 | + func_append libdirs " $opt" |
4741 | + |
4742 | + elif test -f "$opt"; then |
4743 | + if func_lalib_unsafe_p "$opt"; then |
4744 | + func_append libs " $opt" |
4745 | + else |
4746 | + func_warning "\`$opt' is not a valid libtool archive" |
4747 | + fi |
4748 | + |
4749 | + else |
4750 | + func_fatal_error "invalid argument \`$opt'" |
4751 | + fi |
4752 | + done |
4753 | + |
4754 | + if test -n "$libs"; then |
4755 | + if test -n "$lt_sysroot"; then |
4756 | + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` |
4757 | + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" |
4758 | + else |
4759 | + sysroot_cmd= |
4760 | + fi |
4761 | + |
4762 | + # Remove sysroot references |
4763 | + if $opt_dry_run; then |
4764 | + for lib in $libs; do |
4765 | + echo "removing references to $lt_sysroot and \`=' prefixes from $lib" |
4766 | + done |
4767 | + else |
4768 | + tmpdir=`func_mktempdir` |
4769 | + for lib in $libs; do |
4770 | + sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ |
4771 | + > $tmpdir/tmp-la |
4772 | + mv -f $tmpdir/tmp-la $lib |
4773 | + done |
4774 | + ${RM}r "$tmpdir" |
4775 | + fi |
4776 | + fi |
4777 | + |
4778 | if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then |
4779 | - for dir |
4780 | - do |
4781 | - libdirs="$libdirs $dir" |
4782 | - done |
4783 | - |
4784 | for libdir in $libdirs; do |
4785 | if test -n "$finish_cmds"; then |
4786 | # Do each command in the finish commands. |
4787 | @@ -1786,7 +2704,7 @@ |
4788 | if test -n "$finish_eval"; then |
4789 | # Do the single finish_eval. |
4790 | eval cmds=\"$finish_eval\" |
4791 | - $opt_dry_run || eval "$cmds" || admincmds="$admincmds |
4792 | + $opt_dry_run || eval "$cmds" || func_append admincmds " |
4793 | $cmds" |
4794 | fi |
4795 | done |
4796 | @@ -1795,53 +2713,55 @@ |
4797 | # Exit here if they wanted silent mode. |
4798 | $opt_silent && exit $EXIT_SUCCESS |
4799 | |
4800 | - $ECHO "X----------------------------------------------------------------------" | $Xsed |
4801 | - $ECHO "Libraries have been installed in:" |
4802 | - for libdir in $libdirs; do |
4803 | - $ECHO " $libdir" |
4804 | - done |
4805 | - $ECHO |
4806 | - $ECHO "If you ever happen to want to link against installed libraries" |
4807 | - $ECHO "in a given directory, LIBDIR, you must either use libtool, and" |
4808 | - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" |
4809 | - $ECHO "flag during linking and do at least one of the following:" |
4810 | - if test -n "$shlibpath_var"; then |
4811 | - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable" |
4812 | - $ECHO " during execution" |
4813 | - fi |
4814 | - if test -n "$runpath_var"; then |
4815 | - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable" |
4816 | - $ECHO " during linking" |
4817 | - fi |
4818 | - if test -n "$hardcode_libdir_flag_spec"; then |
4819 | - libdir=LIBDIR |
4820 | - eval flag=\"$hardcode_libdir_flag_spec\" |
4821 | - |
4822 | - $ECHO " - use the \`$flag' linker flag" |
4823 | - fi |
4824 | - if test -n "$admincmds"; then |
4825 | - $ECHO " - have your system administrator run these commands:$admincmds" |
4826 | - fi |
4827 | - if test -f /etc/ld.so.conf; then |
4828 | - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" |
4829 | - fi |
4830 | - $ECHO |
4831 | - |
4832 | - $ECHO "See any operating system documentation about shared libraries for" |
4833 | - case $host in |
4834 | - solaris2.[6789]|solaris2.1[0-9]) |
4835 | - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" |
4836 | - $ECHO "pages." |
4837 | - ;; |
4838 | - *) |
4839 | - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." |
4840 | - ;; |
4841 | - esac |
4842 | - $ECHO "X----------------------------------------------------------------------" | $Xsed |
4843 | + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then |
4844 | + echo "----------------------------------------------------------------------" |
4845 | + echo "Libraries have been installed in:" |
4846 | + for libdir in $libdirs; do |
4847 | + $ECHO " $libdir" |
4848 | + done |
4849 | + echo |
4850 | + echo "If you ever happen to want to link against installed libraries" |
4851 | + echo "in a given directory, LIBDIR, you must either use libtool, and" |
4852 | + echo "specify the full pathname of the library, or use the \`-LLIBDIR'" |
4853 | + echo "flag during linking and do at least one of the following:" |
4854 | + if test -n "$shlibpath_var"; then |
4855 | + echo " - add LIBDIR to the \`$shlibpath_var' environment variable" |
4856 | + echo " during execution" |
4857 | + fi |
4858 | + if test -n "$runpath_var"; then |
4859 | + echo " - add LIBDIR to the \`$runpath_var' environment variable" |
4860 | + echo " during linking" |
4861 | + fi |
4862 | + if test -n "$hardcode_libdir_flag_spec"; then |
4863 | + libdir=LIBDIR |
4864 | + eval flag=\"$hardcode_libdir_flag_spec\" |
4865 | + |
4866 | + $ECHO " - use the \`$flag' linker flag" |
4867 | + fi |
4868 | + if test -n "$admincmds"; then |
4869 | + $ECHO " - have your system administrator run these commands:$admincmds" |
4870 | + fi |
4871 | + if test -f /etc/ld.so.conf; then |
4872 | + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" |
4873 | + fi |
4874 | + echo |
4875 | + |
4876 | + echo "See any operating system documentation about shared libraries for" |
4877 | + case $host in |
4878 | + solaris2.[6789]|solaris2.1[0-9]) |
4879 | + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" |
4880 | + echo "pages." |
4881 | + ;; |
4882 | + *) |
4883 | + echo "more information, such as the ld(1) and ld.so(8) manual pages." |
4884 | + ;; |
4885 | + esac |
4886 | + echo "----------------------------------------------------------------------" |
4887 | + fi |
4888 | exit $EXIT_SUCCESS |
4889 | } |
4890 | |
4891 | -test "$mode" = finish && func_mode_finish ${1+"$@"} |
4892 | +test "$opt_mode" = finish && func_mode_finish ${1+"$@"} |
4893 | |
4894 | |
4895 | # func_mode_install arg... |
4896 | @@ -1852,7 +2772,7 @@ |
4897 | # install_prog (especially on Windows NT). |
4898 | if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || |
4899 | # Allow the use of GNU shtool's install command. |
4900 | - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then |
4901 | + case $nonopt in *shtool*) :;; *) false;; esac; then |
4902 | # Aesthetically quote it. |
4903 | func_quote_for_eval "$nonopt" |
4904 | install_prog="$func_quote_for_eval_result " |
4905 | @@ -1866,7 +2786,12 @@ |
4906 | # The real first argument should be the name of the installation program. |
4907 | # Aesthetically quote it. |
4908 | func_quote_for_eval "$arg" |
4909 | - install_prog="$install_prog$func_quote_for_eval_result" |
4910 | + func_append install_prog "$func_quote_for_eval_result" |
4911 | + install_shared_prog=$install_prog |
4912 | + case " $install_prog " in |
4913 | + *[\\\ /]cp\ *) install_cp=: ;; |
4914 | + *) install_cp=false ;; |
4915 | + esac |
4916 | |
4917 | # We need to accept at least all the BSD install flags. |
4918 | dest= |
4919 | @@ -1876,10 +2801,12 @@ |
4920 | install_type= |
4921 | isdir=no |
4922 | stripme= |
4923 | + no_mode=: |
4924 | for arg |
4925 | do |
4926 | + arg2= |
4927 | if test -n "$dest"; then |
4928 | - files="$files $dest" |
4929 | + func_append files " $dest" |
4930 | dest=$arg |
4931 | continue |
4932 | fi |
4933 | @@ -1887,10 +2814,9 @@ |
4934 | case $arg in |
4935 | -d) isdir=yes ;; |
4936 | -f) |
4937 | - case " $install_prog " in |
4938 | - *[\\\ /]cp\ *) ;; |
4939 | - *) prev=$arg ;; |
4940 | - esac |
4941 | + if $install_cp; then :; else |
4942 | + prev=$arg |
4943 | + fi |
4944 | ;; |
4945 | -g | -m | -o) |
4946 | prev=$arg |
4947 | @@ -1904,6 +2830,10 @@ |
4948 | *) |
4949 | # If the previous option needed an argument, then skip it. |
4950 | if test -n "$prev"; then |
4951 | + if test "x$prev" = x-m && test -n "$install_override_mode"; then |
4952 | + arg2=$install_override_mode |
4953 | + no_mode=false |
4954 | + fi |
4955 | prev= |
4956 | else |
4957 | dest=$arg |
4958 | @@ -1914,7 +2844,11 @@ |
4959 | |
4960 | # Aesthetically quote the argument. |
4961 | func_quote_for_eval "$arg" |
4962 | - install_prog="$install_prog $func_quote_for_eval_result" |
4963 | + func_append install_prog " $func_quote_for_eval_result" |
4964 | + if test -n "$arg2"; then |
4965 | + func_quote_for_eval "$arg2" |
4966 | + fi |
4967 | + func_append install_shared_prog " $func_quote_for_eval_result" |
4968 | done |
4969 | |
4970 | test -z "$install_prog" && \ |
4971 | @@ -1923,6 +2857,13 @@ |
4972 | test -n "$prev" && \ |
4973 | func_fatal_help "the \`$prev' option requires an argument" |
4974 | |
4975 | + if test -n "$install_override_mode" && $no_mode; then |
4976 | + if $install_cp; then :; else |
4977 | + func_quote_for_eval "$install_override_mode" |
4978 | + func_append install_shared_prog " -m $func_quote_for_eval_result" |
4979 | + fi |
4980 | + fi |
4981 | + |
4982 | if test -z "$files"; then |
4983 | if test -z "$dest"; then |
4984 | func_fatal_help "no file or destination specified" |
4985 | @@ -1977,10 +2918,13 @@ |
4986 | case $file in |
4987 | *.$libext) |
4988 | # Do the static libraries later. |
4989 | - staticlibs="$staticlibs $file" |
4990 | + func_append staticlibs " $file" |
4991 | ;; |
4992 | |
4993 | *.la) |
4994 | + func_resolve_sysroot "$file" |
4995 | + file=$func_resolve_sysroot_result |
4996 | + |
4997 | # Check to see that this really is a libtool archive. |
4998 | func_lalib_unsafe_p "$file" \ |
4999 | || func_fatal_help "\`$file' is not a valid libtool archive" |
5000 | @@ -1994,23 +2938,23 @@ |
The diff has been truncated for viewing.
Looks ok. Builds fine.