Imported Upstream version 0.4.2
Laurent Léonard
11 years ago
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 | ||
0 | 358 | 2011-02-21 Daniel P. Berrange <dan@berrange.com> |
1 | 359 | |
2 | * configure.ac: | |
360 | Added tag release-0.3.1 for changeset f71b32a6a583 | |
361 | ||
362 | Updates for 0.3.1 release | |
363 | ||
3 | 364 | Fix typo in SPICE configure setup |
4 | [cfb261f0ffed] [tip] | |
5 | ||
6 | * .hgtags: | |
365 | ||
7 | 366 | Added tag release-0.3.0 for changeset 807203083e74 |
8 | [22b287a68428] | |
9 | ||
10 | * ChangeLog, NEWS, README, configure.ac: | |
367 | ||
11 | 368 | Updates for 0.3.0 release |
12 | [807203083e74] [release-0.3.0] | |
13 | ||
14 | * virt-viewer.spec.in: | |
369 | ||
15 | 370 | Fix misc RPM specfile bugs |
16 | [74bd54a2be1b] | |
17 | 371 | |
18 | 372 | 2011-02-11 Daniel P. Berrange <dan@berrange.com> |
19 | 373 | |
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 | |
22 | 379 | |
23 | 380 | 2011-02-08 yurchor <yurchor@fedoraproject.org> |
24 | 381 | |
25 | * po/uk.po: | |
26 | 382 | l10n: Updates to Ukrainian (uk) translation |
27 | ||
28 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
29 | [42abba3e0529] | |
383 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
30 | 384 | |
31 | 385 | 2011-02-08 elsupergomez <elsupergomez@fedoraproject.org> |
32 | 386 | |
33 | * po/es.po: | |
34 | 387 | 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) | |
48 | 389 | |
49 | 390 | 2011-02-07 Daniel P. Berrange <dan@berrange.com> |
50 | 391 | |
51 | * configure.ac: | |
52 | 392 | Update pkg-config check for spice-gtk library |
53 | [35b857dedeee] | |
54 | 393 | |
55 | 394 | 2011-02-04 warrink <warrink@fedoraproject.org> |
56 | 395 | |
57 | * po/nl.po: | |
58 | 396 | l10n: Updates to Dutch (Flemish) (nl) translation |
59 | ||
60 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
61 | [4bdba329fd50] | |
397 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
62 | 398 | |
63 | 399 | 2011-02-04 raven <raven@fedoraproject.org> |
64 | 400 | |
65 | * po/pl.po: | |
66 | 401 | 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 | ||
72 | 404 | l10n: Updates to Polish (pl) translation |
73 | ||
74 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
75 | [8e8defe7444c] | |
405 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
76 | 406 | |
77 | 407 | 2011-02-03 Daniel P. Berrange <dan@berrange.com> |
78 | 408 | |
79 | * src/viewer.c: | |
80 | 409 | Fix waiting for VM based on UUID |
81 | [607c42b3aba6] | |
82 | ||
83 | * src/viewer-priv.h, src/viewer.c: | |
410 | ||
84 | 411 | Support connections over UNIX sockets |
85 | [4f6b2cf8d10a] | |
86 | ||
87 | * src/viewer.c: | |
412 | ||
88 | 413 | Avoid fetching XML document multiple times when extracting graphics |
89 | [eccf7b274d8c] | |
90 | 414 | |
91 | 415 | 2011-01-29 fdaluisio <fdaluisio@fedoraproject.org> |
92 | 416 | |
93 | * po/it.po: | |
94 | 417 | l10n: Updates to Italian (it) translation |
95 | ||
96 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
97 | [c1559894facc] | |
418 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
98 | 419 | |
99 | 420 | 2011-01-28 tomspur <tomspur@fedoraproject.org> |
100 | 421 | |
101 | * po/de.po: | |
102 | 422 | l10n: Updates to German (de) translation |
103 | ||
104 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
105 | [8e6056966e8c] | |
423 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
106 | 424 | |
107 | 425 | 2011-01-12 andreyjktl <andreyjktl@fedoraproject.org> |
108 | 426 | |
109 | * po/ru.po: | |
110 | 427 | l10n: Updates to Russian (ru) translation |
111 | ||
112 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
113 | [6a5fa15abaa3] | |
428 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
114 | 429 | |
115 | 430 | 2011-01-10 elsupergomez <elsupergomez@fedoraproject.org> |
116 | 431 | |
117 | * po/es.po: | |
118 | 432 | l10n: Updates to Spanish (Castilian) (es) translation |
119 | ||
120 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
121 | [aaf4f61830cc] | |
433 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
122 | 434 | |
123 | 435 | 2010-12-21 jassy <jassy@fedoraproject.org> |
124 | 436 | |
125 | * po/pa.po: | |
126 | 437 | l10n: Updates to Panjabi (Punjabi) (pa) translation |
127 | ||
128 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
129 | [72eb4f8f3bc0] | |
438 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
130 | 439 | |
131 | 440 | 2010-12-16 warrink <warrink@fedoraproject.org> |
132 | 441 | |
133 | * po/nl.po: | |
134 | 442 | l10n: Updates to Dutch (Flemish) (nl) translation |
135 | ||
136 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
137 | [c2bc3efb0265] | |
443 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
138 | 444 | |
139 | 445 | 2010-12-15 raven <raven@fedoraproject.org> |
140 | 446 | |
141 | * po/pl.po: | |
142 | 447 | l10n: Updates to Polish (pl) translation |
143 | ||
144 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
145 | [879ab95fa860] | |
448 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
146 | 449 | |
147 | 450 | 2010-12-10 Marc-André Lureau <marcandre.lureau@redhat.com> |
148 | 451 | |
149 | * configure.ac, src/Makefile.am, src/viewer.c: | |
150 | 452 | build: make spice-gtk dependency optional |
151 | [992d73fd6a85] | |
152 | 453 | |
153 | 454 | 2010-11-30 Marc-André Lureau <marcandre.lureau@redhat.com> |
154 | 455 | |
155 | * src/display-spice.c, src/display-vnc.c, src/display.h, src/viewer.c, | |
156 | src/viewer.glade: | |
157 | 456 | viewer: add support for spice resize-guest |
158 | ||
159 | 457 | 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 | ||
167 | 459 | viewer: Add support for Spice |
168 | [e9167b61921b] | |
169 | 460 | |
170 | 461 | 2010-11-19 Marc-André Lureau <marcandre.lureau@redhat.com> |
171 | 462 | |
172 | * src/viewer.c: | |
173 | 463 | viewer: generalize extract_port() into viewer_extract_xpath_string() |
174 | [dbcb547de1e9] | |
175 | ||
176 | * src/viewer.c: | |
464 | ||
177 | 465 | viewer: silence a few warnings of unused variables |
178 | [bc2713b7997b] | |
179 | ||
180 | * src/viewer.c: | |
466 | ||
181 | 467 | viewer: split vnc display creation out of viewer_activate() |
182 | [de2d7bf9bd1e] | |
183 | 468 | |
184 | 469 | 2010-12-14 Daniel P. Berrange <dan@berrange.com> |
185 | 470 | |
186 | * src/auth.c: | |
187 | 471 | Improve auth dialog message when no address is available |
188 | [526813f252f3] | |
189 | 472 | |
190 | 473 | 2010-11-17 tombo <tombo@fedoraproject.org> |
191 | 474 | |
192 | * po/it.po: | |
193 | 475 | l10n: Updates to Italian (it) translation |
194 | ||
195 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
196 | [fa512d3379da] | |
476 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
197 | 477 | |
198 | 478 | 2010-10-04 giallu <giallu@fedoraproject.org> |
199 | 479 | |
200 | * po/it.po: | |
201 | 480 | l10n: Updates to Italian (it) translation |
202 | ||
203 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
204 | [d0eba3f3dcf4] | |
481 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
205 | 482 | |
206 | 483 | 2010-09-30 aron <aron@fedoraproject.org> |
207 | 484 | |
208 | * po/zh_CN.po: | |
209 | 485 | 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) | |
213 | 487 | |
214 | 488 | 2010-08-10 bozzo <bozzo@fedoraproject.org> |
215 | 489 | |
216 | * po/fr.po: | |
217 | 490 | l10n: Updates to French (fr) translation |
218 | ||
219 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
220 | [d5bc241ed9f7] | |
491 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
221 | 492 | |
222 | 493 | 2010-08-03 warrink <warrink@fedoraproject.org> |
223 | 494 | |
224 | * po/nl.po: | |
225 | 495 | l10n: First Dutch translation |
226 | ||
227 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
228 | [bfb63c06f06d] | |
496 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
229 | 497 | |
230 | 498 | 2010-07-22 ankit <ankit@fedoraproject.org> |
231 | 499 | |
232 | * po/gu.po: | |
233 | 500 | l10n: Updates to Gujarati (gu) translation |
234 | ||
235 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
236 | [44d8dc6c88f7] | |
501 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
237 | 502 | |
238 | 503 | 2010-07-09 Daniel P. Berrange <dan@berrange.com> |
239 | 504 | |
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 | |
258 | 506 | |
259 | 507 | 2010-07-09 Ronnie Sahlberg <ronniesahlberg@gmail.com> |
260 | 508 | |
261 | * man/virt-viewer.pod: | |
262 | 509 | Misc fixes to command line args in virt-viewer manpage |
263 | ||
264 | 510 | Fix three issues with the manpage for virt-viewer : |
265 | 511 | |
266 | 512 | * Short option for --reconnect is -r, not -w |
267 | 513 | * Show that the short option for zoom takes an argument |
268 | 514 | * 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) | |
270 | 525 | |
271 | 526 | 2010-07-05 Ronnie Sahlberg <ronniesahlberg@gmail.com> |
272 | 527 | |
273 | * AUTHORS, man/virt-viewer.pod, src/main.c, src/viewer.c, | |
274 | src/viewer.glade, src/viewer.h: | |
275 | 528 | Add support for zoom levels |
276 | ||
277 | 529 | Add a menu for zooming in/out of the virtual desktop. |
278 | 530 | |
279 | 531 | Add a --zoom command line to set the initial zoom level. |
280 | 532 | |
281 | 533 | Defaults to 100% zoom at startup |
282 | [99cd453a8746] | |
283 | 534 | |
284 | 535 | 2010-07-05 Daniel P. Berrange <dan@berrange.com> |
285 | 536 | |
286 | * po/LINGUAS: | |
287 | 537 | 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 | |
292 | 540 | |
293 | 541 | 2010-06-27 zoltanh721 <zoltanh721@fedoraproject.org> |
294 | 542 | |
295 | * po/hu.po: | |
296 | 543 | l10n: Updates to Hungarian (hu) translation |
297 | ||
298 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
299 | [10cd88edd331] | |
544 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
300 | 545 | |
301 | 546 | 2010-06-25 htaira <htaira@fedoraproject.org> |
302 | 547 | |
303 | * po/ja.po: | |
304 | 548 | l10n: Updates to Japanese (ja) translation |
305 | ||
306 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
307 | [31ea04a18446] | |
549 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
308 | 550 | |
309 | 551 | 2010-06-09 htaira <htaira@fedoraproject.org> |
310 | 552 | |
311 | * po/ja.po: | |
312 | 553 | l10n: Updates to Japanese (ja) translation |
313 | ||
314 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
315 | [a0786647b8e9] | |
554 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
316 | 555 | |
317 | 556 | 2010-04-14 mvdz <mvdz@fedoraproject.org> |
318 | 557 | |
319 | * po/uk.po: | |
320 | 558 | 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 | ||
328 | 563 | l10n: Updates to Korean (ko) translation |
329 | ||
330 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
331 | [4ea747fc1d6b] | |
564 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
332 | 565 | |
333 | 566 | 2010-03-30 webappz <webappz@fedoraproject.org> |
334 | 567 | |
335 | * po/hu.po: | |
336 | 568 | 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 | ||
342 | 571 | 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 | ||
348 | 574 | l10n: Updates to Hungarian (hu) translation |
349 | ||
350 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
351 | [2e4d842c62af] | |
575 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
352 | 576 | |
353 | 577 | 2010-03-22 mvdz <mvdz@fedoraproject.org> |
354 | 578 | |
355 | * po/uk.po: | |
356 | 579 | l10n: Added Ukrainian translation. |
357 | ||
358 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
359 | [88ad52cdf0aa] | |
580 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
360 | 581 | |
361 | 582 | 2010-03-14 amitakhya <amitakhya@fedoraproject.org> |
362 | 583 | |
363 | * po/as.po: | |
364 | 584 | l10n: Adding Assamese translations. |
365 | ||
366 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
367 | [f815e2c8e5ad] | |
585 | Transmitted-via: Transifex (translate.fedoraproject.org) | |
368 | 586 | |
369 | 587 | 2010-02-26 runab <runab@fedoraproject.org> |
370 | 588 | |
371 | * po/bn_IN.po: | |
372 | 589 | Sending translation for po/bn_IN.po |
373 | [5c79b3bd5068] | |
374 | 590 | |
375 | 591 | 2010-02-24 rajesh <rajesh@fedoraproject.org> |
376 | 592 | |
377 | * po/hi.po: | |
378 | 593 | Sending translation for po/hi.po |
379 | [c8f2537692e0] | |
380 | 594 | |
381 | 595 | 2010-02-20 snicore <snicore@fedoraproject.org> |
382 | 596 | |
383 | * po/hu.po: | |
384 | 597 | Sending translation for po/hu.po |
385 | [1462825b8e02] | |
386 | 598 | |
387 | 599 | 2010-02-08 anipeter <anipeter@fedoraproject.org> |
388 | 600 | |
389 | * po/ml.po: | |
390 | 601 | Sending translation for po/ml.po |
391 | [cd1284f62107] | |
392 | 602 | |
393 | 603 | 2010-02-01 mgiri <mgiri@fedoraproject.org> |
394 | 604 | |
395 | * po/or.po: | |
396 | 605 | Sending translation for po/or.po |
397 | [78feb4d583ed] | |
398 | 606 | |
399 | 607 | 2010-01-29 ifelix <ifelix@fedoraproject.org> |
400 | 608 | |
401 | * po/ta.po: | |
402 | 609 | Sending translation for po/ta.po |
403 | [7d4d3f5993a2] | |
404 | 610 | |
405 | 611 | 2010-01-29 jassy <jassy@fedoraproject.org> |
406 | 612 | |
407 | * po/pa.po: | |
408 | 613 | Sending translation for Punjabi |
409 | [a5842cd7e908] | |
410 | 614 | |
411 | 615 | 2010-01-28 sandeeps <sandeeps@fedoraproject.org> |
412 | 616 | |
413 | * po/mr.po: | |
414 | 617 | Sending translation for po/mr.po |
415 | [9de827a3645a] | |
416 | 618 | |
417 | 619 | 2010-01-28 shanky <shanky@fedoraproject.org> |
418 | 620 | |
419 | * po/kn.po: | |
420 | 621 | Sending translation for po/kn.po |
421 | [32bedf3379c1] | |
422 | 622 | |
423 | 623 | 2010-01-28 giallu <giallu@fedoraproject.org> |
424 | 624 | |
425 | * po/it.po: | |
426 | 625 | Sending translation for Italian |
427 | [4169a6aa9f03] | |
428 | 626 | |
429 | 627 | 2010-01-28 jassy <jassy@fedoraproject.org> |
430 | 628 | |
431 | * po/pa.po: | |
432 | 629 | Sending translation for po/pa.po |
433 | [90ae444ba69c] | |
434 | 630 | |
435 | 631 | 2010-01-28 kkrothap <kkrothap@fedoraproject.org> |
436 | 632 | |
437 | * po/te.po: | |
438 | 633 | Sending translation for po/te.po |
439 | [fca3f9a5bc8b] | |
440 | 634 | |
441 | 635 | 2010-01-28 mospina <mospina@fedoraproject.org> |
442 | 636 | |
443 | * po/ko.po: | |
444 | 637 | 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 | ||
450 | 641 | Remove bogus it_IT.po file, correct name was it.po |
451 | [87e34764f943] | |
452 | 642 | |
453 | 643 | 2010-01-24 tchuang <tchuang@fedoraproject.org> |
454 | 644 | |
455 | * po/zh_TW.po: | |
456 | 645 | Sending translation for po/zh_TW.po |
457 | [e50f8116a8ab] | |
458 | 646 | |
459 | 647 | 2010-01-24 raven <raven@fedoraproject.org> |
460 | 648 | |
461 | * po/it.po: | |
462 | 649 | Sending translation for po/it.po |
463 | [9b614ce582ea] | |
464 | 650 | |
465 | 651 | 2010-01-23 giallu <giallu@fedoraproject.org> |
466 | 652 | |
467 | * po/it_IT.po: | |
468 | 653 | Sending translation for po/it_IT.po |
469 | [ee470027df65] | |
470 | 654 | |
471 | 655 | 2010-01-22 hedda <hedda@fedoraproject.org> |
472 | 656 | |
473 | * po/de.po: | |
474 | 657 | Sending translation for German |
475 | [557f60ac53b3] | |
476 | 658 | |
477 | 659 | 2010-01-22 leahliu <leahliu@fedoraproject.org> |
478 | 660 | |
479 | * po/zh_CN.po: | |
480 | 661 | Sending translation for Chinese (Simplified) |
481 | [c9d98ce01d93] | |
482 | 662 | |
483 | 663 | 2010-01-22 khasida <khasida@fedoraproject.org> |
484 | 664 | |
485 | * po/ja.po: | |
486 | 665 | Sending translation for po/ja.po |
487 | [34d80402dbed] | |
488 | 666 | |
489 | 667 | 2010-01-22 mospina <mospina@fedoraproject.org> |
490 | 668 | |
491 | * po/ko.po: | |
492 | 669 | Sending translation for po/ko.po |
493 | [2b9684476fe6] | |
494 | ||
495 | * po/es.po: | |
670 | ||
496 | 671 | Sending translation for Spanish |
497 | [e08c6128ea8f] | |
498 | 672 | |
499 | 673 | 2010-01-22 ypoyarko <ypoyarko@fedoraproject.org> |
500 | 674 | |
501 | * po/ru.po: | |
502 | 675 | Sending translation for Russian |
503 | [b11d479ee1f4] | |
504 | 676 | |
505 | 677 | 2010-01-22 gcintra <gcintra@fedoraproject.org> |
506 | 678 | |
507 | * po/pt_BR.po: | |
508 | 679 | Sending translation for po/pt_BR.po |
509 | [892a90a8af67] | |
510 | 680 | |
511 | 681 | 2010-01-22 samfreemanz <samfreemanz@fedoraproject.org> |
512 | 682 | |
513 | * po/fr.po: | |
514 | 683 | Sending translation for French |
515 | [5b55be5a0e46] | |
516 | 684 | |
517 | 685 | 2010-01-22 hedda <hedda@fedoraproject.org> |
518 | 686 | |
519 | * po/de.po: | |
520 | 687 | Sending translation for po/de.po |
521 | [b13384930995] | |
522 | 688 | |
523 | 689 | 2010-01-22 leahliu <leahliu@fedoraproject.org> |
524 | 690 | |
525 | * po/zh_CN.po: | |
526 | 691 | Sending translation for Chinese (Simplified) |
527 | [a2e13f979d94] | |
528 | 692 | |
529 | 693 | 2010-01-21 leahliu <leahliu@fedoraproject.org> |
530 | 694 | |
531 | * po/zh_CN.po: | |
532 | 695 | Sending translation for po/zh_CN.po |
533 | [18b0c5353fef] | |
534 | 696 | |
535 | 697 | 2010-01-21 ypoyarko <ypoyarko@fedoraproject.org> |
536 | 698 | |
537 | * po/ru.po: | |
538 | 699 | Sending translation for po/ru.po |
539 | [f22e478e8046] | |
540 | 700 | |
541 | 701 | 2010-01-21 mospina <mospina@fedoraproject.org> |
542 | 702 | |
543 | * po/es.po: | |
544 | 703 | Sending translation for po/es.po |
545 | [cd6be7781059] | |
546 | 704 | |
547 | 705 | 2010-01-21 swkothar <swkothar@fedoraproject.org> |
548 | 706 | |
549 | * po/gu.po: | |
550 | 707 | Sending translation for po/gu.po |
551 | [ed59815240d9] | |
552 | 708 | |
553 | 709 | 2010-01-18 renault <renault@fedoraproject.org> |
554 | 710 | |
555 | * po/fr.po: | |
556 | 711 | 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 | ||
562 | 715 | Added tag release-0.2.1 for changeset 13bcca43c859 |
563 | [236029760251] | |
564 | ||
565 | * AUTHORS, ChangeLog, NEWS, README, configure.ac: | |
716 | ||
566 | 717 | Updates for 0.2.1 release |
567 | [13bcca43c859] [release-0.2.1] | |
568 | 718 | |
569 | 719 | 2010-01-13 raven <raven@fedoraproject.org> |
570 | 720 | |
571 | * po/pl.po: | |
572 | 721 | 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 | ||
578 | 725 | Add message dialog displays for important error scenarios |
579 | [6d1f30e5fb71] | |
580 | ||
581 | * src/auth.glade: | |
726 | ||
582 | 727 | 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 | ||
592 | 731 | Turn on automake's silent build rules if available |
593 | [d388340febbc] | |
594 | ||
595 | * src/main.c, src/viewer.c: | |
732 | ||
596 | 733 | Various cleanups for Glib/GTK and BZ 474213 |
597 | [c13f1d31eab7] | |
598 | 734 | |
599 | 735 | 2010-01-11 raven <raven@fedoraproject.org> |
600 | 736 | |
601 | * po/pl.po: | |
602 | 737 | 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 | |
613 | 742 | |
614 | 743 | 2010-01-11 raven <raven@fedoraproject.org> |
615 | 744 | |
616 | * po/pl.po, po/virt-viewer.pot: | |
617 | 745 | 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 | ||
625 | 749 | 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 | ||
634 | 755 | 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 | ||
646 | 763 | Added tag release-0.2.0 for changeset b38a2c67ebfd |
647 | [99ba88ee7820] | |
648 | ||
649 | * NEWS, configure.ac, virt-viewer.spec.in: | |
764 | ||
650 | 765 | 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 | ||
659 | 769 | Update deps in rpm |
660 | [d5ef17c7856e] | |
661 | ||
662 | * src/viewer.c: | |
770 | ||
663 | 771 | Ensure VNC display is centered if being scaled |
664 | [f5e758b7a271] | |
665 | ||
666 | * src/auth.glade: | |
772 | ||
667 | 773 | 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 | ||
671 | 775 | 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 | ||
677 | 777 | 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 | ||
685 | 781 | Make plugin work again |
686 | [68646d3db76d] | |
687 | ||
688 | * src/viewer.c: | |
782 | ||
689 | 783 | Add compatability logic for drivers without domain event support |
690 | [c29276a0f2ec] | |
691 | ||
692 | * src/viewer.c: | |
784 | ||
693 | 785 | 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 | ||
704 | 789 | 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 | |
712 | 793 | * 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 | ||
716 | 795 | Add a --debug command line flag |
717 | [1a3b36e0b6f2] | |
718 | ||
719 | * src/viewer.c: | |
796 | ||
720 | 797 | 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 | ||
725 | 799 | 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 | ||
732 | 803 | Initial mingw32 build support |
733 | [92da1556bbf9] | |
734 | ||
735 | * src/main.c: | |
804 | ||
736 | 805 | Use g_strdup & friends |
737 | [029b506ca4cf] | |
738 | ||
739 | * configure.ac, src/main.c, src/usleep.c: | |
806 | ||
740 | 807 | 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 | ||
757 | 815 | 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 | ||
774 | 824 | 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 | ||
780 | 828 | 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 | ||
793 | 836 | 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 | ||
799 | 840 | 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 | ||
805 | 844 | 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 | ||
811 | 848 | Added tag release-0.0.3 for changeset 05f9c167354b |
812 | [5d426425c850] | |
813 | ||
814 | * ChangeLog, NEWS: | |
849 | ||
815 | 850 | 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 | ||
821 | 854 | 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 | ||
827 | 858 | 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 | ||
833 | 862 | Disable scaling by default if running on composited window |
834 | [aadb3fb8316e] | |
835 | ||
836 | * src/main.c: | |
863 | ||
837 | 864 | Block view menu accelerator & remove debug |
838 | [01e11e3566ff] | |
839 | ||
840 | * src/main.c, virt-viewer.spec.in: | |
865 | ||
841 | 866 | 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 | ||
854 | 872 | Disable menu accelerators when keyboard is grabbed (Chris Lalancett) |
855 | [50ed4d0b0632] | |
856 | ||
857 | * autogen.sh: | |
873 | ||
858 | 874 | 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 | ||
867 | 878 | Added browser plugin (Richard Jones) |
868 | [09761c04bdcd] | |
869 | ||
870 | * AUTHORS, src/Makefile.am, src/main.c, src/viewer.h: | |
879 | ||
871 | 880 | 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 | ||
877 | 884 | Whitespace fix |
878 | [fe1efb558b4b] | |
879 | ||
880 | * src/main.c: | |
885 | ||
881 | 886 | 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 | ||
887 | 888 | 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 | ||
893 | 892 | 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 | ||
899 | 896 | Added tag release-0.0.2 for changeset f3accb51c6f5 |
900 | [97f00b8df38a] | |
901 | ||
902 | * src/main.c: | |
897 | ||
903 | 898 | Fix crash with no transport |
904 | [f3accb51c6f5] [release-0.0.2] | |
905 | ||
906 | * ChangeLog, NEWS, configure.ac, virt-viewer.spec.in: | |
899 | ||
907 | 900 | New release 0.0.2 |
908 | [3d88506cc468] | |
909 | ||
910 | * man/virt-viewer.pod: | |
901 | ||
911 | 902 | Document the '--direct' option |
912 | [0d9a8fd612d9] | |
913 | ||
914 | * src/main.c: | |
903 | ||
915 | 904 | Support TLS credentials & improved SSH tunnelling |
916 | [2ca6f1a9ba64] | |
917 | ||
918 | * src/main.c: | |
905 | ||
919 | 906 | 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 | ||
928 | 912 | Added initial ability to connect remote hosts |
929 | [ac9cae161efb] | |
930 | ||
931 | * src/main.c: | |
913 | ||
932 | 914 | Disable debug flag |
933 | [61d8448ba53f] | |
934 | ||
935 | * src/main.c: | |
915 | ||
936 | 916 | 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 | ||
942 | 920 | Added COPYING/INSTALL files |
943 | [1f83ef35bb59] | |
944 | ||
945 | * .hgtags: | |
921 | ||
946 | 922 | Added tag release-0.0.1 for changeset 2b78ab2d18ce |
947 | [916abae9a263] | |
948 | ||
949 | * virt-viewer.spec.in: | |
923 | ||
950 | 924 | Fixed build requires & group. Removed exclusivearch |
951 | [2b78ab2d18ce] [release-0.0.1] | |
952 | ||
953 | * AUTHORS, NEWS, README, virt-viewer.spec.in: | |
925 | ||
954 | 926 | 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 | ||
965 | 934 | 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 | ||
971 | 936 | Initial commit |
972 | [df454dc97f2f] | |
973 |
0 | 0 | Installation Instructions |
1 | 1 | ************************* |
2 | 2 | |
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. | |
8 | 10 | |
9 | 11 | Basic Installation |
10 | 12 | ================== |
11 | 13 | |
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. | |
13 | 22 | |
14 | 23 | The `configure' shell script attempts to guess correct values for |
15 | 24 | various system-dependent variables used during compilation. It uses |
22 | 31 | |
23 | 32 | It can also use an optional file (typically called `config.cache' |
24 | 33 | 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 | |
26 | 35 | disabled by default to prevent problems with accidental use of stale |
27 | cache files.) | |
36 | cache files. | |
28 | 37 | |
29 | 38 | If you need to do unusual things to compile the package, please try |
30 | 39 | to figure out how `configure' could check whether to do them, and mail |
34 | 43 | may remove or edit it. |
35 | 44 | |
36 | 45 | 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: | |
42 | 51 | |
43 | 52 | 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. | |
51 | 57 | |
52 | 58 | 2. Type `make' to compile the package. |
53 | 59 | |
54 | 60 | 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. | |
56 | 62 | |
57 | 63 | 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 | |
61 | 77 | source code directory by typing `make clean'. To also remove the |
62 | 78 | files that `configure' created (so you can compile the package for |
63 | 79 | a different kind of computer), type `make distclean'. There is |
66 | 82 | all sorts of other programs in order to regenerate files that came |
67 | 83 | with the distribution. |
68 | 84 | |
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 | ||
69 | 95 | Compilers and Options |
70 | 96 | ===================== |
71 | 97 | |
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. | |
75 | 101 | |
76 | 102 | You can give `configure' initial values for configuration parameters |
77 | 103 | by setting variables in the command line or in the environment. Here |
78 | 104 | is an example: |
79 | 105 | |
80 | ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix | |
106 | ./configure CC=c99 CFLAGS=-g LIBS=-lposix | |
81 | 107 | |
82 | 108 | *Note Defining Variables::, for more details. |
83 | 109 | |
84 | 110 | Compiling For Multiple Architectures |
85 | 111 | ==================================== |
86 | 112 | |
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 | |
88 | 114 | 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 | |
91 | 116 | directory where you want the object files and executables to go and run |
92 | 117 | 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. | |
100 | 139 | |
101 | 140 | Installation Names |
102 | 141 | ================== |
103 | 142 | |
104 | By default, `make install' installs the package's commands under | |
143 | By default, `make install' installs the package's commands under | |
105 | 144 | `/usr/local/bin', include files under `/usr/local/include', etc. You |
106 | 145 | 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. | |
108 | 148 | |
109 | 149 | You can specify separate installation prefixes for |
110 | 150 | architecture-specific files and architecture-independent files. If you |
115 | 155 | In addition, if you use an unusual directory layout you can give |
116 | 156 | options like `--bindir=DIR' to specify different values for particular |
117 | 157 | 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 | ================= | |
119 | 193 | |
120 | 194 | If the package supports it, you can cause programs to be installed |
121 | 195 | with an extra prefix or suffix on their names by giving `configure' the |
122 | 196 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
123 | 197 | |
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 | |
128 | 199 | `configure', where FEATURE indicates an optional part of the package. |
129 | 200 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
130 | 201 | is something like `gnu-as' or `x' (for the X Window System). The |
136 | 207 | you can use the `configure' options `--x-includes=DIR' and |
137 | 208 | `--x-libraries=DIR' to specify their locations. |
138 | 209 | |
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 | ||
139 | 249 | Specifying the System Type |
140 | 250 | ========================== |
141 | 251 | |
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 | |
147 | 257 | `--build=TYPE' option. TYPE can either be a short name for the system |
148 | 258 | type, such as `sun4', or a canonical name which has the form: |
149 | 259 | |
151 | 261 | |
152 | 262 | where SYSTEM can have one of these forms: |
153 | 263 | |
154 | OS KERNEL-OS | |
264 | OS | |
265 | KERNEL-OS | |
155 | 266 | |
156 | 267 | See the file `config.sub' for the possible values of each field. If |
157 | 268 | `config.sub' isn't included in this package, then this package doesn't |
169 | 280 | Sharing Defaults |
170 | 281 | ================ |
171 | 282 | |
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'. | |
175 | 286 | `configure' looks for `PREFIX/share/config.site' if it exists, then |
176 | 287 | `PREFIX/etc/config.site' if it exists. Or, you can set the |
177 | 288 | `CONFIG_SITE' environment variable to the location of the site script. |
180 | 291 | Defining Variables |
181 | 292 | ================== |
182 | 293 | |
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 | |
184 | 295 | environment passed to `configure'. However, some packages may run |
185 | 296 | configure again during the build, and the customized values of these |
186 | 297 | variables may be lost. In order to avoid this problem, you should set |
189 | 300 | ./configure CC=/usr/local2/bin/gcc |
190 | 301 | |
191 | 302 | 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 | |
198 | 309 | |
199 | 310 | `configure' Invocation |
200 | 311 | ====================== |
201 | 312 | |
202 | `configure' recognizes the following options to control how it operates. | |
313 | `configure' recognizes the following options to control how it | |
314 | operates. | |
203 | 315 | |
204 | 316 | `--help' |
205 | 317 | `-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. | |
207 | 326 | |
208 | 327 | `--version' |
209 | 328 | `-V' |
230 | 349 | Look for the package's source code in directory DIR. Usually |
231 | 350 | `configure' can determine that directory automatically. |
232 | 351 | |
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 | ||
233 | 362 | `configure' also accepts some other, not widely useful, options. Run |
234 | 363 | `configure --help' for more details. |
235 | 364 |
18 | 18 | m4/ltoptions.m4 \ |
19 | 19 | m4/ltsugar.m4 \ |
20 | 20 | 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 |
141 | 141 | FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ |
142 | 142 | FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ |
143 | 143 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
144 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ | |
145 | GLIB2_LIBS = @GLIB2_LIBS@ | |
144 | GMODULE2_CFLAGS = @GMODULE2_CFLAGS@ | |
145 | GMODULE2_LIBS = @GMODULE2_LIBS@ | |
146 | 146 | GMSGFMT = @GMSGFMT@ |
147 | 147 | GREP = @GREP@ |
148 | 148 | GTK_API_VERSION = @GTK_API_VERSION@ |
545 | 545 | || exit 1; \ |
546 | 546 | fi; \ |
547 | 547 | done |
548 | $(MAKE) $(AM_MAKEFLAGS) \ | |
549 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ | |
550 | dist-hook | |
548 | 551 | -test -n "$(am__skip_mode_fix)" \ |
549 | 552 | || find "$(distdir)" -type d ! -perm -755 \ |
550 | 553 | -exec chmod u+rwx,go+rx {} \; -o \ |
767 | 770 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
768 | 771 | all all-am am--refresh check check-am clean clean-generic \ |
769 | 772 | 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 \ | |
772 | 775 | distclean-libtool distclean-tags distcleancheck distdir \ |
773 | 776 | distuninstallcheck dvi dvi-am html html-am info info-am \ |
774 | 777 | install install-am install-data install-data-am install-dvi \ |
781 | 784 | ps ps-am tags tags-recursive uninstall uninstall-am |
782 | 785 | |
783 | 786 | |
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 | ||
784 | 800 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
785 | 801 | # Otherwise a system limit (for SysV at least) may be exceeded. |
786 | 802 | .NOEXPORT: |
0 | 0 | Virt Viewer News |
1 | 1 | ================ |
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 | ||
2 | 21 | |
3 | 22 | 0.4.1: Aug 4, 2011 |
4 | 23 | ------------------- |
13 | 13 | |
14 | 14 | ./configure --with-gtk=3.0 (or =2.0) |
15 | 15 | |
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 | |
18 | 18 | |
19 | 19 | http://gtk-vnc.sourceforge.net/ |
20 | 20 | |
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: | |
23 | 23 | |
24 | 24 | 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. | |
25 | 29 | |
26 | 30 | Virt Viewer uses libvirt to lookup information about the |
27 | 31 | guest OS display. This is available from |
7 | 7 | |
8 | 8 | /* Define to 1 if you have the `fork' function. */ |
9 | 9 | #undef HAVE_FORK |
10 | ||
11 | /* Have gtk-vnc? */ | |
12 | #undef HAVE_GTK_VNC | |
10 | 13 | |
11 | 14 | /* Define to 1 if you have the <inttypes.h> header file. */ |
12 | 15 | #undef HAVE_INTTYPES_H |
0 | 0 | #! /bin/sh |
1 | 1 | # 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. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
566 | 566 | # Identity of this package. |
567 | 567 | PACKAGE_NAME='virt-viewer' |
568 | 568 | 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' | |
571 | 571 | PACKAGE_BUGREPORT='' |
572 | 572 | PACKAGE_URL='' |
573 | 573 | |
625 | 625 | HAVE_SPICE_GTK_TRUE |
626 | 626 | SPICE_GTK_LIBS |
627 | 627 | SPICE_GTK_CFLAGS |
628 | HAVE_GTK_VNC_FALSE | |
629 | HAVE_GTK_VNC_TRUE | |
628 | 630 | GTK_VNC_LIBS |
629 | 631 | GTK_VNC_CFLAGS |
630 | 632 | GTK_LIBS |
640 | 642 | LIBVIRT_CFLAGS |
641 | 643 | LIBXML2_LIBS |
642 | 644 | LIBXML2_CFLAGS |
643 | GLIB2_LIBS | |
644 | GLIB2_CFLAGS | |
645 | GMODULE2_LIBS | |
646 | GMODULE2_CFLAGS | |
645 | 647 | PKG_CONFIG_LIBDIR |
646 | 648 | PKG_CONFIG_PATH |
647 | 649 | PKG_CONFIG |
802 | 804 | enable_iso_c |
803 | 805 | enable_nls |
804 | 806 | with_gtk |
807 | with_gtk_vnc | |
805 | 808 | with_spice_gtk |
806 | 809 | enable_plugin |
807 | 810 | ' |
817 | 820 | PKG_CONFIG |
818 | 821 | PKG_CONFIG_PATH |
819 | 822 | PKG_CONFIG_LIBDIR |
820 | GLIB2_CFLAGS | |
821 | GLIB2_LIBS | |
823 | GMODULE2_CFLAGS | |
824 | GMODULE2_LIBS | |
822 | 825 | LIBXML2_CFLAGS |
823 | 826 | LIBXML2_LIBS |
824 | 827 | LIBVIRT_CFLAGS |
1377 | 1380 | # Omit some internal or obsolete options to make the list less imposing. |
1378 | 1381 | # This message is too long to be a string in the A/UX 3.1 sh. |
1379 | 1382 | 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. | |
1381 | 1384 | |
1382 | 1385 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1383 | 1386 | |
1447 | 1450 | |
1448 | 1451 | if test -n "$ac_init_help"; then |
1449 | 1452 | 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:";; | |
1451 | 1454 | esac |
1452 | 1455 | cat <<\_ACEOF |
1453 | 1456 | |
1479 | 1482 | --with-sysroot=DIR Search for dependent libraries within DIR |
1480 | 1483 | (or the compiler's sysroot if not specified). |
1481 | 1484 | --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 | |
1482 | 1486 | --without-spice-gtk Ignore presence of spice-gtk and disable it |
1483 | 1487 | |
1484 | 1488 | Some influential environment variables: |
1495 | 1499 | directories to add to pkg-config's search path |
1496 | 1500 | PKG_CONFIG_LIBDIR |
1497 | 1501 | 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 | |
1501 | 1506 | LIBXML2_CFLAGS |
1502 | 1507 | C compiler flags for LIBXML2, overriding pkg-config |
1503 | 1508 | LIBXML2_LIBS |
1593 | 1598 | test -n "$ac_init_help" && exit $ac_status |
1594 | 1599 | if $ac_init_version; then |
1595 | 1600 | cat <<\_ACEOF |
1596 | virt-viewer configure 0.4.1 | |
1601 | virt-viewer configure 0.4.2 | |
1597 | 1602 | generated by GNU Autoconf 2.68 |
1598 | 1603 | |
1599 | 1604 | Copyright (C) 2010 Free Software Foundation, Inc. |
1958 | 1963 | This file contains any messages produced by compilers while |
1959 | 1964 | running configure, to aid debugging if configure makes a mistake. |
1960 | 1965 | |
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 | |
1962 | 1967 | generated by GNU Autoconf 2.68. Invocation command line was |
1963 | 1968 | |
1964 | 1969 | $ $0 $@ |
2776 | 2781 | |
2777 | 2782 | # Define the identity of the package. |
2778 | 2783 | PACKAGE='virt-viewer' |
2779 | VERSION='0.4.1' | |
2784 | VERSION='0.4.2' | |
2780 | 2785 | |
2781 | 2786 | |
2782 | 2787 | cat >>confdefs.h <<_ACEOF |
2903 | 2908 | AM_BACKSLASH='\' |
2904 | 2909 | |
2905 | 2910 | |
2906 | GLIB2_REQUIRED=2.12.0 | |
2911 | GMODULE2_REQUIRED=2.12.0 | |
2907 | 2912 | LIBXML2_REQUIRED="2.6.0" |
2908 | 2913 | LIBVIRT_REQUIRED="0.6.0" |
2909 | 2914 | GTK2_REQUIRED="2.12.0" |
2910 | 2915 | GTK3_REQUIRED="3.0" |
2911 | GTK_VNC_REQUIRED="0.3.8" | |
2916 | GTK_VNC_REQUIRED="0.4.3" | |
2912 | 2917 | SPICE_GTK_REQUIRED="0.6" |
2913 | 2918 | |
2914 | 2919 | ac_ext=c |
12275 | 12280 | fi |
12276 | 12281 | |
12277 | 12282 | 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" | |
12283 | 12288 | elif test -n "$PKG_CONFIG"; then |
12284 | 12289 | 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 | |
12287 | 12292 | ac_status=$? |
12288 | 12293 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12289 | 12294 | 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` | |
12291 | 12296 | else |
12292 | 12297 | pkg_failed=yes |
12293 | 12298 | fi |
12294 | 12299 | else |
12295 | 12300 | pkg_failed=untried |
12296 | 12301 | 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" | |
12299 | 12304 | elif test -n "$PKG_CONFIG"; then |
12300 | 12305 | 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 | |
12303 | 12308 | ac_status=$? |
12304 | 12309 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12305 | 12310 | 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` | |
12307 | 12312 | else |
12308 | 12313 | pkg_failed=yes |
12309 | 12314 | fi |
12323 | 12328 | _pkg_short_errors_supported=no |
12324 | 12329 | fi |
12325 | 12330 | 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` | |
12327 | 12332 | 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` | |
12329 | 12334 | fi |
12330 | 12335 | # 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 | |
12336 | 12341 | |
12337 | 12342 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
12338 | 12343 | installed software in a non-standard prefix. |
12339 | 12344 | |
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. | |
12342 | 12347 | See the pkg-config man page for more details." "$LINENO" 5 |
12343 | 12348 | |
12344 | 12349 | elif test $pkg_failed = untried; then |
12350 | 12355 | is in your PATH or set the PKG_CONFIG environment variable to the full |
12351 | 12356 | path to pkg-config. |
12352 | 12357 | |
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. | |
12355 | 12360 | See the pkg-config man page for more details. |
12356 | 12361 | |
12357 | 12362 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
12358 | 12363 | See \`config.log' for more details" "$LINENO" 5; } |
12359 | 12364 | |
12360 | 12365 | 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 | |
12363 | 12368 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12364 | 12369 | $as_echo "yes" >&6; } |
12365 | 12370 | |
12689 | 12694 | fi |
12690 | 12695 | |
12691 | 12696 | |
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 | ||
12692 | 12705 | pkg_failed=no |
12693 | 12706 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_VNC" >&5 |
12694 | 12707 | $as_echo_n "checking for GTK_VNC... " >&6; } |
12745 | 12758 | # Put the nasty error message in config.log where it belongs |
12746 | 12759 | echo "$GTK_VNC_PKG_ERRORS" >&5 |
12747 | 12760 | |
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 | |
12759 | 12762 | elif test $pkg_failed = untried; then |
12760 | 12763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12761 | 12764 | $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 | |
12775 | 12766 | else |
12776 | 12767 | GTK_VNC_CFLAGS=$pkg_cv_GTK_VNC_CFLAGS |
12777 | 12768 | GTK_VNC_LIBS=$pkg_cv_GTK_VNC_LIBS |
12778 | 12769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12779 | 12770 | $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 | ||
12782 | 12796 | |
12783 | 12797 | |
12784 | 12798 | # Check whether --with-spice-gtk was given. |
13417 | 13431 | as_fn_error $? "conditional \"HAVE_GTK_3\" was never defined. |
13418 | 13432 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13419 | 13433 | 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 | |
13420 | 13438 | if test -z "${HAVE_SPICE_GTK_TRUE}" && test -z "${HAVE_SPICE_GTK_FALSE}"; then |
13421 | 13439 | as_fn_error $? "conditional \"HAVE_SPICE_GTK\" was never defined. |
13422 | 13440 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13834 | 13852 | # report actual input values of CONFIG_FILES etc. instead of their |
13835 | 13853 | # values after options handling. |
13836 | 13854 | 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 | |
13838 | 13856 | generated by GNU Autoconf 2.68. Invocation command line was |
13839 | 13857 | |
13840 | 13858 | CONFIG_FILES = $CONFIG_FILES |
13900 | 13918 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13901 | 13919 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
13902 | 13920 | ac_cs_version="\\ |
13903 | virt-viewer config.status 0.4.1 | |
13921 | virt-viewer config.status 0.4.2 | |
13904 | 13922 | configured by $0, generated by GNU Autoconf 2.68, |
13905 | 13923 | with options \\"\$ac_cs_config\\" |
13906 | 13924 | |
15696 | 15714 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15697 | 15715 | fi |
15698 | 15716 | |
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;} |
0 | 0 | |
1 | AC_INIT(virt-viewer, 0.4.1) | |
1 | AC_INIT(virt-viewer, 0.4.2) | |
2 | 2 | AC_CONFIG_SRCDIR(src/virt-viewer-main.c) |
3 | 3 | AM_CONFIG_HEADER(config.h) |
4 | 4 | dnl Make automake keep quiet about wildcards & other GNUmake-isms |
9 | 9 | m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) |
10 | 10 | AM_SILENT_RULES([yes]) |
11 | 11 | |
12 | GLIB2_REQUIRED=2.12.0 | |
12 | GMODULE2_REQUIRED=2.12.0 | |
13 | 13 | LIBXML2_REQUIRED="2.6.0" |
14 | 14 | LIBVIRT_REQUIRED="0.6.0" |
15 | 15 | GTK2_REQUIRED="2.12.0" |
16 | 16 | GTK3_REQUIRED="3.0" |
17 | GTK_VNC_REQUIRED="0.3.8" | |
17 | GTK_VNC_REQUIRED="0.4.3" | |
18 | 18 | SPICE_GTK_REQUIRED="0.6" |
19 | 19 | |
20 | 20 | AC_PROG_CC |
34 | 34 | IT_PROG_INTLTOOL([0.35.0]) |
35 | 35 | |
36 | 36 | |
37 | PKG_CHECK_MODULES(GLIB2, gmodule-export-2.0 >= $GLIB2_REQUIRED) | |
37 | PKG_CHECK_MODULES(GMODULE2, gmodule-export-2.0 >= $GMODULE2_REQUIRED) | |
38 | 38 | PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= $LIBXML2_REQUIRED) |
39 | 39 | PKG_CHECK_MODULES(LIBVIRT, libvirt >= $LIBVIRT_REQUIRED) |
40 | 40 | |
69 | 69 | |
70 | 70 | PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) |
71 | 71 | |
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"]) | |
73 | 88 | |
74 | 89 | AC_ARG_WITH([spice-gtk], |
75 | 90 | AS_HELP_STRING([--without-spice-gtk], [Ignore presence of spice-gtk and disable it])) |
122 | 137 | plugin/Makefile |
123 | 138 | virt-viewer.spec |
124 | 139 | 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([]) |
109 | 109 | FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ |
110 | 110 | FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ |
111 | 111 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
112 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ | |
113 | GLIB2_LIBS = @GLIB2_LIBS@ | |
112 | GMODULE2_CFLAGS = @GMODULE2_CFLAGS@ | |
113 | GMODULE2_LIBS = @GMODULE2_LIBS@ | |
114 | 114 | GMSGFMT = @GMSGFMT@ |
115 | 115 | GREP = @GREP@ |
116 | 116 | GTK_API_VERSION = @GTK_API_VERSION@ |
2 | 2 | %define _use_internal_dependency_generator 0 |
3 | 3 | %define __find_requires %{_mingw32_findrequires} |
4 | 4 | %define __find_provides %{_mingw32_findprovides} |
5 | ||
6 | %define with_gtk3 0 | |
7 | %if 0%{?fedora} >= 15 | |
8 | %define with_gtk3 1 | |
9 | %endif | |
5 | 10 | |
6 | 11 | Name: mingw32-virt-viewer |
7 | 12 | Version: @VERSION@ |
15 | 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
16 | 21 | |
17 | 22 | BuildRequires: mingw32-filesystem >= 23 |
23 | %if %{with_gtk3} | |
24 | BuildRequires: mingw32-gtk3 >= 3.0.0 | |
25 | %else | |
18 | 26 | BuildRequires: mingw32-gtk2 >= 2.12.0 |
27 | %endif | |
19 | 28 | BuildRequires: mingw32-libvirt >= 0.6.0 |
20 | 29 | 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 | |
22 | 35 | BuildRequires: pkgconfig |
23 | 36 | |
24 | 37 | BuildArch: noarch |
33 | 46 | |
34 | 47 | |
35 | 48 | %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 | |
37 | 54 | make |
38 | 55 | |
39 | 56 | |
61 | 78 | %{_mingw32_mandir}/man1/virt-viewer.1* |
62 | 79 | |
63 | 80 | %changelog |
64 | * Fri Nov 28 2008 Daniel P. Berrange <berrange@redhat.com> - 0.0.4-1 | |
65 | - Initial release | |
66 |
155 | 155 | FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ |
156 | 156 | FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ |
157 | 157 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
158 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ | |
159 | GLIB2_LIBS = @GLIB2_LIBS@ | |
158 | GMODULE2_CFLAGS = @GMODULE2_CFLAGS@ | |
159 | GMODULE2_LIBS = @GMODULE2_LIBS@ | |
160 | 160 | GMSGFMT = @GMSGFMT@ |
161 | 161 | GREP = @GREP@ |
162 | 162 | 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 | ||
1 | 0 | bin_PROGRAMS = virt-viewer |
2 | 1 | |
3 | 2 | builderxmldir = $(pkgdatadir)/ui |
16 | 15 | virt-viewer-events.h virt-viewer-events.c \ |
17 | 16 | virt-viewer-app.h virt-viewer-app.c \ |
18 | 17 | virt-viewer-session.h virt-viewer-session.c \ |
19 | virt-viewer-session-vnc.h virt-viewer-session-vnc.c \ | |
20 | 18 | virt-viewer-display.h virt-viewer-display.c \ |
21 | virt-viewer-display-vnc.h virt-viewer-display-vnc.c \ | |
22 | 19 | virt-viewer-notebook.h virt-viewer-notebook.c \ |
23 | 20 | virt-viewer-window.h virt-viewer-window.c \ |
24 | 21 | view/autoDrawer.c \ |
28 | 25 | view/ovBox.c \ |
29 | 26 | view/ovBox.h |
30 | 27 | |
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 | |
31 | 33 | |
32 | 34 | if HAVE_SPICE_GTK |
33 | 35 | virt_viewer_SOURCES += \ |
38 | 40 | virt_viewer_LDADD = \ |
39 | 41 | @GTK_VNC_LIBS@ \ |
40 | 42 | @SPICE_GTK_LIBS@ \ |
41 | @GLIB2_LIBS@ \ | |
43 | @GMODULE2_LIBS@ \ | |
42 | 44 | @GTK_LIBS@ \ |
43 | 45 | @LIBXML2_LIBS@ \ |
44 | 46 | @LIBVIRT_LIBS@ |
46 | 48 | virt_viewer_CFLAGS = \ |
47 | 49 | @GTK_VNC_CFLAGS@ \ |
48 | 50 | @SPICE_GTK_CFLAGS@ \ |
49 | @GLIB2_CFLAGS@ \ | |
51 | @GMODULE2_CFLAGS@ \ | |
50 | 52 | @GTK_CFLAGS@ \ |
51 | 53 | @LIBXML2_CFLAGS@ \ |
52 | 54 | @LIBVIRT_CFLAGS@ \ |
53 | 55 | @WARN_CFLAGS@ \ |
54 | -DBUILDER_XML_DIR="\"$(builderxmldir)\"" \ | |
55 | 56 | -DLOCALE_DIR=\""$(datadir)/locale"\" |
35 | 35 | build_triplet = @build@ |
36 | 36 | host_triplet = @host@ |
37 | 37 | 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 = \ | |
39 | 43 | @HAVE_SPICE_GTK_TRUE@ virt-viewer-session-spice.h virt-viewer-session-spice.c \ |
40 | 44 | @HAVE_SPICE_GTK_TRUE@ virt-viewer-display-spice.h virt-viewer-display-spice.c |
41 | 45 | |
59 | 63 | virt-viewer-auth.h virt-viewer-auth.c virt-viewer-events.h \ |
60 | 64 | virt-viewer-events.c virt-viewer-app.h virt-viewer-app.c \ |
61 | 65 | virt-viewer-session.h virt-viewer-session.c \ |
62 | virt-viewer-session-vnc.h virt-viewer-session-vnc.c \ | |
63 | 66 | virt-viewer-display.h virt-viewer-display.c \ |
64 | virt-viewer-display-vnc.h virt-viewer-display-vnc.c \ | |
65 | 67 | virt-viewer-notebook.h virt-viewer-notebook.c \ |
66 | 68 | virt-viewer-window.h virt-viewer-window.c view/autoDrawer.c \ |
67 | 69 | 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 \ | |
69 | 73 | virt-viewer-session-spice.c virt-viewer-display-spice.h \ |
70 | 74 | 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) \ | |
72 | 78 | @HAVE_SPICE_GTK_TRUE@ virt_viewer-virt-viewer-display-spice.$(OBJEXT) |
73 | 79 | am_virt_viewer_OBJECTS = virt_viewer-virt-viewer-main.$(OBJEXT) \ |
74 | 80 | virt_viewer-virt-viewer.$(OBJEXT) \ |
77 | 83 | virt_viewer-virt-viewer-events.$(OBJEXT) \ |
78 | 84 | virt_viewer-virt-viewer-app.$(OBJEXT) \ |
79 | 85 | virt_viewer-virt-viewer-session.$(OBJEXT) \ |
80 | virt_viewer-virt-viewer-session-vnc.$(OBJEXT) \ | |
81 | 86 | virt_viewer-virt-viewer-display.$(OBJEXT) \ |
82 | virt_viewer-virt-viewer-display-vnc.$(OBJEXT) \ | |
83 | 87 | virt_viewer-virt-viewer-notebook.$(OBJEXT) \ |
84 | 88 | virt_viewer-virt-viewer-window.$(OBJEXT) \ |
85 | 89 | 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) | |
87 | 91 | virt_viewer_OBJECTS = $(am_virt_viewer_OBJECTS) |
88 | 92 | virt_viewer_DEPENDENCIES = |
89 | 93 | AM_V_lt = $(am__v_lt_$(V)) |
175 | 179 | FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ |
176 | 180 | FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ |
177 | 181 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
178 | GLIB2_CFLAGS = @GLIB2_CFLAGS@ | |
179 | GLIB2_LIBS = @GLIB2_LIBS@ | |
182 | GMODULE2_CFLAGS = @GMODULE2_CFLAGS@ | |
183 | GMODULE2_LIBS = @GMODULE2_LIBS@ | |
180 | 184 | GMSGFMT = @GMSGFMT@ |
181 | 185 | GREP = @GREP@ |
182 | 186 | GTK_API_VERSION = @GTK_API_VERSION@ |
307 | 311 | virt-viewer-util.h virt-viewer-util.c virt-viewer-auth.h \ |
308 | 312 | virt-viewer-auth.c virt-viewer-events.h virt-viewer-events.c \ |
309 | 313 | 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 \ | |
314 | 316 | virt-viewer-notebook.c virt-viewer-window.h \ |
315 | 317 | virt-viewer-window.c view/autoDrawer.c view/autoDrawer.h \ |
316 | 318 | view/drawer.c view/drawer.h view/ovBox.c view/ovBox.h \ |
317 | $(am__append_1) | |
319 | $(am__append_1) $(am__append_2) | |
318 | 320 | virt_viewer_LDADD = \ |
319 | 321 | @GTK_VNC_LIBS@ \ |
320 | 322 | @SPICE_GTK_LIBS@ \ |
321 | @GLIB2_LIBS@ \ | |
323 | @GMODULE2_LIBS@ \ | |
322 | 324 | @GTK_LIBS@ \ |
323 | 325 | @LIBXML2_LIBS@ \ |
324 | 326 | @LIBVIRT_LIBS@ |
326 | 328 | virt_viewer_CFLAGS = \ |
327 | 329 | @GTK_VNC_CFLAGS@ \ |
328 | 330 | @SPICE_GTK_CFLAGS@ \ |
329 | @GLIB2_CFLAGS@ \ | |
331 | @GMODULE2_CFLAGS@ \ | |
330 | 332 | @GTK_CFLAGS@ \ |
331 | 333 | @LIBXML2_CFLAGS@ \ |
332 | 334 | @LIBVIRT_CFLAGS@ \ |
333 | 335 | @WARN_CFLAGS@ \ |
334 | -DBUILDER_XML_DIR="\"$(builderxmldir)\"" \ | |
335 | 336 | -DLOCALE_DIR=\""$(datadir)/locale"\" |
336 | 337 | |
337 | 338 | all: all-am |
575 | 576 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
576 | 577 | @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` |
577 | 578 | |
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 | ||
578 | 675 | virt_viewer-virt-viewer-session-vnc.o: virt-viewer-session-vnc.c |
579 | 676 | @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 |
580 | 677 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Tpo $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Po |
591 | 688 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
592 | 689 | @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` |
593 | 690 | |
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 | ||
610 | 691 | virt_viewer-virt-viewer-display-vnc.o: virt-viewer-display-vnc.c |
611 | 692 | @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 |
612 | 693 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Po |
622 | 703 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-viewer-display-vnc.c' object='virt_viewer-virt-viewer-display-vnc.obj' libtool=no @AMDEPBACKSLASH@ |
623 | 704 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
624 | 705 | @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` | |
705 | 706 | |
706 | 707 | virt_viewer-virt-viewer-session-spice.o: virt-viewer-session-spice.c |
707 | 708 | @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 |
53 | 53 | #include "virt-viewer-auth.h" |
54 | 54 | #include "virt-viewer-window.h" |
55 | 55 | #include "virt-viewer-session.h" |
56 | #ifdef HAVE_GTK_VNC | |
56 | 57 | #include "virt-viewer-session-vnc.h" |
58 | #endif | |
57 | 59 | #ifdef HAVE_SPICE_GTK |
58 | 60 | #include "virt-viewer-session-spice.h" |
59 | 61 | #endif |
120 | 122 | char *pretty_address; |
121 | 123 | gchar *guest_name; |
122 | 124 | gboolean grabbed; |
125 | char *title; | |
123 | 126 | }; |
124 | 127 | |
125 | 128 | |
134 | 137 | PROP_SESSION, |
135 | 138 | PROP_GUEST_NAME, |
136 | 139 | PROP_FULLSCREEN, |
140 | PROP_TITLE, | |
137 | 141 | }; |
138 | 142 | |
139 | 143 | void |
253 | 257 | return FALSE; |
254 | 258 | } |
255 | 259 | |
256 | void | |
260 | G_MODULE_EXPORT void | |
257 | 261 | virt_viewer_app_about_close(GtkWidget *dialog, |
258 | 262 | VirtViewerApp *self G_GNUC_UNUSED) |
259 | 263 | { |
261 | 265 | gtk_widget_destroy(dialog); |
262 | 266 | } |
263 | 267 | |
264 | void | |
268 | G_MODULE_EXPORT void | |
265 | 269 | virt_viewer_app_about_delete(GtkWidget *dialog, |
266 | 270 | void *dummy G_GNUC_UNUSED, |
267 | 271 | VirtViewerApp *self G_GNUC_UNUSED) |
318 | 322 | int n = 0; |
319 | 323 | |
320 | 324 | cmd[n++] = "ssh"; |
321 | if (!sshport) { | |
325 | if (sshport) { | |
322 | 326 | cmd[n++] = "-p"; |
323 | 327 | sprintf(portstr, "%d", sshport); |
324 | 328 | cmd[n++] = portstr; |
385 | 389 | } |
386 | 390 | } |
387 | 391 | |
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 | ||
388 | 420 | static void update_title(gpointer key G_GNUC_UNUSED, |
389 | 421 | gpointer value, |
390 | 422 | gpointer user_data G_GNUC_UNUSED) |
425 | 457 | key = g_malloc(sizeof(gint)); |
426 | 458 | *key = nth; |
427 | 459 | g_hash_table_insert(self->priv->windows, key, win); |
460 | virt_viewer_app_set_window_subtitle(self, win, nth); | |
428 | 461 | } |
429 | 462 | |
430 | 463 | static void |
445 | 478 | "app", self, |
446 | 479 | "container", container, |
447 | 480 | 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)); | |
448 | 483 | virt_viewer_app_set_nth_window(self, nth, window); |
449 | 484 | w = virt_viewer_window_get_window(window); |
450 | 485 | |
540 | 575 | VirtViewerAppPrivate *priv = self->priv; |
541 | 576 | g_return_val_if_fail(priv->session == NULL, -1); |
542 | 577 | |
578 | #ifdef HAVE_GTK_VNC | |
543 | 579 | if (g_strcasecmp(type, "vnc") == 0) { |
544 | 580 | virt_viewer_app_trace(self, "Guest %s has a %s display\n", |
545 | 581 | priv->guest_name, type); |
546 | 582 | priv->session = virt_viewer_session_vnc_new(); |
547 | 583 | } else |
584 | #endif | |
548 | 585 | #ifdef HAVE_SPICE_GTK |
549 | 586 | if (g_strcasecmp(type, "spice") == 0) { |
550 | 587 | virt_viewer_app_trace(self, "Guest %s has a %s display\n", |
634 | 671 | if (priv->transport && |
635 | 672 | g_strcasecmp(priv->transport, "ssh") == 0 && |
636 | 673 | !priv->direct) { |
674 | gchar *p = NULL; | |
675 | ||
637 | 676 | if (priv->gport) { |
638 | 677 | virt_viewer_app_trace(self, "Opening indirect TCP connection to display at %s:%s\n", |
639 | 678 | priv->ghost, priv->gport); |
641 | 680 | virt_viewer_app_trace(self, "Opening indirect UNIX connection to display at %s\n", |
642 | 681 | priv->unixsock); |
643 | 682 | } |
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); | |
646 | 691 | |
647 | 692 | if ((fd = virt_viewer_app_open_tunnel_ssh(priv->host, priv->port, |
648 | 693 | priv->user, priv->ghost, |
940 | 985 | g_value_set_boolean(value, priv->fullscreen); |
941 | 986 | break; |
942 | 987 | |
988 | case PROP_TITLE: | |
989 | g_value_set_string(value, priv->title); | |
990 | break; | |
991 | ||
943 | 992 | default: |
944 | 993 | G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); |
945 | 994 | } |
972 | 1021 | virt_viewer_app_set_fullscreen(self, g_value_get_boolean(value)); |
973 | 1022 | break; |
974 | 1023 | |
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 | ||
975 | 1030 | default: |
976 | 1031 | G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); |
977 | 1032 | } |
997 | 1052 | g_object_unref(priv->container); |
998 | 1053 | priv->container = NULL; |
999 | 1054 | } |
1055 | g_free(priv->title); | |
1000 | 1056 | |
1001 | 1057 | virt_viewer_app_free_connect_info(self); |
1002 | 1058 | |
1125 | 1181 | G_PARAM_READABLE | |
1126 | 1182 | G_PARAM_WRITABLE | |
1127 | 1183 | 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 | ||
1128 | 1194 | } |
1129 | 1195 | |
1130 | 1196 | void |
1310 | 1376 | priv->transport = g_strdup(transport); |
1311 | 1377 | priv->unixsock = g_strdup(unixsock); |
1312 | 1378 | priv->user = g_strdup(user); |
1313 | priv->port = 0; | |
1379 | priv->port = port; | |
1314 | 1380 | |
1315 | 1381 | virt_viewer_app_update_pretty_address(self); |
1316 | 1382 | } |
1356 | 1422 | |
1357 | 1423 | g_hash_table_foreach(self->priv->windows, show_status_cb, text); |
1358 | 1424 | 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); | |
1359 | 1442 | } |
1360 | 1443 | |
1361 | 1444 | /* |
77 | 77 | gint port); |
78 | 78 | gboolean virt_viewer_app_window_set_visible(VirtViewerApp *self, VirtViewerWindow *window, gboolean visible); |
79 | 79 | void virt_viewer_app_show_status(VirtViewerApp *self, const gchar *fmt, ...); |
80 | void virt_viewer_app_show_display(VirtViewerApp *self); | |
80 | 81 | |
81 | 82 | G_END_DECLS |
82 | 83 |
21 | 21 | |
22 | 22 | #include <config.h> |
23 | 23 | |
24 | #include <vncdisplay.h> | |
25 | 24 | #include <gtk/gtk.h> |
26 | 25 | #include <string.h> |
26 | ||
27 | #ifdef HAVE_GTK_VNC | |
28 | #include <vncdisplay.h> | |
29 | #endif | |
27 | 30 | |
28 | 31 | #include "virt-viewer-auth.h" |
29 | 32 | |
87 | 90 | return response == GTK_RESPONSE_OK ? 0 : -1; |
88 | 91 | } |
89 | 92 | |
93 | #ifdef HAVE_GTK_VNC | |
90 | 94 | void |
91 | 95 | virt_viewer_auth_vnc_credentials(GtkWidget *vnc, |
92 | 96 | GValueArray *credList, |
166 | 170 | g_free(username); |
167 | 171 | g_free(password); |
168 | 172 | } |
169 | ||
173 | #endif | |
170 | 174 | |
171 | 175 | |
172 | 176 | int |
121 | 121 | DEBUG_LOG("spice desktop resize %dx%d", width, height); |
122 | 122 | |
123 | 123 | 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"); | |
125 | 148 | } |
126 | 149 | |
127 | 150 | |
158 | 181 | "auto-clipboard", TRUE, |
159 | 182 | NULL); |
160 | 183 | |
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 | ||
161 | 191 | return GTK_WIDGET(self); |
162 | 192 | } |
163 | 193 |