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
This commit is contained in:
Daniel P. Berrange 2012-03-09 12:52:42 +00:00
parent 4f142b1f16
commit df404090ff
4 changed files with 10 additions and 7 deletions

2
README
View File

@ -19,7 +19,7 @@ display of the VNC protocol, which is available from
http://gtk-vnc.sourceforge.net/ 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: display of the SPICE protocol, which is available from:
http://spice-space.org/page/Spice-Gtk http://spice-space.org/page/Spice-Gtk

View File

@ -13,12 +13,13 @@ AM_SILENT_RULES([yes])
GMODULE2_REQUIRED=2.12.0 GMODULE2_REQUIRED=2.12.0
LIBXML2_REQUIRED="2.6.0" LIBXML2_REQUIRED="2.6.0"
LIBVIRT_REQUIRED="0.6.0" LIBVIRT_REQUIRED="0.9.7"
GTK2_REQUIRED="2.18.0" GTK2_REQUIRED="2.18.0"
GTK3_REQUIRED="3.0" GTK3_REQUIRED="3.0"
GTK_VNC1_REQUIRED="0.3.8" GTK_VNC1_REQUIRED="0.3.8"
GTK_VNC2_REQUIRED="0.4.0" 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 AC_PROG_CC
AM_PROG_CC_C_O 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"], AS_IF([test "x$have_spice_gtk" = "xyes"],
[PKG_CHECK_MODULES(SPICE_CONTROLLER, [spice-controller])] [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?])], [AC_DEFINE([HAVE_SPICE_GTK], 1, [Have spice-gtk?])],
[AS_IF([test "x$with_spice_gtk" = "xyes"], [AS_IF([test "x$with_spice_gtk" = "xyes"],
[AC_MSG_ERROR([spice-gtk requested but not found]) [AC_MSG_ERROR([spice-gtk requested but not found])

View File

@ -26,7 +26,7 @@ BuildRequires: mingw32-gtk3 >= 3.0.0
%else %else
BuildRequires: mingw32-gtk2 >= 2.12.0 BuildRequires: mingw32-gtk2 >= 2.12.0
%endif %endif
BuildRequires: mingw32-libvirt >= 0.6.0 BuildRequires: mingw32-libvirt >= 0.9.7
BuildRequires: mingw32-libxml2 BuildRequires: mingw32-libxml2
%if %{with_gtk3} %if %{with_gtk3}
BuildRequires: mingw32-gtk-vnc >= 0.4.3 BuildRequires: mingw32-gtk-vnc >= 0.4.3

View File

@ -41,7 +41,7 @@ BuildRequires: gtk3-devel >= 3.0.0
%else %else
BuildRequires: gtk2-devel >= 2.12.0 BuildRequires: gtk2-devel >= 2.12.0
%endif %endif
BuildRequires: libvirt-devel >= 0.6.0 BuildRequires: libvirt-devel >= 0.9.7
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
%if %{with_gtk3} %if %{with_gtk3}
BuildRequires: gtk-vnc2-devel >= 0.4.0 BuildRequires: gtk-vnc2-devel >= 0.4.0
@ -50,10 +50,11 @@ BuildRequires: gtk-vnc-devel >= 0.3.8
%endif %endif
%if %{with_spice} %if %{with_spice}
%if %{with_gtk3} %if %{with_gtk3}
BuildRequires: spice-gtk3-devel >= 0.10.6 BuildRequires: spice-gtk3-devel >= 0.11
%else %else
BuildRequires: spice-gtk-devel >= 0.10.6 BuildRequires: spice-gtk-devel >= 0.11
%endif %endif
BuildRequires: spice-protocol >= 0.10.1
%endif %endif
BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2man
BuildRequires: intltool BuildRequires: intltool