Codebase list virt-viewer / upstream/0.4.2
Imported Upstream version 0.4.2 Laurent Léonard 12 years ago
30 changed file(s) with 1467 addition(s) and 966 deletion(s). Raw diff Collapse all Expand all
0 2011-11-09 Daniel P. Berrange <berrange@redhat.com>
1
2 Prep for 0.4.2 release
3
4 2011-11-07 Daniel P. Berrange <berrange@redhat.com>
5
6 Automatically generate changelog from GIT history during make dist
7
8 2011-11-07 Marc-André Lureau <marcandre.lureau@redhat.com>
9
10 Update POTFILES.in, fix make distcheck
11
12 2011-11-07 Daniel P. Berrange <berrange@redhat.com>
13
14 Ignore some more generated files
15
16 2011-11-07 Marc-André Lureau <marcandre.lureau@redhat.com>
17
18 build: make gtk-vnc optional
19
20 2011-11-07 Daniel P. Berrange <berrange@redhat.com>
21
22 Require GTK-VNC 0.4.3 and remove redundant realize() call
23 Remove call to gtk_widget_realize for the GTK-VNC widget. Requires
24 GTK-VNC >= 0.4.3
25
26 2011-11-07 Marc-André Lureau <marcandre.lureau@redhat.com>
27
28 Emit display-desktop-resize from set_desktop_size()
29
30 2011-11-07 Daniel P. Berrange <berrange@redhat.com>
31
32 Don't include INSTALL file in GIT
33
34 Revert 1a56de3acad6a19fd958fae9278cf1c97fdabb18
35 The GLIB2 check previously removed was misleading because it in
36 fact checked for gmodule-export-2.0 which is needed to export
37 the signal handlers. Revert the previous commit, but rename the
38 var to GMODULE2 to make it clearer
39
40 Always use canonical URI from libvirt connection
41 The URI we feed into libvirt may be an alias, so always query the
42 actual URI used internally
43
44 2011-11-04 Daniel P. Berrange <berrange@redhat.com>
45
46 Update automated build to test both GTK2 and GTK3 builds
47
48 Update mingw32 RPM specfile to use GTK3 on F15 or later
49
50 Remove pkgconfig check for GLIB2 since it is implied by GTK2/3
51
52 2011-11-03 Daniel P. Berrange <berrange@redhat.com>
53
54 Fix configure arg for disabling spice
55
56 Print configuration summary
57
58 2011-10-11 Daniel P. Berrange <berrange@redhat.com>
59
60 Fix broken keycombos for F9->F12 menu
61 The table for sending C-A-Fn to guests had messed up mappings
62 for F9->F12
63
64 Wire up SpiceDisplay grab signals
65 To ensure that we can put the key release sequence message in the
66 title bar, wire up VirtViewerDisplaySpice to the grab signals
67 in SpiceDisplay
68
69 Fix setting of window title with --wait
70 When waiting for a VM to appear or start, set the initial window
71 title to the command line arg. When the VM actually appears then
72 update it to the real VM name
73
74 2011-09-28 Daniel P. Berrange <berrange@redhat.com>
75
76 Fix crash from previous commit when using UNIX sockets
77 Code in the previous commit would use 'ghost' even when it was
78 NULL, as with UNIX domain socket based connections.
79
80 2011-09-19 Daniel P. Berrange <berrange@redhat.com>
81
82 Fix hostname when XML gives a wildcard address
83 When the guest XML contains a wildcard address like 0.0.0.0 or ::,
84 we can't directly use connect() on it. Instead we have to use the
85 hostname/IP from the libvirt URI.
86
87 2011-09-16 Daniel P. Berrange <berrange@redhat.com>
88
89 Propagate primary window zoom level to secondary windows
90 Ensure that all windows get a default zoom level of 100. Propagate
91 the primary window's zoom level to all secondary windows when
92 initially creating them
93
94 Fix setting of window title with domain name
95
96 2011-08-16 Daniel P. Berrange <berrange@redhat.com>
97
98 Fix setting of initial zoom level on display
99
100 2011-08-16 Guido Günther <agx@sigxcpu.org>
101
102 ff callbacks must be invoked from a clean stack
103 If 'ff' callbacks are invoked directly from the remove
104 callback they will likely deadlock in libvirt. They must
105 be invoked from a clean stack, so switch to using a
106 glib idle callback.
107
108 2011-08-14 Guido Günther <agx@sigxcpu.org>
109
110 Don't print (null) as user
111
112 Don't print incorrect port numbers
113 The port isn't 22 when we connect to an alternate port given in
114 .ssh/config.
115
116 Don't hardcode ssh port to 0
117 Many thanks to Luca Capello <luca@pca.it> for debugging this.
118
119 2011-08-12 Daniel P. Berrange <berrange@redhat.com>
120
121 Fix inverted sshport test that broke SSH tunnelling
122
123 2011-08-04 Marc-André Lureau <marcandre.lureau@redhat.com>
124
125 Return if xmlParseURI() failed, instead of crashing
126
127 Lookup UI file correctly, to fix Windows support
128
129 Mark exported function for gtkbuild to lookup on Windows
130
131 Make title more translatable and using application name
132
133 Use g_printerr for errors instead of fprintf(stderr,..)
134
135 Lower severity of unhandled Spice events
136
137 Add virt_viewer_app_show_display()
138 Similar to previous virt_viewer_app_show_status().
139 Used later on by Spice controller to switch between display and status.
140
141 Fix fullscreen should hide taskbar on Windows
142
143 2011-08-04 Daniel P. Berrange <berrange@redhat.com>
144
145 Update for 0.4.1 release
146
147 Update authors & copyright dates
148
149 Fix sort order of displays submenu
150
151 2011-08-03 Guido Günther <agx@sigxcpu.org>
152
153 Don't hardcode SSH port to 22
154 To allow $HOME/.ssh/config to override the default SSH port,
155 don't hardcode '-p 22' in the command line.
156
157 2011-08-03 Pavel Raiskup <praiskup@redhat.com>
158
159 Remove unreachable condition in authentication dialog
160
161 2011-07-26 Daniel P. Berrange <berrange@redhat.com>
162
163 Remove duplicated struct definition
164
165 2011-07-26 Marc-André Lureau <marcandre.lureau@redhat.com>
166
167 If only one display, fullscreen should be on the current display
168
169 Show status on all open windows
170 The split virt_viewer_notebook_show_status() to
171 virt_viewer_notebook_show_status_va() is unnecessary
172 in the end, but it's more future-proof.
173
174 Add a "Displays" submenu, and warn when closing last display
175
176 Don't ignore creation of secondary displays
177
178 Use app fullscreen property instead of app.start() argument
179
180 Implement app_set_fullscreen() to go over existing windows
181
182 Show display and rise its window when we have the display show hint
183 Track event for Spice, and imitate it for VNC.
184
185 Change enter/leave fullscreen to take/restore position
186 That allow positionning windows in multi-head.
187
188 Also, get rid of window_state_cb, since it's impossible to
189 properly catch the event to do the right thing, ie move to a different
190 screen before go full-screen, or disallow it in case nb physical
191 monitors < nb virtual monitors.
192
193 Add nth window to virt_viewer_app_window_new()
194
195 Introduce fullscreen property and virt_viewer_app_set_fullscreen()
196
197 Let virt_viewer_notebook_show_status take varags
198
199 Status messages can be translated
200
201 Add show-hint property to display
202
203 Split VirtViewerApp window into VirtViewerWindow
204
205 2011-07-22 Marc-André Lureau <marcandre.lureau@redhat.com>
206
207 Inherit from VirtViewerApp for VirtViewer
208 Make it a real GObject.
209
210 The parts specific to virt should go in virt-viewer.c
211
212 Turn VirtViewer into a VirtViewerApp object
213
214 Split virt_viewer_start() and virt_viewer_new()
215
216 Split virt_viewer_activate() and virt_viewer_set_domain()
217
218 Split virt_viewer_create_session() out of virt_viewer_extract_connect_info()
219 For future reusability
220
221 Reorder _VirtViewer to make it easier to split with RemoteViewer
222
223 Extract scheme in virt_viewer_extract_host()
224 Needed for remote-viewer.
225
226 2011-07-18 Daniel P. Berrange <berrange@redhat.com>
227
228 Remove use of AM_GLIB_GNU_GETTEXT
229 Since we already invoke the intltool macros, also invoking
230 AM_GLIB_GNU_GETTEXT is wrong and causes problems with the
231 later makefile rules
232
233 2011-07-12 Daniel P. Berrange <berrange@redhat.com>
234
235 Fix build requirements for GTK3
236
237 Remove bogus hardcoded check for GTK2
238
239 Disable SPICE unless on x86 architectures
240
241 Fix compat with GTK 2.18.0
242
243 Updates for 0.4.0 release
244
245 Remove virt-viewer-priv.h from sources, since it is gone
246
247 Remove duplicated typedefs
248
249 Annotate unused variables
250
251 Fix leak of graphics type attribute from XML
252
253 Fix leak of command line arguments
254
255 2011-07-11 Daniel P. Berrange <berrange@redhat.com>
256
257 Split pull part of VirtViewerDisplay out into VirtViewerSession
258 To facilitate introduction of multi-head support, pull some of
259 the VirtViewerDisplay class out into a new VirtViewerSession
260 class.
261
262 Avoid (null) in titlebar
263
264 Fix colour of status label to show up on black background
265
266 Fix reconnecting of SPICE display
267
268 2011-07-11 Marc-André Lureau <marcandre.lureau@redhat.com>
269
270 Fill space on the display alignment with black
271
272 Add support for --fullscreen option
273
274 Skip non-primary monitors in SPICE
275
276 2011-07-11 Daniel P. Berrange <berrange@redhat.com>
277
278 Remove circular dependancy between VirtViewerDisplay and VirtViewer
279 Add many signals to VirtViewerDisplay which are emitted when various
280 events occur. This lets us remove all the code in the VirtViewerDisplay
281 subclasses which call back into VirtViewer methods. Instead VirtViewer
282 can simply connect signals to the display
283
284 Turn VirtViewerDisplay into a proper Gtk widget
285 Turn VirtViewerDisplay into a Gtk widget instead of just a GObject,
286 by merging the functionality from VirtViewerAlign
287
288 2011-07-11 Daniel P. Berrange <dan@berrange.com>
289
290 Update to optionally build with GTK3
291
292 2011-07-01 Daniel P. Berrange <dan@berrange.com>
293
294 Replace use of GtkAlignment with a custom align widget
295 To use the GtkAlignment we have to play evil tricks overriding
296 its size request, to make it reallocate the child to the preferred
297 size we desire based on the virtual desktop size + zoom level.
298
299 By replacing the GtkAlignment with a custom widget we can
300 directly implement the layout/sizing semantics we want without
301 playing stupid games
302
303 Introduce standard naming convention to files & methods
304 All source files must be named
305
306 virt-viewer-XXXX
307
308 All methods named
309
310 virt_viewer_XXX
311
312 2011-07-01 Daniel P. Berrange <berrange@redhat.com>
313
314 Fix some compile warnings
315
316 Convert from Glade to GtkBuilder
317
318 Refactor configure.ac to pull out required version
319
320 Enable use of scaling from spice >= 0.6
321 Make the SPICE widget operate in the same way as the VNC widget
322 with display scaling, and auto-resize, but preserving guest
323 aspect ratio
324
325 Hide menu bar on fullscreen & add a hiding toolbar
326 * src/Makefile.am, src/view/autoDrawer.c, src/view/autoDrawer.c
327 src/view/drawer.c, src/view/drawer.h, src/view/ovBox.c,
328 src/view/ovBox.c: Import auto-drawer from vinagre
329 * src/viewer-priv.h, src/viewer.c, src/viewer.glade,
330 src/display-vnc.c: Insert an auto-drawer above the
331 notebook and display an auto-hiding toolbar when fullscreen
332
333 2011-06-30 Daniel P. Berrange <berrange@redhat.com>
334
335 Add message about whether it is VNC or SPICE display
336
337 Add some useful data for the --verbose flag
338
339 2011-05-23 Daniel P. Berrange <berrange@redhat.com>
340
341 Fix re-connect after authentication failure
342 viewer->display will be non-NULL if we have already attempted a
343 connection. So, remove the check for it being NULL, and instead
344 skip the widget setup step.
345
346 2011-05-23 Jiri Denemark <Jiri.Denemark@gmail.com>
347
348 Add support for listen attribute
349 Virt-viewer now parses listen attribute from graphics element to be able
350 to connect to domains configured with explicit listen address:
351
352 <graphics type='vnc' port='-1' autoport='yes' listen='123.45.67.89'/>
353
354 2011-05-23 Daniel P. Berrange <berrange@redhat.com>
355
356 Replace .hgignore with .gitignore
357
0358 2011-02-21 Daniel P. Berrange <dan@berrange.com>
1359
2 * configure.ac:
360 Added tag release-0.3.1 for changeset f71b32a6a583
361
362 Updates for 0.3.1 release
363
3364 Fix typo in SPICE configure setup
4 [cfb261f0ffed] [tip]
5
6 * .hgtags:
365
7366 Added tag release-0.3.0 for changeset 807203083e74
8 [22b287a68428]
9
10 * ChangeLog, NEWS, README, configure.ac:
367
11368 Updates for 0.3.0 release
12 [807203083e74] [release-0.3.0]
13
14 * virt-viewer.spec.in:
369
15370 Fix misc RPM specfile bugs
16 [74bd54a2be1b]
17371
18372 2011-02-11 Daniel P. Berrange <dan@berrange.com>
19373
20 * Merge heads
21 [63a275e6efad]
374 Merge heads
375
376 Disable mozilla plugin since it doesn't build currently
377
378 Enable SPICE in Fedora 15 or later
22379
23380 2011-02-08 yurchor <yurchor@fedoraproject.org>
24381
25 * po/uk.po:
26382 l10n: Updates to Ukrainian (uk) translation
27
28 Transmitted-via: Transifex (translate.fedoraproject.org)
29 [42abba3e0529]
383 Transmitted-via: Transifex (translate.fedoraproject.org)
30384
31385 2011-02-08 elsupergomez <elsupergomez@fedoraproject.org>
32386
33 * po/es.po:
34387 l10n: Updates to Spanish (Castilian) (es) translation
35
36 Transmitted-via: Transifex (translate.fedoraproject.org)
37 [f59694a06f0e]
38
39 2011-02-11 Daniel P. Berrange <dan@berrange.com>
40
41 * autobuild.sh:
42 Disable mozilla plugin since it doesn't build currently
43 [a15854eff628]
44
45 * virt-viewer.spec.in:
46 Enable SPICE in Fedora 15 or later
47 [4e4482cfc5df]
388 Transmitted-via: Transifex (translate.fedoraproject.org)
48389
49390 2011-02-07 Daniel P. Berrange <dan@berrange.com>
50391
51 * configure.ac:
52392 Update pkg-config check for spice-gtk library
53 [35b857dedeee]
54393
55394 2011-02-04 warrink <warrink@fedoraproject.org>
56395
57 * po/nl.po:
58396 l10n: Updates to Dutch (Flemish) (nl) translation
59
60 Transmitted-via: Transifex (translate.fedoraproject.org)
61 [4bdba329fd50]
397 Transmitted-via: Transifex (translate.fedoraproject.org)
62398
63399 2011-02-04 raven <raven@fedoraproject.org>
64400
65 * po/pl.po:
66401 l10n: Updates to Polish (pl) translation
67
68 Transmitted-via: Transifex (translate.fedoraproject.org)
69 [819835e085c6]
70
71 * po/pl.po:
402 Transmitted-via: Transifex (translate.fedoraproject.org)
403
72404 l10n: Updates to Polish (pl) translation
73
74 Transmitted-via: Transifex (translate.fedoraproject.org)
75 [8e8defe7444c]
405 Transmitted-via: Transifex (translate.fedoraproject.org)
76406
77407 2011-02-03 Daniel P. Berrange <dan@berrange.com>
78408
79 * src/viewer.c:
80409 Fix waiting for VM based on UUID
81 [607c42b3aba6]
82
83 * src/viewer-priv.h, src/viewer.c:
410
84411 Support connections over UNIX sockets
85 [4f6b2cf8d10a]
86
87 * src/viewer.c:
412
88413 Avoid fetching XML document multiple times when extracting graphics
89 [eccf7b274d8c]
90414
91415 2011-01-29 fdaluisio <fdaluisio@fedoraproject.org>
92416
93 * po/it.po:
94417 l10n: Updates to Italian (it) translation
95
96 Transmitted-via: Transifex (translate.fedoraproject.org)
97 [c1559894facc]
418 Transmitted-via: Transifex (translate.fedoraproject.org)
98419
99420 2011-01-28 tomspur <tomspur@fedoraproject.org>
100421
101 * po/de.po:
102422 l10n: Updates to German (de) translation
103
104 Transmitted-via: Transifex (translate.fedoraproject.org)
105 [8e6056966e8c]
423 Transmitted-via: Transifex (translate.fedoraproject.org)
106424
107425 2011-01-12 andreyjktl <andreyjktl@fedoraproject.org>
108426
109 * po/ru.po:
110427 l10n: Updates to Russian (ru) translation
111
112 Transmitted-via: Transifex (translate.fedoraproject.org)
113 [6a5fa15abaa3]
428 Transmitted-via: Transifex (translate.fedoraproject.org)
114429
115430 2011-01-10 elsupergomez <elsupergomez@fedoraproject.org>
116431
117 * po/es.po:
118432 l10n: Updates to Spanish (Castilian) (es) translation
119
120 Transmitted-via: Transifex (translate.fedoraproject.org)
121 [aaf4f61830cc]
433 Transmitted-via: Transifex (translate.fedoraproject.org)
122434
123435 2010-12-21 jassy <jassy@fedoraproject.org>
124436
125 * po/pa.po:
126437 l10n: Updates to Panjabi (Punjabi) (pa) translation
127
128 Transmitted-via: Transifex (translate.fedoraproject.org)
129 [72eb4f8f3bc0]
438 Transmitted-via: Transifex (translate.fedoraproject.org)
130439
131440 2010-12-16 warrink <warrink@fedoraproject.org>
132441
133 * po/nl.po:
134442 l10n: Updates to Dutch (Flemish) (nl) translation
135
136 Transmitted-via: Transifex (translate.fedoraproject.org)
137 [c2bc3efb0265]
443 Transmitted-via: Transifex (translate.fedoraproject.org)
138444
139445 2010-12-15 raven <raven@fedoraproject.org>
140446
141 * po/pl.po:
142447 l10n: Updates to Polish (pl) translation
143
144 Transmitted-via: Transifex (translate.fedoraproject.org)
145 [879ab95fa860]
448 Transmitted-via: Transifex (translate.fedoraproject.org)
146449
147450 2010-12-10 Marc-André Lureau <marcandre.lureau@redhat.com>
148451
149 * configure.ac, src/Makefile.am, src/viewer.c:
150452 build: make spice-gtk dependency optional
151 [992d73fd6a85]
152453
153454 2010-11-30 Marc-André Lureau <marcandre.lureau@redhat.com>
154455
155 * src/display-spice.c, src/display-vnc.c, src/display.h, src/viewer.c,
156 src/viewer.glade:
157456 viewer: add support for spice resize-guest
158
159457 And also turn on clipboard sharing.
160 [328f3f0f57d2]
161
162 * AUTHORS, configure.ac, man/Makefile.am, man/virt-viewer.pod,
163 po/POTFILES.in, src/Makefile.am, src/auth.c, src/auth.h, src
164 /display-spice.c, src/display-spice.h, src/display-vnc.c, src
165 /display-vnc.h, src/display.c, src/display.h, src/viewer-priv.h,
166 src/viewer.c, src/viewer.glade:
458
167459 viewer: Add support for Spice
168 [e9167b61921b]
169460
170461 2010-11-19 Marc-André Lureau <marcandre.lureau@redhat.com>
171462
172 * src/viewer.c:
173463 viewer: generalize extract_port() into viewer_extract_xpath_string()
174 [dbcb547de1e9]
175
176 * src/viewer.c:
464
177465 viewer: silence a few warnings of unused variables
178 [bc2713b7997b]
179
180 * src/viewer.c:
466
181467 viewer: split vnc display creation out of viewer_activate()
182 [de2d7bf9bd1e]
183468
184469 2010-12-14 Daniel P. Berrange <dan@berrange.com>
185470
186 * src/auth.c:
187471 Improve auth dialog message when no address is available
188 [526813f252f3]
189472
190473 2010-11-17 tombo <tombo@fedoraproject.org>
191474
192 * po/it.po:
193475 l10n: Updates to Italian (it) translation
194
195 Transmitted-via: Transifex (translate.fedoraproject.org)
196 [fa512d3379da]
476 Transmitted-via: Transifex (translate.fedoraproject.org)
197477
198478 2010-10-04 giallu <giallu@fedoraproject.org>
199479
200 * po/it.po:
201480 l10n: Updates to Italian (it) translation
202
203 Transmitted-via: Transifex (translate.fedoraproject.org)
204 [d0eba3f3dcf4]
481 Transmitted-via: Transifex (translate.fedoraproject.org)
205482
206483 2010-09-30 aron <aron@fedoraproject.org>
207484
208 * po/zh_CN.po:
209485 l10n: Updates to Chinese (China) (zh_CN) translation
210
211 Transmitted-via: Transifex (translate.fedoraproject.org)
212 [eb3fb9f7894c]
486 Transmitted-via: Transifex (translate.fedoraproject.org)
213487
214488 2010-08-10 bozzo <bozzo@fedoraproject.org>
215489
216 * po/fr.po:
217490 l10n: Updates to French (fr) translation
218
219 Transmitted-via: Transifex (translate.fedoraproject.org)
220 [d5bc241ed9f7]
491 Transmitted-via: Transifex (translate.fedoraproject.org)
221492
222493 2010-08-03 warrink <warrink@fedoraproject.org>
223494
224 * po/nl.po:
225495 l10n: First Dutch translation
226
227 Transmitted-via: Transifex (translate.fedoraproject.org)
228 [bfb63c06f06d]
496 Transmitted-via: Transifex (translate.fedoraproject.org)
229497
230498 2010-07-22 ankit <ankit@fedoraproject.org>
231499
232 * po/gu.po:
233500 l10n: Updates to Gujarati (gu) translation
234
235 Transmitted-via: Transifex (translate.fedoraproject.org)
236 [44d8dc6c88f7]
501 Transmitted-via: Transifex (translate.fedoraproject.org)
237502
238503 2010-07-09 Daniel P. Berrange <dan@berrange.com>
239504
240 * Merge heads
241 [45de382c1988]
242
243 2010-07-06 raven <raven@fedoraproject.org>
244
245 * po/pl.po:
246 l10n: Updates to Polish (pl) translation
247
248 Transmitted-via: Transifex (translate.fedoraproject.org)
249 [c374cc9b4e33]
250
251 2010-07-06 elsupergomez <elsupergomez@fedoraproject.org>
252
253 * po/es.po:
254 l10n: Updates to Spanish (Castilian) (es) translation
255
256 Transmitted-via: Transifex (translate.fedoraproject.org)
257 [5c703e23a2b4]
505 Merge heads
258506
259507 2010-07-09 Ronnie Sahlberg <ronniesahlberg@gmail.com>
260508
261 * man/virt-viewer.pod:
262509 Misc fixes to command line args in virt-viewer manpage
263
264510 Fix three issues with the manpage for virt-viewer :
265511
266512 * Short option for --reconnect is -r, not -w
267513 * Show that the short option for zoom takes an argument
268514 * Add the --debug argument.
269 [67e2d8113af9]
515
516 2010-07-06 raven <raven@fedoraproject.org>
517
518 l10n: Updates to Polish (pl) translation
519 Transmitted-via: Transifex (translate.fedoraproject.org)
520
521 2010-07-06 elsupergomez <elsupergomez@fedoraproject.org>
522
523 l10n: Updates to Spanish (Castilian) (es) translation
524 Transmitted-via: Transifex (translate.fedoraproject.org)
270525
271526 2010-07-05 Ronnie Sahlberg <ronniesahlberg@gmail.com>
272527
273 * AUTHORS, man/virt-viewer.pod, src/main.c, src/viewer.c,
274 src/viewer.glade, src/viewer.h:
275528 Add support for zoom levels
276
277529 Add a menu for zooming in/out of the virtual desktop.
278530
279531 Add a --zoom command line to set the initial zoom level.
280532
281533 Defaults to 100% zoom at startup
282 [99cd453a8746]
283534
284535 2010-07-05 Daniel P. Berrange <dan@berrange.com>
285536
286 * po/LINGUAS:
287537 Add all current languages to LINGUAS file
288
289 No locale files were being installed since all the languages were
290 missing in LINGUAS
291 [9111b6888676]
538 No locale files were being installed since all the
539 languages were missing in LINGUAS
292540
293541 2010-06-27 zoltanh721 <zoltanh721@fedoraproject.org>
294542
295 * po/hu.po:
296543 l10n: Updates to Hungarian (hu) translation
297
298 Transmitted-via: Transifex (translate.fedoraproject.org)
299 [10cd88edd331]
544 Transmitted-via: Transifex (translate.fedoraproject.org)
300545
301546 2010-06-25 htaira <htaira@fedoraproject.org>
302547
303 * po/ja.po:
304548 l10n: Updates to Japanese (ja) translation
305
306 Transmitted-via: Transifex (translate.fedoraproject.org)
307 [31ea04a18446]
549 Transmitted-via: Transifex (translate.fedoraproject.org)
308550
309551 2010-06-09 htaira <htaira@fedoraproject.org>
310552
311 * po/ja.po:
312553 l10n: Updates to Japanese (ja) translation
313
314 Transmitted-via: Transifex (translate.fedoraproject.org)
315 [a0786647b8e9]
554 Transmitted-via: Transifex (translate.fedoraproject.org)
316555
317556 2010-04-14 mvdz <mvdz@fedoraproject.org>
318557
319 * po/uk.po:
320558 l10n: Updates to Ukrainian (uk) translation
321
322 Transmitted-via: Transifex (translate.fedoraproject.org)
323 [47d846d27fdd]
324
325 2010-03-31 enshahar <enshahar@fedoraproject.org>
326
327 * po/ko.po:
559 Transmitted-via: Transifex (translate.fedoraproject.org)
560
561 2010-04-01 enshahar <enshahar@fedoraproject.org>
562
328563 l10n: Updates to Korean (ko) translation
329
330 Transmitted-via: Transifex (translate.fedoraproject.org)
331 [4ea747fc1d6b]
564 Transmitted-via: Transifex (translate.fedoraproject.org)
332565
333566 2010-03-30 webappz <webappz@fedoraproject.org>
334567
335 * po/hu.po:
336568 l10n: Updates to Hungarian (hu) translation
337
338 Transmitted-via: Transifex (translate.fedoraproject.org)
339 [c2e41385dabf]
340
341 * po/hu.po:
569 Transmitted-via: Transifex (translate.fedoraproject.org)
570
342571 l10n: Updates to Hungarian (hu) translation
343
344 Transmitted-via: Transifex (translate.fedoraproject.org)
345 [f38b2e86c5ef]
346
347 * po/hu.po:
572 Transmitted-via: Transifex (translate.fedoraproject.org)
573
348574 l10n: Updates to Hungarian (hu) translation
349
350 Transmitted-via: Transifex (translate.fedoraproject.org)
351 [2e4d842c62af]
575 Transmitted-via: Transifex (translate.fedoraproject.org)
352576
353577 2010-03-22 mvdz <mvdz@fedoraproject.org>
354578
355 * po/uk.po:
356579 l10n: Added Ukrainian translation.
357
358 Transmitted-via: Transifex (translate.fedoraproject.org)
359 [88ad52cdf0aa]
580 Transmitted-via: Transifex (translate.fedoraproject.org)
360581
361582 2010-03-14 amitakhya <amitakhya@fedoraproject.org>
362583
363 * po/as.po:
364584 l10n: Adding Assamese translations.
365
366 Transmitted-via: Transifex (translate.fedoraproject.org)
367 [f815e2c8e5ad]
585 Transmitted-via: Transifex (translate.fedoraproject.org)
368586
369587 2010-02-26 runab <runab@fedoraproject.org>
370588
371 * po/bn_IN.po:
372589 Sending translation for po/bn_IN.po
373 [5c79b3bd5068]
374590
375591 2010-02-24 rajesh <rajesh@fedoraproject.org>
376592
377 * po/hi.po:
378593 Sending translation for po/hi.po
379 [c8f2537692e0]
380594
381595 2010-02-20 snicore <snicore@fedoraproject.org>
382596
383 * po/hu.po:
384597 Sending translation for po/hu.po
385 [1462825b8e02]
386598
387599 2010-02-08 anipeter <anipeter@fedoraproject.org>
388600
389 * po/ml.po:
390601 Sending translation for po/ml.po
391 [cd1284f62107]
392602
393603 2010-02-01 mgiri <mgiri@fedoraproject.org>
394604
395 * po/or.po:
396605 Sending translation for po/or.po
397 [78feb4d583ed]
398606
399607 2010-01-29 ifelix <ifelix@fedoraproject.org>
400608
401 * po/ta.po:
402609 Sending translation for po/ta.po
403 [7d4d3f5993a2]
404610
405611 2010-01-29 jassy <jassy@fedoraproject.org>
406612
407 * po/pa.po:
408613 Sending translation for Punjabi
409 [a5842cd7e908]
410614
411615 2010-01-28 sandeeps <sandeeps@fedoraproject.org>
412616
413 * po/mr.po:
414617 Sending translation for po/mr.po
415 [9de827a3645a]
416618
417619 2010-01-28 shanky <shanky@fedoraproject.org>
418620
419 * po/kn.po:
420621 Sending translation for po/kn.po
421 [32bedf3379c1]
422622
423623 2010-01-28 giallu <giallu@fedoraproject.org>
424624
425 * po/it.po:
426625 Sending translation for Italian
427 [4169a6aa9f03]
428626
429627 2010-01-28 jassy <jassy@fedoraproject.org>
430628
431 * po/pa.po:
432629 Sending translation for po/pa.po
433 [90ae444ba69c]
434630
435631 2010-01-28 kkrothap <kkrothap@fedoraproject.org>
436632
437 * po/te.po:
438633 Sending translation for po/te.po
439 [fca3f9a5bc8b]
440634
441635 2010-01-28 mospina <mospina@fedoraproject.org>
442636
443 * po/ko.po:
444637 Sending translation for Korean
445 [185dc845cc3f]
446
447 2010-01-25 "Daniel P. Berrange <berrange@redhat.com>
448
449 * po/it_IT.po:
638
639 2010-01-25 Daniel P. Berrange <berrange@redhat.com>
640
450641 Remove bogus it_IT.po file, correct name was it.po
451 [87e34764f943]
452642
453643 2010-01-24 tchuang <tchuang@fedoraproject.org>
454644
455 * po/zh_TW.po:
456645 Sending translation for po/zh_TW.po
457 [e50f8116a8ab]
458646
459647 2010-01-24 raven <raven@fedoraproject.org>
460648
461 * po/it.po:
462649 Sending translation for po/it.po
463 [9b614ce582ea]
464650
465651 2010-01-23 giallu <giallu@fedoraproject.org>
466652
467 * po/it_IT.po:
468653 Sending translation for po/it_IT.po
469 [ee470027df65]
470654
471655 2010-01-22 hedda <hedda@fedoraproject.org>
472656
473 * po/de.po:
474657 Sending translation for German
475 [557f60ac53b3]
476658
477659 2010-01-22 leahliu <leahliu@fedoraproject.org>
478660
479 * po/zh_CN.po:
480661 Sending translation for Chinese (Simplified)
481 [c9d98ce01d93]
482662
483663 2010-01-22 khasida <khasida@fedoraproject.org>
484664
485 * po/ja.po:
486665 Sending translation for po/ja.po
487 [34d80402dbed]
488666
489667 2010-01-22 mospina <mospina@fedoraproject.org>
490668
491 * po/ko.po:
492669 Sending translation for po/ko.po
493 [2b9684476fe6]
494
495 * po/es.po:
670
496671 Sending translation for Spanish
497 [e08c6128ea8f]
498672
499673 2010-01-22 ypoyarko <ypoyarko@fedoraproject.org>
500674
501 * po/ru.po:
502675 Sending translation for Russian
503 [b11d479ee1f4]
504676
505677 2010-01-22 gcintra <gcintra@fedoraproject.org>
506678
507 * po/pt_BR.po:
508679 Sending translation for po/pt_BR.po
509 [892a90a8af67]
510680
511681 2010-01-22 samfreemanz <samfreemanz@fedoraproject.org>
512682
513 * po/fr.po:
514683 Sending translation for French
515 [5b55be5a0e46]
516684
517685 2010-01-22 hedda <hedda@fedoraproject.org>
518686
519 * po/de.po:
520687 Sending translation for po/de.po
521 [b13384930995]
522688
523689 2010-01-22 leahliu <leahliu@fedoraproject.org>
524690
525 * po/zh_CN.po:
526691 Sending translation for Chinese (Simplified)
527 [a2e13f979d94]
528692
529693 2010-01-21 leahliu <leahliu@fedoraproject.org>
530694
531 * po/zh_CN.po:
532695 Sending translation for po/zh_CN.po
533 [18b0c5353fef]
534696
535697 2010-01-21 ypoyarko <ypoyarko@fedoraproject.org>
536698
537 * po/ru.po:
538699 Sending translation for po/ru.po
539 [f22e478e8046]
540700
541701 2010-01-21 mospina <mospina@fedoraproject.org>
542702
543 * po/es.po:
544703 Sending translation for po/es.po
545 [cd6be7781059]
546704
547705 2010-01-21 swkothar <swkothar@fedoraproject.org>
548706
549 * po/gu.po:
550707 Sending translation for po/gu.po
551 [ed59815240d9]
552708
553709 2010-01-18 renault <renault@fedoraproject.org>
554710
555 * po/fr.po:
556711 Sending translation for po/fr.po
557 [f0a3b5b30f92]
558
559 2010-01-15 "Daniel P. Berrange <berrange@redhat.com>
560
561 * .hgtags:
712
713 2010-01-15 Daniel P. Berrange <berrange@redhat.com>
714
562715 Added tag release-0.2.1 for changeset 13bcca43c859
563 [236029760251]
564
565 * AUTHORS, ChangeLog, NEWS, README, configure.ac:
716
566717 Updates for 0.2.1 release
567 [13bcca43c859] [release-0.2.1]
568718
569719 2010-01-13 raven <raven@fedoraproject.org>
570720
571 * po/pl.po:
572721 Sending translation for Polish
573 [d114aac4cfb8]
574
575 2010-01-12 "Daniel P. Berrange <berrange@redhat.com>
576
577 * src/viewer.c:
722
723 2010-01-12 Daniel P. Berrange <berrange@redhat.com>
724
578725 Add message dialog displays for important error scenarios
579 [6d1f30e5fb71]
580
581 * src/auth.glade:
726
582727 Fix warning with default widget focus in auth dialog
583 [e0e91e221add]
584
585 * src/viewer.c:
586 Add dialog to alert user to unsuccessful authentication & retry
587 Alert user if VNC server has no compatible auth methods Support VNC
588 bell & cut text events
589 [f098a86755a7]
590
591 * configure.ac:
728
729 Add dialog to alert user to unsuccessful authentication & retry Alert user if VNC server has no compatible auth methods Support VNC bell & cut text events
730
592731 Turn on automake's silent build rules if available
593 [d388340febbc]
594
595 * src/main.c, src/viewer.c:
732
596733 Various cleanups for Glib/GTK and BZ 474213
597 [c13f1d31eab7]
598734
599735 2010-01-11 raven <raven@fedoraproject.org>
600736
601 * po/pl.po:
602737 Sending translation for Polish
603 [31af732a9a55]
604
605 2010-01-11 "Daniel P. Berrange <berrange@redhat.com>
606
607 * .hgignore, mingw32-virt-viewer.spec.in, po/LINGUAS, po/virt-
608 viewer.pot, src/about.glade, virt-viewer.spec.in:
609 Add 'pl' to LINGUAS. Remove accidentally committed .pot file and add
610 it to .hgignore. Add RPM specfile magic for translations. Fix typo
611 in about.glade URL
612 [09c9db915104]
738
739 2010-01-11 Daniel P. Berrange <berrange@redhat.com>
740
741 Add 'pl' to LINGUAS. Remove accidentally committed .pot file and add it to .hgignore. Add RPM specfile magic for translations. Fix typo in about.glade URL
613742
614743 2010-01-11 raven <raven@fedoraproject.org>
615744
616 * po/pl.po, po/virt-viewer.pot:
617745 Sending translation for po/pl.po
618 [affb21844c39]
619
620 2010-01-11 "Daniel P. Berrange <berrange@redhat.com>
621
622 * .hgignore, Makefile.am, autogen.sh, configure.ac, intltool-
623 extract.in, intltool-merge.in, intltool-update.in, po/LINGUAS,
624 po/POTFILES.in, src/Makefile.am, src/main.c:
746
747 2010-01-11 Daniel P. Berrange <berrange@redhat.com>
748
625749 Add support for i18n of the UI
626
627 Add all the boilerplate code required for doing i18n of the UI. No
628 translations available yet though
629 [07db22b2f766]
630
631 2009-08-15 "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
632
633 * src/util.h:
750 Add all the boilerplate code required for doing i18n of the UI.
751 No translations available yet though
752
753 2009-08-15 Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
754
634755 viewer: fix build on 'old' GTK2
635
636 Debian lenny has gtk2 2.12.12, which is missing
637 gtk_widget_get_window. Provide our own function if GTK2 <= 2.12 .
638
639 Highly inspired from: http://osdir.com/ml/svn-commits-
640 list/2009-08/msg00725.html
641 [e05cd5be9c36]
642
643 2009-07-29 "Daniel P. Berrange <berrange@redhat.com>
644
645 * .hgtags:
756 Debian lenny has gtk2 2.12.12, which is missing gtk_widget_get_window.
757 Provide our own function if GTK2 <= 2.12 .
758
759 Highly inspired from: http://osdir.com/ml/svn-commits-list/2009-08/msg00725.html
760
761 2009-07-29 Daniel P. Berrange <berrange@redhat.com>
762
646763 Added tag release-0.2.0 for changeset b38a2c67ebfd
647 [99ba88ee7820]
648
649 * NEWS, configure.ac, virt-viewer.spec.in:
764
650765 Update for 0.2.0 release
651 [b38a2c67ebfd] [release-0.2.0]
652
653 * plugin/Makefile.am:
654 Disable compile errors in plugin till we figure out what's up with
655 the header files
656 [f2fabc428441]
657
658 * mingw32-virt-viewer.spec.in, virt-viewer.spec.in:
766
767 Disable compile errors in plugin till we figure out what's up with the header files
768
659769 Update deps in rpm
660 [d5ef17c7856e]
661
662 * src/viewer.c:
770
663771 Ensure VNC display is centered if being scaled
664 [f5e758b7a271]
665
666 * src/auth.glade:
772
667773 Ensure password is not echoed
668 [e826ca02a7d4]
669
670 * src/auth.c, src/auth.glade, src/auth.h, src/util.h, src/viewer.c:
774
671775 Add support for libvirt graphical auth
672 [a8e92767179f]
673
674 * plugin/Makefile.am, src/Makefile.am, src/auth.c, src/auth.h,
675 src/events.c, src/events.h, src/util.c, src/util.h, src/viewer.c,
676 src/viewer.h:
776
677777 Pull auth code out into separate file
678 [1471c65b8280]
679
680 2009-07-28 "Daniel P. Berrange <berrange@redhat.com>
681
682 * plugin/Makefile.am, plugin/npshell.c, plugin/npupp.h,
683 plugin/test.html, plugin/virt-viewer-plugin.c, plugin/virt-viewer-
684 plugin.h, src/viewer.c:
778
779 2009-07-28 Daniel P. Berrange <berrange@redhat.com>
780
685781 Make plugin work again
686 [68646d3db76d]
687
688 * src/viewer.c:
782
689783 Add compatability logic for drivers without domain event support
690 [c29276a0f2ec]
691
692 * src/viewer.c:
784
693785 Fix mouse / key grab vs modifier disabling mixup
694 [6cdf7dfa223d]
695
696 * configure.ac, mingw32-virt-viewer.spec.in, plugin/Makefile.am,
697 src/Makefile.am, src/events.c, src/events.h, src/viewer.c, virt-
698 viewer.spec.in:
699 Pull glib event loop integration into tree until libvirt-glib is
700 more mature
701 [dd92609022ac]
702
703 * src/viewer.c, src/viewer.glade:
786
787 Pull glib event loop integration into tree until libvirt-glib is more mature
788
704789 Re-write the way scaling/resizing works
705
706 * Default to auto-resize mode where we try to fit the VNC widget 1:1
707 in the main window
708 * If local desktop is not large enough for VNC widget, scale down,
709 maintaining aspect ratio
710 * Allow the user to turn off auto-resize and have total manual control
711 over window size
790 * Default to auto-resize mode where we try to fit the VNC widget 1:1 in the main window
791 * If local desktop is not large enough for VNC widget, scale down, maintaining aspect ratio
792 * Allow the user to turn off auto-resize and have total manual control over window size
712793 * Always scale the display in fullscreen mode
713 [3521ee2a63e6]
714
715 * plugin/virt-viewer-plugin.c, src/main.c, src/viewer.c, src/viewer.h:
794
716795 Add a --debug command line flag
717 [1a3b36e0b6f2]
718
719 * src/viewer.c:
796
720797 Fix waiting for a VM that does not initially exist
721 [da53b8f99cdf]
722
723 * plugin/Makefile.am, plugin/npshell.c, src/Makefile.am, src/main.c,
724 src/viewer.c:
798
725799 Move most of viewer code out into viewer.c
726 [8f237adf2792]
727
728 2008-11-28 "Daniel P. Berrange <berrange@redhat.com>
729
730 * autobuild.sh, configure.ac, mingw32-virt-viewer.spec.in, virt-
731 viewer.spec.in:
800
801 2008-11-28 Daniel P. Berrange <berrange@redhat.com>
802
732803 Initial mingw32 build support
733 [92da1556bbf9]
734
735 * src/main.c:
804
736805 Use g_strdup & friends
737 [029b506ca4cf]
738
739 * configure.ac, src/main.c, src/usleep.c:
806
740807 Remove unused usleep code
741 [ac45bee371c8]
742
743 2008-11-26 "Daniel P. Berrange <berrange@redhat.com>
744
745 * .hgignore, autogen.sh, configure.ac, man/virt-viewer.pod,
746 plugin/Makefile.am, plugin/npshell.c, plugin/virt-viewer-plugin.c,
747 plugin/virt-viewer-plugin.h, src/Makefile.am, src/about.glade,
748 src/auth.glade, src/main.c, src/viewer.glade, src/viewer.h, virt-
749 viewer.spec.in:
750 Re-write completely to use Glade, libvirt events, and libvirt-glib
751 integration
752 [8e98b3d44c8d]
753
754 2008-11-03 "Daniel P. Berrange <berrange@redhat.com>
755
756 * plugin/Makefile.am:
808
809 2008-11-26 Daniel P. Berrange <berrange@redhat.com>
810
811 Re-write completely to use Glade, libvirt events, and libvirt-glib integration
812
813 2008-11-03 Daniel P. Berrange <berrange@redhat.com>
814
757815 Fix rule to use DESTDIR on plugin install
758 [e70af57502f9]
759
760 2008-10-10 "Richard W.M. Jones <rjones@redhat.com>
761
762 * .hgignore, ChangeLog, configure.ac, src/Makefile.am, src/main.c,
763 src/usleep.c:
764 * configure.ac, src/Makefile.am, src/main.c, src/usleep.c: Support
765 for building on Windows using MinGW compiler toolchain (or
766 for cross-compiling using the same).
767
768 * .hgignore: Ignore some generated files.
769 [2cce513346ae]
770
771 2008-06-17 "Daniel P. Berrange <berrange@redhat.com>
772
773 * src/main.c:
816
817 2008-10-10 Richard W.M. Jones <rjones@redhat.com>
818
819 * configure.ac, src/Makefile.am, src/main.c, src/usleep.c: Support for building on Windows using MinGW compiler toolchain (or for cross-compiling using the same).
820 * .hgignore: Ignore some generated files.
821
822 2008-06-17 Daniel P. Berrange <berrange@redhat.com>
823
774824 Add error message when conecting to inactive VM (Hiroyuki Kaguchi)
775 [57d1fb020d57]
776
777 2008-04-27 "Daniel P. Berrange <berrange@redhat.com>
778
779 * configure.ac, src/main.c:
825
826 2008-04-28 Daniel P. Berrange <berrange@redhat.com>
827
780828 Use GTK apis for option parsing (Guido G\374nther)
781 [5299a3aaebb5]
782
783 2008-04-23 "Daniel P. Berrange <berrange@redhat.com>
784
785 * AUTHORS, src/main.c:
786 Avoid caching inactive domain to workaround issues with older XenD
787 (Hiroyuki Kaguchi)
788 [7f20b8bb6abd]
789
790 2008-04-22 "Daniel P. Berrange <berrange@redhat.com>
791
792 * AUTHORS, src/main.c:
829
830 2008-04-24 Daniel P. Berrange <berrange@redhat.com>
831
832 Avoid caching inactive domain to workaround issues with older XenD (Hiroyuki Kaguchi)
833
834 2008-04-22 Daniel P. Berrange <berrange@redhat.com>
835
793836 Call gtk_init early to ensure it grabs args like --sync
794 [5f14440985f8]
795
796 2008-04-08 "Daniel P. Berrange <berrange@redhat.com>
797
798 * man/virt-viewer.pod:
837
838 2008-04-08 Daniel P. Berrange <berrange@redhat.com>
839
799840 Fix manpage typo
800 [e2ee322e3d1a]
801
802 2008-03-21 "Daniel P. Berrange <berrange@redhat.com>
803
804 * configure.ac:
841
842 2008-03-21 Daniel P. Berrange <berrange@redhat.com>
843
805844 Bump GTK dep to 2.10.0
806 [d8cf9d390762]
807
808 2008-03-10 "Daniel P. Berrange <berrange@redhat.com>
809
810 * .hgtags:
845
846 2008-03-10 Daniel P. Berrange <berrange@redhat.com>
847
811848 Added tag release-0.0.3 for changeset 05f9c167354b
812 [5d426425c850]
813
814 * ChangeLog, NEWS:
849
815850 Refresh news / changelog for release
816 [05f9c167354b] [release-0.0.3]
817
818 2008-03-09 "Daniel P. Berrange <berrange@redhat.com>
819
820 * autobuild.sh, configure.ac, virt-viewer.spec.in:
851
852 2008-03-09 Daniel P. Berrange <berrange@redhat.com>
853
821854 Added -plugin sub RPM, disabled by default, except for autobuild
822 [efcac0fc56b5]
823
824 2008-03-08 "Daniel P. Berrange <berrange@redhat.com>
825
826 * configure.ac:
855
856 2008-03-08 Daniel P. Berrange <berrange@redhat.com>
857
827858 Relax firefox plugin version to 1.5.0
828 [0252cf01fe3c]
829
830 2008-03-07 "Daniel P. Berrange <berrange@redhat.com>
831
832 * src/main.c:
859
860 2008-03-07 Daniel P. Berrange <berrange@redhat.com>
861
833862 Disable scaling by default if running on composited window
834 [aadb3fb8316e]
835
836 * src/main.c:
863
837864 Block view menu accelerator & remove debug
838 [01e11e3566ff]
839
840 * src/main.c, virt-viewer.spec.in:
865
841866 Added support for desktop scaling with OpenGL
842 [23cd61984e4c]
843
844 2008-03-05 "Daniel P. Berrange <berrange@redhat.com>
845
846 * .hgignore, acinclude.m4, autobuild.sh, autogen.sh, configure.ac,
847 plugin/Makefile.am, plugin/npshell.c, plugin/npunix.c, plugin/virt-
848 viewer-plugin.c, src/main.c:
849 Kill automake portability warnings. Use a config.h Cleanup misc
850 build issues. Build with fatal compile warnings
851 [7254e127a017]
852
853 * src/main.c:
867
868 2008-03-05 Daniel P. Berrange <berrange@redhat.com>
869
870 Kill automake portability warnings. Use a config.h Cleanup misc build issues. Build with fatal compile warnings
871
854872 Disable menu accelerators when keyboard is grabbed (Chris Lalancett)
855 [50ed4d0b0632]
856
857 * autogen.sh:
873
858874 Fix type in autogen.sh output (Chris Lalancett)
859 [25932c2b565a]
860
861 2008-01-25 "Daniel P. Berrange <berrange@redhat.com>
862
863 * .hgignore, Makefile.am, autogen.sh, configure.ac,
864 plugin/Makefile.am, plugin/npshell.c, plugin/npunix.c,
865 plugin/test.html, plugin/virt-viewer-plugin.c, plugin/virt-viewer-
866 plugin.h:
875
876 2008-01-25 Daniel P. Berrange <berrange@redhat.com>
877
867878 Added browser plugin (Richard Jones)
868 [09761c04bdcd]
869
870 * AUTHORS, src/Makefile.am, src/main.c, src/viewer.h:
879
871880 Refactor main method for viewer to prepare for plugin (Richard Jones
872 [270fbc7d4192]
873
874 2008-01-11 "Daniel P. Berrange <berrange@redhat.com>
875
876 * src/main.c:
881
882 2008-01-11 Daniel P. Berrange <berrange@redhat.com>
883
877884 Whitespace fix
878 [fe1efb558b4b]
879
880 * src/main.c:
885
881886 Hide chars in passwd field
882 [69daa8257222]
883
884 2008-01-10 "Daniel P. Berrange <berrange@redhat.com>
885
886 * AUTHORS, NEWS, README, man/virt-viewer.pod, src/main.c:
887
887888 Fix a few typos (Atsushi SAKAI)
888 [a0d79af724b0]
889
890 2007-11-29 "Daniel P. Berrange <berrange@redhat.com>
891
892 * AUTHORS, src/main.c:
889
890 2007-11-29 Daniel P. Berrange <berrange@redhat.com>
891
893892 Use proper domain name in title bar, rather than VNC server title
894 [59fccec87973]
895
896 2007-08-28 "Daniel P. Berrange <berrange@redhat.com>
897
898 * .hgtags:
893
894 2007-08-29 Daniel P. Berrange <berrange@redhat.com>
895
899896 Added tag release-0.0.2 for changeset f3accb51c6f5
900 [97f00b8df38a]
901
902 * src/main.c:
897
903898 Fix crash with no transport
904 [f3accb51c6f5] [release-0.0.2]
905
906 * ChangeLog, NEWS, configure.ac, virt-viewer.spec.in:
899
907900 New release 0.0.2
908 [3d88506cc468]
909
910 * man/virt-viewer.pod:
901
911902 Document the '--direct' option
912 [0d9a8fd612d9]
913
914 * src/main.c:
903
915904 Support TLS credentials & improved SSH tunnelling
916 [2ca6f1a9ba64]
917
918 * src/main.c:
905
919906 Support for connecting over an SSH tunnel
920 [33102c06fd50]
921
922 2007-08-27 "Daniel P. Berrange <berrange@redhat.com>
923
924 * Merge
925 [c40130b3a7ec]
926
927 * src/main.c:
907
908 2007-08-28 Daniel P. Berrange <berrange@redhat.com>
909
910 Merge
911
928912 Added initial ability to connect remote hosts
929 [ac9cae161efb]
930
931 * src/main.c:
913
932914 Disable debug flag
933 [61d8448ba53f]
934
935 * src/main.c:
915
936916 Fixed delete-event handler args
937 [21f7b4c5c93c]
938
939 2007-08-15 "Daniel P. Berrange <berrange@redhat.com>
940
941 * COPYING, INSTALL:
917
918 2007-08-16 Daniel P. Berrange <berrange@redhat.com>
919
942920 Added COPYING/INSTALL files
943 [1f83ef35bb59]
944
945 * .hgtags:
921
946922 Added tag release-0.0.1 for changeset 2b78ab2d18ce
947 [916abae9a263]
948
949 * virt-viewer.spec.in:
923
950924 Fixed build requires & group. Removed exclusivearch
951 [2b78ab2d18ce] [release-0.0.1]
952
953 * AUTHORS, NEWS, README, virt-viewer.spec.in:
925
954926 Fill out authors, news & readme
955 [6a74d1951e33]
956
957 2007-07-20 "Daniel P. Berrange <berrange@redhat.com>
958
959 * src/main.c:
960 Connected up screenshot & about menus
961 [7cd9b16e3185]
962
963 * Makefile.am, configure.ac, man/Makefile.am, man/virt-viewer.pod,
964 virt-viewer.spec.in:
927
928 2007-07-21 Daniel P. Berrange <berrange@redhat.com>
929
930 Connected up screenshot & about menus
931
932 2007-07-20 Daniel P. Berrange <berrange@redhat.com>
933
965934 Added manual page
966 [db9f0ff467e5]
967
968 * .hgignore, AUTHORS, ChangeLog, Makefile.am, NEWS, README,
969 acinclude.m4, autobuild.sh, autogen.sh, configure.ac,
970 src/Makefile.am, src/main.c, virt-viewer.spec.in:
935
971936 Initial commit
972 [df454dc97f2f]
973
00 Installation Instructions
11 *************************
22
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
4 Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
4 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5
6 Copying and distribution of this file, with or without modification,
7 are permitted in any medium without royalty provided the copyright
8 notice and this notice are preserved. This file is offered as-is,
9 without warranty of any kind.
810
911 Basic Installation
1012 ==================
1113
12 These are generic installation instructions.
14 Briefly, the shell commands `./configure; make; make install' should
15 configure, build, and install this package. The following
16 more-detailed instructions are generic; see the `README' file for
17 instructions specific to this package. Some packages provide this
18 `INSTALL' file but do not implement all of the features documented
19 below. The lack of an optional feature in a given package is not
20 necessarily a bug. More recommendations for GNU packages can be found
21 in *note Makefile Conventions: (standards)Makefile Conventions.
1322
1423 The `configure' shell script attempts to guess correct values for
1524 various system-dependent variables used during compilation. It uses
2231
2332 It can also use an optional file (typically called `config.cache'
2433 and enabled with `--cache-file=config.cache' or simply `-C') that saves
25 the results of its tests to speed up reconfiguring. (Caching is
34 the results of its tests to speed up reconfiguring. Caching is
2635 disabled by default to prevent problems with accidental use of stale
27 cache files.)
36 cache files.
2837
2938 If you need to do unusual things to compile the package, please try
3039 to figure out how `configure' could check whether to do them, and mail
3443 may remove or edit it.
3544
3645 The file `configure.ac' (or `configure.in') is used to create
37 `configure' by a program called `autoconf'. You only need
38 `configure.ac' if you want to change it or regenerate `configure' using
39 a newer version of `autoconf'.
40
41 The simplest way to compile this package is:
46 `configure' by a program called `autoconf'. You need `configure.ac' if
47 you want to change it or regenerate `configure' using a newer version
48 of `autoconf'.
49
50 The simplest way to compile this package is:
4251
4352 1. `cd' to the directory containing the package's source code and type
44 `./configure' to configure the package for your system. If you're
45 using `csh' on an old version of System V, you might need to type
46 `sh ./configure' instead to prevent `csh' from trying to execute
47 `configure' itself.
48
49 Running `configure' takes awhile. While running, it prints some
50 messages telling which features it is checking for.
53 `./configure' to configure the package for your system.
54
55 Running `configure' might take a while. While running, it prints
56 some messages telling which features it is checking for.
5157
5258 2. Type `make' to compile the package.
5359
5460 3. Optionally, type `make check' to run any self-tests that come with
55 the package.
61 the package, generally using the just-built uninstalled binaries.
5662
5763 4. Type `make install' to install the programs and any data files and
58 documentation.
59
60 5. You can remove the program binaries and object files from the
64 documentation. When installing into a prefix owned by root, it is
65 recommended that the package be configured and built as a regular
66 user, and only the `make install' phase executed with root
67 privileges.
68
69 5. Optionally, type `make installcheck' to repeat any self-tests, but
70 this time using the binaries in their final installed location.
71 This target does not install anything. Running this target as a
72 regular user, particularly if the prior `make install' required
73 root privileges, verifies that the installation completed
74 correctly.
75
76 6. You can remove the program binaries and object files from the
6177 source code directory by typing `make clean'. To also remove the
6278 files that `configure' created (so you can compile the package for
6379 a different kind of computer), type `make distclean'. There is
6682 all sorts of other programs in order to regenerate files that came
6783 with the distribution.
6884
85 7. Often, you can also type `make uninstall' to remove the installed
86 files again. In practice, not all packages have tested that
87 uninstallation works correctly, even though it is required by the
88 GNU Coding Standards.
89
90 8. Some packages, particularly those that use Automake, provide `make
91 distcheck', which can by used by developers to test that all other
92 targets like `make install' and `make uninstall' work correctly.
93 This target is generally not run by end users.
94
6995 Compilers and Options
7096 =====================
7197
72 Some systems require unusual options for compilation or linking that the
73 `configure' script does not know about. Run `./configure --help' for
74 details on some of the pertinent environment variables.
98 Some systems require unusual options for compilation or linking that
99 the `configure' script does not know about. Run `./configure --help'
100 for details on some of the pertinent environment variables.
75101
76102 You can give `configure' initial values for configuration parameters
77103 by setting variables in the command line or in the environment. Here
78104 is an example:
79105
80 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
106 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
81107
82108 *Note Defining Variables::, for more details.
83109
84110 Compiling For Multiple Architectures
85111 ====================================
86112
87 You can compile the package for more than one kind of computer at the
113 You can compile the package for more than one kind of computer at the
88114 same time, by placing the object files for each architecture in their
89 own directory. To do this, you must use a version of `make' that
90 supports the `VPATH' variable, such as GNU `make'. `cd' to the
115 own directory. To do this, you can use GNU `make'. `cd' to the
91116 directory where you want the object files and executables to go and run
92117 the `configure' script. `configure' automatically checks for the
93 source code in the directory that `configure' is in and in `..'.
94
95 If you have to use a `make' that does not support the `VPATH'
96 variable, you have to compile the package for one architecture at a
97 time in the source code directory. After you have installed the
98 package for one architecture, use `make distclean' before reconfiguring
99 for another architecture.
118 source code in the directory that `configure' is in and in `..'. This
119 is known as a "VPATH" build.
120
121 With a non-GNU `make', it is safer to compile the package for one
122 architecture at a time in the source code directory. After you have
123 installed the package for one architecture, use `make distclean' before
124 reconfiguring for another architecture.
125
126 On MacOS X 10.5 and later systems, you can create libraries and
127 executables that work on multiple system types--known as "fat" or
128 "universal" binaries--by specifying multiple `-arch' options to the
129 compiler but only a single `-arch' option to the preprocessor. Like
130 this:
131
132 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
133 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CPP="gcc -E" CXXCPP="g++ -E"
135
136 This is not guaranteed to produce working output in all cases, you
137 may have to build one architecture at a time and combine the results
138 using the `lipo' tool if you have problems.
100139
101140 Installation Names
102141 ==================
103142
104 By default, `make install' installs the package's commands under
143 By default, `make install' installs the package's commands under
105144 `/usr/local/bin', include files under `/usr/local/include', etc. You
106145 can specify an installation prefix other than `/usr/local' by giving
107 `configure' the option `--prefix=PREFIX'.
146 `configure' the option `--prefix=PREFIX', where PREFIX must be an
147 absolute file name.
108148
109149 You can specify separate installation prefixes for
110150 architecture-specific files and architecture-independent files. If you
115155 In addition, if you use an unusual directory layout you can give
116156 options like `--bindir=DIR' to specify different values for particular
117157 kinds of files. Run `configure --help' for a list of the directories
118 you can set and what kinds of files go in them.
158 you can set and what kinds of files go in them. In general, the
159 default for these options is expressed in terms of `${prefix}', so that
160 specifying just `--prefix' will affect all of the other directory
161 specifications that were not explicitly provided.
162
163 The most portable way to affect installation locations is to pass the
164 correct locations to `configure'; however, many packages provide one or
165 both of the following shortcuts of passing variable assignments to the
166 `make install' command line to change installation locations without
167 having to reconfigure or recompile.
168
169 The first method involves providing an override variable for each
170 affected directory. For example, `make install
171 prefix=/alternate/directory' will choose an alternate location for all
172 directory configuration variables that were expressed in terms of
173 `${prefix}'. Any directories that were specified during `configure',
174 but not in terms of `${prefix}', must each be overridden at install
175 time for the entire installation to be relocated. The approach of
176 makefile variable overrides for each directory variable is required by
177 the GNU Coding Standards, and ideally causes no recompilation.
178 However, some platforms have known limitations with the semantics of
179 shared libraries that end up requiring recompilation when using this
180 method, particularly noticeable in packages that use GNU Libtool.
181
182 The second method involves providing the `DESTDIR' variable. For
183 example, `make install DESTDIR=/alternate/directory' will prepend
184 `/alternate/directory' before all installation names. The approach of
185 `DESTDIR' overrides is not required by the GNU Coding Standards, and
186 does not work on platforms that have drive letters. On the other hand,
187 it does better at avoiding recompilation issues, and works well even
188 when some directory options were not specified in terms of `${prefix}'
189 at `configure' time.
190
191 Optional Features
192 =================
119193
120194 If the package supports it, you can cause programs to be installed
121195 with an extra prefix or suffix on their names by giving `configure' the
122196 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
123197
124 Optional Features
125 =================
126
127 Some packages pay attention to `--enable-FEATURE' options to
198 Some packages pay attention to `--enable-FEATURE' options to
128199 `configure', where FEATURE indicates an optional part of the package.
129200 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
130201 is something like `gnu-as' or `x' (for the X Window System). The
136207 you can use the `configure' options `--x-includes=DIR' and
137208 `--x-libraries=DIR' to specify their locations.
138209
210 Some packages offer the ability to configure how verbose the
211 execution of `make' will be. For these packages, running `./configure
212 --enable-silent-rules' sets the default to minimal output, which can be
213 overridden with `make V=1'; while running `./configure
214 --disable-silent-rules' sets the default to verbose, which can be
215 overridden with `make V=0'.
216
217 Particular systems
218 ==================
219
220 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
221 CC is not installed, it is recommended to use the following options in
222 order to use an ANSI C compiler:
223
224 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
225
226 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
227
228 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
229 parse its `<wchar.h>' header file. The option `-nodtk' can be used as
230 a workaround. If GNU CC is not installed, it is therefore recommended
231 to try
232
233 ./configure CC="cc"
234
235 and if that doesn't work, try
236
237 ./configure CC="cc -nodtk"
238
239 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
240 directory contains several dysfunctional programs; working variants of
241 these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
242 in your `PATH', put it _after_ `/usr/bin'.
243
244 On Haiku, software installed for all users goes in `/boot/common',
245 not `/usr/local'. It is recommended to use the following options:
246
247 ./configure --prefix=/boot/common
248
139249 Specifying the System Type
140250 ==========================
141251
142 There may be some features `configure' cannot figure out automatically,
143 but needs to determine by the type of machine the package will run on.
144 Usually, assuming the package is built to be run on the _same_
145 architectures, `configure' can figure that out, but if it prints a
146 message saying it cannot guess the machine type, give it the
252 There may be some features `configure' cannot figure out
253 automatically, but needs to determine by the type of machine the package
254 will run on. Usually, assuming the package is built to be run on the
255 _same_ architectures, `configure' can figure that out, but if it prints
256 a message saying it cannot guess the machine type, give it the
147257 `--build=TYPE' option. TYPE can either be a short name for the system
148258 type, such as `sun4', or a canonical name which has the form:
149259
151261
152262 where SYSTEM can have one of these forms:
153263
154 OS KERNEL-OS
264 OS
265 KERNEL-OS
155266
156267 See the file `config.sub' for the possible values of each field. If
157268 `config.sub' isn't included in this package, then this package doesn't
169280 Sharing Defaults
170281 ================
171282
172 If you want to set default values for `configure' scripts to share, you
173 can create a site shell script called `config.site' that gives default
174 values for variables like `CC', `cache_file', and `prefix'.
283 If you want to set default values for `configure' scripts to share,
284 you can create a site shell script called `config.site' that gives
285 default values for variables like `CC', `cache_file', and `prefix'.
175286 `configure' looks for `PREFIX/share/config.site' if it exists, then
176287 `PREFIX/etc/config.site' if it exists. Or, you can set the
177288 `CONFIG_SITE' environment variable to the location of the site script.
180291 Defining Variables
181292 ==================
182293
183 Variables not defined in a site shell script can be set in the
294 Variables not defined in a site shell script can be set in the
184295 environment passed to `configure'. However, some packages may run
185296 configure again during the build, and the customized values of these
186297 variables may be lost. In order to avoid this problem, you should set
189300 ./configure CC=/usr/local2/bin/gcc
190301
191302 causes the specified `gcc' to be used as the C compiler (unless it is
192 overridden in the site shell script). Here is a another example:
193
194 /bin/bash ./configure CONFIG_SHELL=/bin/bash
195
196 Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
197 configuration-related scripts to be executed by `/bin/bash'.
303 overridden in the site shell script).
304
305 Unfortunately, this technique does not work for `CONFIG_SHELL' due to
306 an Autoconf bug. Until the bug is fixed you can use this workaround:
307
308 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
198309
199310 `configure' Invocation
200311 ======================
201312
202 `configure' recognizes the following options to control how it operates.
313 `configure' recognizes the following options to control how it
314 operates.
203315
204316 `--help'
205317 `-h'
206 Print a summary of the options to `configure', and exit.
318 Print a summary of all of the options to `configure', and exit.
319
320 `--help=short'
321 `--help=recursive'
322 Print a summary of the options unique to this package's
323 `configure', and exit. The `short' variant lists options used
324 only in the top level, while the `recursive' variant lists options
325 also present in any nested packages.
207326
208327 `--version'
209328 `-V'
230349 Look for the package's source code in directory DIR. Usually
231350 `configure' can determine that directory automatically.
232351
352 `--prefix=DIR'
353 Use DIR as the installation prefix. *note Installation Names::
354 for more details, including other options available for fine-tuning
355 the installation locations.
356
357 `--no-create'
358 `-n'
359 Run the configure checks, but stop before creating any output
360 files.
361
233362 `configure' also accepts some other, not widely useful, options. Run
234363 `configure --help' for more details.
235364
1818 m4/ltoptions.m4 \
1919 m4/ltsugar.m4 \
2020 m4/ltversion.m4
21
22 dist-hook: gen-ChangeLog
23
24 # Generate the ChangeLog file (with all entries since the switch to git)
25 # and insert it into the directory we're about to use to create a tarball.
26 .PHONY: gen-ChangeLog
27 gen-ChangeLog:
28 if test -d .git || test -d ../.git; then \
29 $(top_srcdir)/build-aux/gitlog-to-changelog \
30 > $(distdir)/cl-t; \
31 rm -f $(distdir)/ChangeLog; \
32 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
33 fi
141141 FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@
142142 FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@
143143 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
144 GLIB2_CFLAGS = @GLIB2_CFLAGS@
145 GLIB2_LIBS = @GLIB2_LIBS@
144 GMODULE2_CFLAGS = @GMODULE2_CFLAGS@
145 GMODULE2_LIBS = @GMODULE2_LIBS@
146146 GMSGFMT = @GMSGFMT@
147147 GREP = @GREP@
148148 GTK_API_VERSION = @GTK_API_VERSION@
545545 || exit 1; \
546546 fi; \
547547 done
548 $(MAKE) $(AM_MAKEFLAGS) \
549 top_distdir="$(top_distdir)" distdir="$(distdir)" \
550 dist-hook
548551 -test -n "$(am__skip_mode_fix)" \
549552 || find "$(distdir)" -type d ! -perm -755 \
550553 -exec chmod u+rwx,go+rx {} \; -o \
767770 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
768771 all all-am am--refresh check check-am clean clean-generic \
769772 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
770 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
771 distcheck distclean distclean-generic distclean-hdr \
773 dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
774 dist-zip distcheck distclean distclean-generic distclean-hdr \
772775 distclean-libtool distclean-tags distcleancheck distdir \
773776 distuninstallcheck dvi dvi-am html html-am info info-am \
774777 install install-am install-data install-data-am install-dvi \
781784 ps ps-am tags tags-recursive uninstall uninstall-am
782785
783786
787 dist-hook: gen-ChangeLog
788
789 # Generate the ChangeLog file (with all entries since the switch to git)
790 # and insert it into the directory we're about to use to create a tarball.
791 .PHONY: gen-ChangeLog
792 gen-ChangeLog:
793 if test -d .git || test -d ../.git; then \
794 $(top_srcdir)/build-aux/gitlog-to-changelog \
795 > $(distdir)/cl-t; \
796 rm -f $(distdir)/ChangeLog; \
797 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
798 fi
799
784800 # Tell versions [3.59,3.63) of GNU make to not export all variables.
785801 # Otherwise a system limit (for SysV at least) may be exceeded.
786802 .NOEXPORT:
00 Virt Viewer News
11 ================
2
3 0.4.2: Nov 9, 2011
4 -------------------
5
6 - Fix exports of signal functions for GTK UI builder on Windows
7 - Avoid crash if xmlParseURI fails
8 - Fix inverted test for SSH port that broke tunnelling
9 - Don't hardcode port numbers for SSH if not requested by user
10 - Fix deadlock in event handling
11 - Fix initial zoom level for all windows
12 - Fix window title to include domain name
13 - Fix hostname used when XML gives a wildcard IP address
14 - Fix window title when waiting for domain to appear
15 - Fix key shortcust for F9-F12 menus
16 - Always ask libvirt for its canonical URI
17 - Allow build without GTK-VNC (ie spice only)
18 - Require GTK-VNC >= 0.4.3
19 - Require SPICE-GTK >= 0.6.0
20
221
322 0.4.1: Aug 4, 2011
423 -------------------
1313
1414 ./configure --with-gtk=3.0 (or =2.0)
1515
16 Virt Viewer uses the GTK-VNC widget to provide a display
17 of the VNC protocol. This is available from
16 Virt Viewer uses the GTK-VNC (>= 0.4.3) widget to provide a
17 display of the VNC protocol, which is available from
1818
1919 http://gtk-vnc.sourceforge.net/
2020
21 Optionally Virt Viewer can also provide a SPICE client
22 using the SPICE-GTK widget (>= 0.6) available from
21 Virt Viewer uses the SPICE-GTK (>= 0.6) widget to provide a
22 display of the SPICE protocol, which is available from:
2323
2424 http://spice-space.org/page/Spice-Gtk
25
26 Use of either SPICE-GTK or GTK-VNC can be disabled at time
27 of configure, with --without-gtk-vnc or --without-spice-gtk
28 respectively.
2529
2630 Virt Viewer uses libvirt to lookup information about the
2731 guest OS display. This is available from
77
88 /* Define to 1 if you have the `fork' function. */
99 #undef HAVE_FORK
10
11 /* Have gtk-vnc? */
12 #undef HAVE_GTK_VNC
1013
1114 /* Define to 1 if you have the <inttypes.h> header file. */
1215 #undef HAVE_INTTYPES_H
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.68 for virt-viewer 0.4.1.
2 # Generated by GNU Autoconf 2.68 for virt-viewer 0.4.2.
33 #
44 #
55 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
566566 # Identity of this package.
567567 PACKAGE_NAME='virt-viewer'
568568 PACKAGE_TARNAME='virt-viewer'
569 PACKAGE_VERSION='0.4.1'
570 PACKAGE_STRING='virt-viewer 0.4.1'
569 PACKAGE_VERSION='0.4.2'
570 PACKAGE_STRING='virt-viewer 0.4.2'
571571 PACKAGE_BUGREPORT=''
572572 PACKAGE_URL=''
573573
625625 HAVE_SPICE_GTK_TRUE
626626 SPICE_GTK_LIBS
627627 SPICE_GTK_CFLAGS
628 HAVE_GTK_VNC_FALSE
629 HAVE_GTK_VNC_TRUE
628630 GTK_VNC_LIBS
629631 GTK_VNC_CFLAGS
630632 GTK_LIBS
640642 LIBVIRT_CFLAGS
641643 LIBXML2_LIBS
642644 LIBXML2_CFLAGS
643 GLIB2_LIBS
644 GLIB2_CFLAGS
645 GMODULE2_LIBS
646 GMODULE2_CFLAGS
645647 PKG_CONFIG_LIBDIR
646648 PKG_CONFIG_PATH
647649 PKG_CONFIG
802804 enable_iso_c
803805 enable_nls
804806 with_gtk
807 with_gtk_vnc
805808 with_spice_gtk
806809 enable_plugin
807810 '
817820 PKG_CONFIG
818821 PKG_CONFIG_PATH
819822 PKG_CONFIG_LIBDIR
820 GLIB2_CFLAGS
821 GLIB2_LIBS
823 GMODULE2_CFLAGS
824 GMODULE2_LIBS
822825 LIBXML2_CFLAGS
823826 LIBXML2_LIBS
824827 LIBVIRT_CFLAGS
13771380 # Omit some internal or obsolete options to make the list less imposing.
13781381 # This message is too long to be a string in the A/UX 3.1 sh.
13791382 cat <<_ACEOF
1380 \`configure' configures virt-viewer 0.4.1 to adapt to many kinds of systems.
1383 \`configure' configures virt-viewer 0.4.2 to adapt to many kinds of systems.
13811384
13821385 Usage: $0 [OPTION]... [VAR=VALUE]...
13831386
14471450
14481451 if test -n "$ac_init_help"; then
14491452 case $ac_init_help in
1450 short | recursive ) echo "Configuration of virt-viewer 0.4.1:";;
1453 short | recursive ) echo "Configuration of virt-viewer 0.4.2:";;
14511454 esac
14521455 cat <<\_ACEOF
14531456
14791482 --with-sysroot=DIR Search for dependent libraries within DIR
14801483 (or the compiler's sysroot if not specified).
14811484 --with-gtk=2.0|3.0 which gtk+ version to compile against (default: 2.0)
1485 --without-gtk-vnc Ignore presence of gtk-vnc and disable it
14821486 --without-spice-gtk Ignore presence of spice-gtk and disable it
14831487
14841488 Some influential environment variables:
14951499 directories to add to pkg-config's search path
14961500 PKG_CONFIG_LIBDIR
14971501 path overriding pkg-config's built-in search path
1498 GLIB2_CFLAGS
1499 C compiler flags for GLIB2, overriding pkg-config
1500 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1502 GMODULE2_CFLAGS
1503 C compiler flags for GMODULE2, overriding pkg-config
1504 GMODULE2_LIBS
1505 linker flags for GMODULE2, overriding pkg-config
15011506 LIBXML2_CFLAGS
15021507 C compiler flags for LIBXML2, overriding pkg-config
15031508 LIBXML2_LIBS
15931598 test -n "$ac_init_help" && exit $ac_status
15941599 if $ac_init_version; then
15951600 cat <<\_ACEOF
1596 virt-viewer configure 0.4.1
1601 virt-viewer configure 0.4.2
15971602 generated by GNU Autoconf 2.68
15981603
15991604 Copyright (C) 2010 Free Software Foundation, Inc.
19581963 This file contains any messages produced by compilers while
19591964 running configure, to aid debugging if configure makes a mistake.
19601965
1961 It was created by virt-viewer $as_me 0.4.1, which was
1966 It was created by virt-viewer $as_me 0.4.2, which was
19621967 generated by GNU Autoconf 2.68. Invocation command line was
19631968
19641969 $ $0 $@
27762781
27772782 # Define the identity of the package.
27782783 PACKAGE='virt-viewer'
2779 VERSION='0.4.1'
2784 VERSION='0.4.2'
27802785
27812786
27822787 cat >>confdefs.h <<_ACEOF
29032908 AM_BACKSLASH='\'
29042909
29052910
2906 GLIB2_REQUIRED=2.12.0
2911 GMODULE2_REQUIRED=2.12.0
29072912 LIBXML2_REQUIRED="2.6.0"
29082913 LIBVIRT_REQUIRED="0.6.0"
29092914 GTK2_REQUIRED="2.12.0"
29102915 GTK3_REQUIRED="3.0"
2911 GTK_VNC_REQUIRED="0.3.8"
2916 GTK_VNC_REQUIRED="0.4.3"
29122917 SPICE_GTK_REQUIRED="0.6"
29132918
29142919 ac_ext=c
1227512280 fi
1227612281
1227712282 pkg_failed=no
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
12279 $as_echo_n "checking for GLIB2... " >&6; }
12280
12281 if test -n "$GLIB2_CFLAGS"; then
12282 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE2" >&5
12284 $as_echo_n "checking for GMODULE2... " >&6; }
12285
12286 if test -n "$GMODULE2_CFLAGS"; then
12287 pkg_cv_GMODULE2_CFLAGS="$GMODULE2_CFLAGS"
1228312288 elif test -n "$PKG_CONFIG"; then
1228412289 if test -n "$PKG_CONFIG" && \
12285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0 >= \$GLIB2_REQUIRED\""; } >&5
12286 ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0 >= $GLIB2_REQUIRED") 2>&5
12290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0 >= \$GMODULE2_REQUIRED\""; } >&5
12291 ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0 >= $GMODULE2_REQUIRED") 2>&5
1228712292 ac_status=$?
1228812293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1228912294 test $ac_status = 0; }; then
12290 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "gmodule-export-2.0 >= $GLIB2_REQUIRED" 2>/dev/null`
12295 pkg_cv_GMODULE2_CFLAGS=`$PKG_CONFIG --cflags "gmodule-export-2.0 >= $GMODULE2_REQUIRED" 2>/dev/null`
1229112296 else
1229212297 pkg_failed=yes
1229312298 fi
1229412299 else
1229512300 pkg_failed=untried
1229612301 fi
12297 if test -n "$GLIB2_LIBS"; then
12298 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
12302 if test -n "$GMODULE2_LIBS"; then
12303 pkg_cv_GMODULE2_LIBS="$GMODULE2_LIBS"
1229912304 elif test -n "$PKG_CONFIG"; then
1230012305 if test -n "$PKG_CONFIG" && \
12301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0 >= \$GLIB2_REQUIRED\""; } >&5
12302 ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0 >= $GLIB2_REQUIRED") 2>&5
12306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0 >= \$GMODULE2_REQUIRED\""; } >&5
12307 ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0 >= $GMODULE2_REQUIRED") 2>&5
1230312308 ac_status=$?
1230412309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1230512310 test $ac_status = 0; }; then
12306 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "gmodule-export-2.0 >= $GLIB2_REQUIRED" 2>/dev/null`
12311 pkg_cv_GMODULE2_LIBS=`$PKG_CONFIG --libs "gmodule-export-2.0 >= $GMODULE2_REQUIRED" 2>/dev/null`
1230712312 else
1230812313 pkg_failed=yes
1230912314 fi
1232312328 _pkg_short_errors_supported=no
1232412329 fi
1232512330 if test $_pkg_short_errors_supported = yes; then
12326 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-export-2.0 >= $GLIB2_REQUIRED" 2>&1`
12331 GMODULE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-export-2.0 >= $GMODULE2_REQUIRED" 2>&1`
1232712332 else
12328 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-export-2.0 >= $GLIB2_REQUIRED" 2>&1`
12333 GMODULE2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-export-2.0 >= $GMODULE2_REQUIRED" 2>&1`
1232912334 fi
1233012335 # Put the nasty error message in config.log where it belongs
12331 echo "$GLIB2_PKG_ERRORS" >&5
12332
12333 as_fn_error $? "Package requirements (gmodule-export-2.0 >= $GLIB2_REQUIRED) were not met:
12334
12335 $GLIB2_PKG_ERRORS
12336 echo "$GMODULE2_PKG_ERRORS" >&5
12337
12338 as_fn_error $? "Package requirements (gmodule-export-2.0 >= $GMODULE2_REQUIRED) were not met:
12339
12340 $GMODULE2_PKG_ERRORS
1233612341
1233712342 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1233812343 installed software in a non-standard prefix.
1233912344
12340 Alternatively, you may set the environment variables GLIB2_CFLAGS
12341 and GLIB2_LIBS to avoid the need to call pkg-config.
12345 Alternatively, you may set the environment variables GMODULE2_CFLAGS
12346 and GMODULE2_LIBS to avoid the need to call pkg-config.
1234212347 See the pkg-config man page for more details." "$LINENO" 5
1234312348
1234412349 elif test $pkg_failed = untried; then
1235012355 is in your PATH or set the PKG_CONFIG environment variable to the full
1235112356 path to pkg-config.
1235212357
12353 Alternatively, you may set the environment variables GLIB2_CFLAGS
12354 and GLIB2_LIBS to avoid the need to call pkg-config.
12358 Alternatively, you may set the environment variables GMODULE2_CFLAGS
12359 and GMODULE2_LIBS to avoid the need to call pkg-config.
1235512360 See the pkg-config man page for more details.
1235612361
1235712362 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1235812363 See \`config.log' for more details" "$LINENO" 5; }
1235912364
1236012365 else
12361 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
12362 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
12366 GMODULE2_CFLAGS=$pkg_cv_GMODULE2_CFLAGS
12367 GMODULE2_LIBS=$pkg_cv_GMODULE2_LIBS
1236312368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1236412369 $as_echo "yes" >&6; }
1236512370
1268912694 fi
1269012695
1269112696
12697 # Check whether --with-gtk-vnc was given.
12698 if test "${with_gtk_vnc+set}" = set; then :
12699 withval=$with_gtk_vnc;
12700 fi
12701
12702
12703 if test "x$with_gtk_vnc" != "xno"; then :
12704
1269212705 pkg_failed=no
1269312706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_VNC" >&5
1269412707 $as_echo_n "checking for GTK_VNC... " >&6; }
1274512758 # Put the nasty error message in config.log where it belongs
1274612759 echo "$GTK_VNC_PKG_ERRORS" >&5
1274712760
12748 as_fn_error $? "Package requirements (gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED) were not met:
12749
12750 $GTK_VNC_PKG_ERRORS
12751
12752 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12753 installed software in a non-standard prefix.
12754
12755 Alternatively, you may set the environment variables GTK_VNC_CFLAGS
12756 and GTK_VNC_LIBS to avoid the need to call pkg-config.
12757 See the pkg-config man page for more details." "$LINENO" 5
12758
12761 have_gtk_vnc=no
1275912762 elif test $pkg_failed = untried; then
1276012763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1276112764 $as_echo "no" >&6; }
12762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12764 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12765 is in your PATH or set the PKG_CONFIG environment variable to the full
12766 path to pkg-config.
12767
12768 Alternatively, you may set the environment variables GTK_VNC_CFLAGS
12769 and GTK_VNC_LIBS to avoid the need to call pkg-config.
12770 See the pkg-config man page for more details.
12771
12772 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12773 See \`config.log' for more details" "$LINENO" 5; }
12774
12765 have_gtk_vnc=no
1277512766 else
1277612767 GTK_VNC_CFLAGS=$pkg_cv_GTK_VNC_CFLAGS
1277712768 GTK_VNC_LIBS=$pkg_cv_GTK_VNC_LIBS
1277812769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1277912770 $as_echo "yes" >&6; }
12780
12781 fi
12771 have_gtk_vnc=yes
12772 fi
12773 else
12774 have_gtk_vnc=no
12775 fi
12776
12777 if test "x$have_gtk_vnc" = "xyes"; then :
12778
12779 $as_echo "#define HAVE_GTK_VNC 1" >>confdefs.h
12780
12781 else
12782 if test "x$with_gtk_vnc" = "xyes"; then :
12783 as_fn_error $? "gtk-vnc requested but not found" "$LINENO" 5
12784
12785 fi
12786
12787 fi
12788 if test "x$have_gtk_vnc" = "xyes"; then
12789 HAVE_GTK_VNC_TRUE=
12790 HAVE_GTK_VNC_FALSE='#'
12791 else
12792 HAVE_GTK_VNC_TRUE='#'
12793 HAVE_GTK_VNC_FALSE=
12794 fi
12795
1278212796
1278312797
1278412798 # Check whether --with-spice-gtk was given.
1341713431 as_fn_error $? "conditional \"HAVE_GTK_3\" was never defined.
1341813432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1341913433 fi
13434 if test -z "${HAVE_GTK_VNC_TRUE}" && test -z "${HAVE_GTK_VNC_FALSE}"; then
13435 as_fn_error $? "conditional \"HAVE_GTK_VNC\" was never defined.
13436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13437 fi
1342013438 if test -z "${HAVE_SPICE_GTK_TRUE}" && test -z "${HAVE_SPICE_GTK_FALSE}"; then
1342113439 as_fn_error $? "conditional \"HAVE_SPICE_GTK\" was never defined.
1342213440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1383413852 # report actual input values of CONFIG_FILES etc. instead of their
1383513853 # values after options handling.
1383613854 ac_log="
13837 This file was extended by virt-viewer $as_me 0.4.1, which was
13855 This file was extended by virt-viewer $as_me 0.4.2, which was
1383813856 generated by GNU Autoconf 2.68. Invocation command line was
1383913857
1384013858 CONFIG_FILES = $CONFIG_FILES
1390013918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1390113919 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1390213920 ac_cs_version="\\
13903 virt-viewer config.status 0.4.1
13921 virt-viewer config.status 0.4.2
1390413922 configured by $0, generated by GNU Autoconf 2.68,
1390513923 with options \\"\$ac_cs_config\\"
1390613924
1569615714 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1569715715 fi
1569815716
15717
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15719 $as_echo "$as_me: " >&6;}
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuration summary" >&5
15721 $as_echo "$as_me: Configuration summary" >&6;}
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: =====================" >&5
15723 $as_echo "$as_me: =====================" >&6;}
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15725 $as_echo "$as_me: " >&6;}
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: Features:" >&5
15727 $as_echo "$as_me: Features:" >&6;}
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15729 $as_echo "$as_me: " >&6;}
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: Plugin: $enable_plugin" >&5
15731 $as_echo "$as_me: Plugin: $enable_plugin" >&6;}
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: Gtk: $with_gtk" >&5
15733 $as_echo "$as_me: Gtk: $with_gtk" >&6;}
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15735 $as_echo "$as_me: " >&6;}
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: Libraries:" >&5
15737 $as_echo "$as_me: Libraries:" >&6;}
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15739 $as_echo "$as_me: " >&6;}
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: GMODULE2: $GMODULE2_CFLAGS $GMODULE2_LIBS" >&5
15741 $as_echo "$as_me: GMODULE2: $GMODULE2_CFLAGS $GMODULE2_LIBS" >&6;}
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15743 $as_echo "$as_me: " >&6;}
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: GTK: $GTK_CFLAGS $GTK_LIBS" >&5
15745 $as_echo "$as_me: GTK: $GTK_CFLAGS $GTK_LIBS" >&6;}
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15747 $as_echo "$as_me: " >&6;}
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: GTK_VNC: $GTK_VNC_CFLAGS $GTK_VNC_LIBS" >&5
15749 $as_echo "$as_me: GTK_VNC: $GTK_VNC_CFLAGS $GTK_VNC_LIBS" >&6;}
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15751 $as_echo "$as_me: " >&6;}
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: SPICE_GTK: $SPICE_GTK_CFLAGS $SPICE_GTK_LIBS" >&5
15753 $as_echo "$as_me: SPICE_GTK: $SPICE_GTK_CFLAGS $SPICE_GTK_LIBS" >&6;}
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15755 $as_echo "$as_me: " >&6;}
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: LIBXML2: $LIBXML2_CFLAGS $LIBXML2_LIBS" >&5
15757 $as_echo "$as_me: LIBXML2: $LIBXML2_CFLAGS $LIBXML2_LIBS" >&6;}
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15759 $as_echo "$as_me: " >&6;}
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: LIBVIRT: $LIBVIRT_CFLAGS $LIBVIRT_LIBS" >&5
15761 $as_echo "$as_me: LIBVIRT: $LIBVIRT_CFLAGS $LIBVIRT_LIBS" >&6;}
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15763 $as_echo "$as_me: " >&6;}
00
1 AC_INIT(virt-viewer, 0.4.1)
1 AC_INIT(virt-viewer, 0.4.2)
22 AC_CONFIG_SRCDIR(src/virt-viewer-main.c)
33 AM_CONFIG_HEADER(config.h)
44 dnl Make automake keep quiet about wildcards & other GNUmake-isms
99 m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
1010 AM_SILENT_RULES([yes])
1111
12 GLIB2_REQUIRED=2.12.0
12 GMODULE2_REQUIRED=2.12.0
1313 LIBXML2_REQUIRED="2.6.0"
1414 LIBVIRT_REQUIRED="0.6.0"
1515 GTK2_REQUIRED="2.12.0"
1616 GTK3_REQUIRED="3.0"
17 GTK_VNC_REQUIRED="0.3.8"
17 GTK_VNC_REQUIRED="0.4.3"
1818 SPICE_GTK_REQUIRED="0.6"
1919
2020 AC_PROG_CC
3434 IT_PROG_INTLTOOL([0.35.0])
3535
3636
37 PKG_CHECK_MODULES(GLIB2, gmodule-export-2.0 >= $GLIB2_REQUIRED)
37 PKG_CHECK_MODULES(GMODULE2, gmodule-export-2.0 >= $GMODULE2_REQUIRED)
3838 PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= $LIBXML2_REQUIRED)
3939 PKG_CHECK_MODULES(LIBVIRT, libvirt >= $LIBVIRT_REQUIRED)
4040
6969
7070 PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED)
7171
72 PKG_CHECK_MODULES(GTK_VNC, gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED)
72 AC_ARG_WITH([gtk-vnc],
73 AS_HELP_STRING([--without-gtk-vnc], [Ignore presence of gtk-vnc and disable it]))
74
75 AS_IF([test "x$with_gtk_vnc" != "xno"],
76 [PKG_CHECK_MODULES(GTK_VNC,
77 gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED,
78 [have_gtk_vnc=yes], [have_gtk_vnc=no])],
79 [have_gtk_vnc=no])
80
81 AS_IF([test "x$have_gtk_vnc" = "xyes"],
82 [AC_DEFINE([HAVE_GTK_VNC], 1, [Have gtk-vnc?])],
83 [AS_IF([test "x$with_gtk_vnc" = "xyes"],
84 [AC_MSG_ERROR([gtk-vnc requested but not found])
85 ])
86 ])
87 AM_CONDITIONAL([HAVE_GTK_VNC], [test "x$have_gtk_vnc" = "xyes"])
7388
7489 AC_ARG_WITH([spice-gtk],
7590 AS_HELP_STRING([--without-spice-gtk], [Ignore presence of spice-gtk and disable it]))
122137 plugin/Makefile
123138 virt-viewer.spec
124139 mingw32-virt-viewer.spec)
140
141 AC_MSG_NOTICE([])
142 AC_MSG_NOTICE([Configuration summary])
143 AC_MSG_NOTICE([=====================])
144 AC_MSG_NOTICE([])
145 AC_MSG_NOTICE([ Features:])
146 AC_MSG_NOTICE([])
147 AC_MSG_NOTICE([ Plugin: $enable_plugin])
148 AC_MSG_NOTICE([ Gtk: $with_gtk])
149 AC_MSG_NOTICE([])
150 AC_MSG_NOTICE([ Libraries:])
151 AC_MSG_NOTICE([])
152 AC_MSG_NOTICE([ GMODULE2: $GMODULE2_CFLAGS $GMODULE2_LIBS])
153 AC_MSG_NOTICE([])
154 AC_MSG_NOTICE([ GTK: $GTK_CFLAGS $GTK_LIBS])
155 AC_MSG_NOTICE([])
156 AC_MSG_NOTICE([ GTK_VNC: $GTK_VNC_CFLAGS $GTK_VNC_LIBS])
157 AC_MSG_NOTICE([])
158 AC_MSG_NOTICE([ SPICE_GTK: $SPICE_GTK_CFLAGS $SPICE_GTK_LIBS])
159 AC_MSG_NOTICE([])
160 AC_MSG_NOTICE([ LIBXML2: $LIBXML2_CFLAGS $LIBXML2_LIBS])
161 AC_MSG_NOTICE([])
162 AC_MSG_NOTICE([ LIBVIRT: $LIBVIRT_CFLAGS $LIBVIRT_LIBS])
163 AC_MSG_NOTICE([])
109109 FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@
110110 FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@
111111 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
112 GLIB2_CFLAGS = @GLIB2_CFLAGS@
113 GLIB2_LIBS = @GLIB2_LIBS@
112 GMODULE2_CFLAGS = @GMODULE2_CFLAGS@
113 GMODULE2_LIBS = @GMODULE2_LIBS@
114114 GMSGFMT = @GMSGFMT@
115115 GREP = @GREP@
116116 GTK_API_VERSION = @GTK_API_VERSION@
22 %define _use_internal_dependency_generator 0
33 %define __find_requires %{_mingw32_findrequires}
44 %define __find_provides %{_mingw32_findprovides}
5
6 %define with_gtk3 0
7 %if 0%{?fedora} >= 15
8 %define with_gtk3 1
9 %endif
510
611 Name: mingw32-virt-viewer
712 Version: @VERSION@
1520 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1621
1722 BuildRequires: mingw32-filesystem >= 23
23 %if %{with_gtk3}
24 BuildRequires: mingw32-gtk3 >= 3.0.0
25 %else
1826 BuildRequires: mingw32-gtk2 >= 2.12.0
27 %endif
1928 BuildRequires: mingw32-libvirt >= 0.6.0
2029 BuildRequires: mingw32-libxml2
21 BuildRequires: mingw32-gtk-vnc >= 0.3.8
30 %if %{with_gtk3}
31 BuildRequires: mingw32-gtk-vnc >= 0.4.3
32 %else
33 BuildRequires: mingw32-gtk-vnc2 >= 0.4.3
34 %endif
2235 BuildRequires: pkgconfig
2336
2437 BuildArch: noarch
3346
3447
3548 %build
36 %{_mingw32_configure}
49 %if %{with_gtk3}
50 %{_mingw32_configure} --with-gtk=3.0
51 %else
52 %{_mingw32_configure} --with-gtk=2.0
53 %endif
3754 make
3855
3956
6178 %{_mingw32_mandir}/man1/virt-viewer.1*
6279
6380 %changelog
64 * Fri Nov 28 2008 Daniel P. Berrange <berrange@redhat.com> - 0.0.4-1
65 - Initial release
66
155155 FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@
156156 FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@
157157 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
158 GLIB2_CFLAGS = @GLIB2_CFLAGS@
159 GLIB2_LIBS = @GLIB2_LIBS@
158 GMODULE2_CFLAGS = @GMODULE2_CFLAGS@
159 GMODULE2_LIBS = @GMODULE2_LIBS@
160160 GMSGFMT = @GMSGFMT@
161161 GREP = @GREP@
162162 GTK_API_VERSION = @GTK_API_VERSION@
0 src/auth.c
1 src/events.c
2 src/main.c
3 src/util.c
4 src/viewer.c
5 src/display-spice.c
6 src/display-vnc.c
7 src/about.glade
8 src/auth.glade
9 src/viewer.glade
0 src/virt-viewer-about.xml
1 src/virt-viewer-app.c
2 src/virt-viewer-auth.c
3 src/virt-viewer-auth.xml
4 src/virt-viewer-display-spice.c
5 src/virt-viewer-display-vnc.c
6 src/virt-viewer-display.c
7 src/virt-viewer-events.c
8 src/virt-viewer-main.c
9 src/virt-viewer-notebook.c
10 src/virt-viewer-session-spice.c
11 src/virt-viewer-session-vnc.c
12 src/virt-viewer-session.c
13 src/virt-viewer-util.c
14 src/virt-viewer-window.c
15 src/virt-viewer.c
16 src/virt-viewer.xml
0
10 bin_PROGRAMS = virt-viewer
21
32 builderxmldir = $(pkgdatadir)/ui
1615 virt-viewer-events.h virt-viewer-events.c \
1716 virt-viewer-app.h virt-viewer-app.c \
1817 virt-viewer-session.h virt-viewer-session.c \
19 virt-viewer-session-vnc.h virt-viewer-session-vnc.c \
2018 virt-viewer-display.h virt-viewer-display.c \
21 virt-viewer-display-vnc.h virt-viewer-display-vnc.c \
2219 virt-viewer-notebook.h virt-viewer-notebook.c \
2320 virt-viewer-window.h virt-viewer-window.c \
2421 view/autoDrawer.c \
2825 view/ovBox.c \
2926 view/ovBox.h
3027
28 if HAVE_GTK_VNC
29 virt_viewer_SOURCES += \
30 virt-viewer-session-vnc.h virt-viewer-session-vnc.c \
31 virt-viewer-display-vnc.h virt-viewer-display-vnc.c
32 endif
3133
3234 if HAVE_SPICE_GTK
3335 virt_viewer_SOURCES += \
3840 virt_viewer_LDADD = \
3941 @GTK_VNC_LIBS@ \
4042 @SPICE_GTK_LIBS@ \
41 @GLIB2_LIBS@ \
43 @GMODULE2_LIBS@ \
4244 @GTK_LIBS@ \
4345 @LIBXML2_LIBS@ \
4446 @LIBVIRT_LIBS@
4648 virt_viewer_CFLAGS = \
4749 @GTK_VNC_CFLAGS@ \
4850 @SPICE_GTK_CFLAGS@ \
49 @GLIB2_CFLAGS@ \
51 @GMODULE2_CFLAGS@ \
5052 @GTK_CFLAGS@ \
5153 @LIBXML2_CFLAGS@ \
5254 @LIBVIRT_CFLAGS@ \
5355 @WARN_CFLAGS@ \
54 -DBUILDER_XML_DIR="\"$(builderxmldir)\"" \
5556 -DLOCALE_DIR=\""$(datadir)/locale"\"
3535 build_triplet = @build@
3636 host_triplet = @host@
3737 bin_PROGRAMS = virt-viewer$(EXEEXT)
38 @HAVE_SPICE_GTK_TRUE@am__append_1 = \
38 @HAVE_GTK_VNC_TRUE@am__append_1 = \
39 @HAVE_GTK_VNC_TRUE@ virt-viewer-session-vnc.h virt-viewer-session-vnc.c \
40 @HAVE_GTK_VNC_TRUE@ virt-viewer-display-vnc.h virt-viewer-display-vnc.c
41
42 @HAVE_SPICE_GTK_TRUE@am__append_2 = \
3943 @HAVE_SPICE_GTK_TRUE@ virt-viewer-session-spice.h virt-viewer-session-spice.c \
4044 @HAVE_SPICE_GTK_TRUE@ virt-viewer-display-spice.h virt-viewer-display-spice.c
4145
5963 virt-viewer-auth.h virt-viewer-auth.c virt-viewer-events.h \
6064 virt-viewer-events.c virt-viewer-app.h virt-viewer-app.c \
6165 virt-viewer-session.h virt-viewer-session.c \
62 virt-viewer-session-vnc.h virt-viewer-session-vnc.c \
6366 virt-viewer-display.h virt-viewer-display.c \
64 virt-viewer-display-vnc.h virt-viewer-display-vnc.c \
6567 virt-viewer-notebook.h virt-viewer-notebook.c \
6668 virt-viewer-window.h virt-viewer-window.c view/autoDrawer.c \
6769 view/autoDrawer.h view/drawer.c view/drawer.h view/ovBox.c \
68 view/ovBox.h virt-viewer-session-spice.h \
70 view/ovBox.h virt-viewer-session-vnc.h \
71 virt-viewer-session-vnc.c virt-viewer-display-vnc.h \
72 virt-viewer-display-vnc.c virt-viewer-session-spice.h \
6973 virt-viewer-session-spice.c virt-viewer-display-spice.h \
7074 virt-viewer-display-spice.c
71 @HAVE_SPICE_GTK_TRUE@am__objects_1 = virt_viewer-virt-viewer-session-spice.$(OBJEXT) \
75 @HAVE_GTK_VNC_TRUE@am__objects_1 = virt_viewer-virt-viewer-session-vnc.$(OBJEXT) \
76 @HAVE_GTK_VNC_TRUE@ virt_viewer-virt-viewer-display-vnc.$(OBJEXT)
77 @HAVE_SPICE_GTK_TRUE@am__objects_2 = virt_viewer-virt-viewer-session-spice.$(OBJEXT) \
7278 @HAVE_SPICE_GTK_TRUE@ virt_viewer-virt-viewer-display-spice.$(OBJEXT)
7379 am_virt_viewer_OBJECTS = virt_viewer-virt-viewer-main.$(OBJEXT) \
7480 virt_viewer-virt-viewer.$(OBJEXT) \
7783 virt_viewer-virt-viewer-events.$(OBJEXT) \
7884 virt_viewer-virt-viewer-app.$(OBJEXT) \
7985 virt_viewer-virt-viewer-session.$(OBJEXT) \
80 virt_viewer-virt-viewer-session-vnc.$(OBJEXT) \
8186 virt_viewer-virt-viewer-display.$(OBJEXT) \
82 virt_viewer-virt-viewer-display-vnc.$(OBJEXT) \
8387 virt_viewer-virt-viewer-notebook.$(OBJEXT) \
8488 virt_viewer-virt-viewer-window.$(OBJEXT) \
8589 virt_viewer-autoDrawer.$(OBJEXT) virt_viewer-drawer.$(OBJEXT) \
86 virt_viewer-ovBox.$(OBJEXT) $(am__objects_1)
90 virt_viewer-ovBox.$(OBJEXT) $(am__objects_1) $(am__objects_2)
8791 virt_viewer_OBJECTS = $(am_virt_viewer_OBJECTS)
8892 virt_viewer_DEPENDENCIES =
8993 AM_V_lt = $(am__v_lt_$(V))
175179 FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@
176180 FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@
177181 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
178 GLIB2_CFLAGS = @GLIB2_CFLAGS@
179 GLIB2_LIBS = @GLIB2_LIBS@
182 GMODULE2_CFLAGS = @GMODULE2_CFLAGS@
183 GMODULE2_LIBS = @GMODULE2_LIBS@
180184 GMSGFMT = @GMSGFMT@
181185 GREP = @GREP@
182186 GTK_API_VERSION = @GTK_API_VERSION@
307311 virt-viewer-util.h virt-viewer-util.c virt-viewer-auth.h \
308312 virt-viewer-auth.c virt-viewer-events.h virt-viewer-events.c \
309313 virt-viewer-app.h virt-viewer-app.c virt-viewer-session.h \
310 virt-viewer-session.c virt-viewer-session-vnc.h \
311 virt-viewer-session-vnc.c virt-viewer-display.h \
312 virt-viewer-display.c virt-viewer-display-vnc.h \
313 virt-viewer-display-vnc.c virt-viewer-notebook.h \
314 virt-viewer-session.c virt-viewer-display.h \
315 virt-viewer-display.c virt-viewer-notebook.h \
314316 virt-viewer-notebook.c virt-viewer-window.h \
315317 virt-viewer-window.c view/autoDrawer.c view/autoDrawer.h \
316318 view/drawer.c view/drawer.h view/ovBox.c view/ovBox.h \
317 $(am__append_1)
319 $(am__append_1) $(am__append_2)
318320 virt_viewer_LDADD = \
319321 @GTK_VNC_LIBS@ \
320322 @SPICE_GTK_LIBS@ \
321 @GLIB2_LIBS@ \
323 @GMODULE2_LIBS@ \
322324 @GTK_LIBS@ \
323325 @LIBXML2_LIBS@ \
324326 @LIBVIRT_LIBS@
326328 virt_viewer_CFLAGS = \
327329 @GTK_VNC_CFLAGS@ \
328330 @SPICE_GTK_CFLAGS@ \
329 @GLIB2_CFLAGS@ \
331 @GMODULE2_CFLAGS@ \
330332 @GTK_CFLAGS@ \
331333 @LIBXML2_CFLAGS@ \
332334 @LIBVIRT_CFLAGS@ \
333335 @WARN_CFLAGS@ \
334 -DBUILDER_XML_DIR="\"$(builderxmldir)\"" \
335336 -DLOCALE_DIR=\""$(datadir)/locale"\"
336337
337338 all: all-am
575576 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
576577 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-session.obj `if test -f 'virt-viewer-session.c'; then $(CYGPATH_W) 'virt-viewer-session.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session.c'; fi`
577578
579 virt_viewer-virt-viewer-display.o: virt-viewer-display.c
580 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo -c -o virt_viewer-virt-viewer-display.o `test -f 'virt-viewer-display.c' || echo '$(srcdir)/'`virt-viewer-display.c
581 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display.Po
582 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
583 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-display.c' object='virt_viewer-virt-viewer-display.o' libtool=no @AMDEPBACKSLASH@
584 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
585 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display.o `test -f 'virt-viewer-display.c' || echo '$(srcdir)/'`virt-viewer-display.c
586
587 virt_viewer-virt-viewer-display.obj: virt-viewer-display.c
588 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo -c -o virt_viewer-virt-viewer-display.obj `if test -f 'virt-viewer-display.c'; then $(CYGPATH_W) 'virt-viewer-display.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display.c'; fi`
589 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display.Po
590 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
591 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-display.c' object='virt_viewer-virt-viewer-display.obj' libtool=no @AMDEPBACKSLASH@
592 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
593 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display.obj `if test -f 'virt-viewer-display.c'; then $(CYGPATH_W) 'virt-viewer-display.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display.c'; fi`
594
595 virt_viewer-virt-viewer-notebook.o: virt-viewer-notebook.c
596 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-notebook.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo -c -o virt_viewer-virt-viewer-notebook.o `test -f 'virt-viewer-notebook.c' || echo '$(srcdir)/'`virt-viewer-notebook.c
597 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo $(DEPDIR)/virt_viewer-virt-viewer-notebook.Po
598 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
599 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-notebook.c' object='virt_viewer-virt-viewer-notebook.o' libtool=no @AMDEPBACKSLASH@
600 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
601 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-notebook.o `test -f 'virt-viewer-notebook.c' || echo '$(srcdir)/'`virt-viewer-notebook.c
602
603 virt_viewer-virt-viewer-notebook.obj: virt-viewer-notebook.c
604 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-notebook.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo -c -o virt_viewer-virt-viewer-notebook.obj `if test -f 'virt-viewer-notebook.c'; then $(CYGPATH_W) 'virt-viewer-notebook.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-notebook.c'; fi`
605 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo $(DEPDIR)/virt_viewer-virt-viewer-notebook.Po
606 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
607 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-notebook.c' object='virt_viewer-virt-viewer-notebook.obj' libtool=no @AMDEPBACKSLASH@
608 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
609 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-notebook.obj `if test -f 'virt-viewer-notebook.c'; then $(CYGPATH_W) 'virt-viewer-notebook.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-notebook.c'; fi`
610
611 virt_viewer-virt-viewer-window.o: virt-viewer-window.c
612 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-window.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo -c -o virt_viewer-virt-viewer-window.o `test -f 'virt-viewer-window.c' || echo '$(srcdir)/'`virt-viewer-window.c
613 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo $(DEPDIR)/virt_viewer-virt-viewer-window.Po
614 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
615 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-window.c' object='virt_viewer-virt-viewer-window.o' libtool=no @AMDEPBACKSLASH@
616 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
617 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-window.o `test -f 'virt-viewer-window.c' || echo '$(srcdir)/'`virt-viewer-window.c
618
619 virt_viewer-virt-viewer-window.obj: virt-viewer-window.c
620 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-window.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo -c -o virt_viewer-virt-viewer-window.obj `if test -f 'virt-viewer-window.c'; then $(CYGPATH_W) 'virt-viewer-window.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-window.c'; fi`
621 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo $(DEPDIR)/virt_viewer-virt-viewer-window.Po
622 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
623 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-window.c' object='virt_viewer-virt-viewer-window.obj' libtool=no @AMDEPBACKSLASH@
624 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
625 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-window.obj `if test -f 'virt-viewer-window.c'; then $(CYGPATH_W) 'virt-viewer-window.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-window.c'; fi`
626
627 virt_viewer-autoDrawer.o: view/autoDrawer.c
628 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-autoDrawer.o -MD -MP -MF $(DEPDIR)/virt_viewer-autoDrawer.Tpo -c -o virt_viewer-autoDrawer.o `test -f 'view/autoDrawer.c' || echo '$(srcdir)/'`view/autoDrawer.c
629 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-autoDrawer.Tpo $(DEPDIR)/virt_viewer-autoDrawer.Po
630 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
631 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/autoDrawer.c' object='virt_viewer-autoDrawer.o' libtool=no @AMDEPBACKSLASH@
632 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
633 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-autoDrawer.o `test -f 'view/autoDrawer.c' || echo '$(srcdir)/'`view/autoDrawer.c
634
635 virt_viewer-autoDrawer.obj: view/autoDrawer.c
636 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-autoDrawer.obj -MD -MP -MF $(DEPDIR)/virt_viewer-autoDrawer.Tpo -c -o virt_viewer-autoDrawer.obj `if test -f 'view/autoDrawer.c'; then $(CYGPATH_W) 'view/autoDrawer.c'; else $(CYGPATH_W) '$(srcdir)/view/autoDrawer.c'; fi`
637 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-autoDrawer.Tpo $(DEPDIR)/virt_viewer-autoDrawer.Po
638 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
639 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/autoDrawer.c' object='virt_viewer-autoDrawer.obj' libtool=no @AMDEPBACKSLASH@
640 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
641 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-autoDrawer.obj `if test -f 'view/autoDrawer.c'; then $(CYGPATH_W) 'view/autoDrawer.c'; else $(CYGPATH_W) '$(srcdir)/view/autoDrawer.c'; fi`
642
643 virt_viewer-drawer.o: view/drawer.c
644 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-drawer.o -MD -MP -MF $(DEPDIR)/virt_viewer-drawer.Tpo -c -o virt_viewer-drawer.o `test -f 'view/drawer.c' || echo '$(srcdir)/'`view/drawer.c
645 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-drawer.Tpo $(DEPDIR)/virt_viewer-drawer.Po
646 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
647 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/drawer.c' object='virt_viewer-drawer.o' libtool=no @AMDEPBACKSLASH@
648 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
649 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-drawer.o `test -f 'view/drawer.c' || echo '$(srcdir)/'`view/drawer.c
650
651 virt_viewer-drawer.obj: view/drawer.c
652 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-drawer.obj -MD -MP -MF $(DEPDIR)/virt_viewer-drawer.Tpo -c -o virt_viewer-drawer.obj `if test -f 'view/drawer.c'; then $(CYGPATH_W) 'view/drawer.c'; else $(CYGPATH_W) '$(srcdir)/view/drawer.c'; fi`
653 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-drawer.Tpo $(DEPDIR)/virt_viewer-drawer.Po
654 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
655 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/drawer.c' object='virt_viewer-drawer.obj' libtool=no @AMDEPBACKSLASH@
656 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
657 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-drawer.obj `if test -f 'view/drawer.c'; then $(CYGPATH_W) 'view/drawer.c'; else $(CYGPATH_W) '$(srcdir)/view/drawer.c'; fi`
658
659 virt_viewer-ovBox.o: view/ovBox.c
660 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-ovBox.o -MD -MP -MF $(DEPDIR)/virt_viewer-ovBox.Tpo -c -o virt_viewer-ovBox.o `test -f 'view/ovBox.c' || echo '$(srcdir)/'`view/ovBox.c
661 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-ovBox.Tpo $(DEPDIR)/virt_viewer-ovBox.Po
662 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
663 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/ovBox.c' object='virt_viewer-ovBox.o' libtool=no @AMDEPBACKSLASH@
664 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
665 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-ovBox.o `test -f 'view/ovBox.c' || echo '$(srcdir)/'`view/ovBox.c
666
667 virt_viewer-ovBox.obj: view/ovBox.c
668 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-ovBox.obj -MD -MP -MF $(DEPDIR)/virt_viewer-ovBox.Tpo -c -o virt_viewer-ovBox.obj `if test -f 'view/ovBox.c'; then $(CYGPATH_W) 'view/ovBox.c'; else $(CYGPATH_W) '$(srcdir)/view/ovBox.c'; fi`
669 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-ovBox.Tpo $(DEPDIR)/virt_viewer-ovBox.Po
670 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
671 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/ovBox.c' object='virt_viewer-ovBox.obj' libtool=no @AMDEPBACKSLASH@
672 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
673 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-ovBox.obj `if test -f 'view/ovBox.c'; then $(CYGPATH_W) 'view/ovBox.c'; else $(CYGPATH_W) '$(srcdir)/view/ovBox.c'; fi`
674
578675 virt_viewer-virt-viewer-session-vnc.o: virt-viewer-session-vnc.c
579676 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-session-vnc.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Tpo -c -o virt_viewer-virt-viewer-session-vnc.o `test -f 'virt-viewer-session-vnc.c' || echo '$(srcdir)/'`virt-viewer-session-vnc.c
580677 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Tpo $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Po
591688 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
592689 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-session-vnc.obj `if test -f 'virt-viewer-session-vnc.c'; then $(CYGPATH_W) 'virt-viewer-session-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-vnc.c'; fi`
593690
594 virt_viewer-virt-viewer-display.o: virt-viewer-display.c
595 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo -c -o virt_viewer-virt-viewer-display.o `test -f 'virt-viewer-display.c' || echo '$(srcdir)/'`virt-viewer-display.c
596 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display.Po
597 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
598 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-display.c' object='virt_viewer-virt-viewer-display.o' libtool=no @AMDEPBACKSLASH@
599 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
600 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display.o `test -f 'virt-viewer-display.c' || echo '$(srcdir)/'`virt-viewer-display.c
601
602 virt_viewer-virt-viewer-display.obj: virt-viewer-display.c
603 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo -c -o virt_viewer-virt-viewer-display.obj `if test -f 'virt-viewer-display.c'; then $(CYGPATH_W) 'virt-viewer-display.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display.c'; fi`
604 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display.Po
605 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
606 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-display.c' object='virt_viewer-virt-viewer-display.obj' libtool=no @AMDEPBACKSLASH@
607 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
608 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display.obj `if test -f 'virt-viewer-display.c'; then $(CYGPATH_W) 'virt-viewer-display.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display.c'; fi`
609
610691 virt_viewer-virt-viewer-display-vnc.o: virt-viewer-display-vnc.c
611692 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display-vnc.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Tpo -c -o virt_viewer-virt-viewer-display-vnc.o `test -f 'virt-viewer-display-vnc.c' || echo '$(srcdir)/'`virt-viewer-display-vnc.c
612693 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Po
622703 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-display-vnc.c' object='virt_viewer-virt-viewer-display-vnc.obj' libtool=no @AMDEPBACKSLASH@
623704 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
624705 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display-vnc.obj `if test -f 'virt-viewer-display-vnc.c'; then $(CYGPATH_W) 'virt-viewer-display-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-vnc.c'; fi`
625
626 virt_viewer-virt-viewer-notebook.o: virt-viewer-notebook.c
627 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-notebook.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo -c -o virt_viewer-virt-viewer-notebook.o `test -f 'virt-viewer-notebook.c' || echo '$(srcdir)/'`virt-viewer-notebook.c
628 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo $(DEPDIR)/virt_viewer-virt-viewer-notebook.Po
629 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
630 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-notebook.c' object='virt_viewer-virt-viewer-notebook.o' libtool=no @AMDEPBACKSLASH@
631 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
632 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-notebook.o `test -f 'virt-viewer-notebook.c' || echo '$(srcdir)/'`virt-viewer-notebook.c
633
634 virt_viewer-virt-viewer-notebook.obj: virt-viewer-notebook.c
635 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-notebook.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo -c -o virt_viewer-virt-viewer-notebook.obj `if test -f 'virt-viewer-notebook.c'; then $(CYGPATH_W) 'virt-viewer-notebook.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-notebook.c'; fi`
636 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo $(DEPDIR)/virt_viewer-virt-viewer-notebook.Po
637 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
638 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-notebook.c' object='virt_viewer-virt-viewer-notebook.obj' libtool=no @AMDEPBACKSLASH@
639 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
640 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-notebook.obj `if test -f 'virt-viewer-notebook.c'; then $(CYGPATH_W) 'virt-viewer-notebook.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-notebook.c'; fi`
641
642 virt_viewer-virt-viewer-window.o: virt-viewer-window.c
643 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-window.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo -c -o virt_viewer-virt-viewer-window.o `test -f 'virt-viewer-window.c' || echo '$(srcdir)/'`virt-viewer-window.c
644 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo $(DEPDIR)/virt_viewer-virt-viewer-window.Po
645 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
646 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-window.c' object='virt_viewer-virt-viewer-window.o' libtool=no @AMDEPBACKSLASH@
647 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
648 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-window.o `test -f 'virt-viewer-window.c' || echo '$(srcdir)/'`virt-viewer-window.c
649
650 virt_viewer-virt-viewer-window.obj: virt-viewer-window.c
651 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-window.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo -c -o virt_viewer-virt-viewer-window.obj `if test -f 'virt-viewer-window.c'; then $(CYGPATH_W) 'virt-viewer-window.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-window.c'; fi`
652 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo $(DEPDIR)/virt_viewer-virt-viewer-window.Po
653 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
654 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-window.c' object='virt_viewer-virt-viewer-window.obj' libtool=no @AMDEPBACKSLASH@
655 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
656 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-window.obj `if test -f 'virt-viewer-window.c'; then $(CYGPATH_W) 'virt-viewer-window.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-window.c'; fi`
657
658 virt_viewer-autoDrawer.o: view/autoDrawer.c
659 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-autoDrawer.o -MD -MP -MF $(DEPDIR)/virt_viewer-autoDrawer.Tpo -c -o virt_viewer-autoDrawer.o `test -f 'view/autoDrawer.c' || echo '$(srcdir)/'`view/autoDrawer.c
660 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-autoDrawer.Tpo $(DEPDIR)/virt_viewer-autoDrawer.Po
661 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
662 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/autoDrawer.c' object='virt_viewer-autoDrawer.o' libtool=no @AMDEPBACKSLASH@
663 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
664 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-autoDrawer.o `test -f 'view/autoDrawer.c' || echo '$(srcdir)/'`view/autoDrawer.c
665
666 virt_viewer-autoDrawer.obj: view/autoDrawer.c
667 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-autoDrawer.obj -MD -MP -MF $(DEPDIR)/virt_viewer-autoDrawer.Tpo -c -o virt_viewer-autoDrawer.obj `if test -f 'view/autoDrawer.c'; then $(CYGPATH_W) 'view/autoDrawer.c'; else $(CYGPATH_W) '$(srcdir)/view/autoDrawer.c'; fi`
668 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-autoDrawer.Tpo $(DEPDIR)/virt_viewer-autoDrawer.Po
669 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
670 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/autoDrawer.c' object='virt_viewer-autoDrawer.obj' libtool=no @AMDEPBACKSLASH@
671 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
672 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-autoDrawer.obj `if test -f 'view/autoDrawer.c'; then $(CYGPATH_W) 'view/autoDrawer.c'; else $(CYGPATH_W) '$(srcdir)/view/autoDrawer.c'; fi`
673
674 virt_viewer-drawer.o: view/drawer.c
675 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-drawer.o -MD -MP -MF $(DEPDIR)/virt_viewer-drawer.Tpo -c -o virt_viewer-drawer.o `test -f 'view/drawer.c' || echo '$(srcdir)/'`view/drawer.c
676 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-drawer.Tpo $(DEPDIR)/virt_viewer-drawer.Po
677 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
678 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/drawer.c' object='virt_viewer-drawer.o' libtool=no @AMDEPBACKSLASH@
679 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
680 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-drawer.o `test -f 'view/drawer.c' || echo '$(srcdir)/'`view/drawer.c
681
682 virt_viewer-drawer.obj: view/drawer.c
683 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-drawer.obj -MD -MP -MF $(DEPDIR)/virt_viewer-drawer.Tpo -c -o virt_viewer-drawer.obj `if test -f 'view/drawer.c'; then $(CYGPATH_W) 'view/drawer.c'; else $(CYGPATH_W) '$(srcdir)/view/drawer.c'; fi`
684 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-drawer.Tpo $(DEPDIR)/virt_viewer-drawer.Po
685 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
686 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/drawer.c' object='virt_viewer-drawer.obj' libtool=no @AMDEPBACKSLASH@
687 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
688 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-drawer.obj `if test -f 'view/drawer.c'; then $(CYGPATH_W) 'view/drawer.c'; else $(CYGPATH_W) '$(srcdir)/view/drawer.c'; fi`
689
690 virt_viewer-ovBox.o: view/ovBox.c
691 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-ovBox.o -MD -MP -MF $(DEPDIR)/virt_viewer-ovBox.Tpo -c -o virt_viewer-ovBox.o `test -f 'view/ovBox.c' || echo '$(srcdir)/'`view/ovBox.c
692 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-ovBox.Tpo $(DEPDIR)/virt_viewer-ovBox.Po
693 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
694 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/ovBox.c' object='virt_viewer-ovBox.o' libtool=no @AMDEPBACKSLASH@
695 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
696 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-ovBox.o `test -f 'view/ovBox.c' || echo '$(srcdir)/'`view/ovBox.c
697
698 virt_viewer-ovBox.obj: view/ovBox.c
699 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-ovBox.obj -MD -MP -MF $(DEPDIR)/virt_viewer-ovBox.Tpo -c -o virt_viewer-ovBox.obj `if test -f 'view/ovBox.c'; then $(CYGPATH_W) 'view/ovBox.c'; else $(CYGPATH_W) '$(srcdir)/view/ovBox.c'; fi`
700 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-ovBox.Tpo $(DEPDIR)/virt_viewer-ovBox.Po
701 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
702 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view/ovBox.c' object='virt_viewer-ovBox.obj' libtool=no @AMDEPBACKSLASH@
703 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
704 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-ovBox.obj `if test -f 'view/ovBox.c'; then $(CYGPATH_W) 'view/ovBox.c'; else $(CYGPATH_W) '$(srcdir)/view/ovBox.c'; fi`
705706
706707 virt_viewer-virt-viewer-session-spice.o: virt-viewer-session-spice.c
707708 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-session-spice.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-session-spice.Tpo -c -o virt_viewer-virt-viewer-session-spice.o `test -f 'virt-viewer-session-spice.c' || echo '$(srcdir)/'`virt-viewer-session-spice.c
5353 #include "virt-viewer-auth.h"
5454 #include "virt-viewer-window.h"
5555 #include "virt-viewer-session.h"
56 #ifdef HAVE_GTK_VNC
5657 #include "virt-viewer-session-vnc.h"
58 #endif
5759 #ifdef HAVE_SPICE_GTK
5860 #include "virt-viewer-session-spice.h"
5961 #endif
120122 char *pretty_address;
121123 gchar *guest_name;
122124 gboolean grabbed;
125 char *title;
123126 };
124127
125128
134137 PROP_SESSION,
135138 PROP_GUEST_NAME,
136139 PROP_FULLSCREEN,
140 PROP_TITLE,
137141 };
138142
139143 void
253257 return FALSE;
254258 }
255259
256 void
260 G_MODULE_EXPORT void
257261 virt_viewer_app_about_close(GtkWidget *dialog,
258262 VirtViewerApp *self G_GNUC_UNUSED)
259263 {
261265 gtk_widget_destroy(dialog);
262266 }
263267
264 void
268 G_MODULE_EXPORT void
265269 virt_viewer_app_about_delete(GtkWidget *dialog,
266270 void *dummy G_GNUC_UNUSED,
267271 VirtViewerApp *self G_GNUC_UNUSED)
318322 int n = 0;
319323
320324 cmd[n++] = "ssh";
321 if (!sshport) {
325 if (sshport) {
322326 cmd[n++] = "-p";
323327 sprintf(portstr, "%d", sshport);
324328 cmd[n++] = portstr;
385389 }
386390 }
387391
392 static void
393 virt_viewer_app_set_window_subtitle(VirtViewerApp *app,
394 VirtViewerWindow *window,
395 int nth)
396 {
397 gchar *subtitle = app->priv->title ? g_strdup_printf("%s (%d)", app->priv->title, nth + 1) : NULL;
398 g_object_set(window, "subtitle", subtitle, NULL);
399 g_free(subtitle);
400 }
401
402 static void
403 set_title(gpointer key,
404 gpointer value,
405 gpointer user_data)
406 {
407 gint *nth = key;
408 VirtViewerApp *app = user_data;
409 VirtViewerWindow *window = value;
410 virt_viewer_app_set_window_subtitle(app, window, *nth);
411 }
412
413 static void
414 virt_viewer_app_set_all_window_subtitles(VirtViewerApp *app)
415 {
416 virt_viewer_app_set_window_subtitle(app, app->priv->main_window, 0);
417 g_hash_table_foreach(app->priv->windows, set_title, app);
418 }
419
388420 static void update_title(gpointer key G_GNUC_UNUSED,
389421 gpointer value,
390422 gpointer user_data G_GNUC_UNUSED)
425457 key = g_malloc(sizeof(gint));
426458 *key = nth;
427459 g_hash_table_insert(self->priv->windows, key, win);
460 virt_viewer_app_set_window_subtitle(self, win, nth);
428461 }
429462
430463 static void
445478 "app", self,
446479 "container", container,
447480 NULL);
481 if (self->priv->main_window)
482 virt_viewer_window_set_zoom_level(window, virt_viewer_window_get_zoom_level(self->priv->main_window));
448483 virt_viewer_app_set_nth_window(self, nth, window);
449484 w = virt_viewer_window_get_window(window);
450485
540575 VirtViewerAppPrivate *priv = self->priv;
541576 g_return_val_if_fail(priv->session == NULL, -1);
542577
578 #ifdef HAVE_GTK_VNC
543579 if (g_strcasecmp(type, "vnc") == 0) {
544580 virt_viewer_app_trace(self, "Guest %s has a %s display\n",
545581 priv->guest_name, type);
546582 priv->session = virt_viewer_session_vnc_new();
547583 } else
584 #endif
548585 #ifdef HAVE_SPICE_GTK
549586 if (g_strcasecmp(type, "spice") == 0) {
550587 virt_viewer_app_trace(self, "Guest %s has a %s display\n",
634671 if (priv->transport &&
635672 g_strcasecmp(priv->transport, "ssh") == 0 &&
636673 !priv->direct) {
674 gchar *p = NULL;
675
637676 if (priv->gport) {
638677 virt_viewer_app_trace(self, "Opening indirect TCP connection to display at %s:%s\n",
639678 priv->ghost, priv->gport);
641680 virt_viewer_app_trace(self, "Opening indirect UNIX connection to display at %s\n",
642681 priv->unixsock);
643682 }
644 virt_viewer_app_trace(self, "Setting up SSH tunnel via %s@%s:%d\n",
645 priv->user, priv->host, priv->port ? priv->port : 22);
683 if (priv->port)
684 p = g_strdup_printf(":%d", priv->port);
685
686 virt_viewer_app_trace(self, "Setting up SSH tunnel via %s%s%s%s\n",
687 priv->user ? priv->user : "",
688 priv->user ? "@" : "",
689 priv->host, p ? p : "");
690 g_free(p);
646691
647692 if ((fd = virt_viewer_app_open_tunnel_ssh(priv->host, priv->port,
648693 priv->user, priv->ghost,
940985 g_value_set_boolean(value, priv->fullscreen);
941986 break;
942987
988 case PROP_TITLE:
989 g_value_set_string(value, priv->title);
990 break;
991
943992 default:
944993 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
945994 }
9721021 virt_viewer_app_set_fullscreen(self, g_value_get_boolean(value));
9731022 break;
9741023
1024 case PROP_TITLE:
1025 g_free(priv->title);
1026 priv->title = g_value_dup_string(value);
1027 virt_viewer_app_set_all_window_subtitles(self);
1028 break;
1029
9751030 default:
9761031 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
9771032 }
9971052 g_object_unref(priv->container);
9981053 priv->container = NULL;
9991054 }
1055 g_free(priv->title);
10001056
10011057 virt_viewer_app_free_connect_info(self);
10021058
11251181 G_PARAM_READABLE |
11261182 G_PARAM_WRITABLE |
11271183 G_PARAM_STATIC_STRINGS));
1184 g_object_class_install_property(object_class,
1185 PROP_TITLE,
1186 g_param_spec_string("title",
1187 "Title",
1188 "Title",
1189 "",
1190 G_PARAM_READABLE |
1191 G_PARAM_WRITABLE |
1192 G_PARAM_STATIC_STRINGS));
1193
11281194 }
11291195
11301196 void
13101376 priv->transport = g_strdup(transport);
13111377 priv->unixsock = g_strdup(unixsock);
13121378 priv->user = g_strdup(user);
1313 priv->port = 0;
1379 priv->port = port;
13141380
13151381 virt_viewer_app_update_pretty_address(self);
13161382 }
13561422
13571423 g_hash_table_foreach(self->priv->windows, show_status_cb, text);
13581424 g_free(text);
1425 }
1426
1427 static void
1428 show_display_cb(gpointer key G_GNUC_UNUSED,
1429 gpointer value,
1430 gpointer user_data G_GNUC_UNUSED)
1431 {
1432 VirtViewerNotebook *nb = virt_viewer_window_get_notebook(VIRT_VIEWER_WINDOW(value));
1433
1434 virt_viewer_notebook_show_display(nb);
1435 }
1436
1437 void
1438 virt_viewer_app_show_display(VirtViewerApp *self)
1439 {
1440 g_return_if_fail(VIRT_VIEWER_IS_APP(self));
1441 g_hash_table_foreach(self->priv->windows, show_display_cb, self);
13591442 }
13601443
13611444 /*
7777 gint port);
7878 gboolean virt_viewer_app_window_set_visible(VirtViewerApp *self, VirtViewerWindow *window, gboolean visible);
7979 void virt_viewer_app_show_status(VirtViewerApp *self, const gchar *fmt, ...);
80 void virt_viewer_app_show_display(VirtViewerApp *self);
8081
8182 G_END_DECLS
8283
2121
2222 #include <config.h>
2323
24 #include <vncdisplay.h>
2524 #include <gtk/gtk.h>
2625 #include <string.h>
26
27 #ifdef HAVE_GTK_VNC
28 #include <vncdisplay.h>
29 #endif
2730
2831 #include "virt-viewer-auth.h"
2932
8790 return response == GTK_RESPONSE_OK ? 0 : -1;
8891 }
8992
93 #ifdef HAVE_GTK_VNC
9094 void
9195 virt_viewer_auth_vnc_credentials(GtkWidget *vnc,
9296 GValueArray *credList,
166170 g_free(username);
167171 g_free(password);
168172 }
169
173 #endif
170174
171175
172176 int
121121 DEBUG_LOG("spice desktop resize %dx%d", width, height);
122122
123123 virt_viewer_display_set_desktop_size(display, width, height);
124 g_signal_emit_by_name(display, "display-desktop-resize");
124 }
125
126
127 static void
128 virt_viewer_display_spice_keyboard_grab(SpiceDisplay *display G_GNUC_UNUSED,
129 int grabbed,
130 VirtViewerDisplaySpice *self)
131 {
132 if (grabbed)
133 g_signal_emit_by_name(self, "display-keyboard-grab");
134 else
135 g_signal_emit_by_name(self, "display-keyboard-ungrab");
136 }
137
138
139 static void
140 virt_viewer_display_spice_mouse_grab(SpiceDisplay *display G_GNUC_UNUSED,
141 int grabbed,
142 VirtViewerDisplaySpice *self)
143 {
144 if (grabbed)
145 g_signal_emit_by_name(self, "display-pointer-grab");
146 else
147 g_signal_emit_by_name(self, "display-pointer-ungrab");
125148 }
126149
127150
158181 "auto-clipboard", TRUE,
159182 NULL);
160183
184 g_signal_connect(self->priv->display,
185 "keyboard-grab",
186 G_CALLBACK(virt_viewer_display_spice_keyboard_grab), self);
187 g_signal_connect(self->priv->display,
188 "mouse-grab",
189 G_CALLBACK(virt_viewer_display_spice_mouse_grab), self);
190
161191 return GTK_WIDGET(self);
162192 }
163193
139139 DEBUG_LOG("desktop resize %dx%d", width, height);
140140
141141 virt_viewer_display_set_desktop_size(display, width, height);
142 g_signal_emit_by_name(display, "display-desktop-resize");
143142 }
144143
145144
217217 display->priv->desktopHeight = 100;
218218 display->priv->zoom_level = 100;
219219 display->priv->zoom = TRUE;
220 display->priv->dirty = TRUE;
220221 }
221222
222223 GtkWidget*
413414 {
414415 VirtViewerDisplayPrivate *priv = display->priv;
415416
417 if (width == priv->desktopWidth && height == priv->desktopHeight)
418 return;
419
416420 priv->desktopWidth = width;
417421 priv->desktopHeight = height;
418422 priv->dirty = TRUE;
419423
420424 gtk_widget_queue_resize(GTK_WIDGET(display));
425 g_signal_emit_by_name(display, "display-desktop-resize");
421426 }
422427
423428
159159 }
160160 }
161161
162
163 static gboolean
164 virt_viewer_events_cleanup_handle(gpointer user_data)
165 {
166 struct virt_viewer_events_handle *data = user_data;
167
168 DEBUG_LOG("Cleanup of handle %p", data);
169 g_return_val_if_fail(data != NULL, FALSE);
170
171 if (data->ff)
172 (data->ff)(data->opaque);
173
174 free(data);
175 return FALSE;
176 }
177
178
162179 static int
163180 virt_viewer_events_remove_handle(int watch)
164181 {
171188
172189 DEBUG_LOG("Remove handle %d %d", watch, data->fd);
173190
191 if (!data->source)
192 return -1;
193
174194 g_source_remove(data->source);
175195 data->source = 0;
176196 data->events = 0;
177 if (data->ff)
178 (data->ff)(data->opaque);
179 free(data);
180
197
198 g_idle_add(virt_viewer_events_cleanup_handle, data);
181199 return 0;
182200 }
183201
278296 }
279297 }
280298
299
300 static gboolean
301 virt_viewer_events_cleanup_timeout(gpointer user_data)
302 {
303 struct virt_viewer_events_timeout *data = user_data;
304
305 DEBUG_LOG("Cleanup of timeout %p", data);
306 g_return_val_if_fail(data != NULL, FALSE);
307
308 if (data->ff)
309 (data->ff)(data->opaque);
310
311 free(data);
312 return FALSE;
313 }
314
315
281316 static int
282317 virt_viewer_events_remove_timeout(int timer)
283318 {
296331 g_source_remove(data->source);
297332 data->source = 0;
298333
299 if (data->ff)
300 (data->ff)(data->opaque);
301
302 free(data);
303
334 g_idle_add(virt_viewer_events_cleanup_timeout, data);
304335 return 0;
305336 }
306337
2121
2222 #include <config.h>
2323 #include <locale.h>
24 #include <vncdisplay.h>
2524 #include <gtk/gtk.h>
2625 #include <glib/gi18n.h>
2726 #include <stdlib.h>
27
28 #ifdef HAVE_GTK_VNC
29 #include <vncdisplay.h>
30 #endif
2831
2932 #include "virt-viewer.h"
3033
8184 bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
8285 textdomain(GETTEXT_PACKAGE);
8386
87 g_set_application_name(_("Virt Viewer"));
88
8489 /* Setup command line options */
8590 context = g_option_context_new (_("- Virtual machine graphical console"));
8691 g_option_context_add_main_entries (context, options, NULL);
8792 g_option_context_add_group (context, gtk_get_option_group (TRUE));
93 #ifdef HAVE_GTK_VNC
8894 g_option_context_add_group (context, vnc_display_get_option_group ());
95 #endif
8996 g_option_context_parse (context, &argc, &argv, &error);
9097 if (error) {
9198 g_printerr("%s\n%s\n",
98105 g_option_context_free(context);
99106
100107 if (!args || (g_strv_length(args) != 1)) {
101 fprintf(stderr, _("\nUsage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n"), argv[0], help_msg);
108 g_printerr(_("\nUsage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n"), argv[0], help_msg);
102109 goto cleanup;
103110 }
104111
105112 if (zoom < 10 || zoom > 200) {
106 fprintf(stderr, "Zoom level must be within 10-200\n");
113 g_printerr(_("Zoom level must be within 10-200\n"));
107114 goto cleanup;
108115 }
109116
201201 }
202202 break;
203203 default:
204 g_warning("unknown main channel event: %d", event);
204 g_message("unhandled spice main channel event: %d", event);
205205 g_signal_emit_by_name(session, "session-disconnected");
206206 break;
207207 }
4141 if (stat(name, &sb) >= 0) {
4242 gtk_builder_add_from_file(builder, name, &error);
4343 } else {
44 gchar *path = g_strdup_printf("%s/%s", BUILDER_XML_DIR, name);
45 gtk_builder_add_from_file(builder, path, &error);
46 g_free(path);
44 const gchar * const * dirs = g_get_system_data_dirs();
45 g_return_val_if_fail(dirs != NULL, NULL);
46
47 while (dirs[0] != NULL) {
48 gchar *path = g_build_filename(dirs[0], PACKAGE, "ui", name, NULL);
49 if (gtk_builder_add_from_file(builder, path, NULL) != 0) {
50 g_free(path);
51 break;
52 }
53 g_free(path);
54 dirs++;
55 }
56 if (dirs[0] == NULL)
57 goto failed;
4758 }
4859
49 if (error)
60 if (error) {
5061 g_error("Cannot load UI description %s: %s", name,
5162 error->message);
63 g_clear_error(&error);
64 goto failed;
65 }
5266
5367 return builder;
68 failed:
69 g_error("failed to find UI description file");
70 g_object_unref(builder);
71 return NULL;
5472 }
5573
5674 int
6987 uristr = "xen:///";
7088
7189 uri = xmlParseURI(uristr);
90 g_return_val_if_fail(uri != NULL, 1);
91
7292 if (host) {
7393 if (!uri || !uri->server)
7494 *host = g_strdup("localhost");
166166 case PROP_SUBTITLE:
167167 g_free(priv->subtitle);
168168 priv->subtitle = g_value_dup_string(value);
169 virt_viewer_window_update_title(VIRT_VIEWER_WINDOW(object));
169170 break;
170171
171172 case PROP_CONTAINER:
309310 priv->accel_list = g_slist_append(priv->accel_list, accels->data);
310311 g_object_ref(G_OBJECT(accels->data));
311312 }
313
314 priv->zoomlevel = 100;
312315 }
313316
314317 static void
321324 }
322325
323326
324 void
327 G_MODULE_EXPORT void
325328 virt_viewer_window_menu_view_zoom_out(GtkWidget *menu G_GNUC_UNUSED,
326329 VirtViewerWindow *self)
327330 {
338341 virt_viewer_display_set_zoom_level(VIRT_VIEWER_DISPLAY(priv->display), priv->zoomlevel);
339342 }
340343
341 void
344 G_MODULE_EXPORT void
342345 virt_viewer_window_menu_view_zoom_in(GtkWidget *menu G_GNUC_UNUSED,
343346 VirtViewerWindow *self)
344347 {
355358 virt_viewer_display_set_zoom_level(VIRT_VIEWER_DISPLAY(priv->display), priv->zoomlevel);
356359 }
357360
358 void
361 G_MODULE_EXPORT void
359362 virt_viewer_window_menu_view_zoom_reset(GtkWidget *menu G_GNUC_UNUSED,
360363 VirtViewerWindow *self)
361364 {
444447 ViewAutoDrawer_SetActive(VIEW_AUTODRAWER(priv->layout), FALSE);
445448 gtk_widget_show(menu);
446449 gtk_widget_hide(priv->toolbar);
450 #ifdef G_OS_WIN32
451 gtk_widget_set_size_request(GTK_WIDGET(priv->window), -1, -1);
452 #endif
447453 gtk_window_unfullscreen(GTK_WINDOW(priv->window));
448454
449455 if (priv->before_saved) {
487493 gtk_window_move(GTK_WINDOW(priv->window), x, y);
488494
489495 gtk_window_fullscreen(GTK_WINDOW(priv->window));
496 #ifdef G_OS_WIN32
497 /* on windows, fullscreen doesn't always hide the taskbar
498 See https://bugzilla.gnome.org/show_bug.cgi?id=652049 */
499 gtk_widget_set_size_request(GTK_WIDGET(priv->window),
500 gdk_screen_width(),
501 gdk_screen_height());
502 #endif
490503 }
491504
492505 #define MAX_KEY_COMBO 3
508521 { { GDK_Control_L, GDK_Alt_L, GDK_F6 }, 3, "Ctrl+Alt+F_6"},
509522 { { GDK_Control_L, GDK_Alt_L, GDK_F7 }, 3, "Ctrl+Alt+F_7"},
510523 { { GDK_Control_L, GDK_Alt_L, GDK_F8 }, 3, "Ctrl+Alt+F_8"},
511 { { GDK_Control_L, GDK_Alt_L, GDK_F5 }, 3, "Ctrl+Alt+F_9"},
512 { { GDK_Control_L, GDK_Alt_L, GDK_F6 }, 3, "Ctrl+Alt+F1_0"},
513 { { GDK_Control_L, GDK_Alt_L, GDK_F7 }, 3, "Ctrl+Alt+F11"},
514 { { GDK_Control_L, GDK_Alt_L, GDK_F8 }, 3, "Ctrl+Alt+F12"},
524 { { GDK_Control_L, GDK_Alt_L, GDK_F9 }, 3, "Ctrl+Alt+F_9"},
525 { { GDK_Control_L, GDK_Alt_L, GDK_F10 }, 3, "Ctrl+Alt+F1_0"},
526 { { GDK_Control_L, GDK_Alt_L, GDK_F11 }, 3, "Ctrl+Alt+F11"},
527 { { GDK_Control_L, GDK_Alt_L, GDK_F12 }, 3, "Ctrl+Alt+F12"},
515528 { {}, 0, "" },
516529 { { GDK_Print }, 1, "_PrintScreen"},
517530 };
518531
519 void
532 G_MODULE_EXPORT void
520533 virt_viewer_window_menu_send(GtkWidget *menu G_GNUC_UNUSED,
521534 VirtViewerWindow *self)
522535 {
618631 }
619632
620633
621 gboolean
634 G_MODULE_EXPORT gboolean
622635 virt_viewer_window_delete(GtkWidget *src G_GNUC_UNUSED,
623636 void *dummy G_GNUC_UNUSED,
624637 VirtViewerWindow *self)
628641 }
629642
630643
631 void
644 G_MODULE_EXPORT void
632645 virt_viewer_window_menu_file_quit(GtkWidget *src G_GNUC_UNUSED,
633646 VirtViewerWindow *self)
634647 {
644657 }
645658
646659
647 void
660 G_MODULE_EXPORT void
648661 virt_viewer_window_menu_view_fullscreen(GtkWidget *menu,
649662 VirtViewerWindow *self)
650663 {
653666 g_object_set(self->priv->app, "fullscreen", fullscreen, NULL);
654667 }
655668
656 void
669 G_MODULE_EXPORT void
657670 virt_viewer_window_menu_view_resize(GtkWidget *menu,
658671 VirtViewerWindow *self)
659672 {
680693 gdk_pixbuf_unref(pix);
681694 }
682695
683 void
696 G_MODULE_EXPORT void
684697 virt_viewer_window_menu_file_screenshot(GtkWidget *menu G_GNUC_UNUSED,
685698 VirtViewerWindow *self)
686699 {
711724 gtk_widget_destroy (dialog);
712725 }
713726
714 void
727 G_MODULE_EXPORT void
715728 virt_viewer_window_menu_help_about(GtkWidget *menu G_GNUC_UNUSED,
716729 VirtViewerWindow *self)
717730 {
818831 {
819832 VirtViewerWindowPrivate *priv = self->priv;
820833 char *title;
821 const char *subtitle;
834 const char *ungrab = NULL;
822835
823836 if (priv->grabbed)
824 subtitle = "(Press Ctrl+Alt to release pointer) ";
837 ungrab = _("(Press Ctrl+Alt to release pointer)");
838
839 if (!ungrab && !priv->subtitle)
840 title = g_strdup(g_get_application_name());
825841 else
826 subtitle = "";
827
828 if (priv->subtitle)
829 title = g_strdup_printf("%s%s - Virt Viewer",
830 subtitle, priv->subtitle);
831 else
832 title = g_strdup("Virt Viewer");
842 /* translators:
843 * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - <appname>"
844 * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt Viewer"
845 */
846 title = g_strdup_printf(_("%s%s%s - %s"),
847 /* translators: <ungrab empty> */
848 ungrab ? ungrab : _(""),
849 /* translators: <space> */
850 ungrab && priv->subtitle ? _(" ") : _(""),
851 priv->subtitle,
852 g_get_application_name());
833853
834854 gtk_window_set_title(GTK_WINDOW(priv->window), title);
835855
854874 if (display != NULL) {
855875 priv->display = g_object_ref(display);
856876
877 virt_viewer_display_set_zoom_level(VIRT_VIEWER_DISPLAY(priv->display), priv->zoomlevel);
878
857879 gtk_notebook_append_page(GTK_NOTEBOOK(priv->notebook), GTK_WIDGET(display), NULL);
858 if (gtk_bin_get_child(GTK_BIN(display)))
859 gtk_widget_realize(GTK_WIDGET(gtk_bin_get_child(GTK_BIN(display))));
860880 gtk_widget_show_all(GTK_WIDGET(display));
861881
862882 g_signal_connect(display, "display-pointer-grab",
881901 self->priv->zoomlevel = zoom_level;
882902 }
883903
904 gint virt_viewer_window_get_zoom_level(VirtViewerWindow *self)
905 {
906 g_return_val_if_fail(VIRT_VIEWER_IS_WINDOW(self), 100);
907 return self->priv->zoomlevel;
908 }
909
884910 GtkMenuItem*
885911 virt_viewer_window_get_menu_displays(VirtViewerWindow *self)
886912 {
6464 void virt_viewer_window_set_display(VirtViewerWindow *self, VirtViewerDisplay *display);
6565 void virt_viewer_window_update_title(VirtViewerWindow *self);
6666 void virt_viewer_window_set_zoom_level(VirtViewerWindow *self, gint zoom_level);
67 gint virt_viewer_window_get_zoom_level(VirtViewerWindow *self);
6768 void virt_viewer_window_leave_fullscreen(VirtViewerWindow *self);
6869 void virt_viewer_window_enter_fullscreen(VirtViewerWindow *self, gboolean move, gint x, gint y);
6970 GtkMenuItem *virt_viewer_window_get_menu_displays(VirtViewerWindow *self);
4848 char *uri;
4949 virConnectPtr conn;
5050 char *domkey;
51 char *domtitle;
5251 gboolean withEvents;
5352 gboolean waitvm;
5453 gboolean reconnect;
285284 gchar *transport = NULL;
286285 gchar *user = NULL;
287286 gint port = 0;
287 gchar *uri = NULL;
288288
289289 virt_viewer_app_free_connect_info(app);
290290
314314 ghost = g_strdup("localhost");
315315 }
316316
317 if (gport)
317 if (ghost && gport)
318318 DEBUG_LOG("Guest graphics address is %s:%s", ghost, gport);
319 else
319 else if (unixsock)
320320 DEBUG_LOG("Guest graphics address is %s", unixsock);
321321
322 if (virt_viewer_util_extract_host(priv->uri, NULL, &host, &transport, &user, &port) < 0) {
322 uri = virConnectGetURI(priv->conn);
323 if (virt_viewer_util_extract_host(uri, NULL, &host, &transport, &user, &port) < 0) {
323324 virt_viewer_app_simple_message_dialog(app, _("Cannot determine the host for the guest %s"),
324325 priv->domkey);
325326 goto cleanup;
327 }
328
329 /* If the XML listen attribute shows a wildcard address, we need to
330 * throw that away since you obviously can't 'connect(2)' to that
331 * from a remote host. Instead we fallback to the hostname used in
332 * the libvirt URI. This isn't perfect but it is better than nothing
333 */
334 if (ghost &&
335 (strcmp(ghost, "0.0.0.0") == 0 ||
336 strcmp(ghost, "::") == 0)) {
337 DEBUG_LOG("Guest graphics listen '%s' is a wildcard, replacing with '%s'",
338 ghost, host);
339 g_free(ghost);
340 ghost = g_strdup(host);
326341 }
327342
328343 virt_viewer_app_set_connect_info(app, host, ghost, gport, transport, unixsock, user, port);
339354 g_free(type);
340355 g_free(xpath);
341356 g_free(xmldesc);
357 g_free(uri);
342358 return retval;
343359 }
344360
350366
351367 virt_viewer_app_trace(app, "Guest %s is running, determining display\n",
352368 priv->domkey);
369
370 g_object_set(app, "title", virDomainGetName(dom), NULL);
353371
354372 if (!virt_viewer_app_has_session(app)) {
355373 if (!virt_viewer_extract_connect_info(self, dom))
412430 goto cleanup;
413431 }
414432 }
415
416 free(priv->domtitle);
417 priv->domtitle = g_strdup(virDomainGetName(dom));
418433
419434 virt_viewer_app_show_status(app, _("Checking guest domain status"));
420435 if (virDomainGetInfo(dom, &info) < 0) {
526541 self = g_object_new(VIRT_VIEWER_TYPE,
527542 "container", container,
528543 "verbose", verbose,
544 "guest-name", name,
529545 NULL);
530546 app = VIRT_VIEWER_APP(self);
531547 priv = self->priv;
532548
549 /* Set initial title based on guest name arg, which can be a ID,
550 * UUID, or NAME string. To be replaced with the real guest name later
551 */
552 g_object_set(app, "title", name, NULL);
533553 virt_viewer_window_set_zoom_level(virt_viewer_app_get_main_window(app), zoom);
534554 virt_viewer_app_set_direct(app, direct);
535555
1919 %endif
2020
2121 Name: virt-viewer
22 Version: 0.4.1
22 Version: 0.4.2
2323 Release: 1%{?dist}%{?extra_release}
2424 Summary: Virtual Machine Viewer
2525 Group: Applications/System
3939 %if %{with_gtk3}
4040 BuildRequires: gtk-vnc2-devel >= 0.4.3
4141 %else
42 BuildRequires: gtk-vnc-devel >= 0.3.8
42 BuildRequires: gtk-vnc-devel >= 0.4.3
4343 %endif
4444 %if %{with_spice}
4545 %if %{with_gtk3}
9090 %endif
9191
9292 %if %{with_spice}
93 %define spice_arg --enable-spice
93 %define spice_arg --with-spice-gtk
9494 %else
95 %define spice_arg --disable-spice
95 %define spice_arg --without-spice-gtk
9696 %endif
9797
9898 %if %{with_gtk3}
3939 %if %{with_gtk3}
4040 BuildRequires: gtk-vnc2-devel >= 0.4.3
4141 %else
42 BuildRequires: gtk-vnc-devel >= 0.3.8
42 BuildRequires: gtk-vnc-devel >= 0.4.3
4343 %endif
4444 %if %{with_spice}
4545 %if %{with_gtk3}
9090 %endif
9191
9292 %if %{with_spice}
93 %define spice_arg --enable-spice
93 %define spice_arg --with-spice-gtk
9494 %else
95 %define spice_arg --disable-spice
95 %define spice_arg --without-spice-gtk
9696 %endif
9797
9898 %if %{with_gtk3}