Commit Graph

81 Commits

Author SHA1 Message Date
Marc-André Lureau
a52b5ea88c build-sys: add --with-buildid to details build version
Add a configure argument to append build version details, similar to
what Daniel Berrange proposed in the "use finer package version in
mingw-virt-viewer" thread on the ML.
2013-02-12 18:56:33 +01:00
Michal Privoznik
0c212ee8ca configure: Update with autoupdate 2013-02-04 15:15:44 +01:00
Martin Kletzander
1648363b85 Make compilation work with automake 1.13
Just one thing needs to be changed for virt-viewer to build with
automake 1.13, AM_CONFIG_HEADER is deprecated and should be
AC_CONFIG_HEADERS.
2013-02-04 14:53:31 +01:00
Marc-André Lureau
7d9e442ffb remote-viewer: controller sets spice session proxy
Trivial change since spice-gtk now has proxy session property and
controller message, just forward it.
2013-01-31 16:59:02 +01:00
Marc-André Lureau
2798fd2d60 spice: add proxy configuration to connection file 2013-01-29 14:40:24 +01:00
Marc-André Lureau
03c3e4d08e Add virt-viewer-debug.exe NSIS installer
This installer will provide with the tools and configuration needed to
debug virt-viewer & remote-viewer. It will install itself by default in
virt-viewer directory.
2012-11-23 16:05:57 +01:00
Marc-André Lureau
a4805a3bb8 build-sys: add min libvirt version requirement check 2012-11-16 18:19:16 +01:00
Christophe Fergeau
6d35a443da Fix spice-gtk check in configure.ac
The check that at least one of spice-gtk and gtk-vnc is present
uses a wrong variable name to check for spice-gtk presence, which
causes the check to think it's never present. This would make
gtk-vnc presence mandatory. This commit fixes the name of the
spice-gtk variable ($have_gtk_spice -> $have_spice_gtk).
2012-11-15 10:21:03 +01:00
Michal Privoznik
fa39c5335c Reconnect to libvirtd after connection breaks
Currently, if user wants to reconnect to a domain he can use
'-r' cmd line argument. This makes virt-viewer listen to
domain events. However, if connection to libvirtd breaks
somehow, we will receive no longer any event. Hence we must
reconnect to the libvirt.
2012-11-13 15:23:51 +01:00
Guido Günther
7083a07a92 Fail if neither vnc nor spice is detected
Since the viewer makes little sense otherwise.
2012-10-25 12:14:33 +02:00
Daniel P. Berrange
c36c848904 Update for 0.5.4 releae 2012-09-17 11:53:12 +01:00
Daniel P. Berrange
c8e0550a82 Convert to use Mingw64 toolchain for Windows biulds 2012-09-14 17:34:53 +01:00
Marc-André Lureau
c8d20b35bd Bump glib > 2.22, add compat file
We use API from 2.22, and some from further version. Add
virt-glib-compat.h fallback file for those.
2012-07-23 16:27:33 +02:00
Marc-André Lureau
7cf00ea8d2 build: generate enums type boilerplate 2012-07-23 16:27:32 +02:00
Marc-André Lureau
4648dc16e8 spice: improve fullscreen=auto-conf
Do keep client monitor position, do not align monitors automatically.
The align property is only available since v0.12.101.
2012-07-23 16:27:28 +02:00
Marc-André Lureau
ceb38d1c20 Release v0.5.3 2012-05-15 02:45:34 +02:00
Marc-André Lureau
8e1a8b3242 dist: ship .ico in tarball
Some distros (a 4-letters) don't have icotool.
Let's ship the .ico in the tarball.

The build will fail if icoutil is not installed when
building from git or when the .ico is absent. The error
should be explicit.
2012-05-14 23:27:20 +02:00
Daniel P. Berrange
521116f51b Ensure windres & icotool are present on Win32 builds
Builds are failing with an obscure error message

make[3]: Entering directory `/var/lib/builder/source-root/virt-viewer/build/icons'
  GEN    virt-viewer.ico
/bin/sh: -c: command not found
make[3]: *** [virt-viewer.ico] Error 127

This is because configure.ac does not enforce that icotool
is present on Win32.

* configure.ac: Mandate windres & icotool on Win32
2012-04-05 12:07:09 +01:00
Marc-André Lureau
81c2c3bfec build-sys: use git.mk to generate gitignore
This makefile is just fantastic, it forces you into good practices,
support various build targets (my windows builddir ignore the right
files etc..)

The more I use it, the more I like it.
2012-03-30 14:48:13 +02:00
Marc-André Lureau
902b9a71e2 win32: add a few Windows sepecific data
Add application icon and manifest
2012-03-30 14:48:13 +02:00
Marc-André Lureau
b6a7a921a3 Make sure we call g_thread_init()
GThread is needed by spice-gtk
2012-03-09 19:01:35 +01:00
Daniel P. Berrange
df404090ff Fix libvirt/SPICE min versions
We require libvirt >= 0.9.7 to get virDomainOpenGraphics

We require spice-gtk >= 0.11 to get the fix for dealing with
authentication over an SSH tunnel

We requires spice-protocol >= 0.10.1 to get a constant
required by USB redirection
2012-03-09 13:36:22 +00:00
Marc-André Lureau
810d18c956 build: fix autogen message
When running ./autogen.sh on a pristine git checkout, I got:

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
You should add the contents of '/usr/share/aclocal/intltool.m4' to 'aclocal.m4'.
2012-03-07 20:42:43 +01:00
Marc-André Lureau
1a82b225b6 Prepare for release 0.5.2 2012-03-01 16:37:23 +01:00
Marc-Andre Lureau
2c9cdb6fb9 remote-viewer: support spice foreign menu 2012-03-01 15:17:25 +01:00
Marc-André Lureau
9a322010a3 spice: fix connecting via ssh to a password-protected server
spice_session_connect() will attempt to connect directly to the
server, we need to continue calling spice_session_open_fd() for ssh
tunnel to work.
2012-03-01 15:15:02 +01:00
Marc-André Lureau
e2082caa0a remote-viewer: add smartcard controller message 2012-02-22 16:45:11 +01:00
Marc-André Lureau
2601ba1150 Require an accel group for full-screen menu
Bump Gtk depedency to 2.18, since we already use symbols from it.
2012-02-22 16:12:10 +01:00
Daniel P. Berrange
ce726a9a4d Prepare for release 0.5.1 2012-02-17 12:00:14 +00:00
Daniel P. Berrange
c3baafc898 Relax GTK-VNC version again
A previous commit needlessly increased the min required GTK-VNC
2012-02-16 14:44:19 +00:00
Daniel P. Berrange
e1064a5355 Only link remote-viewer program against SPICE controller 2012-02-16 14:37:22 +00:00
Daniel P. Berrange
c1ff4f4624 Update for release 0.5.0 2012-02-14 16:20:07 +00:00
Daniel P. Berrange
c2d114b613 Import a pretty icon for virt-viewer application 2012-02-08 16:41:37 +00:00
Daniel P. Berrange
d9825f3c74 Import GNULIB rules for syntax checking code 2012-02-06 12:42:23 +00:00
Daniel P. Berrange
d7c58a3f2e Replace @FOO@ with $(FOO) in all Makefile.am 2012-02-06 12:42:18 +00:00
Hans de Goede
b272e08541 Add a menu entry for USB device selection 2012-02-06 12:30:08 +00:00
Marc-André Lureau
e2799ecfa6 Add virt-viewer.nsis
Use ${DESTDIR} variable and @prefix@ to look for files.
Can't easily be generated, it has too much customization.
2012-01-31 13:20:26 +00:00
Marc-André Lureau
2dcd3fa617 Remove usage of deprecated property 2012-01-31 13:20:26 +00:00
Marc-André Lureau
944ad9ebd0 build: make libvirt optionnal 2012-01-31 12:36:14 +00:00
Marc-André Lureau
15b9f669a7 Add spice_get_option_group() 2012-01-31 12:36:14 +00:00
Marc-André Lureau
392b69b6db Add spice controller support in remote-viewer
Usage is simply "remote-viewer --spice-controller"
2012-01-31 12:36:14 +00:00
Marc-André Lureau
67284efecf build: use AM_GLIB_GNU_GETTEXT
Using intltool macro only causes build issues on exotic platforms,
such as MinGW.

As long as this bug isn't fixed, we should use AM_GLIB_GNU_GETTEXT
https://bugs.launchpad.net/intltool/+bug/398571

NB this partially reverts

  3473c4bb49

The difference is the ordering of the rules. With AM_GLIB_GNU_GETTEXT
appearing after IT_PROG_INTLTOOL, the --disable-nls arg to configure
is broken. Thus AM_GLIB_GNU_GETTEXT is called first in this change.
2012-01-30 17:32:40 +00:00
Daniel P. Berrange
111d80a8cb Prep for 0.4.2 release 2011-11-09 15:13:11 +00:00
Marc-André Lureau
15cc78d91c build: make gtk-vnc optional 2011-11-07 12:22:15 +00:00
Daniel P. Berrange
9c5f7bfcf2 Require GTK-VNC 0.4.3 and remove redundant realize() call
Remove call to gtk_widget_realize for the GTK-VNC widget. Requires
GTK-VNC >= 0.4.3
2011-11-07 12:14:22 +00:00
Daniel P. Berrange
ea5c75645b Revert 1a56de3aca
The GLIB2 check previously removed was misleading because it in
fact checked for gmodule-export-2.0 which is needed to export
the signal handlers. Revert the previous commit, but rename the
var to GMODULE2 to make it clearer
2011-11-07 11:25:55 +00:00
Daniel P. Berrange
1a56de3aca Remove pkgconfig check for GLIB2 since it is implied by GTK2/3 2011-11-04 11:43:38 +00:00
Daniel P. Berrange
17445242a7 Print configuration summary 2011-11-03 20:36:30 +00:00
Daniel P. Berrange
92672aee3b Update for 0.4.1 release 2011-08-04 11:12:58 +01:00
Daniel P. Berrange
3473c4bb49 Remove use of AM_GLIB_GNU_GETTEXT
Since we already invoke the intltool macros, also invoking
AM_GLIB_GNU_GETTEXT is wrong and causes problems with the
later makefile rules
2011-07-18 13:56:49 +01:00