Merge lp:~bregma/xorg-gtest/xorg-gtest into lp:ubuntu/raring/xorg-gtest

Proposed by Stephen M. Webb
Status: Merged
Merged at revision: 9
Proposed branch: lp:~bregma/xorg-gtest/xorg-gtest
Merge into: lp:ubuntu/raring/xorg-gtest
Diff against target: 44284 lines (+37231/-4650)
76 files modified
COPYING (+1/-0)
ChangeLog (+0/-1273)
Makefile.am (+1/-1)
Makefile.in (+40/-18)
README (+19/-4)
aclocal.m4 (+6/-6)
aclocal/Makefile.in (+33/-7)
aclocal/xorg-gtest.m4 (+8/-38)
autogen.sh (+0/-11)
config.sub (+10/-1)
configure (+419/-539)
configure.ac (+24/-18)
data/Makefile (+51/-25)
data/Makefile.in (+34/-8)
debian/changelog (+11/-0)
debian/control (+4/-3)
debian/copyright (+32/-1)
debian/libxorg-gtest-data.install (+1/-1)
debian/libxorg-gtest-doc.install (+0/-1)
debian/patches/0001-fix-example-failures.patch (+42/-0)
debian/patches/0002-fix-valgrind-test-failure.patch (+20/-0)
debian/patches/series (+2/-0)
debian/rules (+2/-2)
debian/source/format (+1/-1)
depcomp (+72/-52)
doc/Doxyfile (+0/-1720)
doc/Doxyfile.in (+1834/-0)
doc/Makefile.am (+6/-6)
doc/Makefile.in (+63/-36)
examples/Makefile.am (+25/-12)
examples/Makefile.in (+95/-28)
examples/xorg-gtest-environment-example.cpp (+101/-0)
examples/xorg-gtest-example.cpp (+97/-12)
gtest/Makefile.am (+28/-0)
gtest/Makefile.in (+674/-0)
gtest/README (+8/-0)
gtest/include/Makefile.am (+25/-0)
gtest/include/Makefile.in (+526/-0)
gtest/include/gtest/gtest-spi.h (+232/-0)
gtest/include/gtest/gtest.h (+19537/-0)
gtest/src/gtest-all.cc (+9118/-0)
gtest/src/gtest_main.cc (+39/-0)
include/Makefile.am (+5/-4)
include/Makefile.in (+39/-12)
include/xorg/gtest/evemu/xorg-gtest-device.h (+120/-0)
include/xorg/gtest/evemu/xorg-gtest_device.h (+0/-91)
include/xorg/gtest/xorg-gtest-environment.h (+234/-0)
include/xorg/gtest/xorg-gtest-process.h (+253/-0)
include/xorg/gtest/xorg-gtest-test.h (+115/-0)
include/xorg/gtest/xorg-gtest-xserver.h (+295/-0)
include/xorg/gtest/xorg-gtest.h (+16/-4)
include/xorg/gtest/xorg-gtest_environment.h (+0/-184)
include/xorg/gtest/xorg-gtest_process.h (+0/-166)
include/xorg/gtest/xorg-gtest_test.h (+0/-104)
m4/ac_define_dir.m4 (+49/-0)
m4/gtest.m4 (+0/-63)
src/Makefile-xorg-gtest.am (+6/-2)
src/Makefile.am (+2/-0)
src/Makefile.in (+36/-7)
src/defines.h (+1/-1)
src/device.cpp (+156/-2)
src/environment.cpp (+73/-130)
src/process.cpp (+153/-34)
src/test.cpp (+22/-4)
src/xorg-gtest-all.cpp (+1/-0)
src/xorg-gtest_main.cpp (+20/-17)
src/xserver.cpp (+587/-0)
test/Makefile.am (+87/-0)
test/Makefile.in (+855/-0)
test/PIXART-USB-OPTICAL-MOUSE.desc (+41/-0)
test/device-test.cpp (+33/-0)
test/process-test-helper.cpp (+10/-0)
test/process-test.cpp (+379/-0)
test/xserver-test-helper.cpp (+19/-0)
test/xserver-test.cpp (+382/-0)
xorg-gtest.pc.in (+1/-1)
To merge this branch: bzr merge lp:~bregma/xorg-gtest/xorg-gtest
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Ubuntu branches Pending
Review via email: mp+144045@code.launchpad.net

Description of the change

Import newer upstream v0.7.0.

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. Uploaded.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'COPYING'
2--- COPYING 2012-03-19 18:39:04 +0000
3+++ COPYING 2013-01-21 00:48:20 +0000
4@@ -1,4 +1,5 @@
5 Copyright (C) 2011, 2012 Canonical, Ltd.
6+Copyright © 2012 Red Hat, Inc.
7
8 Permission is hereby granted, free of charge, to any person obtaining a copy of
9 this software and associated documentation files (the "Software"), to deal in
10
11=== modified file 'ChangeLog'
12--- ChangeLog 2012-06-08 12:39:52 +0000
13+++ ChangeLog 2013-01-21 00:48:20 +0000
14@@ -1,1273 +0,0 @@
15-commit 3774f91ba3722bd56b532dde549aef1df1749a51
16-Author: Chase Douglas <chase.douglas@canonical.com>
17-Date: Fri Jun 8 12:01:23 2012 -0700
18-
19- Release version 0.3.0
20-
21- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
22-
23-commit 9c8986c3d9854cb9a6f1f5dc39b8c16a1139ae91
24-Author: Peter Hutterer <peter.hutterer@who-t.net>
25-Date: Tue Jun 5 14:49:34 2012 +1000
26-
27- Set log verbosity to 10
28-
29- Might as well get as much data as possible.
30-
31- Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
32- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
33- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
34-
35-commit 0c038b4c0a63f494eb7aec08baace7e750ab1b81
36-Author: Chase Douglas <chase.douglas@canonical.com>
37-Date: Fri May 25 08:17:57 2012 -0700
38-
39- Check if log file and old log file are writable before starting X server
40-
41- Otherwise, the server will fail to start and it won't be obvious what
42- happened.
43-
44- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
45- Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
46-
47-commit 68b4ef7b5f100a14a5aee33d5c34ef8b29bafa3b
48-Author: Chase Douglas <chase.douglas@canonical.com>
49-Date: Fri May 25 07:40:49 2012 -0700
50-
51- Check if a server is already running on the chosen display name
52-
53- Otherwise, our server will silently die and we will connect to the
54- already running server without knowing.
55-
56- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
57- Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
58-
59-commit 2b5f29b84b87040be9ad6ce8d986b23bab253189
60-Author: Peter Hutterer <peter.hutterer@who-t.net>
61-Date: Fri May 25 11:57:20 2012 +1000
62-
63- XCloseDisplay(3) cannot handle NULL
64-
65- If the display failed to start, tearing it down with a NULL pointer causes a
66- segfault.
67-
68- Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
69- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
70- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
71-
72-commit 631aa80fe44b21dfac2938f2702d3ab15365dfba
73-Author: Peter Hutterer <peter.hutterer@who-t.net>
74-Date: Fri May 25 11:57:19 2012 +1000
75-
76- Print the display we were trying to start up on.
77-
78- Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
79- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
80- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
81-
82-commit b6fb8681c4b56f6028f9c981cfa27f6466ff74bd
83-Merge: d5bc8f1 6a1174b
84-Author: Chase Douglas <chase.douglas@canonical.com>
85-Date: Thu May 24 10:00:25 2012 -0700
86-
87- Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/test/xorg-gtest
88-
89-commit 6a1174b8cdfc2079dd72209f49197d7a9c6555f1
90-Author: Peter Hutterer <peter.hutterer@who-t.net>
91-Date: Thu May 24 13:13:28 2012 +1000
92-
93- Update source files to use new headers
94-
95- introduced in e1c010f23272e61c28c73aa603b477ba6fbae875
96-
97- Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
98- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
99- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
100-
101-commit e1c010f23272e61c28c73aa603b477ba6fbae875
102-Author: Chase Douglas <chase.douglas@canonical.com>
103-Date: Fri May 18 13:23:32 2012 -0700
104-
105- Namespace xorg-gtest header filenames
106-
107- Due to the default automake compilation flags including -I. -I.., it is
108- possible to pick up an xorg-gtest header like device.h instead of a
109- project header. Namespacing the headers should resolve this issue. Users
110- should be including xorg-gtest.h instead of individual headers, so this
111- should not cause compilation failures.
112-
113- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
114- Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
115-
116-commit d57dc7dc787af4b5a9728b83eb1cfccf94ff08b0
117-Author: Chase Douglas <chase.douglas@canonical.com>
118-Date: Fri May 18 13:23:31 2012 -0700
119-
120- Add comment to Makefile-xorg-gtest.am about compiling with -w
121-
122- Users of xorg-gtest will not want warnings or failed builds due to
123- issues in gtest or xorg-gtest.
124-
125- Note that the internal build of the xorg-gtest example does not use the
126- -w flag when building examples, so we will still see warnings when
127- xorg-gtest itself is built.
128-
129- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
130- Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
131-
132-commit d5bc8f147f25f4a5aff8011a2ea542ddd606df23
133-Author: Chase Douglas <chase.douglas@canonical.com>
134-Date: Fri May 18 13:16:25 2012 -0700
135-
136- Namespace xorg-gtest header filenames
137-
138- Due to the default automake compilation flags including -I. -I.., it is
139- possible to pick up an xorg-gtest header like device.h instead of a
140- project header. Namespacing the headers should resolve this issue. Users
141- should be including xorg-gtest.h instead of individual headers, so this
142- should not cause compilation failures.
143-
144- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
145-
146-commit 5b0320cf21aa64d6359319f95194efd60288c924
147-Author: Chase Douglas <chase.douglas@canonical.com>
148-Date: Fri May 18 13:11:21 2012 -0700
149-
150- Add comment to Makefile-xorg-gtest.am about compiling with -w
151-
152- Users of xorg-gtest will not want warnings or failed builds due to
153- issues in gtest or xorg-gtest.
154-
155- Note that the internal build of the xorg-gtest example does not use the
156- -w flag when building examples, so we will still see warnings when
157- xorg-gtest itself is built.
158-
159- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
160-
161-commit ae1e069ad03682d6f6e830bf6d237e41984d3cf3
162-Author: Peter Hutterer <peter.hutterer@who-t.net>
163-Date: Wed May 16 09:08:40 2012 +1000
164-
165- examples: built tests as noinst_PROGRAMS
166-
167- check_PROGRAMS is only built on make check, so it's a good way of
168- introducing build errors until later (as we discovered in the server).
169- Always built the tests, running them is optional.
170-
171- Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
172- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
173- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
174-
175-commit 31b64e0fbc8dfe420d51e325c67a07e2eaa413f7
176-Author: Peter Hutterer <peter.hutterer@who-t.net>
177-Date: Wed May 16 09:07:41 2012 +1000
178-
179- m4: if a source is specified, use that for the include path
180-
181- Don't require users to specify both source and include path. We can assume
182- that if they have the source at a certain location, they want those headers
183- too.
184-
185- Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
186- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
187- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
188-
189-commit 6b66ce9fc632108a765a8e96cd287b6179f9cbb0
190-Author: Chase Douglas <chase.douglas@canonical.com>
191-Date: Fri Apr 20 09:41:45 2012 -0700
192-
193- Wait for dummy X server to shut down in Environment::TearDown()
194-
195- If two xorg-gtest binaries are executed one after another, the second
196- one may attempt to start its X server before the first one's X server
197- has fully shut down. This leads to the second X server not starting.
198-
199- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
200- Reviewed-by: Stephen M. Webb <stephen.webb@bregmasoft.ca>
201-
202-commit 080cee4010157b45c60b5693eca4f9aebda0c900
203-Author: Chase Douglas <chase.douglas@canonical.com>
204-Date: Wed Apr 18 10:30:18 2012 -0700
205-
206- Provide a full server layout in dummy.conf
207-
208- The X.org server uses the first server layout, and provides one if none
209- are found. If a layout is specified in /usr/share/X11/xorg.conf.d, the
210- dummy video device configuration may not be used.
211-
212- This change ensures that the dummy video device is used by providing a
213- full server layout in the main configuration file.
214-
215- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
216- Reviewed-by: Stephen M. Webb <stephen.webb@bregmasoft.ca>
217-
218-commit 91261b2371dedc0b8eba9161950b099c130c408a
219-Author: Chase Douglas <chase.douglas@canonical.com>
220-Date: Wed Apr 18 10:24:50 2012 -0700
221-
222- Kill dummy Xorg server when a terminating signal arrives
223-
224- This only takes effect if the program links in the provided main()
225- function. If you provide your own main() you must handle signals
226- yourself.
227-
228- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
229- Reviewed-by: Stephen M. Webb <stephen.webb@bregmasoft.ca>
230-
231-commit ff1f42e50b36885008e6f8b82595dec8949deba3
232-Author: Chase Douglas <chase.douglas@canonical.com>
233-Date: Wed Apr 18 10:23:38 2012 -0700
234-
235- Add Environment::Kill() to forcefully terminate the dummy Xorg server
236-
237- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
238- Reviewed-by: Stephen M. Webb <stephen.webb@bregmasoft.ca>
239-
240-commit 1e7618f41e48e29c8dfa30cb74dbdeb8ebd83896
241-Author: Chase Douglas <chase.douglas@canonical.com>
242-Date: Mon Mar 26 09:55:21 2012 -0700
243-
244- Add missing Identifier name to 99-virtual-test-devices.conf
245-
246- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
247-
248-commit c77b5e188451c7ac9995ade5e3cf069ccc803e8e
249-Author: Thomas Voß <thomas.voss@canonical.com>
250-Date: Thu Mar 22 14:59:19 2012 -0400
251-
252- Add an xorg configuration file snippet to disable grabbing of test devices.
253-
254- When a test creates a test trackpad device, an already running X server
255- will likely grab the event node. This causes the dummy X server to fail
256- to instantiate the device, and ends in test failure.
257-
258- This will ensure that the normal X server does not attempt to grab the
259- test device.
260-
261- Signed-off-by: Thomas Voß <thomas.voss@canonical.com>
262- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
263- Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
264- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
265-
266-commit ad440d9c228a44981f1e2364fb0678840b08be3c
267-Author: Chase Douglas <chase.douglas@canonical.com>
268-Date: Mon Mar 19 17:00:45 2012 -0700
269-
270- Release version 0.2.0
271-
272- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
273-
274-commit 852b504288ca579a06b741b4588ee1b98b1b45f5
275-Author: Chase Douglas <chase.douglas@canonical.com>
276-Date: Thu Mar 8 14:51:40 2012 -0800
277-
278- Ship xorg-gtest.m4 and Makefile-xorg-gtest.am
279-
280- See README for instructions on how to use them.
281-
282- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
283- Reviewed-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
284-
285-commit 3f019e8272e33869312a7b5a94af94e14c81cd15
286-Author: Chase Douglas <chase.douglas@canonical.com>
287-Date: Tue Mar 13 23:30:39 2012 -0700
288-
289- Print more helpful error message when X server fails to start
290-
291- Usually, xorg-gtest requires the dummy video driver. It also requires an
292- X server at least version 1.12, or to be run as root when testing with a
293- previous X server. Print this information when the server fails to
294- start, and point the user to the log file for further details.
295-
296- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
297- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
298-
299-commit 6d0cd228d5ea5ff734f3bc1754d0dfbb93e6d1b4
300-Author: Chase Douglas <chase.douglas@canonical.com>
301-Date: Tue Mar 13 11:32:02 2012 -0700
302-
303- Allow user to override default Xorg server binary
304-
305- This can be accomplished by compiling xorg-gtest with
306- -DDEFAULT_XORG_SERVER=path/to/Xorg.
307-
308- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
309- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
310-
311-commit 4acb16f939c73dc081775e29eb4089e4184fffbf
312-Author: Chase Douglas <chase.douglas@canonical.com>
313-Date: Thu Mar 8 14:24:16 2012 -0800
314-
315- Install, but do not build into a library, the xorg-gtest sources
316-
317- This mimics the Google Test distribution mechanism. See:
318-
319- http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog
320-
321- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
322- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
323-
324-commit 71f006cadac2bc7f249965896d898143d7592f12
325-Author: Chase Douglas <chase.douglas@canonical.com>
326-Date: Thu Mar 8 14:18:39 2012 -0800
327-
328- Build gtest as part of the project
329-
330- Google Test does not recommend using precompiled gtest libraries. See:
331-
332- http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog
333-
334- This change modifies the build system so the examples build the gtest
335- and xorg-gtest libraries and link against the locally built libraries
336- instead of any other precompiled libraries on the system. It uses the
337- same compiler flags to compile everything so the C++ One-Definition Rule
338- is not broken.
339-
340- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
341- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
342-
343-commit d02b5095dbe69b695034242a978c489aaef61109
344-Author: Chase Douglas <chase.douglas@canonical.com>
345-Date: Thu Mar 8 14:00:04 2012 -0800
346-
347- Provide meta-source file xorg-gtest-all.cpp
348-
349- This will make compiling the project each time it is used much easier.
350-
351- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
352- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
353-
354-commit 5afddf4681d6ce651164c5486a15b41a0b098ac4
355-Author: Chase Douglas <chase.douglas@canonical.com>
356-Date: Thu Mar 8 11:55:01 2012 -0800
357-
358- Rename main.cpp to xorg-gtest_main.cpp
359-
360- This matches the library name and will help with understanding what the
361- includes since we are now shipping the source code.
362-
363- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
364- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
365-
366-commit e0f7ec50461b68851cfb13c7b73c1ee4faa7a7d5
367-Author: Chase Douglas <chase.douglas@canonical.com>
368-Date: Thu Mar 8 11:50:05 2012 -0800
369-
370- Add a meta-header xorg-gtest.h
371-
372- The header merely includes all the other headers. It will make building
373- xorg-gtest into each project easier.
374-
375- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
376- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
377-
378-commit 7102f4115ed044a903c5071e6930630456778313
379-Author: Chase Douglas <chase.douglas@canonical.com>
380-Date: Thu Mar 8 09:38:05 2012 -0800
381-
382- Install xorg-gtest source code in $(prefix)/src/xorg-gtest
383-
384- Google Test suggests that source code be built into each test rather
385- than use a pre-compiled library. This change follows their lead and
386- installs the xorg-gtest source code.
387-
388- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
389- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
390-
391-commit fcb1f66c5caec990d499bff94215057b221ea004
392-Author: Chase Douglas <chase.douglas@canonical.com>
393-Date: Thu Mar 8 09:42:37 2012 -0800
394-
395- Move xorg-gtest.cpp to xorg-gtest-example.cpp
396-
397- This makes the source file match the built executable.
398-
399- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
400- Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
401-
402-commit 3a8d82db172612f6071b0ab5423828ff6daad2b7
403-Author: Gaetan Nadon <memsize@videotron.ca>
404-Date: Thu Mar 8 19:48:28 2012 -0500
405-
406- config: merge both AC_CONFIG_FILES statements.
407-
408- Typically all modules have a single statement unless some output files
409- are conditionally generated.
410-
411- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
412- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
413- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
414-
415-commit 23ce7387c7a762626aef6ffb2c3970a714716595
416-Author: Gaetan Nadon <memsize@videotron.ca>
417-Date: Thu Mar 8 19:48:27 2012 -0500
418-
419- config: remove unrequired AC_SUBST DUMMY_CONF_PATH statement
420-
421- The variable is not used in any makefile. Configure.ac does not participate
422- in the determination of the conf path. The final value of datadir is not
423- known at config time, only at make time.
424-
425- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
426- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
427- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
428-
429-commit 9bccebeff291e21e9d65c168fabce39e4ba9e97a
430-Author: Gaetan Nadon <memsize@videotron.ca>
431-Date: Thu Mar 8 17:33:21 2012 -0500
432-
433- config: use existing feature --enable-strict-compilation
434-
435- This replaces current code attempting to perform similar function.
436- In configure.ac, the code is gcc specific.
437- The src/Makefile.am has $(WARNING_FLAGS) rather than $(WARNING_CPPFLAGS)
438-
439- http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in
440-
441- Looking at the xorg-gtest module --help text:
442- --enable-strict-compilation
443- Enable all warnings from compiler and make them
444- errors (default: disabled)
445-
446- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
447- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
448- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
449-
450-commit ea7303900e3689d5b258bd5d61593f8b1ae3b4b0
451-Author: Gaetan Nadon <memsize@videotron.ca>
452-Date: Thu Mar 8 17:33:20 2012 -0500
453-
454- config: support Automake 1.10
455-
456- X.Org has a requirement to support 1.10 or later.
457- The silent rules are handled by XORG_DEFAULT_OPTIONS
458- We do not write the version number, but refer to the wiki:
459- http://www.x.org/wiki/ModularDevelopersGuide#GNU_Build_System
460-
461- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
462- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
463- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
464-
465-commit caec23aa80e92ad760dbcd4f285e62cbea6a99c3
466-Author: Gaetan Nadon <memsize@videotron.ca>
467-Date: Thu Mar 8 17:33:19 2012 -0500
468-
469- config: remove redundant AC_PROG_INSTALL
470-
471- Already included in XORG_DEFAULT_OPTIONS
472-
473- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
474- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
475- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
476-
477-commit 0a55043449c23f12fc3c2385b2c2784ee6826749
478-Author: Chase Douglas <chase.douglas@canonical.com>
479-Date: Mon Mar 5 10:52:21 2012 -0800
480-
481- Add xorg::testing::evemu::Device
482-
483- Device uses utouch-evemu for input device recording playback through the
484- Linux kernel.
485-
486- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
487- Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
488- Reviewed-by: Stephen Webb <stephen.webb@canonical.com>
489-
490-commit bf4a7db2485ab2d28a6bb6333df7d431a928cc95
491-Author: Chase Douglas <chase.douglas@canonical.com>
492-Date: Tue Mar 6 17:15:58 2012 -0800
493-
494- Fix dummy.conf location definition
495-
496- Now that the xorg-gtest data build has been separated from the src
497- build, the location definition is broken and results in xorg-gtest
498- looking for /dummy.conf instead of ${datadir}/xorg/gtest/dummy.conf.
499- This change fixes the location
500-
501- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
502-
503-commit b36f5493258e8fb896ed4a710b03c7428a2cf21b
504-Author: Chase Douglas <chase.douglas@canonical.com>
505-Date: Mon Mar 5 11:31:57 2012 -0800
506-
507- Add examples/xorg-gtest-example to .gitignore
508-
509- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
510- Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
511-
512-commit dd6e963e0833b2920f1bb120b6fba6e2e3c60121
513-Author: Chase Douglas <chase.douglas@canonical.com>
514-Date: Mon Mar 5 11:26:38 2012 -0800
515-
516- Define automake CPP warning flags in Makefile.am, not configure.ac
517-
518- Otherwise, AM_CPPFLAGS could not be overridden in Makefile.am.
519-
520- Also, move AM_CXXFLAGS to the top of src/Makefile.am to match.
521-
522- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
523- Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
524-
525-commit e888dcd08cb4b5ee332f155207a56f7098524e14
526-Author: Chase Douglas <chase.douglas@canonical.com>
527-Date: Wed Feb 29 12:26:48 2012 -0800
528-
529- Use BASE_CXXFLAGS from xorg macros
530-
531- The X.org macros package version 1.16.2 is the first to define
532- BASE_CXXFLAGS; however, we don't need to require version 1.16.2. If it's
533- available, then great. If not, $(BASE_CXXFLAGS) will be empty and
534- nothing terrible will happen.
535-
536- Included in this commit is a fix for an error, now that we are using
537- BASE_CXXFLAGS, for shadowing variables from parent contexts.
538-
539- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
540- Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
541-
542-commit 63a2903a15d53a19930b72ffda06b92492718e6c
543-Author: Chase Douglas <chase.douglas@canonical.com>
544-Date: Mon Mar 5 11:07:48 2012 -0800
545-
546- Split data and include build rules out of src build rules
547-
548- This will simplify things when we add more features to xorg-gtest.
549-
550- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
551- Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
552-
553-commit 20827807711933b0083458c968aa6bbc06db859f
554-Author: Chase Douglas <chase.douglas@canonical.com>
555-Date: Thu Mar 1 10:24:59 2012 -0800
556-
557- Relicense under the X.org preferred license
558-
559- Copied from http://www.x.org/releases/X11R7.6/doc/xorg-docs/License.html
560-
561- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
562- Acked-by: Daniel Stone <daniel@fooishbar.org>
563- Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
564-
565-commit 3e9e3232638a75e21f3ef2ca12888aaade8792f4
566-Author: Gaetan Nadon <memsize@videotron.ca>
567-Date: Wed Feb 29 18:23:44 2012 -0500
568-
569- config: do not initialize libtool twice
570-
571- AC_PROG_LIBTOOL initializes libtool, contrary to what the name may suggest.
572- It has been renamed to LT_INIT in libtool v2. However X.Org has a requirement
573- to support libtool v1.5.
574-
575- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
576- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
577- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
578-
579-commit e43cc450a17245f838dfacb44492cf10383bdbb6
580-Author: Gaetan Nadon <memsize@videotron.ca>
581-Date: Wed Feb 29 18:23:43 2012 -0500
582-
583- config: no need to m4_include gtest.m4
584-
585- This is done when autoconf runs aclocal.
586-
587- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
588- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
589- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
590-
591-commit 8812b410c2458329ac8648b31f6f7e1f2b428df1
592-Author: Chase Douglas <chase.douglas@canonical.com>
593-Date: Wed Feb 29 10:55:33 2012 -0800
594-
595- Remove xorg-server pkgconfig check
596-
597- xorg-server flags are not needed. Including them also causes
598- -fvisibility=hidden to be used, which breaks the build output.
599-
600- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
601- Reviewed-by: Gaeton Nadon <memsize@videotron.ca>
602-
603-commit c444aebf7a56183531055767bf982f0206da3db0
604-Author: Gaetan Nadon <memsize@videotron.ca>
605-Date: Mon Feb 27 11:04:36 2012 -0500
606-
607- distcheck: cannot create directory `xorg-gtest-0.1.1': Permission denied
608-
609- Use the util-macros implementation to generate the ChangeLog
610- and the INSTALL file.
611-
612- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
613-
614-commit e19ee59526198734118a5894ef2c4cef97528064
615-Author: Gaetan Nadon <memsize@videotron.ca>
616-Date: Mon Feb 27 11:04:35 2012 -0500
617-
618- distcheck fails: cannot open linker script file libxorg-gtest.ver
619-
620- The $(top_srcdir) path is needed to locate the source as it is not
621- in the same dir as the generated files.
622-
623- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
624- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
625- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
626-
627-commit 749b0eabd8c6075cac082b3727da5efdcc68d6e6
628-Author: Gaetan Nadon <memsize@videotron.ca>
629-Date: Sun Feb 26 19:53:45 2012 -0500
630-
631- Revert "Use the standard autogen.sh script from xorg"
632-
633- This reverts commit 839257c03d033f4352243ac70be9f78c5a8dfdd0.
634-
635- This module has different requirements for autogen.sh.
636- The upcoming version with the variable NOCONFIGURE
637- would probably be satisfactory.
638-
639- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
640-
641-commit 131c80ac6b199988b08df26f30dabe1c7ba9684a
642-Author: Gaetan Nadon <memsize@videotron.ca>
643-Date: Sun Feb 26 16:36:55 2012 -0500
644-
645- examples/test.cpp: fatal error: X11/Xlib.h: No such file or directory
646-
647- Need XSERVER_CFLAGS to locate Xlib.h
648-
649- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
650-
651-commit 35d0a43e9a059e54e95fda1211112104ad6ad262
652-Author: Gaetan Nadon <memsize@videotron.ca>
653-Date: Sun Feb 26 16:08:55 2012 -0500
654-
655- test.cpp: fatal error: X11/Xlib.h: No such file or directory
656-
657- Need XSERVER_CFLAGS to locate Xlib.h
658-
659- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
660-
661-commit 6bae528bd9c8744d39b003c06f4f0a2ab41c9331
662-Author: Gaetan Nadon <memsize@videotron.ca>
663-Date: Sun Feb 26 16:20:25 2012 -0500
664-
665- Fix typo in .gitignore comment
666-
667- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
668-
669-commit 5c5dc5ee2891a2456b77ec322e847ba9234112b0
670-Author: Gaetan Nadon <memsize@videotron.ca>
671-Date: Sun Feb 26 16:12:43 2012 -0500
672-
673- Add standard xorg toplevel .gitignore
674-
675- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
676-
677-commit 839257c03d033f4352243ac70be9f78c5a8dfdd0
678-Author: Gaetan Nadon <memsize@videotron.ca>
679-Date: Sun Feb 26 14:26:33 2012 -0500
680-
681- Use the standard autogen.sh script from xorg
682-
683- The one here does not work the same way. It is very confusing when
684- these don't work the same way for all xorg modules.
685-
686- It can be proposed as a new version version for all xorg modules
687- if it can be deemed to be more desirable.
688-
689- Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
690-
691-commit a15d88e39f19efdd6aa20053a7a3ce6ffc8c0d9e
692-Author: Chase Douglas <chase.douglas@canonical.com>
693-Date: Fri Feb 24 08:39:56 2012 -0800
694-
695- Release version 0.1.1
696-
697- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
698-
699-commit 6422b13b33438a1dfa2d57c2df3593fcac719814
700-Author: Chase Douglas <chase.douglas@canonical.com>
701-Date: Fri Feb 24 08:35:13 2012 -0800
702-
703- Generate ChangeLog at make dist time
704-
705- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
706-
707-commit 66bcd7de0d9bd4a822b6cf3bca79d295d7fb86ab
708-Author: Chase Douglas <chase.douglas@canonical.com>
709-Date: Fri Feb 24 08:01:17 2012 -0800
710-
711- Add GPLv3 license as COPYING
712-
713- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
714-
715-commit 5b130039fed4bb232d06aa419bf43336a7153e07
716-Author: Chase Douglas <chase.douglas@canonical.com>
717-Date: Fri Feb 24 07:58:03 2012 -0800
718-
719- Link libxorg-gtest_main against libxorg-gtest
720-
721- This fixes build failures if one only links against libxorg-gtest_main
722- but does not use any other xorg-gtest symbols.
723-
724- Reported-by: Stephen Webb <stephen.webb@canonical.com>
725- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
726-
727-commit fc02e9aa96646c0ea60384b14083107a10e965b2
728-Author: Chase Douglas <chase.douglas@canonical.com>
729-Date: Wed Feb 15 08:54:08 2012 -0800
730-
731- Fix linking against X server libs
732-
733- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
734-
735-commit 1f4bd9c267e70cf9ac8a57f90bf1795b0fa63d6c
736-Author: Chase Douglas <chase.douglas@canonical.com>
737-Date: Sat Feb 4 11:47:35 2012 -0800
738-
739- Add symbol version scripts
740-
741- It would be nice to explicitly list each class method, but there's no
742- documentation on how to do it, and everything I try fails. At least this
743- ensures we don't ship visible symbols that are really part of GTest.
744-
745- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
746- Reviewed-by: Stephen Webb <stephen.webb@canonical.com>
747-
748-commit 4216fddec31fed8b141f6d6f233c31e73e651fde
749-Author: Daniel d'Andrada <daniel.dandrada@canonical.com>
750-Date: Mon Feb 6 09:29:46 2012 -0200
751-
752- Make Environment API property-based.
753-
754- Instead of shoving all parameters in the constructor.
755-
756- Signed-off-by: Daniel d'Andrada <daniel.dandrada@canonical.com>
757- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
758- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
759-
760-commit d568a6c0626eeef038753f207f234037bbbb26e4
761-Author: Chase Douglas <chase.douglas@canonical.com>
762-Date: Fri Feb 3 17:21:22 2012 -0800
763-
764- Ship conf files
765-
766- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
767-
768-commit 50cd80649cd09800a245754bb7621de777026022
769-Author: Chase Douglas <chase.douglas@canonical.com>
770-Date: Fri Feb 3 17:20:10 2012 -0800
771-
772- Add defines.h to the list of source files
773-
774- This ensures the header is shipped in the dist tarball.
775-
776- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
777-
778-commit 24fbaa20c179ce4b4d9be9627bb41daffc91527a
779-Author: Jussi Pakkanen <jussi.pakkanen@canonical.com>
780-Date: Thu Feb 2 14:36:32 2012 +0200
781-
782- Fix build system.
783-
784- The project could not be built from scratch due to erroneous
785- Autofoo setup. This commit makes it work.
786-
787- Signed-off-by: Jussi Pakkanen <jussi.pakkanen@canonical.com>
788- Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
789- Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
790-
791-commit 79b2d4e7f976621705bd32a9fd16e56c989a5a45
792-Author: Chase Douglas <chase.douglas@canonical.com>
793-Date: Wed Feb 1 11:12:29 2012 -0800
794-
795- And by default point to a location that doesn't require root privileges to be used.
796-
797- This will make it possible to run Xorg without being root.
798-
799- Signed-off-by: Daniel d'Andrada <daniel.dandrada@canonical.com>
800-
801-commit 656d8b22be42b23d5336a85173d7381bf115a327
802-Merge: 37906b3 e5f21a6
803-Author: Chase Douglas <chase.douglas@ubuntu.com>
804-Date: Wed Dec 21 08:30:43 2011 -0800
805-
806- Merge some miscellaneous fixes
807-
808-commit e5f21a67393a5db4d91f07f87a649ec38d27fcc7
809-Author: Chase Douglas <chase.douglas@ubuntu.com>
810-Date: Wed Dec 21 08:09:22 2011 -0800
811-
812- Use "make doc" to build all documentation
813-
814- And clean up doc/Makefile.am targets.
815-
816-commit 739e52c343cdd412c0c4e9e21dd79be25b3027ca
817-Author: Chase Douglas <chase.douglas@ubuntu.com>
818-Date: Wed Dec 21 07:51:51 2011 -0800
819-
820- Rename xorg_gtest_example to xorg-gtest-example
821-
822-commit c63e0369cc4c7db7ffe3109b6ea8ff478ac4ba91
823-Author: Chase Douglas <chase.douglas@ubuntu.com>
824-Date: Wed Dec 21 07:51:10 2011 -0800
825-
826- Install man pages too
827-
828-commit c276dc0ac292d54ffc00dcab83ce7cc056c6c3df
829-Author: Chase Douglas <chase.douglas@ubuntu.com>
830-Date: Wed Dec 21 07:49:58 2011 -0800
831-
832- Start the so library version at 0.0.0
833-
834-commit 37906b3c6431e470a07bbf5fd26784f5116b141c
835-Merge: 67c98e9 5f10cf0
836-Author: Thomas Voß <thomas.voss@rub.de>
837-Date: Fri Dec 16 11:44:34 2011 +0100
838-
839- Merged in lp:~chasedouglas/xorg-gtest/fixes.
840-
841-commit 67c98e96ab8ee10e2d399d1ed4fd1f20e3daffd5
842-Merge: 286707f be95cf5
843-Author: Chase Douglas <chase.douglas@ubuntu.com>
844-Date: Wed Dec 14 11:59:40 2011 -0800
845-
846- Merge example documentation fixes
847-
848-commit 5f10cf0d7bc2492e53bba8dc2105c8a9b8445a18
849-Author: Chase Douglas <chase.douglas@ubuntu.com>
850-Date: Wed Dec 14 11:34:01 2011 -0800
851-
852- Fix gtest cpp flags
853-
854-commit c8a4e665b558f2e39b63bfe91a7081fc041887c2
855-Author: Chase Douglas <chase.douglas@ubuntu.com>
856-Date: Wed Dec 14 11:18:49 2011 -0800
857-
858- Use gtest lib path when checking for gtest library
859-
860-commit 5bbdf9fe259a3bde28192286de2a685457b49a50
861-Author: Chase Douglas <chase.douglas@ubuntu.com>
862-Date: Wed Dec 14 11:11:25 2011 -0800
863-
864- Use Process::SetEnv() in Environment::SetUp()
865-
866-commit 327d46a503ab1f57134e9d3a56f6792b151e8c03
867-Author: Chase Douglas <chase.douglas@ubuntu.com>
868-Date: Wed Dec 14 11:10:59 2011 -0800
869-
870- Make Process::GetEnv and SetEnv static methods
871-
872- They do not modify or use a Process object. They are merely helper
873- functions.
874-
875-commit 8b2947df181dba16e07bd399d33ef0ae60aebdeb
876-Author: Chase Douglas <chase.douglas@ubuntu.com>
877-Date: Wed Dec 14 11:01:39 2011 -0800
878-
879- Move SetUp and TearDown methods to protected sections
880-
881-commit 7b18bcffa98443e736dbfde2848698f5e6d6efa9
882-Author: Chase Douglas <chase.douglas@ubuntu.com>
883-Date: Wed Dec 14 11:00:13 2011 -0800
884-
885- Don't install Doxyfile
886-
887-commit e51bcee92edeb7f3da577f9f2da2b6ecb96d17d4
888-Author: Chase Douglas <chase.douglas@ubuntu.com>
889-Date: Wed Dec 14 10:54:33 2011 -0800
890-
891- Only install documentation if it was created
892-
893-commit d5df40d00c6729dfdf1504d50f3658d3de22c5f5
894-Author: Chase Douglas <chase.douglas@ubuntu.com>
895-Date: Wed Dec 14 10:38:44 2011 -0800
896-
897- Remove leftover geistest doc line in doc/Makefile.am
898-
899-commit 286707f7a39ce7daa753994f35776ff2f273f07e
900-Author: Chase Douglas <chase.douglas@ubuntu.com>
901-Date: Wed Dec 14 10:29:22 2011 -0800
902-
903- Don't link gtest when creating library
904-
905-commit be95cf5f4fccaf6393ac65f3c3f9254acfd8ee17
906-Author: Chase Douglas <chase.douglas@ubuntu.com>
907-Date: Wed Dec 14 09:27:07 2011 -0800
908-
909- Include examples directory when scanning for documented sources
910-
911-commit 42d3e9d818d4827ae001c50dd190fd477ffce593
912-Author: Chase Douglas <chase.douglas@ubuntu.com>
913-Date: Wed Dec 14 09:21:30 2011 -0800
914-
915- Remove license header from example
916-
917- It clutters up the example and is unnecessary for such a small file.
918-
919-commit 6f0204791b3057ad49719675f30810c1b2755aff
920-Merge: bb34e85 2e13892
921-Author: Chase Douglas <chase.douglas@ubuntu.com>
922-Date: Wed Dec 14 09:13:34 2011 -0800
923-
924- Merge in Doxygen branch, which also includes many fixes
925-
926-commit bb34e8586f1d74e4717dc8300bea6628b9a38804
927-Merge: 4ee62b3 5b07f09
928-Author: Chase Douglas <chase.douglas@ubuntu.com>
929-Date: Wed Dec 14 08:25:54 2011 -0800
930-
931- Merge gtest configure check fixes
932-
933-commit 2e13892e9031e10dc91a2677295be654eb6b7747
934-Author: Thomas Voß <thomas.voss@rub.de>
935-Date: Wed Dec 14 16:19:03 2011 +0100
936-
937- Introduced examples. Added virtual d'tors to xorg::testing::Environment and xorg::testing::Test.
938-
939-commit 5b07f09f0713b670070e4d44ada2aeab3f6e883c
940-Author: Chase Douglas <chase.douglas@ubuntu.com>
941-Date: Tue Dec 13 17:30:48 2011 -0800
942-
943- Use AC_LANG_PUSH(C++)/AC_LANG_POP so as not to contaminate configure.ac
944-
945-commit 9a493fa6cbaa61582092b2484ab2cf95edcc8dcf
946-Author: Chase Douglas <chase.douglas@ubuntu.com>
947-Date: Tue Dec 13 17:21:24 2011 -0800
948-
949- Link against pthread when checking for gtest library
950-
951-commit 9b93e8df1f350fd1fc3cd0888c0bf565bf3e18f0
952-Author: Chase Douglas <chase.douglas@ubuntu.com>
953-Date: Tue Dec 13 17:02:48 2011 -0800
954-
955- Move check result test to configure.ac and use standard variables
956-
957-commit 41d0b41fc5b244438af787de687a4b341889cadc
958-Author: Chase Douglas <chase.douglas@ubuntu.com>
959-Date: Tue Dec 13 16:49:08 2011 -0800
960-
961- Remove unnecessary HAVE_GTEST conditional in configure.ac
962-
963-commit 0ada1132294813196503527124d321093cb36e7f
964-Author: Chase Douglas <chase.douglas@ubuntu.com>
965-Date: Tue Dec 13 16:48:37 2011 -0800
966-
967- Make gtest a requirement for successful configuration
968-
969- And switch to the non-deprecated AC_CHECK_LIB.
970-
971-commit 69569cba1db0c17ae04d5c26c62fd02fa6473191
972-Author: Thomas Voß <thomas.voss@rub.de>
973-Date: Tue Dec 13 18:33:39 2011 +0100
974-
975- Adjusted signature of Process::GetEnv. Adjusted documentation.
976-
977-commit 78ac5be868fd1e1d31300a61f8e425736c586b58
978-Author: Thomas Voß <thomas.voss@rub.de>
979-Date: Tue Dec 13 10:15:24 2011 +0100
980-
981- Fixed typo in test.h.
982-
983-commit 8ace60ed7cc70589de26ec3e5e409588a0f0bd00
984-Author: Thomas Voß <thomas.voss@rub.de>
985-Date: Tue Dec 13 10:08:09 2011 +0100
986-
987- Modified Process::Terminate and Process::Kill to reset process identifier. Adjusted documentation.
988-
989-commit 932bf1ec03ed9160c9784fdbb7f3a9456a5beb50
990-Author: Thomas Voß <thomas.voss@rub.de>
991-Date: Tue Dec 13 10:00:07 2011 +0100
992-
993- Adjusted documentation according to review. Switched to std::string for environment query/adjustment in Process.
994-
995-commit 07ffdc1266c3c3d7c5d2df56666567777fd54050
996-Author: Thomas Voß <thomas.voss@rub.de>
997-Date: Tue Dec 13 07:37:37 2011 +0100
998-
999- Prevent from linking Test in Google Test. Set HIDE_SCOPE_NAMES to NO.
1000-
1001-commit 4ee62b348d2346e03b6cbbfd94f710eda499d011
1002-Merge: bd17c14 934da76
1003-Author: Chase Douglas <chase.douglas@ubuntu.com>
1004-Date: Mon Dec 12 11:28:13 2011 -0800
1005-
1006- Merge cleanup and fixes branch
1007-
1008-commit bb43c8271894e29a5818fadacde9bb459a55e6e1
1009-Author: Thomas Voß <thomas.voss@rub.de>
1010-Date: Mon Dec 12 09:44:51 2011 +0100
1011-
1012- Referenced manpage of execvp in documentation.
1013-
1014-commit 6383f42858833f9695580f365352df30f4e33fb2
1015-Author: Thomas Voß <thomas.voss@rub.de>
1016-Date: Mon Dec 12 09:31:21 2011 +0100
1017-
1018- Fixed whitespace issue.
1019-
1020-commit e7ea9a0717b58af7aaf9728862df424c84e58b77
1021-Merge: f815612 934da76
1022-Author: Thomas Voß <thomas.voss@rub.de>
1023-Date: Mon Dec 12 09:22:17 2011 +0100
1024-
1025- Added: Additional doxygen documentation and adjusted build setup to include docs.
1026-
1027-commit 934da7636d0cc811600c2dd73c6cd386f0851e25
1028-Author: Chase Douglas <chase.douglas@ubuntu.com>
1029-Date: Fri Dec 9 13:03:46 2011 -0800
1030-
1031- Throw runtime_error if Test::SetUp fails to open connection to server
1032-
1033- gtest treats exceptions as test failures, so this should have the same
1034- result but is a cleaner implementation.
1035-
1036-commit c0b553ebe1be0bf4c2ebffc1582a0e07f40aaa5a
1037-Author: Chase Douglas <chase.douglas@ubuntu.com>
1038-Date: Fri Dec 9 12:09:28 2011 -0800
1039-
1040- Add initializer for Environment::Private struct since it is not a POD
1041-
1042-commit f815612acc574081880c62b64ba803f5305b8bc5
1043-Author: Thomas Voß <thomas.voss@rub.de>
1044-Date: Fri Dec 9 09:58:35 2011 +0100
1045-
1046- Added doxygen documentation for public interface classes.
1047-
1048-commit ef3e43e4edba9577097430bed545ad4c7dca3fb8
1049-Author: Chase Douglas <chase.douglas@ubuntu.com>
1050-Date: Thu Dec 8 15:07:53 2011 -0800
1051-
1052- Remove strdup from argument parsing in Process::Start()
1053-
1054- The data pointed to by the args should still be valid. There's no real
1055- need to copy the data.
1056-
1057-commit 330dfc09ecc78cfd91a93ed5d41f31f0341e81a1
1058-Author: Chase Douglas <chase.douglas@ubuntu.com>
1059-Date: Thu Dec 8 15:00:25 2011 -0800
1060-
1061- Use std::vector to store process arguments passed to execvp
1062-
1063-commit 3eda6c1380ab4bdfaf891d6d20097dc83dac8e65
1064-Author: Chase Douglas <chase.douglas@ubuntu.com>
1065-Date: Thu Dec 8 14:20:53 2011 -0800
1066-
1067- Use std::auto_ptr for Test pimpl too
1068-
1069-commit 826c9bbf23fd5650cd2ca0e3314e4e8559b1061e
1070-Author: Chase Douglas <chase.douglas@ubuntu.com>
1071-Date: Thu Dec 8 14:09:23 2011 -0800
1072-
1073- Use C++ headers, such as cstring, instead of C-compatibility headers
1074-
1075-commit 1bc40ffa16a3986d901bf602fcf17504afdf6cfc
1076-Author: Chase Douglas <chase.douglas@ubuntu.com>
1077-Date: Thu Dec 8 14:02:26 2011 -0800
1078-
1079- Remove obsolete Process::SetEnvBehavior enum
1080-
1081-commit 6757be79645ba5a4e582e010934d1ef908896e9d
1082-Author: Chase Douglas <chase.douglas@ubuntu.com>
1083-Date: Thu Dec 8 13:59:34 2011 -0800
1084-
1085- Use std::auto_ptr for pimpls
1086-
1087-commit 3ddfc3d8b1dd8a99126faa2eb05687eb08c279fb
1088-Author: Chase Douglas <chase.douglas@ubuntu.com>
1089-Date: Thu Dec 8 13:51:17 2011 -0800
1090-
1091- Add newlines to end of Environment::TearDown() error messages
1092-
1093-commit ad2cdf9b4daf3193dc852342153719817c8b1fc0
1094-Author: Chase Douglas <chase.douglas@ubuntu.com>
1095-Date: Thu Dec 8 13:50:11 2011 -0800
1096-
1097- In Environment::SetUp, pass std::string into Process::Start
1098-
1099-commit dc354884d529bf6060a6a1537339527ad70d80a7
1100-Author: Chase Douglas <chase.douglas@ubuntu.com>
1101-Date: Wed Dec 7 15:34:30 2011 -0800
1102-
1103- Fix a couple usages of C++ line comments
1104-
1105- C++ line comments are only used for documenting end of namespace scopes
1106- and #endif macros.
1107-
1108-commit 016ff9329130266f10edd7f4828bf22e59a8c97f
1109-Author: Chase Douglas <chase.douglas@ubuntu.com>
1110-Date: Wed Dec 7 14:46:28 2011 -0800
1111-
1112- Add xorg::testing::Test base test fixture
1113-
1114-commit 3aea1bbbbb7f7ab8a76cdbfc110fa9c5ed14ae25
1115-Author: Chase Douglas <chase.douglas@ubuntu.com>
1116-Date: Wed Dec 7 12:38:04 2011 -0800
1117-
1118- Add server executable path option so one can test different servers
1119-
1120- Also, fix issues with the main option parsing code.
1121-
1122-commit 4f083dd6a3ea2473913d23aecf4d06f664f95bce
1123-Author: Chase Douglas <chase.douglas@ubuntu.com>
1124-Date: Wed Dec 7 12:40:30 2011 -0800
1125-
1126- Reorder Process copy constructor declarations
1127-
1128-commit 8fe2c7c8bfc167c577674273f462f2d7c7a1a9fa
1129-Author: Chase Douglas <chase.douglas@ubuntu.com>
1130-Date: Wed Dec 7 12:27:12 2011 -0800
1131-
1132- Fix comment in environment.h
1133-
1134-commit 3d4a10a0280ed3320ed221e33595623af8d20150
1135-Author: Chase Douglas <chase.douglas@ubuntu.com>
1136-Date: Wed Dec 7 12:26:25 2011 -0800
1137-
1138- Cleanup unnecessary braces in if .. else blocks in Environment::SetUp()
1139-
1140-commit 4348b83156925eee6f2cbdca24a2473ebfd90c9f
1141-Author: Chase Douglas <chase.douglas@ubuntu.com>
1142-Date: Wed Dec 7 12:24:59 2011 -0800
1143-
1144- Don't fail the tests if the X server refuses to die
1145-
1146-commit e97811a1be63c97706fe3ca87a0568eb5a585a08
1147-Author: Chase Douglas <chase.douglas@ubuntu.com>
1148-Date: Wed Dec 7 12:15:08 2011 -0800
1149-
1150- Let setenv() and getenv() do error handling, and throw exception if they
1151- fail
1152-
1153-commit bd446fb14847d6ab4d6531fb39309eea58aac4df
1154-Author: Chase Douglas <chase.douglas@ubuntu.com>
1155-Date: Wed Dec 7 12:09:04 2011 -0800
1156-
1157- Throw exception if child process tries to kill itself
1158-
1159-commit f052b71de4ab05158b2b239d9d31d64e0aad76a4
1160-Author: Chase Douglas <chase.douglas@ubuntu.com>
1161-Date: Wed Dec 7 12:05:26 2011 -0800
1162-
1163- Remove Process::Wait()
1164-
1165- There are many ways to wait on the status of a process. We don't want to
1166- get into wrapping all of them. Let the caller pick and choose from the
1167- c library.
1168-
1169-commit 723704879e551b971e1e3504be7338e371d4981d
1170-Author: Chase Douglas <chase.douglas@ubuntu.com>
1171-Date: Wed Dec 7 12:02:05 2011 -0800
1172-
1173- Rename Process::pid() to Process::Pid() to follow naming conventions
1174-
1175-commit 2a3c526f6f6d1e32a4f51bef557a26520fe01ef7
1176-Author: Chase Douglas <chase.douglas@ubuntu.com>
1177-Date: Wed Dec 7 11:58:20 2011 -0800
1178-
1179- Fix Process::Start() and switch to using exceptions
1180-
1181-commit 737e0bc858cb741407c24fc8597bd98f3c15a271
1182-Author: Chase Douglas <chase.douglas@ubuntu.com>
1183-Date: Wed Dec 7 09:01:57 2011 -0800
1184-
1185- Switch Process::Private to a POD struct
1186-
1187- Some other syntax cleanups too.
1188-
1189-commit c182eb93570139e18f8eeb3144e9ed5ccf3a3252
1190-Author: Chase Douglas <chase.douglas@ubuntu.com>
1191-Date: Wed Dec 7 08:50:50 2011 -0800
1192-
1193- Re-enable X server startup timeout
1194-
1195-commit eba6481ae557d05da0b151087a090d00496d1aa2
1196-Author: Chase Douglas <chase.douglas@ubuntu.com>
1197-Date: Wed Dec 7 08:50:06 2011 -0800
1198-
1199- Remove dead code in Environment
1200-
1201-commit 204cfd5c09eb1b40059d49b9864ee0f584630a4c
1202-Author: Chase Douglas <chase.douglas@ubuntu.com>
1203-Date: Wed Dec 7 08:47:56 2011 -0800
1204-
1205- Make Environment::Private a POD struct
1206-
1207-commit 9c003eb98bc41d196847ab911d9d155c5a7972a4
1208-Author: Thomas Voß <thomas.voss@rub.de>
1209-Date: Wed Dec 7 15:34:53 2011 +0100
1210-
1211- ADDED: Simple and lightweight class to abstract process handling.
1212-
1213-commit bd17c146ff4a159393ec37f1300c613d40921bbf
1214-Merge: 1ff7a96 7777cbb
1215-Author: Thomas Voß <thomas.voss@rub.de>
1216-Date: Tue Dec 6 11:16:25 2011 +0100
1217-
1218- Merged.
1219-
1220-commit 7777cbbbd16d428d68fc738a946816edcb718654
1221-Author: Chase Douglas <chase.douglas@ubuntu.com>
1222-Date: Mon Dec 5 16:25:36 2011 -0800
1223-
1224- Use installed dummy.conf location
1225-
1226- Also, set the location in the pkg-config file so other packages can find
1227- it.
1228-
1229-commit ad0ef22400f1b9960e15e0f6fe39b3e95701f21e
1230-Author: Chase Douglas <chase.douglas@ubuntu.com>
1231-Date: Mon Dec 5 16:02:22 2011 -0800
1232-
1233- Rename testing::xorg to xorg::testing
1234-
1235- Prevents a possible collision with gtest's testing namespace
1236-
1237-commit e10564038f99adee0a12cb028cac5bd1610d7b40
1238-Author: Chase Douglas <chase.douglas@ubuntu.com>
1239-Date: Mon Dec 5 11:32:36 2011 -0800
1240-
1241- Remove unused fixture.h
1242-
1243-commit 4a1d0ed99f929b658e726f83e4ded4cc5e21aabc
1244-Author: Chase Douglas <chase.douglas@ubuntu.com>
1245-Date: Mon Dec 5 11:32:04 2011 -0800
1246-
1247- Add pkg-config file
1248-
1249-commit 9fc1496d5a10266337773daff2b3d9937fbf8cf1
1250-Author: Chase Douglas <chase.douglas@ubuntu.com>
1251-Date: Mon Dec 5 10:54:49 2011 -0800
1252-
1253- Remove unused gcov support
1254-
1255-commit e1d5b252f4c09ee52380a7b7b7533a9b7c382975
1256-Author: Chase Douglas <chase.douglas@ubuntu.com>
1257-Date: Mon Dec 5 10:53:37 2011 -0800
1258-
1259- Remove autoconf check for C compiler since we only use C++
1260-
1261-commit f4706dc1c47eb59bda619dc105a0e6e9f0a81a21
1262-Author: Chase Douglas <chase.douglas@ubuntu.com>
1263-Date: Mon Dec 5 10:49:52 2011 -0800
1264-
1265- Init gtest before checking for special args so --help works properly
1266-
1267- Otherwise, it's impossible to list the gtest help list.
1268-
1269-commit 26cdf7ae0eb8477b2c8afa97d3857d8810de3d99
1270-Author: Chase Douglas <chase.douglas@ubuntu.com>
1271-Date: Mon Dec 5 10:47:31 2011 -0800
1272-
1273- Remove unnecessary c++0x std flag
1274-
1275- We can add it back in if we actually use any of its features.
1276-
1277-commit d401f679f3e9161bbb06ce33bf48678c74329cd0
1278-Author: Chase Douglas <chase.douglas@ubuntu.com>
1279-Date: Mon Dec 5 10:46:07 2011 -0800
1280-
1281- Rename to xorg-gtest, move some files around, make some fixes
1282-
1283-commit 1ff7a967e0648d6f71bf3bc30e3642431765da7e
1284-Author: Thomas Voß <thomas.voss@rub.de>
1285-Date: Mon Dec 5 17:27:29 2011 +0100
1286-
1287- init checkin.
1288
1289=== modified file 'Makefile.am'
1290--- Makefile.am 2012-03-19 18:39:04 +0000
1291+++ Makefile.am 2013-01-21 00:48:20 +0000
1292@@ -23,7 +23,7 @@
1293 # SOFTWARE.
1294 #
1295
1296-SUBDIRS = aclocal data doc include src examples
1297+SUBDIRS = aclocal data doc include src examples test gtest
1298
1299 pkgconfigdir = $(libdir)/pkgconfig
1300 pkgconfig_DATA = xorg-gtest.pc
1301
1302=== modified file 'Makefile.in'
1303--- Makefile.in 2012-03-19 18:39:04 +0000
1304+++ Makefile.in 2013-01-21 00:48:20 +0000
1305@@ -1,4 +1,4 @@
1306-# Makefile.in generated by automake 1.11.3 from Makefile.am.
1307+# Makefile.in generated by automake 1.11.6 from Makefile.am.
1308 # @configure_input@
1309
1310 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1311@@ -41,6 +41,23 @@
1312 #
1313
1314 VPATH = @srcdir@
1315+am__make_dryrun = \
1316+ { \
1317+ am__dry=no; \
1318+ case $$MAKEFLAGS in \
1319+ *\\[\ \ ]*) \
1320+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
1321+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
1322+ *) \
1323+ for am__flg in $$MAKEFLAGS; do \
1324+ case $$am__flg in \
1325+ *=*|--*) ;; \
1326+ *n*) am__dry=yes; break;; \
1327+ esac; \
1328+ done;; \
1329+ esac; \
1330+ test $$am__dry = yes; \
1331+ }
1332 pkgdatadir = $(datadir)/@PACKAGE@
1333 pkgincludedir = $(includedir)/@PACKAGE@
1334 pkglibdir = $(libdir)/@PACKAGE@
1335@@ -65,7 +82,7 @@
1336 $(top_srcdir)/configure COPYING ChangeLog INSTALL config.guess \
1337 config.sub depcomp install-sh missing
1338 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
1339-am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \
1340+am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
1341 $(top_srcdir)/configure.ac
1342 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
1343 $(ACLOCAL_M4)
1344@@ -89,6 +106,11 @@
1345 install-pdf-recursive install-ps-recursive install-recursive \
1346 installcheck-recursive installdirs-recursive pdf-recursive \
1347 ps-recursive uninstall-recursive
1348+am__can_run_installinfo = \
1349+ case $$AM_UPDATE_INFO_DIR in \
1350+ n|no|NO) false;; \
1351+ *) (install-info --version) >/dev/null 2>&1;; \
1352+ esac
1353 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
1354 am__vpath_adj = case $$p in \
1355 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
1356@@ -160,8 +182,8 @@
1357 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
1358 done; \
1359 reldir="$$dir2"
1360-DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
1361 GZIP_ENV = --best
1362+DIST_ARCHIVES = $(distdir).tar.bz2
1363 distuninstallcheck_listfiles = find . -type f -print
1364 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
1365 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
1366@@ -177,6 +199,7 @@
1367 AUTOHEADER = @AUTOHEADER@
1368 AUTOMAKE = @AUTOMAKE@
1369 AWK = @AWK@
1370+BASE_CPPFLAGS = @BASE_CPPFLAGS@
1371 BASE_CXXFLAGS = @BASE_CXXFLAGS@
1372 CHANGELOG_CMD = @CHANGELOG_CMD@
1373 CPPFLAGS = @CPPFLAGS@
1374@@ -188,6 +211,7 @@
1375 CYGPATH_W = @CYGPATH_W@
1376 DEFS = @DEFS@
1377 DEPDIR = @DEPDIR@
1378+DOXYGEN = @DOXYGEN@
1379 DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
1380 DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
1381 DUMMY_CONF_PATH = @DUMMY_CONF_PATH@
1382@@ -201,8 +225,6 @@
1383 FILE_MAN_DIR = @FILE_MAN_DIR@
1384 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
1385 GREP = @GREP@
1386-GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
1387-GTEST_SOURCE = @GTEST_SOURCE@
1388 INSTALL = @INSTALL@
1389 INSTALL_CMD = @INSTALL_CMD@
1390 INSTALL_DATA = @INSTALL_DATA@
1391@@ -214,6 +236,7 @@
1392 LIBS = @LIBS@
1393 LIB_MAN_DIR = @LIB_MAN_DIR@
1394 LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
1395+LOGFILE_DIR = @LOGFILE_DIR@
1396 LTLIBOBJS = @LTLIBOBJS@
1397 MAINT = @MAINT@
1398 MAKEINFO = @MAKEINFO@
1399@@ -241,10 +264,10 @@
1400 STRICT_CXXFLAGS = @STRICT_CXXFLAGS@
1401 STRIP = @STRIP@
1402 VERSION = @VERSION@
1403+X11_CFLAGS = @X11_CFLAGS@
1404+X11_LIBS = @X11_LIBS@
1405 XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@
1406 XORG_MAN_PAGE = @XORG_MAN_PAGE@
1407-XSERVER_CFLAGS = @XSERVER_CFLAGS@
1408-XSERVER_LIBS = @XSERVER_LIBS@
1409 abs_builddir = @abs_builddir@
1410 abs_srcdir = @abs_srcdir@
1411 abs_top_builddir = @abs_top_builddir@
1412@@ -295,7 +318,7 @@
1413 top_build_prefix = @top_build_prefix@
1414 top_builddir = @top_builddir@
1415 top_srcdir = @top_srcdir@
1416-SUBDIRS = aclocal data doc include src examples
1417+SUBDIRS = aclocal data doc include src examples test gtest
1418 pkgconfigdir = $(libdir)/pkgconfig
1419 pkgconfig_DATA = xorg-gtest.pc
1420 ACLOCAL_AMFLAGS = -I m4
1421@@ -342,8 +365,11 @@
1422 cd $(top_builddir) && $(SHELL) ./config.status $@
1423 install-pkgconfigDATA: $(pkgconfig_DATA)
1424 @$(NORMAL_INSTALL)
1425- test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
1426 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1427+ if test -n "$$list"; then \
1428+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
1429+ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
1430+ fi; \
1431 for p in $$list; do \
1432 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1433 echo "$$d$$p"; \
1434@@ -528,13 +554,10 @@
1435 done
1436 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1437 if test "$$subdir" = .; then :; else \
1438- test -d "$(distdir)/$$subdir" \
1439- || $(MKDIR_P) "$(distdir)/$$subdir" \
1440- || exit 1; \
1441- fi; \
1442- done
1443- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1444- if test "$$subdir" = .; then :; else \
1445+ $(am__make_dryrun) \
1446+ || test -d "$(distdir)/$$subdir" \
1447+ || $(MKDIR_P) "$(distdir)/$$subdir" \
1448+ || exit 1; \
1449 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1450 $(am__relativize); \
1451 new_distdir=$$reldir; \
1452@@ -597,7 +620,6 @@
1453 $(am__remove_distdir)
1454
1455 dist dist-all: distdir
1456- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1457 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1458 $(am__remove_distdir)
1459
1460@@ -623,7 +645,7 @@
1461 *.zip*) \
1462 unzip $(distdir).zip ;;\
1463 esac
1464- chmod -R a-w $(distdir); chmod a+w $(distdir)
1465+ chmod -R a-w $(distdir); chmod u+w $(distdir)
1466 mkdir $(distdir)/_build
1467 mkdir $(distdir)/_inst
1468 chmod a-w $(distdir)
1469
1470=== modified file 'README'
1471--- README 2012-03-19 18:39:04 +0000
1472+++ README 2013-01-21 00:48:20 +0000
1473@@ -2,10 +2,9 @@
1474 ===============================================
1475
1476 Provides a Google Test environment for starting and stopping
1477-a dummy X server for headless testing purposes. The actual
1478-environment is defined in header environment.h. Please refer to
1479-the Google test documentation for information on how to add a custom
1480-environment.
1481+a X server for testing purposes. The actual environment is defined in header
1482+environment.h. Please refer to the Google test documentation for information
1483+on how to add a custom environment.
1484
1485 Moreover, a custom main() function that takes care of setting up the
1486 environment is provided in xorg-gtest_main.cpp. This can be used as a
1487@@ -74,3 +73,19 @@
1488 xorg-gtest library targets if multiple builds with different compilation flags
1489 are needed. Finally, link the tests with the appropriate gtest and xorg-gtest
1490 libraries and their dependencies: libpthread and libX11.
1491+
1492+Environment variables
1493+---------------------
1494+XORG_GTEST_XSERVER_SIGSTOP
1495+ If set, an XServer object will raise a SIGSTOP signal after startup.
1496+XORG_GTEST_XSERVER_KEEPALIVE
1497+ If set, the XServer object will ignore calls to Terminate() or Kill().
1498+ This is useful for debugging a server without having the test terminate
1499+ the process while still looking at gdb output.
1500+XORG_GTEST_CHILD_STDOUT
1501+ If set to any value, Process::Start() will _not_ close stdout/stdin/stderr
1502+ for the forked child.
1503+XORG_GTEST_USE_VALGRIND
1504+ Set to the valgrind command to use when starting a process. Options must
1505+ be space-separated, e.g. "valgrind --leak-check=full --someotherarg"
1506+ Not limited to valgrind, you can specify any executable here.
1507
1508=== modified file 'aclocal.m4'
1509--- aclocal.m4 2012-03-19 18:39:04 +0000
1510+++ aclocal.m4 2013-01-21 00:48:20 +0000
1511@@ -1,4 +1,4 @@
1512-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
1513+# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
1514
1515 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1516 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
1517@@ -14,8 +14,8 @@
1518
1519 m4_ifndef([AC_AUTOCONF_VERSION],
1520 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1521-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
1522-[m4_warning([this file was generated for autoconf 2.68.
1523+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
1524+[m4_warning([this file was generated for autoconf 2.69.
1525 You have another version of autoconf. It may work, but is not guaranteed to.
1526 If you have problems, you may need to regenerate the build system entirely.
1527 To do so, use the procedure documented by the package, typically `autoreconf'.])])
1528@@ -2051,7 +2051,7 @@
1529 [am__api_version='1.11'
1530 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1531 dnl require some minimum version. Point them to the right macro.
1532-m4_if([$1], [1.11.3], [],
1533+m4_if([$1], [1.11.6], [],
1534 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1535 ])
1536
1537@@ -2067,7 +2067,7 @@
1538 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
1539 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
1540 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1541-[AM_AUTOMAKE_VERSION([1.11.3])dnl
1542+[AM_AUTOMAKE_VERSION([1.11.6])dnl
1543 m4_ifndef([AC_AUTOCONF_VERSION],
1544 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1545 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1546@@ -3079,4 +3079,4 @@
1547 AC_SUBST([am__untar])
1548 ]) # _AM_PROG_TAR
1549
1550-m4_include([m4/gtest.m4])
1551+m4_include([m4/ac_define_dir.m4])
1552
1553=== modified file 'aclocal/Makefile.in'
1554--- aclocal/Makefile.in 2012-03-19 18:39:04 +0000
1555+++ aclocal/Makefile.in 2013-01-21 00:48:20 +0000
1556@@ -1,4 +1,4 @@
1557-# Makefile.in generated by automake 1.11.3 from Makefile.am.
1558+# Makefile.in generated by automake 1.11.6 from Makefile.am.
1559 # @configure_input@
1560
1561 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1562@@ -41,6 +41,23 @@
1563 #
1564
1565 VPATH = @srcdir@
1566+am__make_dryrun = \
1567+ { \
1568+ am__dry=no; \
1569+ case $$MAKEFLAGS in \
1570+ *\\[\ \ ]*) \
1571+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
1572+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
1573+ *) \
1574+ for am__flg in $$MAKEFLAGS; do \
1575+ case $$am__flg in \
1576+ *=*|--*) ;; \
1577+ *n*) am__dry=yes; break;; \
1578+ esac; \
1579+ done;; \
1580+ esac; \
1581+ test $$am__dry = yes; \
1582+ }
1583 pkgdatadir = $(datadir)/@PACKAGE@
1584 pkgincludedir = $(includedir)/@PACKAGE@
1585 pkglibdir = $(libdir)/@PACKAGE@
1586@@ -63,7 +80,7 @@
1587 DIST_COMMON = $(dist_aclocal_DATA) $(srcdir)/Makefile.am \
1588 $(srcdir)/Makefile.in
1589 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
1590-am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \
1591+am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
1592 $(top_srcdir)/configure.ac
1593 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
1594 $(ACLOCAL_M4)
1595@@ -78,6 +95,11 @@
1596 am__v_at_0 = @
1597 SOURCES =
1598 DIST_SOURCES =
1599+am__can_run_installinfo = \
1600+ case $$AM_UPDATE_INFO_DIR in \
1601+ n|no|NO) false;; \
1602+ *) (install-info --version) >/dev/null 2>&1;; \
1603+ esac
1604 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
1605 am__vpath_adj = case $$p in \
1606 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
1607@@ -119,6 +141,7 @@
1608 AUTOHEADER = @AUTOHEADER@
1609 AUTOMAKE = @AUTOMAKE@
1610 AWK = @AWK@
1611+BASE_CPPFLAGS = @BASE_CPPFLAGS@
1612 BASE_CXXFLAGS = @BASE_CXXFLAGS@
1613 CHANGELOG_CMD = @CHANGELOG_CMD@
1614 CPPFLAGS = @CPPFLAGS@
1615@@ -130,6 +153,7 @@
1616 CYGPATH_W = @CYGPATH_W@
1617 DEFS = @DEFS@
1618 DEPDIR = @DEPDIR@
1619+DOXYGEN = @DOXYGEN@
1620 DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
1621 DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
1622 DUMMY_CONF_PATH = @DUMMY_CONF_PATH@
1623@@ -143,8 +167,6 @@
1624 FILE_MAN_DIR = @FILE_MAN_DIR@
1625 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
1626 GREP = @GREP@
1627-GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
1628-GTEST_SOURCE = @GTEST_SOURCE@
1629 INSTALL = @INSTALL@
1630 INSTALL_CMD = @INSTALL_CMD@
1631 INSTALL_DATA = @INSTALL_DATA@
1632@@ -156,6 +178,7 @@
1633 LIBS = @LIBS@
1634 LIB_MAN_DIR = @LIB_MAN_DIR@
1635 LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
1636+LOGFILE_DIR = @LOGFILE_DIR@
1637 LTLIBOBJS = @LTLIBOBJS@
1638 MAINT = @MAINT@
1639 MAKEINFO = @MAKEINFO@
1640@@ -183,10 +206,10 @@
1641 STRICT_CXXFLAGS = @STRICT_CXXFLAGS@
1642 STRIP = @STRIP@
1643 VERSION = @VERSION@
1644+X11_CFLAGS = @X11_CFLAGS@
1645+X11_LIBS = @X11_LIBS@
1646 XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@
1647 XORG_MAN_PAGE = @XORG_MAN_PAGE@
1648-XSERVER_CFLAGS = @XSERVER_CFLAGS@
1649-XSERVER_LIBS = @XSERVER_LIBS@
1650 abs_builddir = @abs_builddir@
1651 abs_srcdir = @abs_srcdir@
1652 abs_top_builddir = @abs_top_builddir@
1653@@ -274,8 +297,11 @@
1654 $(am__aclocal_m4_deps):
1655 install-dist_aclocalDATA: $(dist_aclocal_DATA)
1656 @$(NORMAL_INSTALL)
1657- test -z "$(aclocaldir)" || $(MKDIR_P) "$(DESTDIR)$(aclocaldir)"
1658 @list='$(dist_aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \
1659+ if test -n "$$list"; then \
1660+ echo " $(MKDIR_P) '$(DESTDIR)$(aclocaldir)'"; \
1661+ $(MKDIR_P) "$(DESTDIR)$(aclocaldir)" || exit 1; \
1662+ fi; \
1663 for p in $$list; do \
1664 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1665 echo "$$d$$p"; \
1666
1667=== modified file 'aclocal/xorg-gtest.m4'
1668--- aclocal/xorg-gtest.m4 2012-06-08 12:39:52 +0000
1669+++ aclocal/xorg-gtest.m4 2013-01-21 00:48:20 +0000
1670@@ -1,4 +1,4 @@
1671-# serial 2
1672+# serial 9
1673
1674 # Copyright (C) 2012 Canonical, Ltd.
1675 #
1676@@ -21,35 +21,6 @@
1677 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1678 # SOFTWARE.
1679
1680-# Checks whether the gtest source is available on the system. Allows for
1681-# adjusting the include and source path. Sets have_gtest=yes if the source is
1682-# present. Sets GTEST_CPPFLAGS and GTEST_SOURCE to the preprocessor flags and
1683-# source location respectively.
1684-AC_DEFUN([_CHECK_GTEST],
1685-[
1686- AC_ARG_WITH([gtest-source-path],
1687- [AS_HELP_STRING([--with-gtest-source-path],
1688- [location of the Google test sources, defaults to /usr/src/gtest])],
1689- [GTEST_SOURCE="$withval"; GTEST_CPPFLAGS="-I$withval/include"],
1690- [GTEST_SOURCE="/usr/src/gtest"])
1691-
1692- AC_ARG_WITH([gtest-include-path],
1693- [AS_HELP_STRING([--with-gtest-include-path],
1694- [location of the Google test headers])],
1695- [GTEST_CPPFLAGS="-I$withval"])
1696-
1697- GTEST_CPPFLAGS="$GTEST_CPPFLAGS -I$GTEST_SOURCE"
1698-
1699- AC_CHECK_FILES([$GTEST_SOURCE/src/gtest-all.cc]
1700- [$GTEST_SOURCE/src/gtest_main.cc],
1701- [have_gtest=yes],
1702- [have_gtest=no])
1703-
1704- AS_IF([test "x$have_gtest_source" = xyes],
1705- [AC_SUBST(GTEST_CPPFLAGS)]
1706- [AC_SUBST(GTEST_SOURCE)])
1707-]) # _CHECK_GTEST
1708-
1709 # CHECK_XORG_GTEST([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1710 #
1711 # Checks whether the xorg-gtest source is available on the system. Allows for
1712@@ -61,20 +32,20 @@
1713 # Both default actions are no-ops.
1714 AC_DEFUN([CHECK_XORG_GTEST],
1715 [
1716- AC_REQUIRE([_CHECK_GTEST])
1717-
1718 PKG_CHECK_EXISTS([xorg-gtest],
1719 [have_xorg_gtest=yes],
1720 [have_xorg_gtest=no])
1721
1722 XORG_GTEST_SOURCE=`$PKG_CONFIG --variable=sourcedir --print-errors xorg-gtest`
1723+ GTEST_SOURCE="$XORG_GTEST_SOURCE/src/gtest"
1724+ GTEST_CPPFLAGS="-I$XORG_GTEST_SOURCE/src/gtest/include -I$XORG_GTEST_SOURCE/src/gtest"
1725 XORG_GTEST_CPPFLAGS=`$PKG_CONFIG --variable=CPPflags --print-errors xorg-gtest`
1726 XORG_GTEST_CPPFLAGS="$GTEST_CPPFLAGS $XORG_GTEST_CPPFLAGS"
1727 XORG_GTEST_CPPFLAGS="$XORG_GTEST_CPPFLAGS -I$XORG_GTEST_SOURCE"
1728
1729 PKG_CHECK_MODULES(X11, [x11], [have_x11=yes], [have_x11=no])
1730
1731- # Check if we should include support for utouch-evemu
1732+ # Check if we should include support for evemu
1733 AC_ARG_WITH([evemu],
1734 [AS_HELP_STRING([--with-evemu],
1735 [support Linux input device recording playback
1736@@ -83,19 +54,18 @@
1737 [with_evemu=check])
1738
1739 AS_IF([test "x$with_evemu" = xyes],
1740- [PKG_CHECK_MODULES(EVEMU, [utouch-evemu], [have_xorg_gtest_evemu=yes])],
1741+ [PKG_CHECK_MODULES(EVEMU, [evemu], [have_xorg_gtest_evemu=yes])],
1742 [test "x$with_evemu" = xcheck],
1743 [PKG_CHECK_MODULES(EVEMU,
1744- [utouch-evemu],
1745+ [evemu],
1746 [have_xorg_gtest_evemu=yes],
1747 [have_xorg_gtest_evemu=no])])
1748 AS_IF([test "x$have_xorg_gtest_evemu" = xyes],
1749 [XORG_GTEST_CPPFLAGS="$XORG_GTEST_CPPFLAGS -DHAVE_EVEMU"])
1750
1751- AS_IF([test "x$have_gtest" != xyes -o "x$have_x11" != xyes],
1752- [have_xorg_gtest=no])
1753-
1754 AS_IF([test "x$have_xorg_gtest" = xyes],
1755+ [AC_SUBST(GTEST_SOURCE)]
1756+ [AC_SUBST(GTEST_CPPFLAGS)]
1757 [AC_SUBST(XORG_GTEST_SOURCE)]
1758 [AC_SUBST(XORG_GTEST_CPPFLAGS)]
1759
1760
1761=== removed file 'autogen.sh'
1762--- autogen.sh 2012-02-15 09:18:17 +0000
1763+++ autogen.sh 1970-01-01 00:00:00 +0000
1764@@ -1,11 +0,0 @@
1765-#! /bin/sh
1766-
1767-srcdir=`dirname $0`
1768-test -z "$srcdir" && srcdir=.
1769-
1770-ORIGDIR=`pwd`
1771-cd $srcdir
1772-
1773-autoreconf -v --install || exit 1
1774-cd $ORIGDIR || exit $?
1775-
1776
1777=== modified file 'config.sub'
1778--- config.sub 2012-02-24 09:44:47 +0000
1779+++ config.sub 2013-01-21 00:48:20 +0000
1780@@ -4,7 +4,7 @@
1781 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
1782 # 2011, 2012 Free Software Foundation, Inc.
1783
1784-timestamp='2012-02-10'
1785+timestamp='2012-04-18'
1786
1787 # This file is (in principle) common to ALL GNU software.
1788 # The presence of a machine in this file suggests that SOME GNU software
1789@@ -225,6 +225,12 @@
1790 -isc*)
1791 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1792 ;;
1793+ -lynx*178)
1794+ os=-lynxos178
1795+ ;;
1796+ -lynx*5)
1797+ os=-lynxos5
1798+ ;;
1799 -lynx*)
1800 os=-lynxos
1801 ;;
1802@@ -1537,6 +1543,9 @@
1803 c4x-* | tic4x-*)
1804 os=-coff
1805 ;;
1806+ hexagon-*)
1807+ os=-elf
1808+ ;;
1809 tic54x-*)
1810 os=-coff
1811 ;;
1812
1813=== modified file 'configure'
1814--- configure 2012-06-08 12:39:52 +0000
1815+++ configure 2013-01-21 00:48:20 +0000
1816@@ -1,11 +1,9 @@
1817 #! /bin/sh
1818 # Guess values for system-dependent variables and create Makefiles.
1819-# Generated by GNU Autoconf 2.68 for Dummy X.org Testing Environment for Google Test 0.3.0.
1820-#
1821-#
1822-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1823-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
1824-# Foundation, Inc.
1825+# Generated by GNU Autoconf 2.69 for X.org Testing Environment for Google Test 0.7.0.
1826+#
1827+#
1828+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1829 #
1830 #
1831 # This configure script is free software; the Free Software Foundation
1832@@ -134,6 +132,31 @@
1833 # CDPATH.
1834 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1835
1836+# Use a proper internal environment variable to ensure we don't fall
1837+ # into an infinite loop, continuously re-executing ourselves.
1838+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
1839+ _as_can_reexec=no; export _as_can_reexec;
1840+ # We cannot yet assume a decent shell, so we have to provide a
1841+# neutralization value for shells without unset; and this also
1842+# works around shells that cannot unset nonexistent variables.
1843+# Preserve -v and -x to the replacement shell.
1844+BASH_ENV=/dev/null
1845+ENV=/dev/null
1846+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1847+case $- in # ((((
1848+ *v*x* | *x*v* ) as_opts=-vx ;;
1849+ *v* ) as_opts=-v ;;
1850+ *x* ) as_opts=-x ;;
1851+ * ) as_opts= ;;
1852+esac
1853+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1854+# Admittedly, this is quite paranoid, since all the known shells bail
1855+# out after a failed `exec'.
1856+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
1857+as_fn_exit 255
1858+ fi
1859+ # We don't want this to propagate to other subprocesses.
1860+ { _as_can_reexec=; unset _as_can_reexec;}
1861 if test "x$CONFIG_SHELL" = x; then
1862 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
1863 emulate sh
1864@@ -167,7 +190,8 @@
1865 else
1866 exitcode=1; echo positional parameters were not saved.
1867 fi
1868-test x\$exitcode = x0 || exit 1"
1869+test x\$exitcode = x0 || exit 1
1870+test -x / || exit 1"
1871 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1872 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1873 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1874@@ -212,21 +236,25 @@
1875
1876
1877 if test "x$CONFIG_SHELL" != x; then :
1878- # We cannot yet assume a decent shell, so we have to provide a
1879- # neutralization value for shells without unset; and this also
1880- # works around shells that cannot unset nonexistent variables.
1881- # Preserve -v and -x to the replacement shell.
1882- BASH_ENV=/dev/null
1883- ENV=/dev/null
1884- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1885- export CONFIG_SHELL
1886- case $- in # ((((
1887- *v*x* | *x*v* ) as_opts=-vx ;;
1888- *v* ) as_opts=-v ;;
1889- *x* ) as_opts=-x ;;
1890- * ) as_opts= ;;
1891- esac
1892- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
1893+ export CONFIG_SHELL
1894+ # We cannot yet assume a decent shell, so we have to provide a
1895+# neutralization value for shells without unset; and this also
1896+# works around shells that cannot unset nonexistent variables.
1897+# Preserve -v and -x to the replacement shell.
1898+BASH_ENV=/dev/null
1899+ENV=/dev/null
1900+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1901+case $- in # ((((
1902+ *v*x* | *x*v* ) as_opts=-vx ;;
1903+ *v* ) as_opts=-v ;;
1904+ *x* ) as_opts=-x ;;
1905+ * ) as_opts= ;;
1906+esac
1907+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1908+# Admittedly, this is quite paranoid, since all the known shells bail
1909+# out after a failed `exec'.
1910+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
1911+exit 255
1912 fi
1913
1914 if test x$as_have_required = xno; then :
1915@@ -328,6 +356,14 @@
1916
1917
1918 } # as_fn_mkdir_p
1919+
1920+# as_fn_executable_p FILE
1921+# -----------------------
1922+# Test if FILE is an executable regular file.
1923+as_fn_executable_p ()
1924+{
1925+ test -f "$1" && test -x "$1"
1926+} # as_fn_executable_p
1927 # as_fn_append VAR VALUE
1928 # ----------------------
1929 # Append the text in VALUE to the end of the definition contained in VAR. Take
1930@@ -449,6 +485,10 @@
1931 chmod +x "$as_me.lineno" ||
1932 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1933
1934+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
1935+ # already done that, so ensure we don't try to do so again and fall
1936+ # in an infinite loop. This has already happened in practice.
1937+ _as_can_reexec=no; export _as_can_reexec
1938 # Don't try to exec as it changes $[0], causing all sort of problems
1939 # (the dirname of $[0] is not the place where we might find the
1940 # original and so on. Autoconf is especially sensitive to this).
1941@@ -483,16 +523,16 @@
1942 # ... but there are two gotchas:
1943 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1944 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1945- # In both cases, we have to default to `cp -p'.
1946+ # In both cases, we have to default to `cp -pR'.
1947 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1948- as_ln_s='cp -p'
1949+ as_ln_s='cp -pR'
1950 elif ln conf$$.file conf$$ 2>/dev/null; then
1951 as_ln_s=ln
1952 else
1953- as_ln_s='cp -p'
1954+ as_ln_s='cp -pR'
1955 fi
1956 else
1957- as_ln_s='cp -p'
1958+ as_ln_s='cp -pR'
1959 fi
1960 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1961 rmdir conf$$.dir 2>/dev/null
1962@@ -504,28 +544,8 @@
1963 as_mkdir_p=false
1964 fi
1965
1966-if test -x / >/dev/null 2>&1; then
1967- as_test_x='test -x'
1968-else
1969- if ls -dL / >/dev/null 2>&1; then
1970- as_ls_L_option=L
1971- else
1972- as_ls_L_option=
1973- fi
1974- as_test_x='
1975- eval sh -c '\''
1976- if test -d "$1"; then
1977- test -d "$1/.";
1978- else
1979- case $1 in #(
1980- -*)set "./$1";;
1981- esac;
1982- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1983- ???[sx]*):;;*)false;;esac;fi
1984- '\'' sh
1985- '
1986-fi
1987-as_executable_p=$as_test_x
1988+as_test_x='test -x'
1989+as_executable_p=as_fn_executable_p
1990
1991 # Sed expression to map a string onto a valid CPP name.
1992 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1993@@ -555,10 +575,10 @@
1994 MAKEFLAGS=
1995
1996 # Identity of this package.
1997-PACKAGE_NAME='Dummy X.org Testing Environment for Google Test'
1998+PACKAGE_NAME='X.org Testing Environment for Google Test'
1999 PACKAGE_TARNAME='xorg-gtest'
2000-PACKAGE_VERSION='0.3.0'
2001-PACKAGE_STRING='Dummy X.org Testing Environment for Google Test 0.3.0'
2002+PACKAGE_VERSION='0.7.0'
2003+PACKAGE_STRING='X.org Testing Environment for Google Test 0.7.0'
2004 PACKAGE_BUGREPORT=''
2005 PACKAGE_URL=''
2006
2007@@ -605,16 +625,19 @@
2008 LIBOBJS
2009 ENABLE_XORG_GTEST_TESTS_FALSE
2010 ENABLE_XORG_GTEST_TESTS_TRUE
2011-DUMMY_CONF_PATH
2012+BASE_CPPFLAGS
2013 SOURCEDIR
2014 HAVE_EVEMU_FALSE
2015 HAVE_EVEMU_TRUE
2016 EVEMU_LIBS
2017 EVEMU_CFLAGS
2018-GTEST_SOURCE
2019-GTEST_CPPFLAGS
2020-XSERVER_LIBS
2021-XSERVER_CFLAGS
2022+DUMMY_CONF_PATH
2023+LOGFILE_DIR
2024+X11_LIBS
2025+X11_CFLAGS
2026+HAVE_DOXYGEN_FALSE
2027+HAVE_DOXYGEN_TRUE
2028+DOXYGEN
2029 ENABLE_INTEGRATION_TESTS_FALSE
2030 ENABLE_INTEGRATION_TESTS_TRUE
2031 XORG_MALLOC_DEBUG_ENV
2032@@ -747,8 +770,8 @@
2033 enable_strict_compilation
2034 enable_silent_rules
2035 enable_integration_tests
2036-with_gtest_source_path
2037-with_gtest_include_path
2038+with_doxygen
2039+with_logfile_dir
2040 with_evemu
2041 '
2042 ac_precious_vars='build_alias
2043@@ -765,8 +788,9 @@
2044 PKG_CONFIG_PATH
2045 PKG_CONFIG_LIBDIR
2046 XORG_MALLOC_DEBUG_ENV
2047-XSERVER_CFLAGS
2048-XSERVER_LIBS
2049+DOXYGEN
2050+X11_CFLAGS
2051+X11_LIBS
2052 EVEMU_CFLAGS
2053 EVEMU_LIBS'
2054
2055@@ -1224,8 +1248,6 @@
2056 if test "x$host_alias" != x; then
2057 if test "x$build_alias" = x; then
2058 cross_compiling=maybe
2059- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
2060- If a cross compiler is detected then cross compile mode will be used" >&2
2061 elif test "x$build_alias" != "x$host_alias"; then
2062 cross_compiling=yes
2063 fi
2064@@ -1311,7 +1333,7 @@
2065 # Omit some internal or obsolete options to make the list less imposing.
2066 # This message is too long to be a string in the A/UX 3.1 sh.
2067 cat <<_ACEOF
2068-\`configure' configures Dummy X.org Testing Environment for Google Test 0.3.0 to adapt to many kinds of systems.
2069+\`configure' configures X.org Testing Environment for Google Test 0.7.0 to adapt to many kinds of systems.
2070
2071 Usage: $0 [OPTION]... [VAR=VALUE]...
2072
2073@@ -1381,7 +1403,7 @@
2074
2075 if test -n "$ac_init_help"; then
2076 case $ac_init_help in
2077- short | recursive ) echo "Configuration of Dummy X.org Testing Environment for Google Test 0.3.0:";;
2078+ short | recursive ) echo "Configuration of X.org Testing Environment for Google Test 0.7.0:";;
2079 esac
2080 cat <<\_ACEOF
2081
2082@@ -1408,11 +1430,10 @@
2083 Optional Packages:
2084 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2085 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2086- --with-gtest-source-path
2087- location of the Google test sources, defaults to
2088- /usr/src/gtest
2089- --with-gtest-include-path
2090- location of the Google test headers
2091+ --with-doxygen Use doxygen to regenerate documentation (default:
2092+ auto)
2093+ --with-logfile-dir=/tmp ,
2094+ Base path for log files used as defaults and during tests (default: /tmp)
2095 --with-evemu support Linux input device recording playback
2096 (default: enabled if available)
2097
2098@@ -1432,10 +1453,9 @@
2099 path overriding pkg-config's built-in search path
2100 XORG_MALLOC_DEBUG_ENV
2101 Environment variables to enable memory checking in tests
2102- XSERVER_CFLAGS
2103- C compiler flags for XSERVER, overriding pkg-config
2104- XSERVER_LIBS
2105- linker flags for XSERVER, overriding pkg-config
2106+ DOXYGEN Path to doxygen command
2107+ X11_CFLAGS C compiler flags for X11, overriding pkg-config
2108+ X11_LIBS linker flags for X11, overriding pkg-config
2109 EVEMU_CFLAGS
2110 C compiler flags for EVEMU, overriding pkg-config
2111 EVEMU_LIBS linker flags for EVEMU, overriding pkg-config
2112@@ -1506,10 +1526,10 @@
2113 test -n "$ac_init_help" && exit $ac_status
2114 if $ac_init_version; then
2115 cat <<\_ACEOF
2116-Dummy X.org Testing Environment for Google Test configure 0.3.0
2117-generated by GNU Autoconf 2.68
2118+X.org Testing Environment for Google Test configure 0.7.0
2119+generated by GNU Autoconf 2.69
2120
2121-Copyright (C) 2010 Free Software Foundation, Inc.
2122+Copyright (C) 2012 Free Software Foundation, Inc.
2123 This configure script is free software; the Free Software Foundation
2124 gives unlimited permission to copy, distribute and modify it.
2125 _ACEOF
2126@@ -1741,7 +1761,7 @@
2127 test ! -s conftest.err
2128 } && test -s conftest$ac_exeext && {
2129 test "$cross_compiling" = yes ||
2130- $as_test_x conftest$ac_exeext
2131+ test -x conftest$ac_exeext
2132 }; then :
2133 ac_retval=0
2134 else
2135@@ -1759,99 +1779,12 @@
2136 as_fn_set_status $ac_retval
2137
2138 } # ac_fn_cxx_try_link
2139-
2140-# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2141-# ---------------------------------------------------------
2142-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2143-# the include files in INCLUDES and setting the cache variable VAR
2144-# accordingly.
2145-ac_fn_cxx_check_header_mongrel ()
2146-{
2147- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2148- if eval \${$3+:} false; then :
2149- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2150-$as_echo_n "checking for $2... " >&6; }
2151-if eval \${$3+:} false; then :
2152- $as_echo_n "(cached) " >&6
2153-fi
2154-eval ac_res=\$$3
2155- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2156-$as_echo "$ac_res" >&6; }
2157-else
2158- # Is the header compilable?
2159-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2160-$as_echo_n "checking $2 usability... " >&6; }
2161-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162-/* end confdefs.h. */
2163-$4
2164-#include <$2>
2165-_ACEOF
2166-if ac_fn_cxx_try_compile "$LINENO"; then :
2167- ac_header_compiler=yes
2168-else
2169- ac_header_compiler=no
2170-fi
2171-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2173-$as_echo "$ac_header_compiler" >&6; }
2174-
2175-# Is the header present?
2176-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2177-$as_echo_n "checking $2 presence... " >&6; }
2178-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179-/* end confdefs.h. */
2180-#include <$2>
2181-_ACEOF
2182-if ac_fn_cxx_try_cpp "$LINENO"; then :
2183- ac_header_preproc=yes
2184-else
2185- ac_header_preproc=no
2186-fi
2187-rm -f conftest.err conftest.i conftest.$ac_ext
2188-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2189-$as_echo "$ac_header_preproc" >&6; }
2190-
2191-# So? What about this header?
2192-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2193- yes:no: )
2194- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2195-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2196- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2197-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2198- ;;
2199- no:yes:* )
2200- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2201-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2202- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2203-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2204- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2205-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2206- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2207-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2208- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2209-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2210- ;;
2211-esac
2212- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2213-$as_echo_n "checking for $2... " >&6; }
2214-if eval \${$3+:} false; then :
2215- $as_echo_n "(cached) " >&6
2216-else
2217- eval "$3=\$ac_header_compiler"
2218-fi
2219-eval ac_res=\$$3
2220- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2221-$as_echo "$ac_res" >&6; }
2222-fi
2223- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2224-
2225-} # ac_fn_cxx_check_header_mongrel
2226 cat >config.log <<_ACEOF
2227 This file contains any messages produced by compilers while
2228 running configure, to aid debugging if configure makes a mistake.
2229
2230-It was created by Dummy X.org Testing Environment for Google Test $as_me 0.3.0, which was
2231-generated by GNU Autoconf 2.68. Invocation command line was
2232+It was created by X.org Testing Environment for Google Test $as_me 0.7.0, which was
2233+generated by GNU Autoconf 2.69. Invocation command line was
2234
2235 $ $0 $@
2236
2237@@ -2270,7 +2203,7 @@
2238 # by default.
2239 for ac_prog in ginstall scoinst install; do
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2242+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2243 if test $ac_prog = install &&
2244 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2245 # AIX install. It has an incompatible calling convention.
2246@@ -2439,7 +2372,7 @@
2247 IFS=$as_save_IFS
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2252 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 break 2
2255@@ -2479,7 +2412,7 @@
2256 IFS=$as_save_IFS
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2261 ac_cv_prog_ac_ct_STRIP="strip"
2262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 break 2
2264@@ -2530,7 +2463,7 @@
2265 test -z "$as_dir" && as_dir=.
2266 for ac_prog in mkdir gmkdir; do
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2269+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2270 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2271 'mkdir (GNU coreutils) '* | \
2272 'mkdir (coreutils) '* | \
2273@@ -2583,7 +2516,7 @@
2274 IFS=$as_save_IFS
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279 ac_cv_prog_AWK="$ac_prog"
2280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 break 2
2282@@ -2669,7 +2602,7 @@
2283
2284 # Define the identity of the package.
2285 PACKAGE='xorg-gtest'
2286- VERSION='0.3.0'
2287+ VERSION='0.7.0'
2288
2289
2290 cat >>confdefs.h <<_ACEOF
2291@@ -2762,7 +2695,7 @@
2292 IFS=$as_save_IFS
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 break 2
2300@@ -2806,7 +2739,7 @@
2301 IFS=$as_save_IFS
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2306 ac_cv_prog_ac_ct_CXX="$ac_prog"
2307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 break 2
2309@@ -3449,7 +3382,7 @@
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 break 2
2318@@ -3489,7 +3422,7 @@
2319 IFS=$as_save_IFS
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 ac_cv_prog_ac_ct_RANLIB="ranlib"
2325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 break 2
2327@@ -3695,7 +3628,7 @@
2328 for ac_prog in grep ggrep; do
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2331- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2332+ as_fn_executable_p "$ac_path_GREP" || continue
2333 # Check for GNU ac_path_GREP and select it if it is found.
2334 # Check for GNU $ac_path_GREP
2335 case `"$ac_path_GREP" --version 2>&1` in
2336@@ -3761,7 +3694,7 @@
2337 for ac_prog in egrep; do
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2340- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2341+ as_fn_executable_p "$ac_path_EGREP" || continue
2342 # Check for GNU ac_path_EGREP and select it if it is found.
2343 # Check for GNU $ac_path_EGREP
2344 case `"$ac_path_EGREP" --version 2>&1` in
2345@@ -3992,7 +3925,7 @@
2346 IFS=$as_save_IFS
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2350+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2351 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 break 2
2354@@ -4035,7 +3968,7 @@
2355 IFS=$as_save_IFS
2356 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2360 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 break 2
2363@@ -4178,7 +4111,7 @@
2364 for ac_prog in sed gsed; do
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2367- { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2368+ as_fn_executable_p "$ac_path_SED" || continue
2369 # Check for GNU ac_path_SED and select it if it is found.
2370 # Check for GNU $ac_path_SED
2371 case `"$ac_path_SED" --version 2>&1` in
2372@@ -4685,7 +4618,7 @@
2373
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Wformat=2" >&5
2375 $as_echo_n "checking if $CXX supports-Wformat=2... " >&6; }
2376- cacheid=`$as_echo "xorg_cv_cxx_flag_-Wformat=2" | $as_tr_sh`
2377+ cacheid=xorg_cv_cxx_flag__Wformat_2
2378 if eval \${$cacheid+:} false; then :
2379 $as_echo_n "(cached) " >&6
2380 else
2381@@ -5694,7 +5627,7 @@
2382
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=implicit" >&5
2384 $as_echo_n "checking if $CXX supports-Werror=implicit... " >&6; }
2385- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=implicit" | $as_tr_sh`
2386+ cacheid=xorg_cv_cxx_flag__Werror_implicit
2387 if eval \${$cacheid+:} false; then :
2388 $as_echo_n "(cached) " >&6
2389 else
2390@@ -5743,7 +5676,7 @@
2391
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
2393 $as_echo_n "checking if $CXX supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
2394- cacheid=`$as_echo "xorg_cv_cxx_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
2395+ cacheid=xorg_cv_cxx_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
2396 if eval \${$cacheid+:} false; then :
2397 $as_echo_n "(cached) " >&6
2398 else
2399@@ -5861,7 +5794,7 @@
2400
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=nonnull" >&5
2402 $as_echo_n "checking if $CXX supports-Werror=nonnull... " >&6; }
2403- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=nonnull" | $as_tr_sh`
2404+ cacheid=xorg_cv_cxx_flag__Werror_nonnull
2405 if eval \${$cacheid+:} false; then :
2406 $as_echo_n "(cached) " >&6
2407 else
2408@@ -5979,7 +5912,7 @@
2409
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=init-self" >&5
2411 $as_echo_n "checking if $CXX supports-Werror=init-self... " >&6; }
2412- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=init-self" | $as_tr_sh`
2413+ cacheid=xorg_cv_cxx_flag__Werror_init_self
2414 if eval \${$cacheid+:} false; then :
2415 $as_echo_n "(cached) " >&6
2416 else
2417@@ -6097,7 +6030,7 @@
2418
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=main" >&5
2420 $as_echo_n "checking if $CXX supports-Werror=main... " >&6; }
2421- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=main" | $as_tr_sh`
2422+ cacheid=xorg_cv_cxx_flag__Werror_main
2423 if eval \${$cacheid+:} false; then :
2424 $as_echo_n "(cached) " >&6
2425 else
2426@@ -6215,7 +6148,7 @@
2427
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=missing-braces" >&5
2429 $as_echo_n "checking if $CXX supports-Werror=missing-braces... " >&6; }
2430- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=missing-braces" | $as_tr_sh`
2431+ cacheid=xorg_cv_cxx_flag__Werror_missing_braces
2432 if eval \${$cacheid+:} false; then :
2433 $as_echo_n "(cached) " >&6
2434 else
2435@@ -6333,7 +6266,7 @@
2436
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=sequence-point" >&5
2438 $as_echo_n "checking if $CXX supports-Werror=sequence-point... " >&6; }
2439- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=sequence-point" | $as_tr_sh`
2440+ cacheid=xorg_cv_cxx_flag__Werror_sequence_point
2441 if eval \${$cacheid+:} false; then :
2442 $as_echo_n "(cached) " >&6
2443 else
2444@@ -6451,7 +6384,7 @@
2445
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=return-type" >&5
2447 $as_echo_n "checking if $CXX supports-Werror=return-type... " >&6; }
2448- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=return-type" | $as_tr_sh`
2449+ cacheid=xorg_cv_cxx_flag__Werror_return_type
2450 if eval \${$cacheid+:} false; then :
2451 $as_echo_n "(cached) " >&6
2452 else
2453@@ -6500,7 +6433,7 @@
2454
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
2456 $as_echo_n "checking if $CXX supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
2457- cacheid=`$as_echo "xorg_cv_cxx_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
2458+ cacheid=xorg_cv_cxx_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
2459 if eval \${$cacheid+:} false; then :
2460 $as_echo_n "(cached) " >&6
2461 else
2462@@ -6618,7 +6551,7 @@
2463
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=trigraphs" >&5
2465 $as_echo_n "checking if $CXX supports-Werror=trigraphs... " >&6; }
2466- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=trigraphs" | $as_tr_sh`
2467+ cacheid=xorg_cv_cxx_flag__Werror_trigraphs
2468 if eval \${$cacheid+:} false; then :
2469 $as_echo_n "(cached) " >&6
2470 else
2471@@ -6736,7 +6669,7 @@
2472
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=array-bounds" >&5
2474 $as_echo_n "checking if $CXX supports-Werror=array-bounds... " >&6; }
2475- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=array-bounds" | $as_tr_sh`
2476+ cacheid=xorg_cv_cxx_flag__Werror_array_bounds
2477 if eval \${$cacheid+:} false; then :
2478 $as_echo_n "(cached) " >&6
2479 else
2480@@ -6854,7 +6787,7 @@
2481
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=write-strings" >&5
2483 $as_echo_n "checking if $CXX supports-Werror=write-strings... " >&6; }
2484- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=write-strings" | $as_tr_sh`
2485+ cacheid=xorg_cv_cxx_flag__Werror_write_strings
2486 if eval \${$cacheid+:} false; then :
2487 $as_echo_n "(cached) " >&6
2488 else
2489@@ -6972,7 +6905,7 @@
2490
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=address" >&5
2492 $as_echo_n "checking if $CXX supports-Werror=address... " >&6; }
2493- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=address" | $as_tr_sh`
2494+ cacheid=xorg_cv_cxx_flag__Werror_address
2495 if eval \${$cacheid+:} false; then :
2496 $as_echo_n "(cached) " >&6
2497 else
2498@@ -7090,7 +7023,7 @@
2499
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=int-to-pointer-cast" >&5
2501 $as_echo_n "checking if $CXX supports-Werror=int-to-pointer-cast... " >&6; }
2502- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
2503+ cacheid=xorg_cv_cxx_flag__Werror_int_to_pointer_cast
2504 if eval \${$cacheid+:} false; then :
2505 $as_echo_n "(cached) " >&6
2506 else
2507@@ -7139,7 +7072,7 @@
2508
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
2510 $as_echo_n "checking if $CXX supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
2511- cacheid=`$as_echo "xorg_cv_cxx_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
2512+ cacheid=xorg_cv_cxx_flag__errwarn_E_BAD_PTR_INT_COMBINATION
2513 if eval \${$cacheid+:} false; then :
2514 $as_echo_n "(cached) " >&6
2515 else
2516@@ -7257,7 +7190,7 @@
2517
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=pointer-to-int-cast" >&5
2519 $as_echo_n "checking if $CXX supports-Werror=pointer-to-int-cast... " >&6; }
2520- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
2521+ cacheid=xorg_cv_cxx_flag__Werror_pointer_to_int_cast
2522 if eval \${$cacheid+:} false; then :
2523 $as_echo_n "(cached) " >&6
2524 else
2525@@ -9227,7 +9160,7 @@
2526
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=attributes" >&5
2528 $as_echo_n "checking if $CXX supports-Werror=attributes... " >&6; }
2529- cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=attributes" | $as_tr_sh`
2530+ cacheid=xorg_cv_cxx_flag__Werror_attributes
2531 if eval \${$cacheid+:} false; then :
2532 $as_echo_n "(cached) " >&6
2533 else
2534@@ -9539,20 +9472,145 @@
2535
2536
2537
2538+
2539+
2540+# Check whether --with-doxygen was given.
2541+if test "${with_doxygen+set}" = set; then :
2542+ withval=$with_doxygen; use_doxygen=$withval
2543+else
2544+ use_doxygen=auto
2545+fi
2546+
2547+
2548+
2549+if test "x$use_doxygen" = x"auto"; then
2550+ # Extract the first word of "doxygen", so it can be a program name with args.
2551+set dummy doxygen; ac_word=$2
2552+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553+$as_echo_n "checking for $ac_word... " >&6; }
2554+if ${ac_cv_path_DOXYGEN+:} false; then :
2555+ $as_echo_n "(cached) " >&6
2556+else
2557+ case $DOXYGEN in
2558+ [\\/]* | ?:[\\/]*)
2559+ ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
2560+ ;;
2561+ *)
2562+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563+for as_dir in $PATH
2564+do
2565+ IFS=$as_save_IFS
2566+ test -z "$as_dir" && as_dir=.
2567+ for ac_exec_ext in '' $ac_executable_extensions; do
2568+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2569+ ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2570+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571+ break 2
2572+ fi
2573+done
2574+ done
2575+IFS=$as_save_IFS
2576+
2577+ ;;
2578+esac
2579+fi
2580+DOXYGEN=$ac_cv_path_DOXYGEN
2581+if test -n "$DOXYGEN"; then
2582+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
2583+$as_echo "$DOXYGEN" >&6; }
2584+else
2585+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586+$as_echo "no" >&6; }
2587+fi
2588+
2589+
2590+ if test "x$DOXYGEN" = "x"; then
2591+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - documentation targets will be skipped" >&5
2592+$as_echo "$as_me: WARNING: doxygen not found - documentation targets will be skipped" >&2;}
2593+ have_doxygen=no
2594+ else
2595+ have_doxygen=yes
2596+ fi
2597+elif test "x$use_doxygen" = x"yes" ; then
2598+ # Extract the first word of "doxygen", so it can be a program name with args.
2599+set dummy doxygen; ac_word=$2
2600+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601+$as_echo_n "checking for $ac_word... " >&6; }
2602+if ${ac_cv_path_DOXYGEN+:} false; then :
2603+ $as_echo_n "(cached) " >&6
2604+else
2605+ case $DOXYGEN in
2606+ [\\/]* | ?:[\\/]*)
2607+ ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
2608+ ;;
2609+ *)
2610+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611+for as_dir in $PATH
2612+do
2613+ IFS=$as_save_IFS
2614+ test -z "$as_dir" && as_dir=.
2615+ for ac_exec_ext in '' $ac_executable_extensions; do
2616+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2617+ ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2618+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2619+ break 2
2620+ fi
2621+done
2622+ done
2623+IFS=$as_save_IFS
2624+
2625+ ;;
2626+esac
2627+fi
2628+DOXYGEN=$ac_cv_path_DOXYGEN
2629+if test -n "$DOXYGEN"; then
2630+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
2631+$as_echo "$DOXYGEN" >&6; }
2632+else
2633+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634+$as_echo "no" >&6; }
2635+fi
2636+
2637+
2638+ if test "x$DOXYGEN" = "x"; then
2639+ as_fn_error $? "--with-doxygen=yes specified but doxygen not found in PATH" "$LINENO" 5
2640+ fi
2641+ have_doxygen=yes
2642+elif test "x$use_doxygen" = x"no" ; then
2643+ if test "x$DOXYGEN" != "x"; then
2644+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&5
2645+$as_echo "$as_me: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&2;}
2646+ fi
2647+ have_doxygen=no
2648+else
2649+ as_fn_error $? "--with-doxygen expects 'yes' or 'no'" "$LINENO" 5
2650+fi
2651+
2652+ if test "$have_doxygen" = yes; then
2653+ HAVE_DOXYGEN_TRUE=
2654+ HAVE_DOXYGEN_FALSE='#'
2655+else
2656+ HAVE_DOXYGEN_TRUE='#'
2657+ HAVE_DOXYGEN_FALSE=
2658+fi
2659+
2660+
2661+
2662+
2663 pkg_failed=no
2664-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSERVER" >&5
2665-$as_echo_n "checking for XSERVER... " >&6; }
2666+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
2667+$as_echo_n "checking for X11... " >&6; }
2668
2669-if test -n "$XSERVER_CFLAGS"; then
2670- pkg_cv_XSERVER_CFLAGS="$XSERVER_CFLAGS"
2671+if test -n "$X11_CFLAGS"; then
2672+ pkg_cv_X11_CFLAGS="$X11_CFLAGS"
2673 elif test -n "$PKG_CONFIG"; then
2674 if test -n "$PKG_CONFIG" && \
2675- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
2676- ($PKG_CONFIG --exists --print-errors "x11") 2>&5
2677+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xi\""; } >&5
2678+ ($PKG_CONFIG --exists --print-errors "x11 xi") 2>&5
2679 ac_status=$?
2680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681 test $ac_status = 0; }; then
2682- pkg_cv_XSERVER_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
2683+ pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 xi" 2>/dev/null`
2684 test "x$?" != "x0" && pkg_failed=yes
2685 else
2686 pkg_failed=yes
2687@@ -9560,16 +9618,16 @@
2688 else
2689 pkg_failed=untried
2690 fi
2691-if test -n "$XSERVER_LIBS"; then
2692- pkg_cv_XSERVER_LIBS="$XSERVER_LIBS"
2693+if test -n "$X11_LIBS"; then
2694+ pkg_cv_X11_LIBS="$X11_LIBS"
2695 elif test -n "$PKG_CONFIG"; then
2696 if test -n "$PKG_CONFIG" && \
2697- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
2698- ($PKG_CONFIG --exists --print-errors "x11") 2>&5
2699+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xi\""; } >&5
2700+ ($PKG_CONFIG --exists --print-errors "x11 xi") 2>&5
2701 ac_status=$?
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; }; then
2704- pkg_cv_XSERVER_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
2705+ pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 xi" 2>/dev/null`
2706 test "x$?" != "x0" && pkg_failed=yes
2707 else
2708 pkg_failed=yes
2709@@ -9590,22 +9648,22 @@
2710 _pkg_short_errors_supported=no
2711 fi
2712 if test $_pkg_short_errors_supported = yes; then
2713- XSERVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
2714+ X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xi" 2>&1`
2715 else
2716- XSERVER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
2717+ X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xi" 2>&1`
2718 fi
2719 # Put the nasty error message in config.log where it belongs
2720- echo "$XSERVER_PKG_ERRORS" >&5
2721-
2722- as_fn_error $? "Package requirements (x11) were not met:
2723-
2724-$XSERVER_PKG_ERRORS
2725+ echo "$X11_PKG_ERRORS" >&5
2726+
2727+ as_fn_error $? "Package requirements (x11 xi) were not met:
2728+
2729+$X11_PKG_ERRORS
2730
2731 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2732 installed software in a non-standard prefix.
2733
2734-Alternatively, you may set the environment variables XSERVER_CFLAGS
2735-and XSERVER_LIBS to avoid the need to call pkg-config.
2736+Alternatively, you may set the environment variables X11_CFLAGS
2737+and X11_LIBS to avoid the need to call pkg-config.
2738 See the pkg-config man page for more details." "$LINENO" 5
2739 elif test $pkg_failed = untried; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2741@@ -9616,137 +9674,49 @@
2742 is in your PATH or set the PKG_CONFIG environment variable to the full
2743 path to pkg-config.
2744
2745-Alternatively, you may set the environment variables XSERVER_CFLAGS
2746-and XSERVER_LIBS to avoid the need to call pkg-config.
2747+Alternatively, you may set the environment variables X11_CFLAGS
2748+and X11_LIBS to avoid the need to call pkg-config.
2749 See the pkg-config man page for more details.
2750
2751 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2752 See \`config.log' for more details" "$LINENO" 5; }
2753 else
2754- XSERVER_CFLAGS=$pkg_cv_XSERVER_CFLAGS
2755- XSERVER_LIBS=$pkg_cv_XSERVER_LIBS
2756+ X11_CFLAGS=$pkg_cv_X11_CFLAGS
2757+ X11_LIBS=$pkg_cv_X11_LIBS
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2759 $as_echo "yes" >&6; }
2760
2761 fi
2762
2763-# Check for Google Test
2764-
2765-
2766-# Check whether --with-gtest-source-path was given.
2767-if test "${with_gtest_source_path+set}" = set; then :
2768- withval=$with_gtest_source_path; GTEST_SOURCE="$withval"; GTEST_CPPFLAGS="-I$withval/include"
2769-else
2770- GTEST_SOURCE="/usr/src/gtest"
2771-fi
2772-
2773-
2774-
2775-# Check whether --with-gtest-include-path was given.
2776-if test "${with_gtest_include_path+set}" = set; then :
2777- withval=$with_gtest_include_path; GTEST_CPPFLAGS="-I$withval"
2778-fi
2779-
2780-
2781- GTEST_CPPFLAGS="$GTEST_CPPFLAGS -I$GTEST_SOURCE"
2782-
2783- ac_ext=cpp
2784-ac_cpp='$CXXCPP $CPPFLAGS'
2785-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2786-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2787-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2788-
2789-
2790- tmp_CPPFLAGS="$CPPFLAGS"
2791- CPPFLAGS="$CPPFLAGS $GTEST_CPPFLAGS"
2792-
2793- ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
2794-if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
2795-
2796-fi
2797-
2798-
2799-
2800- CPPFLAGS="$tmp_CPPFLAGS"
2801-
2802- ac_ext=cpp
2803-ac_cpp='$CXXCPP $CPPFLAGS'
2804-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2807-
2808-
2809- as_ac_File=`$as_echo "ac_cv_file_$GTEST_SOURCE/src/gtest-all.cc" | $as_tr_sh`
2810-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTEST_SOURCE/src/gtest-all.cc" >&5
2811-$as_echo_n "checking for $GTEST_SOURCE/src/gtest-all.cc... " >&6; }
2812-if eval \${$as_ac_File+:} false; then :
2813- $as_echo_n "(cached) " >&6
2814-else
2815- test "$cross_compiling" = yes &&
2816- as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2817-if test -r "$GTEST_SOURCE/src/gtest-all.cc"; then
2818- eval "$as_ac_File=yes"
2819-else
2820- eval "$as_ac_File=no"
2821-fi
2822-fi
2823-eval ac_res=\$$as_ac_File
2824- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2825-$as_echo "$ac_res" >&6; }
2826-if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2827-
2828-cat >>confdefs.h <<_ACEOF
2829-#define `$as_echo "HAVE_$GTEST_SOURCE/src/gtest-all.cc" | $as_tr_cpp` 1
2830-_ACEOF
2831-have_gtest_source=yes
2832-else
2833- have_gtest_source=no
2834-fi
2835-as_ac_File=`$as_echo "ac_cv_file_$GTEST_SOURCE/src/gtest_main.cc" | $as_tr_sh`
2836-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTEST_SOURCE/src/gtest_main.cc" >&5
2837-$as_echo_n "checking for $GTEST_SOURCE/src/gtest_main.cc... " >&6; }
2838-if eval \${$as_ac_File+:} false; then :
2839- $as_echo_n "(cached) " >&6
2840-else
2841- test "$cross_compiling" = yes &&
2842- as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2843-if test -r "$GTEST_SOURCE/src/gtest_main.cc"; then
2844- eval "$as_ac_File=yes"
2845-else
2846- eval "$as_ac_File=no"
2847-fi
2848-fi
2849-eval ac_res=\$$as_ac_File
2850- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2851-$as_echo "$ac_res" >&6; }
2852-if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2853-
2854-cat >>confdefs.h <<_ACEOF
2855-#define `$as_echo "HAVE_$GTEST_SOURCE/src/gtest_main.cc" | $as_tr_cpp` 1
2856-_ACEOF
2857-have_gtest_source=yes
2858-else
2859- have_gtest_source=no
2860-fi
2861-
2862-
2863- if test "x$ac_cv_header_gtest_gtest_h" = xyes -a \
2864- "x$have_gtest_source" = xyes; then :
2865- have_gtest=yes
2866-
2867-
2868-else
2869- have_gtest=no
2870-fi
2871-
2872-
2873-if test "x$have_gtest" != xyes; then :
2874- as_fn_error $? "package 'gtest' not found" "$LINENO" 5
2875-fi
2876-
2877-
2878-
2879-# Check if we should include support for utouch-evemu
2880+
2881+# Check whether --with-logfile-dir was given.
2882+if test "${with_logfile_dir+set}" = set; then :
2883+ withval=$with_logfile_dir; LOGFILE_DIR="$withval"
2884+else
2885+ LOGFILE_DIR="/tmp"
2886+fi
2887+
2888+
2889+ prefix_NONE=
2890+ exec_prefix_NONE=
2891+ test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
2892+ test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
2893+ eval ac_define_dir="\"$LOGFILE_DIR\""
2894+ eval ac_define_dir="\"$ac_define_dir\""
2895+ LOGFILE_DIR="$ac_define_dir"
2896+
2897+
2898+cat >>confdefs.h <<_ACEOF
2899+#define LOGFILE_DIR "$ac_define_dir"
2900+_ACEOF
2901+
2902+ test "$prefix_NONE" && prefix=NONE
2903+ test "$exec_prefix_NONE" && exec_prefix=NONE
2904+
2905+DUMMY_CONF_PATH='${LOGFILE_DIR}'
2906+
2907+
2908+# Check if we should include support for evemu
2909
2910 # Check whether --with-evemu was given.
2911 if test "${with_evemu+set}" = set; then :
2912@@ -9756,171 +9726,82 @@
2913 fi
2914
2915
2916-if test "x$with_evemu" == xyes; then :
2917-
2918-pkg_failed=no
2919-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVEMU" >&5
2920-$as_echo_n "checking for EVEMU... " >&6; }
2921-
2922-if test -n "$EVEMU_CFLAGS"; then
2923- pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS"
2924- elif test -n "$PKG_CONFIG"; then
2925- if test -n "$PKG_CONFIG" && \
2926- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu\""; } >&5
2927- ($PKG_CONFIG --exists --print-errors "utouch-evemu") 2>&5
2928- ac_status=$?
2929- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2930- test $ac_status = 0; }; then
2931- pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "utouch-evemu" 2>/dev/null`
2932- test "x$?" != "x0" && pkg_failed=yes
2933-else
2934- pkg_failed=yes
2935-fi
2936- else
2937- pkg_failed=untried
2938-fi
2939-if test -n "$EVEMU_LIBS"; then
2940- pkg_cv_EVEMU_LIBS="$EVEMU_LIBS"
2941- elif test -n "$PKG_CONFIG"; then
2942- if test -n "$PKG_CONFIG" && \
2943- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu\""; } >&5
2944- ($PKG_CONFIG --exists --print-errors "utouch-evemu") 2>&5
2945- ac_status=$?
2946- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2947- test $ac_status = 0; }; then
2948- pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "utouch-evemu" 2>/dev/null`
2949- test "x$?" != "x0" && pkg_failed=yes
2950-else
2951- pkg_failed=yes
2952-fi
2953- else
2954- pkg_failed=untried
2955-fi
2956-
2957-
2958-
2959-if test $pkg_failed = yes; then
2960- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961-$as_echo "no" >&6; }
2962-
2963-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2964- _pkg_short_errors_supported=yes
2965-else
2966- _pkg_short_errors_supported=no
2967-fi
2968- if test $_pkg_short_errors_supported = yes; then
2969- EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "utouch-evemu" 2>&1`
2970- else
2971- EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "utouch-evemu" 2>&1`
2972- fi
2973- # Put the nasty error message in config.log where it belongs
2974- echo "$EVEMU_PKG_ERRORS" >&5
2975-
2976- as_fn_error $? "Package requirements (utouch-evemu) were not met:
2977-
2978-$EVEMU_PKG_ERRORS
2979-
2980-Consider adjusting the PKG_CONFIG_PATH environment variable if you
2981-installed software in a non-standard prefix.
2982-
2983-Alternatively, you may set the environment variables EVEMU_CFLAGS
2984-and EVEMU_LIBS to avoid the need to call pkg-config.
2985-See the pkg-config man page for more details." "$LINENO" 5
2986-elif test $pkg_failed = untried; then
2987- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988-$as_echo "no" >&6; }
2989- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2990-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2991-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
2992-is in your PATH or set the PKG_CONFIG environment variable to the full
2993-path to pkg-config.
2994-
2995-Alternatively, you may set the environment variables EVEMU_CFLAGS
2996-and EVEMU_LIBS to avoid the need to call pkg-config.
2997-See the pkg-config man page for more details.
2998-
2999-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3000-See \`config.log' for more details" "$LINENO" 5; }
3001-else
3002- EVEMU_CFLAGS=$pkg_cv_EVEMU_CFLAGS
3003- EVEMU_LIBS=$pkg_cv_EVEMU_LIBS
3004- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3005-$as_echo "yes" >&6; }
3006- have_evemu=yes
3007-fi
3008-elif test "x$with_evemu" == xcheck; then :
3009-
3010-pkg_failed=no
3011-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVEMU" >&5
3012-$as_echo_n "checking for EVEMU... " >&6; }
3013-
3014-if test -n "$EVEMU_CFLAGS"; then
3015- pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS"
3016- elif test -n "$PKG_CONFIG"; then
3017- if test -n "$PKG_CONFIG" && \
3018- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu\""; } >&5
3019- ($PKG_CONFIG --exists --print-errors "utouch-evemu") 2>&5
3020- ac_status=$?
3021- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3022- test $ac_status = 0; }; then
3023- pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "utouch-evemu" 2>/dev/null`
3024- test "x$?" != "x0" && pkg_failed=yes
3025-else
3026- pkg_failed=yes
3027-fi
3028- else
3029- pkg_failed=untried
3030-fi
3031-if test -n "$EVEMU_LIBS"; then
3032- pkg_cv_EVEMU_LIBS="$EVEMU_LIBS"
3033- elif test -n "$PKG_CONFIG"; then
3034- if test -n "$PKG_CONFIG" && \
3035- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu\""; } >&5
3036- ($PKG_CONFIG --exists --print-errors "utouch-evemu") 2>&5
3037- ac_status=$?
3038- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3039- test $ac_status = 0; }; then
3040- pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "utouch-evemu" 2>/dev/null`
3041- test "x$?" != "x0" && pkg_failed=yes
3042-else
3043- pkg_failed=yes
3044-fi
3045- else
3046- pkg_failed=untried
3047-fi
3048-
3049-
3050-
3051-if test $pkg_failed = yes; then
3052- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053-$as_echo "no" >&6; }
3054-
3055-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3056- _pkg_short_errors_supported=yes
3057-else
3058- _pkg_short_errors_supported=no
3059-fi
3060- if test $_pkg_short_errors_supported = yes; then
3061- EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "utouch-evemu" 2>&1`
3062- else
3063- EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "utouch-evemu" 2>&1`
3064- fi
3065- # Put the nasty error message in config.log where it belongs
3066- echo "$EVEMU_PKG_ERRORS" >&5
3067-
3068- :
3069-elif test $pkg_failed = untried; then
3070- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071-$as_echo "no" >&6; }
3072- :
3073-else
3074- EVEMU_CFLAGS=$pkg_cv_EVEMU_CFLAGS
3075- EVEMU_LIBS=$pkg_cv_EVEMU_LIBS
3076- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3077-$as_echo "yes" >&6; }
3078- have_evemu=yes
3079-fi
3080-fi
3081+
3082+pkg_failed=no
3083+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVEMU" >&5
3084+$as_echo_n "checking for EVEMU... " >&6; }
3085+
3086+if test -n "$EVEMU_CFLAGS"; then
3087+ pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS"
3088+ elif test -n "$PKG_CONFIG"; then
3089+ if test -n "$PKG_CONFIG" && \
3090+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evemu >= 1.0.10 \""; } >&5
3091+ ($PKG_CONFIG --exists --print-errors "evemu >= 1.0.10 ") 2>&5
3092+ ac_status=$?
3093+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3094+ test $ac_status = 0; }; then
3095+ pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "evemu >= 1.0.10 " 2>/dev/null`
3096+ test "x$?" != "x0" && pkg_failed=yes
3097+else
3098+ pkg_failed=yes
3099+fi
3100+ else
3101+ pkg_failed=untried
3102+fi
3103+if test -n "$EVEMU_LIBS"; then
3104+ pkg_cv_EVEMU_LIBS="$EVEMU_LIBS"
3105+ elif test -n "$PKG_CONFIG"; then
3106+ if test -n "$PKG_CONFIG" && \
3107+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evemu >= 1.0.10 \""; } >&5
3108+ ($PKG_CONFIG --exists --print-errors "evemu >= 1.0.10 ") 2>&5
3109+ ac_status=$?
3110+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111+ test $ac_status = 0; }; then
3112+ pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "evemu >= 1.0.10 " 2>/dev/null`
3113+ test "x$?" != "x0" && pkg_failed=yes
3114+else
3115+ pkg_failed=yes
3116+fi
3117+ else
3118+ pkg_failed=untried
3119+fi
3120+
3121+
3122+
3123+if test $pkg_failed = yes; then
3124+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125+$as_echo "no" >&6; }
3126+
3127+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3128+ _pkg_short_errors_supported=yes
3129+else
3130+ _pkg_short_errors_supported=no
3131+fi
3132+ if test $_pkg_short_errors_supported = yes; then
3133+ EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evemu >= 1.0.10 " 2>&1`
3134+ else
3135+ EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evemu >= 1.0.10 " 2>&1`
3136+ fi
3137+ # Put the nasty error message in config.log where it belongs
3138+ echo "$EVEMU_PKG_ERRORS" >&5
3139+
3140+ have_evemu=no
3141+elif test $pkg_failed = untried; then
3142+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143+$as_echo "no" >&6; }
3144+ have_evemu=no
3145+else
3146+ EVEMU_CFLAGS=$pkg_cv_EVEMU_CFLAGS
3147+ EVEMU_LIBS=$pkg_cv_EVEMU_LIBS
3148+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3149+$as_echo "yes" >&6; }
3150+ have_evemu=yes
3151+fi
3152+
3153+if test "x$with_evemu" == xyes && test "x$have_evemu" != xyes; then :
3154+ as_fn_error $? "package 'evemu' not found" "$LINENO" 5
3155+fi
3156+
3157 if test "x$have_evemu" = "xyes"; then
3158 HAVE_EVEMU_TRUE=
3159 HAVE_EVEMU_FALSE='#'
3160@@ -9939,6 +9820,9 @@
3161 DUMMY_CONF_PATH='${datarootdir}/xorg/gtest/dummy.conf'
3162
3163
3164+BASE_CPPFLAGS='$(X11_CFLAGS) $(EVEMU_CFLAGS)'
3165+
3166+
3167 # Check if we can build integration tests
3168 if test "x$enable_integration_tests" != xno; then :
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.org server" >&5
3170@@ -10002,7 +9886,7 @@
3171 fi
3172
3173
3174-ac_config_files="$ac_config_files Makefile aclocal/Makefile data/Makefile doc/Makefile examples/Makefile include/Makefile src/Makefile xorg-gtest.pc"
3175+ac_config_files="$ac_config_files Makefile aclocal/Makefile gtest/Makefile gtest/include/Makefile data/Makefile doc/Doxyfile doc/Makefile examples/Makefile include/Makefile src/Makefile test/Makefile xorg-gtest.pc"
3176
3177
3178 cat >confcache <<\_ACEOF
3179@@ -10174,6 +10058,10 @@
3180 as_fn_error $? "conditional \"ENABLE_INTEGRATION_TESTS\" was never defined.
3181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3182 fi
3183+if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
3184+ as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
3185+Usually this means the macro was only invoked conditionally." "$LINENO" 5
3186+fi
3187 if test -z "${HAVE_EVEMU_TRUE}" && test -z "${HAVE_EVEMU_FALSE}"; then
3188 as_fn_error $? "conditional \"HAVE_EVEMU\" was never defined.
3189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3190@@ -10480,16 +10368,16 @@
3191 # ... but there are two gotchas:
3192 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3193 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3194- # In both cases, we have to default to `cp -p'.
3195+ # In both cases, we have to default to `cp -pR'.
3196 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3197- as_ln_s='cp -p'
3198+ as_ln_s='cp -pR'
3199 elif ln conf$$.file conf$$ 2>/dev/null; then
3200 as_ln_s=ln
3201 else
3202- as_ln_s='cp -p'
3203+ as_ln_s='cp -pR'
3204 fi
3205 else
3206- as_ln_s='cp -p'
3207+ as_ln_s='cp -pR'
3208 fi
3209 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3210 rmdir conf$$.dir 2>/dev/null
3211@@ -10549,28 +10437,16 @@
3212 as_mkdir_p=false
3213 fi
3214
3215-if test -x / >/dev/null 2>&1; then
3216- as_test_x='test -x'
3217-else
3218- if ls -dL / >/dev/null 2>&1; then
3219- as_ls_L_option=L
3220- else
3221- as_ls_L_option=
3222- fi
3223- as_test_x='
3224- eval sh -c '\''
3225- if test -d "$1"; then
3226- test -d "$1/.";
3227- else
3228- case $1 in #(
3229- -*)set "./$1";;
3230- esac;
3231- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3232- ???[sx]*):;;*)false;;esac;fi
3233- '\'' sh
3234- '
3235-fi
3236-as_executable_p=$as_test_x
3237+
3238+# as_fn_executable_p FILE
3239+# -----------------------
3240+# Test if FILE is an executable regular file.
3241+as_fn_executable_p ()
3242+{
3243+ test -f "$1" && test -x "$1"
3244+} # as_fn_executable_p
3245+as_test_x='test -x'
3246+as_executable_p=as_fn_executable_p
3247
3248 # Sed expression to map a string onto a valid CPP name.
3249 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3250@@ -10591,8 +10467,8 @@
3251 # report actual input values of CONFIG_FILES etc. instead of their
3252 # values after options handling.
3253 ac_log="
3254-This file was extended by Dummy X.org Testing Environment for Google Test $as_me 0.3.0, which was
3255-generated by GNU Autoconf 2.68. Invocation command line was
3256+This file was extended by X.org Testing Environment for Google Test $as_me 0.7.0, which was
3257+generated by GNU Autoconf 2.69. Invocation command line was
3258
3259 CONFIG_FILES = $CONFIG_FILES
3260 CONFIG_HEADERS = $CONFIG_HEADERS
3261@@ -10648,11 +10524,11 @@
3262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3263 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3264 ac_cs_version="\\
3265-Dummy X.org Testing Environment for Google Test config.status 0.3.0
3266-configured by $0, generated by GNU Autoconf 2.68,
3267+X.org Testing Environment for Google Test config.status 0.7.0
3268+configured by $0, generated by GNU Autoconf 2.69,
3269 with options \\"\$ac_cs_config\\"
3270
3271-Copyright (C) 2010 Free Software Foundation, Inc.
3272+Copyright (C) 2012 Free Software Foundation, Inc.
3273 This config.status script is free software; the Free Software Foundation
3274 gives unlimited permission to copy, distribute and modify it."
3275
3276@@ -10732,7 +10608,7 @@
3277 _ACEOF
3278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3279 if \$ac_cs_recheck; then
3280- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3281+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3282 shift
3283 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3284 CONFIG_SHELL='$SHELL'
3285@@ -10769,11 +10645,15 @@
3286 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3287 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3288 "aclocal/Makefile") CONFIG_FILES="$CONFIG_FILES aclocal/Makefile" ;;
3289+ "gtest/Makefile") CONFIG_FILES="$CONFIG_FILES gtest/Makefile" ;;
3290+ "gtest/include/Makefile") CONFIG_FILES="$CONFIG_FILES gtest/include/Makefile" ;;
3291 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
3292+ "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
3293 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3294 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
3295 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
3296 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3297+ "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
3298 "xorg-gtest.pc") CONFIG_FILES="$CONFIG_FILES xorg-gtest.pc" ;;
3299
3300 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3301
3302=== modified file 'configure.ac'
3303--- configure.ac 2012-06-08 12:39:52 +0000
3304+++ configure.ac 2013-01-21 00:48:20 +0000
3305@@ -1,14 +1,14 @@
3306 # Initialize Autoconf
3307 AC_PREREQ([2.60])
3308-AC_INIT([Dummy X.org Testing Environment for Google Test],
3309- [0.3.0],
3310+AC_INIT([X.org Testing Environment for Google Test],
3311+ [0.7.0],
3312 [],
3313 [xorg-gtest])
3314 AC_CONFIG_SRCDIR([Makefile.am])
3315 AC_CONFIG_MACRO_DIR([m4])
3316
3317 # Initialize Automake
3318-AM_INIT_AUTOMAKE([foreign dist-bzip2])
3319+AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
3320 AM_MAINTAINER_MODE([enable])
3321
3322 # Checks for programs.
3323@@ -23,34 +23,36 @@
3324 XORG_MACROS_VERSION(1.17)
3325 XORG_DEFAULT_OPTIONS
3326 XORG_ENABLE_INTEGRATION_TESTS([yes])
3327-
3328-PKG_CHECK_MODULES(XSERVER, x11)
3329+XORG_WITH_DOXYGEN
3330+
3331+PKG_CHECK_MODULES(X11, x11 xi)
3332+
3333+AC_ARG_WITH(logfile-dir, [AS_HELP_STRING([--with-logfile-dir=/tmp]),
3334+ [Base path for log files used as defaults and during tests (default: /tmp)]],
3335+ [LOGFILE_DIR="$withval"], [LOGFILE_DIR="/tmp"])
3336+AC_DEFINE_DIR(LOGFILE_DIR, LOGFILE_DIR, [Log file path])
3337+AC_SUBST(DUMMY_CONF_PATH, ['${LOGFILE_DIR}'])
3338
3339-# Check for Google Test
3340-CHECK_GTEST
3341-
3342-AS_IF([test "x$have_gtest" != xyes],
3343- AC_MSG_ERROR([package 'gtest' not found]))
3344-
3345-AC_SUBST([GTEST_CPPFLAGS])
3346-
3347-# Check if we should include support for utouch-evemu
3348+# Check if we should include support for evemu
3349 AC_ARG_WITH([evemu],
3350 [AS_HELP_STRING([--with-evemu],
3351 [support Linux input device recording playback (default: enabled if available)])],
3352 [],
3353 [with_evemu=check])
3354
3355-AS_IF([test "x$with_evemu" == xyes],
3356- [PKG_CHECK_MODULES(EVEMU, utouch-evemu, [have_evemu=yes])],
3357- [test "x$with_evemu" == xcheck],
3358- [PKG_CHECK_MODULES(EVEMU, utouch-evemu, [have_evemu=yes], [:])])
3359+PKG_CHECK_MODULES(EVEMU, [evemu >= 1.0.10] , [have_evemu=yes], [have_evemu=no])
3360+
3361+AS_IF([test "x$with_evemu" == xyes && test "x$have_evemu" != xyes],
3362+ AC_MSG_ERROR([package 'evemu' not found]))
3363+
3364 AM_CONDITIONAL([HAVE_EVEMU], [test "x$have_evemu" = "xyes"])
3365 AS_IF([test "x$have_evemu" = xyes], [AC_DEFINE([HAVE_EVEMU])])
3366
3367 AC_SUBST(SOURCEDIR, ['${prefix}/src/xorg-gtest'])
3368 AC_SUBST(DUMMY_CONF_PATH, ['${datarootdir}/xorg/gtest/dummy.conf'])
3369
3370+AC_SUBST(BASE_CPPFLAGS, ['$(X11_CFLAGS) $(EVEMU_CFLAGS)'])
3371+
3372 # Check if we can build integration tests
3373 AS_IF([test "x$enable_integration_tests" != xno],
3374 [AC_MSG_CHECKING([for X.org server])]
3375@@ -75,11 +77,15 @@
3376
3377 AC_CONFIG_FILES([Makefile
3378 aclocal/Makefile
3379+ gtest/Makefile
3380+ gtest/include/Makefile
3381 data/Makefile
3382+ doc/Doxyfile
3383 doc/Makefile
3384 examples/Makefile
3385 include/Makefile
3386 src/Makefile
3387+ test/Makefile
3388 xorg-gtest.pc])
3389
3390 AC_OUTPUT
3391
3392=== modified file 'data/Makefile'
3393--- data/Makefile 2012-06-08 12:39:52 +0000
3394+++ data/Makefile 2013-01-21 00:48:20 +0000
3395@@ -1,4 +1,4 @@
3396-# Makefile.in generated by automake 1.11.3 from Makefile.am.
3397+# Makefile.in generated by automake 1.11.6 from Makefile.am.
3398 # data/Makefile. Generated from Makefile.in by configure.
3399
3400 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
3401@@ -41,6 +41,23 @@
3402 #
3403
3404
3405+am__make_dryrun = \
3406+ { \
3407+ am__dry=no; \
3408+ case $$MAKEFLAGS in \
3409+ *\\[\ \ ]*) \
3410+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
3411+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
3412+ *) \
3413+ for am__flg in $$MAKEFLAGS; do \
3414+ case $$am__flg in \
3415+ *=*|--*) ;; \
3416+ *n*) am__dry=yes; break;; \
3417+ esac; \
3418+ done;; \
3419+ esac; \
3420+ test $$am__dry = yes; \
3421+ }
3422 pkgdatadir = $(datadir)/xorg-gtest
3423 pkgincludedir = $(includedir)/xorg-gtest
3424 pkglibdir = $(libdir)/xorg-gtest
3425@@ -62,7 +79,7 @@
3426 subdir = data
3427 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
3428 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
3429-am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \
3430+am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
3431 $(top_srcdir)/configure.ac
3432 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
3433 $(ACLOCAL_M4)
3434@@ -77,6 +94,11 @@
3435 am__v_at_0 = @
3436 SOURCES =
3437 DIST_SOURCES =
3438+am__can_run_installinfo = \
3439+ case $$AM_UPDATE_INFO_DIR in \
3440+ n|no|NO) false;; \
3441+ *) (install-info --version) >/dev/null 2>&1;; \
3442+ esac
3443 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
3444 am__vpath_adj = case $$p in \
3445 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
3446@@ -107,17 +129,18 @@
3447 am__installdirs = "$(DESTDIR)$(datadir)"
3448 DATA = $(nobase_data_DATA)
3449 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
3450-ACLOCAL = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run aclocal-1.11
3451+ACLOCAL = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run aclocal-1.11
3452 ADMIN_MAN_DIR = $(mandir)/man$(ADMIN_MAN_SUFFIX)
3453 ADMIN_MAN_SUFFIX = 8
3454 AMTAR = $${TAR-tar}
3455 AM_DEFAULT_VERBOSITY = 0
3456 APP_MAN_DIR = $(mandir)/man$(APP_MAN_SUFFIX)
3457 APP_MAN_SUFFIX = 1
3458-AUTOCONF = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run autoconf
3459-AUTOHEADER = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run autoheader
3460-AUTOMAKE = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run automake-1.11
3461+AUTOCONF = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run autoconf
3462+AUTOHEADER = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run autoheader
3463+AUTOMAKE = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run automake-1.11
3464 AWK = gawk
3465+BASE_CPPFLAGS = $(X11_CFLAGS) $(EVEMU_CFLAGS)
3466 BASE_CXXFLAGS = -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
3467 CHANGELOG_CMD = (GIT_DIR=$(top_srcdir)/.git git log > $(top_srcdir)/.changelog.tmp && mv $(top_srcdir)/.changelog.tmp $(top_srcdir)/ChangeLog) || (rm -f $(top_srcdir)/.changelog.tmp; touch $(top_srcdir)/ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
3468 CPPFLAGS =
3469@@ -127,8 +150,9 @@
3470 CXXDEPMODE = depmode=gcc3
3471 CXXFLAGS = -g -O2
3472 CYGPATH_W = echo
3473-DEFS = -DPACKAGE_NAME=\"Dummy\ X.org\ Testing\ Environment\ for\ Google\ Test\" -DPACKAGE_TARNAME=\"xorg-gtest\" -DPACKAGE_VERSION=\"0.3.0\" -DPACKAGE_STRING=\"Dummy\ X.org\ Testing\ Environment\ for\ Google\ Test\ 0.3.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xorg-gtest\" -DVERSION=\"0.3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE_VERSION_MAJOR=0 -DPACKAGE_VERSION_MINOR=3 -DPACKAGE_VERSION_PATCHLEVEL=0 -DHAVE__USR_SRC_GTEST_SRC_GTEST_ALL_CC=1 -DHAVE__USR_SRC_GTEST_SRC_GTEST_MAIN_CC=1 -DHAVE_EVEMU=1
3474+DEFS = -DPACKAGE_NAME=\"X.org\ Testing\ Environment\ for\ Google\ Test\" -DPACKAGE_TARNAME=\"xorg-gtest\" -DPACKAGE_VERSION=\"0.7.0\" -DPACKAGE_STRING=\"X.org\ Testing\ Environment\ for\ Google\ Test\ 0.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xorg-gtest\" -DVERSION=\"0.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE_VERSION_MAJOR=0 -DPACKAGE_VERSION_MINOR=7 -DPACKAGE_VERSION_PATCHLEVEL=0 -DLOGFILE_DIR=\"/tmp\" -DHAVE_EVEMU=1
3475 DEPDIR = .deps
3476+DOXYGEN = /usr/bin/doxygen
3477 DRIVER_MAN_DIR = $(mandir)/man$(DRIVER_MAN_SUFFIX)
3478 DRIVER_MAN_SUFFIX = 4
3479 DUMMY_CONF_PATH = ${datarootdir}/xorg/gtest/dummy.conf
3480@@ -137,13 +161,11 @@
3481 ECHO_T =
3482 EGREP = /bin/grep -E
3483 EVEMU_CFLAGS =
3484-EVEMU_LIBS = -lutouch-evemu
3485+EVEMU_LIBS = -levemu
3486 EXEEXT =
3487 FILE_MAN_DIR = $(mandir)/man$(FILE_MAN_SUFFIX)
3488 FILE_MAN_SUFFIX = 5
3489 GREP = /bin/grep
3490-GTEST_CPPFLAGS = -I/usr/src/gtest
3491-GTEST_SOURCE = /usr/src/gtest
3492 INSTALL = /usr/bin/install -c
3493 INSTALL_CMD = (cp -f /usr/share/util-macros/INSTALL $(top_srcdir)/.INSTALL.tmp && mv $(top_srcdir)/.INSTALL.tmp $(top_srcdir)/INSTALL) || (rm -f $(top_srcdir)/.INSTALL.tmp; touch $(top_srcdir)/INSTALL; echo 'util-macros "pkgdatadir" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)
3494 INSTALL_DATA = ${INSTALL} -m 644
3495@@ -155,9 +177,10 @@
3496 LIBS =
3497 LIB_MAN_DIR = $(mandir)/man$(LIB_MAN_SUFFIX)
3498 LIB_MAN_SUFFIX = 3
3499+LOGFILE_DIR = /tmp
3500 LTLIBOBJS =
3501 MAINT =
3502-MAKEINFO = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run makeinfo
3503+MAKEINFO = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run makeinfo
3504 MAN_SUBSTS = -e 's|__vendorversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|' -e 's|__xorgversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|$(prefix)|g' -e 's|__apploaddir__|$(appdefaultdir)|g' -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
3505 MISC_MAN_DIR = $(mandir)/man$(MISC_MAN_SUFFIX)
3506 MISC_MAN_SUFFIX = 7
3507@@ -165,11 +188,11 @@
3508 OBJEXT = o
3509 PACKAGE = xorg-gtest
3510 PACKAGE_BUGREPORT =
3511-PACKAGE_NAME = Dummy X.org Testing Environment for Google Test
3512-PACKAGE_STRING = Dummy X.org Testing Environment for Google Test 0.3.0
3513+PACKAGE_NAME = X.org Testing Environment for Google Test
3514+PACKAGE_STRING = X.org Testing Environment for Google Test 0.7.0
3515 PACKAGE_TARNAME = xorg-gtest
3516 PACKAGE_URL =
3517-PACKAGE_VERSION = 0.3.0
3518+PACKAGE_VERSION = 0.7.0
3519 PATH_SEPARATOR = :
3520 PKG_CONFIG = /usr/bin/pkg-config
3521 PKG_CONFIG_LIBDIR =
3522@@ -181,15 +204,15 @@
3523 SOURCEDIR = ${prefix}/src/xorg-gtest
3524 STRICT_CXXFLAGS = -pedantic -Werror -Werror=attributes
3525 STRIP =
3526-VERSION = 0.3.0
3527+VERSION = 0.7.0
3528+X11_CFLAGS =
3529+X11_LIBS = -lX11 -lXi
3530 XORG_MALLOC_DEBUG_ENV = MALLOC_PERTURB_=15
3531 XORG_MAN_PAGE = X Version 11
3532-XSERVER_CFLAGS =
3533-XSERVER_LIBS = -lX11
3534-abs_builddir = /home/cndougla/Canonical/upstream/xorg-gtest/data
3535-abs_srcdir = /home/cndougla/Canonical/upstream/xorg-gtest/data
3536-abs_top_builddir = /home/cndougla/Canonical/upstream/xorg-gtest
3537-abs_top_srcdir = /home/cndougla/Canonical/upstream/xorg-gtest
3538+abs_builddir = /home/stephenw/projects/xorg-gtest/xorg-gtest/data
3539+abs_srcdir = /home/stephenw/projects/xorg-gtest/xorg-gtest/data
3540+abs_top_builddir = /home/stephenw/projects/xorg-gtest/xorg-gtest
3541+abs_top_srcdir = /home/stephenw/projects/xorg-gtest/xorg-gtest
3542 ac_ct_CXX = g++
3543 am__include = include
3544 am__leading_dot = .
3545@@ -216,7 +239,7 @@
3546 htmldir = ${docdir}
3547 includedir = ${prefix}/include
3548 infodir = ${datarootdir}/info
3549-install_sh = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/install-sh
3550+install_sh = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/install-sh
3551 libdir = ${exec_prefix}/lib
3552 libexecdir = ${exec_prefix}/libexec
3553 localedir = ${datarootdir}/locale
3554@@ -225,7 +248,7 @@
3555 mkdir_p = /bin/mkdir -p
3556 oldincludedir = /usr/include
3557 pdfdir = ${docdir}
3558-prefix = /usr
3559+prefix = /usr/local
3560 program_transform_name = s,x,x,
3561 psdir = ${docdir}
3562 sbindir = ${exec_prefix}/sbin
3563@@ -275,15 +298,18 @@
3564 $(am__aclocal_m4_deps):
3565 install-nobase_dataDATA: $(nobase_data_DATA)
3566 @$(NORMAL_INSTALL)
3567- test -z "$(datadir)" || $(MKDIR_P) "$(DESTDIR)$(datadir)"
3568 @list='$(nobase_data_DATA)'; test -n "$(datadir)" || list=; \
3569+ if test -n "$$list"; then \
3570+ echo " $(MKDIR_P) '$(DESTDIR)$(datadir)'"; \
3571+ $(MKDIR_P) "$(DESTDIR)$(datadir)" || exit 1; \
3572+ fi; \
3573 $(am__nobase_list) | while read dir files; do \
3574 xfiles=; for file in $$files; do \
3575 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
3576 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
3577 test -z "$$xfiles" || { \
3578 test "x$$dir" = x. || { \
3579- echo "$(MKDIR_P) '$(DESTDIR)$(datadir)/$$dir'"; \
3580+ echo " $(MKDIR_P) '$(DESTDIR)$(datadir)/$$dir'"; \
3581 $(MKDIR_P) "$(DESTDIR)$(datadir)/$$dir"; }; \
3582 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(datadir)/$$dir'"; \
3583 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(datadir)/$$dir" || exit $$?; }; \
3584
3585=== modified file 'data/Makefile.in'
3586--- data/Makefile.in 2012-06-08 12:39:52 +0000
3587+++ data/Makefile.in 2013-01-21 00:48:20 +0000
3588@@ -1,4 +1,4 @@
3589-# Makefile.in generated by automake 1.11.3 from Makefile.am.
3590+# Makefile.in generated by automake 1.11.6 from Makefile.am.
3591 # @configure_input@
3592
3593 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
3594@@ -41,6 +41,23 @@
3595 #
3596
3597 VPATH = @srcdir@
3598+am__make_dryrun = \
3599+ { \
3600+ am__dry=no; \
3601+ case $$MAKEFLAGS in \
3602+ *\\[\ \ ]*) \
3603+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
3604+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
3605+ *) \
3606+ for am__flg in $$MAKEFLAGS; do \
3607+ case $$am__flg in \
3608+ *=*|--*) ;; \
3609+ *n*) am__dry=yes; break;; \
3610+ esac; \
3611+ done;; \
3612+ esac; \
3613+ test $$am__dry = yes; \
3614+ }
3615 pkgdatadir = $(datadir)/@PACKAGE@
3616 pkgincludedir = $(includedir)/@PACKAGE@
3617 pkglibdir = $(libdir)/@PACKAGE@
3618@@ -62,7 +79,7 @@
3619 subdir = data
3620 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
3621 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
3622-am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \
3623+am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
3624 $(top_srcdir)/configure.ac
3625 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
3626 $(ACLOCAL_M4)
3627@@ -77,6 +94,11 @@
3628 am__v_at_0 = @
3629 SOURCES =
3630 DIST_SOURCES =
3631+am__can_run_installinfo = \
3632+ case $$AM_UPDATE_INFO_DIR in \
3633+ n|no|NO) false;; \
3634+ *) (install-info --version) >/dev/null 2>&1;; \
3635+ esac
3636 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
3637 am__vpath_adj = case $$p in \
3638 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
3639@@ -118,6 +140,7 @@
3640 AUTOHEADER = @AUTOHEADER@
3641 AUTOMAKE = @AUTOMAKE@
3642 AWK = @AWK@
3643+BASE_CPPFLAGS = @BASE_CPPFLAGS@
3644 BASE_CXXFLAGS = @BASE_CXXFLAGS@
3645 CHANGELOG_CMD = @CHANGELOG_CMD@
3646 CPPFLAGS = @CPPFLAGS@
3647@@ -129,6 +152,7 @@
3648 CYGPATH_W = @CYGPATH_W@
3649 DEFS = @DEFS@
3650 DEPDIR = @DEPDIR@
3651+DOXYGEN = @DOXYGEN@
3652 DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
3653 DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
3654 DUMMY_CONF_PATH = @DUMMY_CONF_PATH@
3655@@ -142,8 +166,6 @@
3656 FILE_MAN_DIR = @FILE_MAN_DIR@
3657 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
3658 GREP = @GREP@
3659-GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
3660-GTEST_SOURCE = @GTEST_SOURCE@
3661 INSTALL = @INSTALL@
3662 INSTALL_CMD = @INSTALL_CMD@
3663 INSTALL_DATA = @INSTALL_DATA@
3664@@ -155,6 +177,7 @@
3665 LIBS = @LIBS@
3666 LIB_MAN_DIR = @LIB_MAN_DIR@
3667 LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
3668+LOGFILE_DIR = @LOGFILE_DIR@
3669 LTLIBOBJS = @LTLIBOBJS@
3670 MAINT = @MAINT@
3671 MAKEINFO = @MAKEINFO@
3672@@ -182,10 +205,10 @@
3673 STRICT_CXXFLAGS = @STRICT_CXXFLAGS@
3674 STRIP = @STRIP@
3675 VERSION = @VERSION@
3676+X11_CFLAGS = @X11_CFLAGS@
3677+X11_LIBS = @X11_LIBS@
3678 XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@
3679 XORG_MAN_PAGE = @XORG_MAN_PAGE@
3680-XSERVER_CFLAGS = @XSERVER_CFLAGS@
3681-XSERVER_LIBS = @XSERVER_LIBS@
3682 abs_builddir = @abs_builddir@
3683 abs_srcdir = @abs_srcdir@
3684 abs_top_builddir = @abs_top_builddir@
3685@@ -275,15 +298,18 @@
3686 $(am__aclocal_m4_deps):
3687 install-nobase_dataDATA: $(nobase_data_DATA)
3688 @$(NORMAL_INSTALL)
3689- test -z "$(datadir)" || $(MKDIR_P) "$(DESTDIR)$(datadir)"
3690 @list='$(nobase_data_DATA)'; test -n "$(datadir)" || list=; \
3691+ if test -n "$$list"; then \
3692+ echo " $(MKDIR_P) '$(DESTDIR)$(datadir)'"; \
3693+ $(MKDIR_P) "$(DESTDIR)$(datadir)" || exit 1; \
3694+ fi; \
3695 $(am__nobase_list) | while read dir files; do \
3696 xfiles=; for file in $$files; do \
3697 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
3698 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
3699 test -z "$$xfiles" || { \
3700 test "x$$dir" = x. || { \
3701- echo "$(MKDIR_P) '$(DESTDIR)$(datadir)/$$dir'"; \
3702+ echo " $(MKDIR_P) '$(DESTDIR)$(datadir)/$$dir'"; \
3703 $(MKDIR_P) "$(DESTDIR)$(datadir)/$$dir"; }; \
3704 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(datadir)/$$dir'"; \
3705 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(datadir)/$$dir" || exit $$?; }; \
3706
3707=== modified file 'debian/changelog'
3708--- debian/changelog 2012-08-22 11:18:40 +0000
3709+++ debian/changelog 2013-01-21 00:48:20 +0000
3710@@ -1,3 +1,14 @@
3711+xorg-gtest (0.7.0-0ubuntu1) UNRELEASED; urgency=low
3712+
3713+ * New upstream release (lp: #1100382).
3714+ * debian/control: added valgrind as a build dependency (for tests).
3715+ * debian/source/format: changed to 3.0 (quilt)
3716+ * fixed 'make check' target so it does not fail in Ubuntu
3717+ * debian/control (Standards-Version): updated to 3.9.4 (no changes required)
3718+ * debian/copyright: updated
3719+
3720+ -- Stephen M. Webb <stephen.webb@ubuntu.com> Fri, 18 Jan 2013 16:11:32 -0500
3721+
3722 xorg-gtest (0.3.0-0ubuntu2) quantal; urgency=low
3723
3724 * debian/control: Depends on xserver-xorg-video-dummy, it seems required
3725
3726=== modified file 'debian/control'
3727--- debian/control 2012-08-22 11:18:40 +0000
3728+++ debian/control 2013-01-21 00:48:20 +0000
3729@@ -9,13 +9,14 @@
3730 libgtest-dev,
3731 libtool,
3732 libx11-dev,
3733+ libxi-dev,
3734 pkg-config,
3735- quilt,
3736+ valgrind,
3737 xserver-xorg-core,
3738 xserver-xorg-dev,
3739 xserver-xorg-video-dummy,
3740 xutils-dev (>= 1:7.7~1)
3741-Standards-Version: 3.9.3
3742+Standards-Version: 3.9.4
3743 Section: libs
3744 Vcs-Git: git://anongit.freedesktop.org/~cndougla/xorg-gtest
3745 Vcs-Browser: http://cgit.freedesktop.org/~cndougla/xorg-gtest
3746@@ -25,8 +26,8 @@
3747 Architecture: all
3748 Depends: libgtest-dev,
3749 libxorg-gtest-data (= ${source:Version}),
3750+ xserver-xorg-video-dummy,
3751 xutils-dev (>= 1:7.7~1),
3752- xserver-xorg-video-dummy,
3753 ${misc:Depends}
3754 Description: X.Org dummy testing environment for Google Test - headers
3755 Provides a Google Test environment for starting and stopping
3756
3757=== modified file 'debian/copyright'
3758--- debian/copyright 2012-02-24 09:44:47 +0000
3759+++ debian/copyright 2013-01-21 00:48:20 +0000
3760@@ -1,9 +1,10 @@
3761-Format: http://dep.debian.net/deps/dep5
3762+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
3763 Upstream-Name: xorg-gtest
3764 Source: http://cgit.freedesktop.org/xorg/test/xorg-gtest
3765
3766 Files: *
3767 Copyright: 2011-2012 Canonical Ltd.
3768+ 2012 Red Hat, Inc.
3769 License: GPL-3+
3770 This program is free software: you can redistribute it and/or modify
3771 it under the terms of the GNU General Public License as published by
3772@@ -18,3 +19,33 @@
3773 On Debian systems, the full text of the GNU General Public
3774 License version 3 can be found in the file
3775 `/usr/share/common-licenses/GPL-3'.
3776+
3777+Files: gtest/*
3778+Copyright: 2005-2008 Google Inc
3779+License: BSD-3-clause
3780+ Redistribution and use in source and binary forms, with or without
3781+ modification, are permitted provided that the following conditions are
3782+ met:
3783+ .
3784+ * Redistributions of source code must retain the above copyright
3785+ notice, this list of conditions and the following disclaimer.
3786+ * Redistributions in binary form must reproduce the above
3787+ copyright notice, this list of conditions and the following disclaimer
3788+ in the documentation and/or other materials provided with the
3789+ distribution.
3790+ * Neither the name of Google Inc. nor the names of its
3791+ contributors may be used to endorse or promote products derived from
3792+ this software without specific prior written permission.
3793+ .
3794+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3795+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3796+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3797+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3798+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3799+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3800+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3801+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3802+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3803+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3804+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3805+
3806
3807=== modified file 'debian/libxorg-gtest-data.install'
3808--- debian/libxorg-gtest-data.install 2012-06-08 12:39:52 +0000
3809+++ debian/libxorg-gtest-data.install 2013-01-21 00:48:20 +0000
3810@@ -1,2 +1,2 @@
3811+usr/share/X11/xorg.conf.d/99-virtual-test-devices.conf
3812 usr/share/xorg/gtest
3813-usr/share/X11/xorg.conf.d/99-virtual-test-devices.conf
3814
3815=== modified file 'debian/libxorg-gtest-doc.install'
3816--- debian/libxorg-gtest-doc.install 2012-02-15 09:18:17 +0000
3817+++ debian/libxorg-gtest-doc.install 2013-01-21 00:48:20 +0000
3818@@ -1,2 +1,1 @@
3819 usr/share/doc
3820-usr/share/man
3821
3822=== added file 'debian/patches/0001-fix-example-failures.patch'
3823--- debian/patches/0001-fix-example-failures.patch 1970-01-01 00:00:00 +0000
3824+++ debian/patches/0001-fix-example-failures.patch 2013-01-21 00:48:20 +0000
3825@@ -0,0 +1,42 @@
3826+Description: Fix 'make check' failures on some hardware due to timing issues.
3827+Author: Stephen M. Webb <stephen.webb@canonical.com>
3828+--- a/examples/Makefile.am
3829++++ b/examples/Makefile.am
3830+@@ -59,7 +59,10 @@
3831+ TESTS = $(noinst_PROGRAMS)
3832+ endif
3833+ xorg_gtest_example_SOURCES = xorg-gtest-example.cpp
3834+-xorg_gtest_example_CPPFLAGS = -I$(top_srcdir)/include $(AM_CPPFLAGS)
3835++xorg_gtest_example_CPPFLAGS = \
3836++ -I$(top_srcdir)/include \
3837++ $(AM_CPPFLAGS) \
3838++ -DDUMMY_CONF_PATH="\"$(abs_top_srcdir)/data/xorg/gtest/dummy.conf\""
3839+ xorg_gtest_example_LDADD = \
3840+ libgtest.a \
3841+ libxorg-gtest.a \
3842+--- a/examples/xorg-gtest-example.cpp
3843++++ b/examples/xorg-gtest-example.cpp
3844+@@ -24,6 +24,7 @@
3845+ TEST(XServer, StartServer) {
3846+ XServer server;
3847+ server.SetOption("-logfile", LOGFILE_DIR "/xserver-startserver.log");
3848++ server.SetOption("-config", DUMMY_CONF_PATH);
3849+ server.Start();
3850+
3851+ ASSERT_EQ(server.GetState(), Process::RUNNING);
3852+@@ -40,6 +41,7 @@
3853+ TEST(XServer, DisplayConnection) {
3854+ XServer server;
3855+ server.SetOption("-logfile", LOGFILE_DIR "/xserver-display-connection.log");
3856++ server.SetOption("-config", DUMMY_CONF_PATH);
3857+ server.Start();
3858+
3859+ Display *dpy = XOpenDisplay(server.GetDisplayString().c_str());
3860+@@ -69,6 +71,7 @@
3861+ log << ".log";
3862+
3863+ server.SetOption("-logfile", log.str());
3864++ server.SetOption("-config", DUMMY_CONF_PATH);
3865+ server.Start();
3866+
3867+ /* set up Display() */
3868
3869=== added file 'debian/patches/0002-fix-valgrind-test-failure.patch'
3870--- debian/patches/0002-fix-valgrind-test-failure.patch 1970-01-01 00:00:00 +0000
3871+++ debian/patches/0002-fix-valgrind-test-failure.patch 2013-01-21 00:48:20 +0000
3872@@ -0,0 +1,20 @@
3873+Description: Accommodate the situation in which valgrind is a wrapper script.
3874+Author: Stephen M. Webb <stephen.webb@canonical.com>
3875+--- a/test/process-test.cpp
3876++++ b/test/process-test.cpp
3877+@@ -355,6 +355,15 @@
3878+ } while(strstr(buff, program_invocation_short_name));
3879+
3880+ const char * arg = buff + strlen(buff) + 1;
3881++
3882++ /* accommodate the case that valgrind has a shell script wrapper */
3883++ if (0 == strcmp(buff, "/bin/sh")) {
3884++ if (0 == strcmp(arg, "-e")) {
3885++ arg += strlen(arg) + 1;
3886++ }
3887++ arg += strlen(arg) + 1;
3888++ }
3889++
3890+ std::vector<std::string>::const_iterator it = valgrind_args.begin();
3891+
3892+ it++; /* first one is "valgrind" */
3893
3894=== modified file 'debian/patches/series'
3895--- debian/patches/series 2012-02-24 09:44:47 +0000
3896+++ debian/patches/series 2013-01-21 00:48:20 +0000
3897@@ -1,1 +1,3 @@
3898 # No patches
3899+0001-fix-example-failures.patch
3900+0002-fix-valgrind-test-failure.patch
3901
3902=== modified file 'debian/rules'
3903--- debian/rules 2012-03-19 18:39:04 +0000
3904+++ debian/rules 2013-01-21 00:48:20 +0000
3905@@ -4,7 +4,7 @@
3906 #export DH_VERBOSE=1
3907
3908 %:
3909- dh $@ --parallel --with quilt,autoreconf
3910+ dh $@ --parallel --with autoreconf
3911
3912 # Install xorg-gtest.pc file in architecture independent directory
3913 override_dh_auto_configure:
3914@@ -14,4 +14,4 @@
3915 dh_auto_build -- all doc
3916
3917 override_dh_install:
3918- dh_install --fail-missing
3919+ dh_install --fail-missing -Xjquery.js
3920
3921=== modified file 'debian/source/format'
3922--- debian/source/format 2012-02-15 09:18:17 +0000
3923+++ debian/source/format 2013-01-21 00:48:20 +0000
3924@@ -1,1 +1,1 @@
3925-1.0
3926+3.0 (quilt)
3927
3928=== modified file 'depcomp'
3929--- depcomp 2012-02-15 09:18:17 +0000
3930+++ depcomp 2013-01-21 00:48:20 +0000
3931@@ -1,10 +1,10 @@
3932 #! /bin/sh
3933 # depcomp - compile a program generating dependencies as side-effects
3934
3935-scriptversion=2011-12-04.11; # UTC
3936+scriptversion=2012-03-27.16; # UTC
3937
3938 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
3939-# 2011 Free Software Foundation, Inc.
3940+# 2011, 2012 Free Software Foundation, Inc.
3941
3942 # This program is free software; you can redistribute it and/or modify
3943 # it under the terms of the GNU General Public License as published by
3944@@ -28,7 +28,7 @@
3945
3946 case $1 in
3947 '')
3948- echo "$0: No command. Try \`$0 --help' for more information." 1>&2
3949+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
3950 exit 1;
3951 ;;
3952 -h | --h*)
3953@@ -40,8 +40,8 @@
3954
3955 Environment variables:
3956 depmode Dependency tracking mode.
3957- source Source file read by `PROGRAMS ARGS'.
3958- object Object file output by `PROGRAMS ARGS'.
3959+ source Source file read by 'PROGRAMS ARGS'.
3960+ object Object file output by 'PROGRAMS ARGS'.
3961 DEPDIR directory where to store dependencies.
3962 depfile Dependency file to output.
3963 tmpdepfile Temporary file to use when outputting dependencies.
3964@@ -57,6 +57,12 @@
3965 ;;
3966 esac
3967
3968+# A tabulation character.
3969+tab=' '
3970+# A newline character.
3971+nl='
3972+'
3973+
3974 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
3975 echo "depcomp: Variables source, object and depmode must be set" 1>&2
3976 exit 1
3977@@ -102,6 +108,12 @@
3978 depmode=msvc7
3979 fi
3980
3981+if test "$depmode" = xlc; then
3982+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
3983+ gccflag=-qmakedep=gcc,-MF
3984+ depmode=gcc
3985+fi
3986+
3987 case "$depmode" in
3988 gcc3)
3989 ## gcc 3 implements dependency tracking that does exactly what
3990@@ -156,15 +168,14 @@
3991 ## The second -e expression handles DOS-style file names with drive letters.
3992 sed -e 's/^[^:]*: / /' \
3993 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
3994-## This next piece of magic avoids the `deleted header file' problem.
3995+## This next piece of magic avoids the "deleted header file" problem.
3996 ## The problem is that when a header file which appears in a .P file
3997 ## is deleted, the dependency causes make to die (because there is
3998 ## typically no way to rebuild the header). We avoid this by adding
3999 ## dummy dependencies for each header file. Too bad gcc doesn't do
4000 ## this for us directly.
4001- tr ' ' '
4002-' < "$tmpdepfile" |
4003-## Some versions of gcc put a space before the `:'. On the theory
4004+ tr ' ' "$nl" < "$tmpdepfile" |
4005+## Some versions of gcc put a space before the ':'. On the theory
4006 ## that the space means something, we add a space to the output as
4007 ## well. hp depmode also adds that space, but also prefixes the VPATH
4008 ## to the object. Take care to not repeat it in the output.
4009@@ -203,18 +214,15 @@
4010 # clever and replace this with sed code, as IRIX sed won't handle
4011 # lines with more than a fixed number of characters (4096 in
4012 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
4013- # the IRIX cc adds comments like `#:fec' to the end of the
4014+ # the IRIX cc adds comments like '#:fec' to the end of the
4015 # dependency line.
4016- tr ' ' '
4017-' < "$tmpdepfile" \
4018+ tr ' ' "$nl" < "$tmpdepfile" \
4019 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
4020- tr '
4021-' ' ' >> "$depfile"
4022+ tr "$nl" ' ' >> "$depfile"
4023 echo >> "$depfile"
4024
4025 # The second pass generates a dummy entry for each header file.
4026- tr ' ' '
4027-' < "$tmpdepfile" \
4028+ tr ' ' "$nl" < "$tmpdepfile" \
4029 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
4030 >> "$depfile"
4031 else
4032@@ -226,10 +234,17 @@
4033 rm -f "$tmpdepfile"
4034 ;;
4035
4036+xlc)
4037+ # This case exists only to let depend.m4 do its work. It works by
4038+ # looking at the text of this script. This case will never be run,
4039+ # since it is checked for above.
4040+ exit 1
4041+ ;;
4042+
4043 aix)
4044 # The C for AIX Compiler uses -M and outputs the dependencies
4045 # in a .u file. In older versions, this file always lives in the
4046- # current directory. Also, the AIX compiler puts `$object:' at the
4047+ # current directory. Also, the AIX compiler puts '$object:' at the
4048 # start of each line; $object doesn't have directory information.
4049 # Version 6 uses the directory in both cases.
4050 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
4051@@ -259,12 +274,11 @@
4052 test -f "$tmpdepfile" && break
4053 done
4054 if test -f "$tmpdepfile"; then
4055- # Each line is of the form `foo.o: dependent.h'.
4056+ # Each line is of the form 'foo.o: dependent.h'.
4057 # Do two passes, one to just change these to
4058- # `$object: dependent.h' and one to simply `dependent.h:'.
4059+ # '$object: dependent.h' and one to simply 'dependent.h:'.
4060 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
4061- # That's a tab and a space in the [].
4062- sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
4063+ sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
4064 else
4065 # The sourcefile does not contain any dependencies, so just
4066 # store a dummy comment line, to avoid errors with the Makefile
4067@@ -275,23 +289,26 @@
4068 ;;
4069
4070 icc)
4071- # Intel's C compiler understands `-MD -MF file'. However on
4072- # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
4073+ # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
4074+ # However on
4075+ # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
4076 # ICC 7.0 will fill foo.d with something like
4077 # foo.o: sub/foo.c
4078 # foo.o: sub/foo.h
4079- # which is wrong. We want:
4080+ # which is wrong. We want
4081 # sub/foo.o: sub/foo.c
4082 # sub/foo.o: sub/foo.h
4083 # sub/foo.c:
4084 # sub/foo.h:
4085 # ICC 7.1 will output
4086 # foo.o: sub/foo.c sub/foo.h
4087- # and will wrap long lines using \ :
4088+ # and will wrap long lines using '\':
4089 # foo.o: sub/foo.c ... \
4090 # sub/foo.h ... \
4091 # ...
4092-
4093+ # tcc 0.9.26 (FIXME still under development at the moment of writing)
4094+ # will emit a similar output, but also prepend the continuation lines
4095+ # with horizontal tabulation characters.
4096 "$@" -MD -MF "$tmpdepfile"
4097 stat=$?
4098 if test $stat -eq 0; then :
4099@@ -300,15 +317,21 @@
4100 exit $stat
4101 fi
4102 rm -f "$depfile"
4103- # Each line is of the form `foo.o: dependent.h',
4104- # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
4105+ # Each line is of the form 'foo.o: dependent.h',
4106+ # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
4107 # Do two passes, one to just change these to
4108- # `$object: dependent.h' and one to simply `dependent.h:'.
4109- sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
4110- # Some versions of the HPUX 10.20 sed can't process this invocation
4111- # correctly. Breaking it into two sed invocations is a workaround.
4112- sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
4113- sed -e 's/$/ :/' >> "$depfile"
4114+ # '$object: dependent.h' and one to simply 'dependent.h:'.
4115+ sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \
4116+ < "$tmpdepfile" > "$depfile"
4117+ sed '
4118+ s/[ '"$tab"'][ '"$tab"']*/ /g
4119+ s/^ *//
4120+ s/ *\\*$//
4121+ s/^[^:]*: *//
4122+ /^$/d
4123+ /:$/d
4124+ s/$/ :/
4125+ ' < "$tmpdepfile" >> "$depfile"
4126 rm -f "$tmpdepfile"
4127 ;;
4128
4129@@ -344,7 +367,7 @@
4130 done
4131 if test -f "$tmpdepfile"; then
4132 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
4133- # Add `dependent.h:' lines.
4134+ # Add 'dependent.h:' lines.
4135 sed -ne '2,${
4136 s/^ *//
4137 s/ \\*$//
4138@@ -359,9 +382,9 @@
4139
4140 tru64)
4141 # The Tru64 compiler uses -MD to generate dependencies as a side
4142- # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
4143+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
4144 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
4145- # dependencies in `foo.d' instead, so we check for that too.
4146+ # dependencies in 'foo.d' instead, so we check for that too.
4147 # Subdirectories are respected.
4148 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
4149 test "x$dir" = "x$object" && dir=
4150@@ -407,8 +430,7 @@
4151 done
4152 if test -f "$tmpdepfile"; then
4153 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
4154- # That's a tab and a space in the [].
4155- sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
4156+ sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
4157 else
4158 echo "#dummy" > "$depfile"
4159 fi
4160@@ -443,11 +465,11 @@
4161 p
4162 }' | $cygpath_u | sort -u | sed -n '
4163 s/ /\\ /g
4164-s/\(.*\)/ \1 \\/p
4165+s/\(.*\)/'"$tab"'\1 \\/p
4166 s/.\(.*\) \\/\1:/
4167 H
4168 $ {
4169- s/.*/ /
4170+ s/.*/'"$tab"'/
4171 G
4172 p
4173 }' >> "$depfile"
4174@@ -478,7 +500,7 @@
4175 shift
4176 fi
4177
4178- # Remove `-o $object'.
4179+ # Remove '-o $object'.
4180 IFS=" "
4181 for arg
4182 do
4183@@ -498,15 +520,14 @@
4184 done
4185
4186 test -z "$dashmflag" && dashmflag=-M
4187- # Require at least two characters before searching for `:'
4188+ # Require at least two characters before searching for ':'
4189 # in the target name. This is to cope with DOS-style filenames:
4190- # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
4191+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
4192 "$@" $dashmflag |
4193- sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
4194+ sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
4195 rm -f "$depfile"
4196 cat < "$tmpdepfile" > "$depfile"
4197- tr ' ' '
4198-' < "$tmpdepfile" | \
4199+ tr ' ' "$nl" < "$tmpdepfile" | \
4200 ## Some versions of the HPUX 10.20 sed can't process this invocation
4201 ## correctly. Breaking it into two sed invocations is a workaround.
4202 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
4203@@ -562,8 +583,7 @@
4204 # makedepend may prepend the VPATH from the source file name to the object.
4205 # No need to regex-escape $object, excess matching of '.' is harmless.
4206 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
4207- sed '1,2d' "$tmpdepfile" | tr ' ' '
4208-' | \
4209+ sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
4210 ## Some versions of the HPUX 10.20 sed can't process this invocation
4211 ## correctly. Breaking it into two sed invocations is a workaround.
4212 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
4213@@ -583,7 +603,7 @@
4214 shift
4215 fi
4216
4217- # Remove `-o $object'.
4218+ # Remove '-o $object'.
4219 IFS=" "
4220 for arg
4221 do
4222@@ -652,8 +672,8 @@
4223 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
4224 rm -f "$depfile"
4225 echo "$object : \\" > "$depfile"
4226- sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
4227- echo " " >> "$depfile"
4228+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
4229+ echo "$tab" >> "$depfile"
4230 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
4231 rm -f "$tmpdepfile"
4232 ;;
4233
4234=== removed file 'doc/Doxyfile'
4235--- doc/Doxyfile 2012-02-15 09:18:17 +0000
4236+++ doc/Doxyfile 1970-01-01 00:00:00 +0000
4237@@ -1,1720 +0,0 @@
4238-# Doxyfile 1.7.3
4239-
4240-# This file describes the settings to be used by the documentation system
4241-# doxygen (www.doxygen.org) for a project
4242-#
4243-# All text after a hash (#) is considered a comment and will be ignored
4244-# The format is:
4245-# TAG = value [value, ...]
4246-# For lists items can also be appended using:
4247-# TAG += value [value, ...]
4248-# Values that contain spaces should be placed between quotes (" ")
4249-
4250-#---------------------------------------------------------------------------
4251-# Project related configuration options
4252-#---------------------------------------------------------------------------
4253-
4254-# This tag specifies the encoding used for all characters in the config file
4255-# that follow. The default is UTF-8 which is also the encoding used for all
4256-# text before the first occurrence of this tag. Doxygen uses libiconv (or the
4257-# iconv built into libc) for the transcoding. See
4258-# http://www.gnu.org/software/libiconv for the list of possible encodings.
4259-
4260-DOXYFILE_ENCODING = UTF-8
4261-
4262-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
4263-# by quotes) that should identify the project.
4264-
4265-PROJECT_NAME = xorg-gtest
4266-
4267-# The PROJECT_NUMBER tag can be used to enter a project or revision number.
4268-# This could be handy for archiving the generated documentation or
4269-# if some version control system is used.
4270-
4271-PROJECT_NUMBER = 0.1
4272-
4273-# Using the PROJECT_BRIEF tag one can provide an optional one line description
4274-# for a project that appears at the top of each page and should give viewer
4275-# a quick idea about the purpose of the project. Keep the description short.
4276-
4277-PROJECT_BRIEF = "Xorg testing extension to Google Test"
4278-
4279-# With the PROJECT_LOGO tag one can specify an logo or icon that is
4280-# included in the documentation. The maximum height of the logo should not
4281-# exceed 55 pixels and the maximum width should not exceed 200 pixels.
4282-# Doxygen will copy the logo to the output directory.
4283-
4284-PROJECT_LOGO =
4285-
4286-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
4287-# base path where the generated documentation will be put.
4288-# If a relative path is entered, it will be relative to the location
4289-# where doxygen was started. If left blank the current directory will be used.
4290-
4291-OUTPUT_DIRECTORY = api
4292-
4293-# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
4294-# 4096 sub-directories (in 2 levels) under the output directory of each output
4295-# format and will distribute the generated files over these directories.
4296-# Enabling this option can be useful when feeding doxygen a huge amount of
4297-# source files, where putting all generated files in the same directory would
4298-# otherwise cause performance problems for the file system.
4299-
4300-CREATE_SUBDIRS = NO
4301-
4302-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
4303-# documentation generated by doxygen is written. Doxygen will use this
4304-# information to generate all constant output in the proper language.
4305-# The default language is English, other supported languages are:
4306-# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
4307-# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
4308-# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
4309-# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
4310-# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,
4311-# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
4312-
4313-OUTPUT_LANGUAGE = English
4314-
4315-# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
4316-# include brief member descriptions after the members that are listed in
4317-# the file and class documentation (similar to JavaDoc).
4318-# Set to NO to disable this.
4319-
4320-BRIEF_MEMBER_DESC = YES
4321-
4322-# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
4323-# the brief description of a member or function before the detailed description.
4324-# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
4325-# brief descriptions will be completely suppressed.
4326-
4327-REPEAT_BRIEF = YES
4328-
4329-# This tag implements a quasi-intelligent brief description abbreviator
4330-# that is used to form the text in various listings. Each string
4331-# in this list, if found as the leading text of the brief description, will be
4332-# stripped from the text and the result after processing the whole list, is
4333-# used as the annotated text. Otherwise, the brief description is used as-is.
4334-# If left blank, the following values are used ("$name" is automatically
4335-# replaced with the name of the entity): "The $name class" "The $name widget"
4336-# "The $name file" "is" "provides" "specifies" "contains"
4337-# "represents" "a" "an" "the"
4338-
4339-ABBREVIATE_BRIEF = "The $name class" \
4340- "The $name widget" \
4341- "The $name file" \
4342- is \
4343- provides \
4344- specifies \
4345- contains \
4346- represents \
4347- a \
4348- an \
4349- the
4350-
4351-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
4352-# Doxygen will generate a detailed section even if there is only a brief
4353-# description.
4354-
4355-ALWAYS_DETAILED_SEC = YES
4356-
4357-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
4358-# inherited members of a class in the documentation of that class as if those
4359-# members were ordinary class members. Constructors, destructors and assignment
4360-# operators of the base classes will not be shown.
4361-
4362-INLINE_INHERITED_MEMB = NO
4363-
4364-# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
4365-# path before files name in the file list and in the header files. If set
4366-# to NO the shortest path that makes the file name unique will be used.
4367-
4368-FULL_PATH_NAMES = YES
4369-
4370-# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
4371-# can be used to strip a user-defined part of the path. Stripping is
4372-# only done if one of the specified strings matches the left-hand part of
4373-# the path. The tag can be used to show relative paths in the file list.
4374-# If left blank the directory from which doxygen is run is used as the
4375-# path to strip.
4376-
4377-STRIP_FROM_PATH =
4378-
4379-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
4380-# the path mentioned in the documentation of a class, which tells
4381-# the reader which header file to include in order to use a class.
4382-# If left blank only the name of the header file containing the class
4383-# definition is used. Otherwise one should specify the include paths that
4384-# are normally passed to the compiler using the -I flag.
4385-
4386-STRIP_FROM_INC_PATH =
4387-
4388-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
4389-# (but less readable) file names. This can be useful if your file system
4390-# doesn't support long names like on DOS, Mac, or CD-ROM.
4391-
4392-SHORT_NAMES = NO
4393-
4394-# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
4395-# will interpret the first line (until the first dot) of a JavaDoc-style
4396-# comment as the brief description. If set to NO, the JavaDoc
4397-# comments will behave just like regular Qt-style comments
4398-# (thus requiring an explicit @brief command for a brief description.)
4399-
4400-JAVADOC_AUTOBRIEF = YES
4401-
4402-# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
4403-# interpret the first line (until the first dot) of a Qt-style
4404-# comment as the brief description. If set to NO, the comments
4405-# will behave just like regular Qt-style comments (thus requiring
4406-# an explicit \brief command for a brief description.)
4407-
4408-QT_AUTOBRIEF = NO
4409-
4410-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
4411-# treat a multi-line C++ special comment block (i.e. a block of //! or ///
4412-# comments) as a brief description. This used to be the default behaviour.
4413-# The new default is to treat a multi-line C++ comment block as a detailed
4414-# description. Set this tag to YES if you prefer the old behaviour instead.
4415-
4416-MULTILINE_CPP_IS_BRIEF = NO
4417-
4418-# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
4419-# member inherits the documentation from any documented member that it
4420-# re-implements.
4421-
4422-INHERIT_DOCS = YES
4423-
4424-# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
4425-# a new page for each member. If set to NO, the documentation of a member will
4426-# be part of the file/class/namespace that contains it.
4427-
4428-SEPARATE_MEMBER_PAGES = NO
4429-
4430-# The TAB_SIZE tag can be used to set the number of spaces in a tab.
4431-# Doxygen uses this value to replace tabs by spaces in code fragments.
4432-
4433-TAB_SIZE = 8
4434-
4435-# This tag can be used to specify a number of aliases that acts
4436-# as commands in the documentation. An alias has the form "name=value".
4437-# For example adding "sideeffect=\par Side Effects:\n" will allow you to
4438-# put the command \sideeffect (or @sideeffect) in the documentation, which
4439-# will result in a user-defined paragraph with heading "Side Effects:".
4440-# You can put \n's in the value part of an alias to insert newlines.
4441-
4442-ALIASES =
4443-
4444-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
4445-# sources only. Doxygen will then generate output that is more tailored for C.
4446-# For instance, some of the names that are used will be different. The list
4447-# of all members will be omitted, etc.
4448-
4449-OPTIMIZE_OUTPUT_FOR_C = NO
4450-
4451-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
4452-# sources only. Doxygen will then generate output that is more tailored for
4453-# Java. For instance, namespaces will be presented as packages, qualified
4454-# scopes will look different, etc.
4455-
4456-OPTIMIZE_OUTPUT_JAVA = NO
4457-
4458-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
4459-# sources only. Doxygen will then generate output that is more tailored for
4460-# Fortran.
4461-
4462-OPTIMIZE_FOR_FORTRAN = NO
4463-
4464-# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
4465-# sources. Doxygen will then generate output that is tailored for
4466-# VHDL.
4467-
4468-OPTIMIZE_OUTPUT_VHDL = NO
4469-
4470-# Doxygen selects the parser to use depending on the extension of the files it
4471-# parses. With this tag you can assign which parser to use for a given extension.
4472-# Doxygen has a built-in mapping, but you can override or extend it using this
4473-# tag. The format is ext=language, where ext is a file extension, and language
4474-# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,
4475-# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make
4476-# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
4477-# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
4478-# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
4479-
4480-EXTENSION_MAPPING =
4481-
4482-# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
4483-# to include (a tag file for) the STL sources as input, then you should
4484-# set this tag to YES in order to let doxygen match functions declarations and
4485-# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
4486-# func(std::string) {}). This also makes the inheritance and collaboration
4487-# diagrams that involve STL classes more complete and accurate.
4488-
4489-BUILTIN_STL_SUPPORT = NO
4490-
4491-# If you use Microsoft's C++/CLI language, you should set this option to YES to
4492-# enable parsing support.
4493-
4494-CPP_CLI_SUPPORT = NO
4495-
4496-# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
4497-# Doxygen will parse them like normal C++ but will assume all classes use public
4498-# instead of private inheritance when no explicit protection keyword is present.
4499-
4500-SIP_SUPPORT = NO
4501-
4502-# For Microsoft's IDL there are propget and propput attributes to indicate getter
4503-# and setter methods for a property. Setting this option to YES (the default)
4504-# will make doxygen replace the get and set methods by a property in the
4505-# documentation. This will only work if the methods are indeed getting or
4506-# setting a simple type. If this is not the case, or you want to show the
4507-# methods anyway, you should set this option to NO.
4508-
4509-IDL_PROPERTY_SUPPORT = YES
4510-
4511-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
4512-# tag is set to YES, then doxygen will reuse the documentation of the first
4513-# member in the group (if any) for the other members of the group. By default
4514-# all members of a group must be documented explicitly.
4515-
4516-DISTRIBUTE_GROUP_DOC = NO
4517-
4518-# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
4519-# the same type (for instance a group of public functions) to be put as a
4520-# subgroup of that type (e.g. under the Public Functions section). Set it to
4521-# NO to prevent subgrouping. Alternatively, this can be done per class using
4522-# the \nosubgrouping command.
4523-
4524-SUBGROUPING = YES
4525-
4526-# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
4527-# is documented as struct, union, or enum with the name of the typedef. So
4528-# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
4529-# with name TypeT. When disabled the typedef will appear as a member of a file,
4530-# namespace, or class. And the struct will be named TypeS. This can typically
4531-# be useful for C code in case the coding convention dictates that all compound
4532-# types are typedef'ed and only the typedef is referenced, never the tag name.
4533-
4534-TYPEDEF_HIDES_STRUCT = NO
4535-
4536-# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
4537-# determine which symbols to keep in memory and which to flush to disk.
4538-# When the cache is full, less often used symbols will be written to disk.
4539-# For small to medium size projects (<1000 input files) the default value is
4540-# probably good enough. For larger projects a too small cache size can cause
4541-# doxygen to be busy swapping symbols to and from disk most of the time
4542-# causing a significant performance penalty.
4543-# If the system has enough physical memory increasing the cache will improve the
4544-# performance by keeping more symbols in memory. Note that the value works on
4545-# a logarithmic scale so increasing the size by one will roughly double the
4546-# memory usage. The cache size is given by this formula:
4547-# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
4548-# corresponding to a cache size of 2^16 = 65536 symbols
4549-
4550-SYMBOL_CACHE_SIZE = 0
4551-
4552-#---------------------------------------------------------------------------
4553-# Build related configuration options
4554-#---------------------------------------------------------------------------
4555-
4556-# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
4557-# documentation are documented, even if no documentation was available.
4558-# Private class members and static file members will be hidden unless
4559-# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
4560-
4561-EXTRACT_ALL = NO
4562-
4563-# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
4564-# will be included in the documentation.
4565-
4566-EXTRACT_PRIVATE = NO
4567-
4568-# If the EXTRACT_STATIC tag is set to YES all static members of a file
4569-# will be included in the documentation.
4570-
4571-EXTRACT_STATIC = NO
4572-
4573-# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
4574-# defined locally in source files will be included in the documentation.
4575-# If set to NO only classes defined in header files are included.
4576-
4577-EXTRACT_LOCAL_CLASSES = YES
4578-
4579-# This flag is only useful for Objective-C code. When set to YES local
4580-# methods, which are defined in the implementation section but not in
4581-# the interface are included in the documentation.
4582-# If set to NO (the default) only methods in the interface are included.
4583-
4584-EXTRACT_LOCAL_METHODS = NO
4585-
4586-# If this flag is set to YES, the members of anonymous namespaces will be
4587-# extracted and appear in the documentation as a namespace called
4588-# 'anonymous_namespace{file}', where file will be replaced with the base
4589-# name of the file that contains the anonymous namespace. By default
4590-# anonymous namespaces are hidden.
4591-
4592-EXTRACT_ANON_NSPACES = NO
4593-
4594-# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
4595-# undocumented members of documented classes, files or namespaces.
4596-# If set to NO (the default) these members will be included in the
4597-# various overviews, but no documentation section is generated.
4598-# This option has no effect if EXTRACT_ALL is enabled.
4599-
4600-HIDE_UNDOC_MEMBERS = NO
4601-
4602-# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
4603-# undocumented classes that are normally visible in the class hierarchy.
4604-# If set to NO (the default) these classes will be included in the various
4605-# overviews. This option has no effect if EXTRACT_ALL is enabled.
4606-
4607-HIDE_UNDOC_CLASSES = NO
4608-
4609-# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
4610-# friend (class|struct|union) declarations.
4611-# If set to NO (the default) these declarations will be included in the
4612-# documentation.
4613-
4614-HIDE_FRIEND_COMPOUNDS = NO
4615-
4616-# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
4617-# documentation blocks found inside the body of a function.
4618-# If set to NO (the default) these blocks will be appended to the
4619-# function's detailed documentation block.
4620-
4621-HIDE_IN_BODY_DOCS = NO
4622-
4623-# The INTERNAL_DOCS tag determines if documentation
4624-# that is typed after a \internal command is included. If the tag is set
4625-# to NO (the default) then the documentation will be excluded.
4626-# Set it to YES to include the internal documentation.
4627-
4628-INTERNAL_DOCS = NO
4629-
4630-# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
4631-# file names in lower-case letters. If set to YES upper-case letters are also
4632-# allowed. This is useful if you have classes or files whose names only differ
4633-# in case and if your file system supports case sensitive file names. Windows
4634-# and Mac users are advised to set this option to NO.
4635-
4636-CASE_SENSE_NAMES = NO
4637-
4638-# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
4639-# will show members with their full class and namespace scopes in the
4640-# documentation. If set to YES the scope will be hidden.
4641-
4642-HIDE_SCOPE_NAMES = NO
4643-
4644-# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
4645-# will put a list of the files that are included by a file in the documentation
4646-# of that file.
4647-
4648-SHOW_INCLUDE_FILES = YES
4649-
4650-# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
4651-# will list include files with double quotes in the documentation
4652-# rather than with sharp brackets.
4653-
4654-FORCE_LOCAL_INCLUDES = NO
4655-
4656-# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
4657-# is inserted in the documentation for inline members.
4658-
4659-INLINE_INFO = YES
4660-
4661-# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
4662-# will sort the (detailed) documentation of file and class members
4663-# alphabetically by member name. If set to NO the members will appear in
4664-# declaration order.
4665-
4666-SORT_MEMBER_DOCS = YES
4667-
4668-# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
4669-# brief documentation of file, namespace and class members alphabetically
4670-# by member name. If set to NO (the default) the members will appear in
4671-# declaration order.
4672-
4673-SORT_BRIEF_DOCS = NO
4674-
4675-# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
4676-# will sort the (brief and detailed) documentation of class members so that
4677-# constructors and destructors are listed first. If set to NO (the default)
4678-# the constructors will appear in the respective orders defined by
4679-# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
4680-# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
4681-# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
4682-
4683-SORT_MEMBERS_CTORS_1ST = NO
4684-
4685-# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
4686-# hierarchy of group names into alphabetical order. If set to NO (the default)
4687-# the group names will appear in their defined order.
4688-
4689-SORT_GROUP_NAMES = NO
4690-
4691-# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
4692-# sorted by fully-qualified names, including namespaces. If set to
4693-# NO (the default), the class list will be sorted only by class name,
4694-# not including the namespace part.
4695-# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
4696-# Note: This option applies only to the class list, not to the
4697-# alphabetical list.
4698-
4699-SORT_BY_SCOPE_NAME = NO
4700-
4701-# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to
4702-# do proper type resolution of all parameters of a function it will reject a
4703-# match between the prototype and the implementation of a member function even
4704-# if there is only one candidate or it is obvious which candidate to choose
4705-# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen
4706-# will still accept a match between prototype and implementation in such cases.
4707-
4708-STRICT_PROTO_MATCHING = NO
4709-
4710-# The GENERATE_TODOLIST tag can be used to enable (YES) or
4711-# disable (NO) the todo list. This list is created by putting \todo
4712-# commands in the documentation.
4713-
4714-GENERATE_TODOLIST = YES
4715-
4716-# The GENERATE_TESTLIST tag can be used to enable (YES) or
4717-# disable (NO) the test list. This list is created by putting \test
4718-# commands in the documentation.
4719-
4720-GENERATE_TESTLIST = YES
4721-
4722-# The GENERATE_BUGLIST tag can be used to enable (YES) or
4723-# disable (NO) the bug list. This list is created by putting \bug
4724-# commands in the documentation.
4725-
4726-GENERATE_BUGLIST = YES
4727-
4728-# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
4729-# disable (NO) the deprecated list. This list is created by putting
4730-# \deprecated commands in the documentation.
4731-
4732-GENERATE_DEPRECATEDLIST= YES
4733-
4734-# The ENABLED_SECTIONS tag can be used to enable conditional
4735-# documentation sections, marked by \if sectionname ... \endif.
4736-
4737-ENABLED_SECTIONS =
4738-
4739-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
4740-# the initial value of a variable or macro consists of for it to appear in
4741-# the documentation. If the initializer consists of more lines than specified
4742-# here it will be hidden. Use a value of 0 to hide initializers completely.
4743-# The appearance of the initializer of individual variables and macros in the
4744-# documentation can be controlled using \showinitializer or \hideinitializer
4745-# command in the documentation regardless of this setting.
4746-
4747-MAX_INITIALIZER_LINES = 0
4748-
4749-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
4750-# at the bottom of the documentation of classes and structs. If set to YES the
4751-# list will mention the files that were used to generate the documentation.
4752-
4753-SHOW_USED_FILES = YES
4754-
4755-# If the sources in your project are distributed over multiple directories
4756-# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
4757-# in the documentation. The default is NO.
4758-
4759-SHOW_DIRECTORIES = NO
4760-
4761-# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
4762-# This will remove the Files entry from the Quick Index and from the
4763-# Folder Tree View (if specified). The default is YES.
4764-
4765-SHOW_FILES = YES
4766-
4767-# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
4768-# Namespaces page. This will remove the Namespaces entry from the Quick Index
4769-# and from the Folder Tree View (if specified). The default is YES.
4770-
4771-SHOW_NAMESPACES = YES
4772-
4773-# The FILE_VERSION_FILTER tag can be used to specify a program or script that
4774-# doxygen should invoke to get the current version for each file (typically from
4775-# the version control system). Doxygen will invoke the program by executing (via
4776-# popen()) the command <command> <input-file>, where <command> is the value of
4777-# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
4778-# provided by doxygen. Whatever the program writes to standard output
4779-# is used as the file version. See the manual for examples.
4780-
4781-FILE_VERSION_FILTER =
4782-
4783-# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
4784-# by doxygen. The layout file controls the global structure of the generated
4785-# output files in an output format independent way. The create the layout file
4786-# that represents doxygen's defaults, run doxygen with the -l option.
4787-# You can optionally specify a file name after the option, if omitted
4788-# DoxygenLayout.xml will be used as the name of the layout file.
4789-
4790-LAYOUT_FILE =
4791-
4792-#---------------------------------------------------------------------------
4793-# configuration options related to warning and progress messages
4794-#---------------------------------------------------------------------------
4795-
4796-# The QUIET tag can be used to turn on/off the messages that are generated
4797-# by doxygen. Possible values are YES and NO. If left blank NO is used.
4798-
4799-QUIET = NO
4800-
4801-# The WARNINGS tag can be used to turn on/off the warning messages that are
4802-# generated by doxygen. Possible values are YES and NO. If left blank
4803-# NO is used.
4804-
4805-WARNINGS = YES
4806-
4807-# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
4808-# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
4809-# automatically be disabled.
4810-
4811-WARN_IF_UNDOCUMENTED = YES
4812-
4813-# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
4814-# potential errors in the documentation, such as not documenting some
4815-# parameters in a documented function, or documenting parameters that
4816-# don't exist or using markup commands wrongly.
4817-
4818-WARN_IF_DOC_ERROR = YES
4819-
4820-# The WARN_NO_PARAMDOC option can be enabled to get warnings for
4821-# functions that are documented, but have no documentation for their parameters
4822-# or return value. If set to NO (the default) doxygen will only warn about
4823-# wrong or incomplete parameter documentation, but not about the absence of
4824-# documentation.
4825-
4826-WARN_NO_PARAMDOC = NO
4827-
4828-# The WARN_FORMAT tag determines the format of the warning messages that
4829-# doxygen can produce. The string should contain the $file, $line, and $text
4830-# tags, which will be replaced by the file and line number from which the
4831-# warning originated and the warning text. Optionally the format may contain
4832-# $version, which will be replaced by the version of the file (if it could
4833-# be obtained via FILE_VERSION_FILTER)
4834-
4835-WARN_FORMAT = "$file:$line: $text"
4836-
4837-# The WARN_LOGFILE tag can be used to specify a file to which warning
4838-# and error messages should be written. If left blank the output is written
4839-# to stderr.
4840-
4841-WARN_LOGFILE =
4842-
4843-#---------------------------------------------------------------------------
4844-# configuration options related to the input files
4845-#---------------------------------------------------------------------------
4846-
4847-# The INPUT tag can be used to specify the files and/or directories that contain
4848-# documented source files. You may enter file names like "myfile.cpp" or
4849-# directories like "/usr/src/myproject". Separate the files or directories
4850-# with spaces.
4851-
4852-INPUT = ../include \
4853- ../examples
4854-
4855-# This tag can be used to specify the character encoding of the source files
4856-# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
4857-# also the default input encoding. Doxygen uses libiconv (or the iconv built
4858-# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
4859-# the list of possible encodings.
4860-
4861-INPUT_ENCODING = UTF-8
4862-
4863-# If the value of the INPUT tag contains directories, you can use the
4864-# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
4865-# and *.h) to filter out the source-files in the directories. If left
4866-# blank the following patterns are tested:
4867-# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh
4868-# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py
4869-# *.f90 *.f *.for *.vhd *.vhdl
4870-
4871-FILE_PATTERNS = *.c \
4872- *.cc \
4873- *.cxx \
4874- *.cpp \
4875- *.c++ \
4876- *.d \
4877- *.java \
4878- *.ii \
4879- *.ixx \
4880- *.ipp \
4881- *.i++ \
4882- *.inl \
4883- *.h \
4884- *.hh \
4885- *.hxx \
4886- *.hpp \
4887- *.h++ \
4888- *.idl \
4889- *.odl \
4890- *.cs \
4891- *.php \
4892- *.php3 \
4893- *.inc \
4894- *.m \
4895- *.mm \
4896- *.dox \
4897- *.py \
4898- *.f90 \
4899- *.f \
4900- *.vhd \
4901- *.vhdl \
4902- *.dox
4903-
4904-# The RECURSIVE tag can be used to turn specify whether or not subdirectories
4905-# should be searched for input files as well. Possible values are YES and NO.
4906-# If left blank NO is used.
4907-
4908-RECURSIVE = YES
4909-
4910-# The EXCLUDE tag can be used to specify files and/or directories that should
4911-# excluded from the INPUT source files. This way you can easily exclude a
4912-# subdirectory from a directory tree whose root is specified with the INPUT tag.
4913-
4914-EXCLUDE =
4915-
4916-# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
4917-# directories that are symbolic links (a Unix file system feature) are excluded
4918-# from the input.
4919-
4920-EXCLUDE_SYMLINKS = NO
4921-
4922-# If the value of the INPUT tag contains directories, you can use the
4923-# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
4924-# certain files from those directories. Note that the wildcards are matched
4925-# against the file with absolute path, so to exclude all test directories
4926-# for example use the pattern */test/*
4927-
4928-EXCLUDE_PATTERNS =
4929-
4930-# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
4931-# (namespaces, classes, functions, etc.) that should be excluded from the
4932-# output. The symbol name can be a fully qualified name, a word, or if the
4933-# wildcard * is used, a substring. Examples: ANamespace, AClass,
4934-# AClass::ANamespace, ANamespace::*Test
4935-
4936-EXCLUDE_SYMBOLS =
4937-
4938-# The EXAMPLE_PATH tag can be used to specify one or more files or
4939-# directories that contain example code fragments that are included (see
4940-# the \include command).
4941-
4942-EXAMPLE_PATH = ../examples
4943-
4944-# If the value of the EXAMPLE_PATH tag contains directories, you can use the
4945-# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
4946-# and *.h) to filter out the source-files in the directories. If left
4947-# blank all files are included.
4948-
4949-EXAMPLE_PATTERNS =
4950-
4951-# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
4952-# searched for input files to be used with the \include or \dontinclude
4953-# commands irrespective of the value of the RECURSIVE tag.
4954-# Possible values are YES and NO. If left blank NO is used.
4955-
4956-EXAMPLE_RECURSIVE = NO
4957-
4958-# The IMAGE_PATH tag can be used to specify one or more files or
4959-# directories that contain image that are included in the documentation (see
4960-# the \image command).
4961-
4962-IMAGE_PATH =
4963-
4964-# The INPUT_FILTER tag can be used to specify a program that doxygen should
4965-# invoke to filter for each input file. Doxygen will invoke the filter program
4966-# by executing (via popen()) the command <filter> <input-file>, where <filter>
4967-# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
4968-# input file. Doxygen will then use the output that the filter program writes
4969-# to standard output. If FILTER_PATTERNS is specified, this tag will be
4970-# ignored.
4971-
4972-INPUT_FILTER =
4973-
4974-# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
4975-# basis. Doxygen will compare the file name with each pattern and apply the
4976-# filter if there is a match. The filters are a list of the form:
4977-# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
4978-# info on how filters are used. If FILTER_PATTERNS is empty or if
4979-# non of the patterns match the file name, INPUT_FILTER is applied.
4980-
4981-FILTER_PATTERNS =
4982-
4983-# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
4984-# INPUT_FILTER) will be used to filter the input files when producing source
4985-# files to browse (i.e. when SOURCE_BROWSER is set to YES).
4986-
4987-FILTER_SOURCE_FILES = NO
4988-
4989-# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
4990-# pattern. A pattern will override the setting for FILTER_PATTERN (if any)
4991-# and it is also possible to disable source filtering for a specific pattern
4992-# using *.ext= (so without naming a filter). This option only has effect when
4993-# FILTER_SOURCE_FILES is enabled.
4994-
4995-FILTER_SOURCE_PATTERNS =
4996-
4997-#---------------------------------------------------------------------------
4998-# configuration options related to source browsing
4999-#---------------------------------------------------------------------------
5000-
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches