diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-03-09 12:52:42 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-03-09 13:36:22 +0000 |
commit | df404090ff638bd2eaeab47dfefa7ccac8b2e68e (patch) | |
tree | 18bf72db8d35ec1781dc487f954d7be18eca4a49 | |
parent | 4f142b1f1681e1c987b2e462ad8160675bebed8d (diff) |
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
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | mingw32-virt-viewer.spec.in | 2 | ||||
-rw-r--r-- | virt-viewer.spec.in | 7 |
4 files changed, 10 insertions, 7 deletions
@@ -19,7 +19,7 @@ display of the VNC protocol, which is available from http://gtk-vnc.sourceforge.net/ -Virt Viewer uses the SPICE-GTK (>= 0.9) widget to provide a +Virt Viewer uses the SPICE-GTK (>= 0.11) widget to provide a display of the SPICE protocol, which is available from: http://spice-space.org/page/Spice-Gtk diff --git a/configure.ac b/configure.ac index 82e0627..ee20565 100644 --- a/configure.ac +++ b/configure.ac @@ -13,12 +13,13 @@ AM_SILENT_RULES([yes]) GMODULE2_REQUIRED=2.12.0 LIBXML2_REQUIRED="2.6.0" -LIBVIRT_REQUIRED="0.6.0" +LIBVIRT_REQUIRED="0.9.7" GTK2_REQUIRED="2.18.0" GTK3_REQUIRED="3.0" GTK_VNC1_REQUIRED="0.3.8" GTK_VNC2_REQUIRED="0.4.0" -SPICE_GTK_REQUIRED="0.10.6" +SPICE_GTK_REQUIRED="0.11" +SPICE_PROTOCOL_REQUIRED="0.10.1" AC_PROG_CC AM_PROG_CC_C_O @@ -130,6 +131,7 @@ AS_IF([test "x$with_spice_gtk" != "xno"], AS_IF([test "x$have_spice_gtk" = "xyes"], [PKG_CHECK_MODULES(SPICE_CONTROLLER, [spice-controller])] + [PKG_CHECK_MODULES(SPICE_PROTOCOL, [spice-protocol >= $SPICE_PROTOCOL_REQUIRED])] [AC_DEFINE([HAVE_SPICE_GTK], 1, [Have spice-gtk?])], [AS_IF([test "x$with_spice_gtk" = "xyes"], [AC_MSG_ERROR([spice-gtk requested but not found]) diff --git a/mingw32-virt-viewer.spec.in b/mingw32-virt-viewer.spec.in index 5ca433a..beeb73f 100644 --- a/mingw32-virt-viewer.spec.in +++ b/mingw32-virt-viewer.spec.in @@ -26,7 +26,7 @@ BuildRequires: mingw32-gtk3 >= 3.0.0 %else BuildRequires: mingw32-gtk2 >= 2.12.0 %endif -BuildRequires: mingw32-libvirt >= 0.6.0 +BuildRequires: mingw32-libvirt >= 0.9.7 BuildRequires: mingw32-libxml2 %if %{with_gtk3} BuildRequires: mingw32-gtk-vnc >= 0.4.3 diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in index 6a218cf..e3aa80b 100644 --- a/virt-viewer.spec.in +++ b/virt-viewer.spec.in @@ -41,7 +41,7 @@ BuildRequires: gtk3-devel >= 3.0.0 %else BuildRequires: gtk2-devel >= 2.12.0 %endif -BuildRequires: libvirt-devel >= 0.6.0 +BuildRequires: libvirt-devel >= 0.9.7 BuildRequires: libxml2-devel %if %{with_gtk3} BuildRequires: gtk-vnc2-devel >= 0.4.0 @@ -50,10 +50,11 @@ BuildRequires: gtk-vnc-devel >= 0.3.8 %endif %if %{with_spice} %if %{with_gtk3} -BuildRequires: spice-gtk3-devel >= 0.10.6 +BuildRequires: spice-gtk3-devel >= 0.11 %else -BuildRequires: spice-gtk-devel >= 0.10.6 +BuildRequires: spice-gtk-devel >= 0.11 %endif +BuildRequires: spice-protocol >= 0.10.1 %endif BuildRequires: /usr/bin/pod2man BuildRequires: intltool |