[libvirt] [PATCH glib 2/2] configure.ac: update min required versions

Daniel P. Berrange berrange at redhat.com
Wed Jul 22 14:14:23 UTC 2015


Based on the distro target policy we have the following
min versions in various distros

                   libvirt  glib2    gobject-introspection
        RHEL 7.0:  1.1.1    2.36.3   1.36.0
       Fedora 21:  1.2.9    2.42.1   1.42.0
    Ubuntu 14.10:  1.2.8    2.42.0   1.41.0
Ubuntu LTS 14.04:  1.2.2    2.40.0   1.40.0
       Suse 12.0:  1.2.5    2.38.2   1.38.0
   OpenSUSE 13.1:  1.1.2    2.38.2   1.38.0
        Debian 8:  1.2.9    2.42.0   1.42.0

Which means we can reasonably depend on

  libvirt >= 1.1.1
  glib2 >= 2.36.3
  gobject-introspection >= 1.36.0
---
 configure.ac | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index d9b4665..a1f496d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,14 +9,12 @@ AC_CANONICAL_HOST
 
 AM_SILENT_RULES([yes])
 
-LIBVIRT_REQUIRED=0.10.2
+LIBVIRT_REQUIRED=1.1.1
 AC_SUBST([LIBVIRT_REQUIRED]) dnl used in the .spec file
-GLIB2_REQUIRED=2.36.0
+GLIB2_REQUIRED=2.36.3
 AC_SUBST([GLIB2_REQUIRED]) dnl used in the .spec file
 GLIB2_TEST_REQUIRED=2.38.0
-GOBJECT2_REQUIRED=2.10.0
-GIO_REQUIRED=2.10.0
-GOBJECT_INTROSPECTION_REQUIRED=0.10.8
+GOBJECT_INTROSPECTION_REQUIRED=1.36.0
 LIBXML2_REQUIRED=2.0.0
 
 LIBVIRT_GLIB_MAJOR_VERSION=`echo $VERSION | awk -F. '{print $1}'`
-- 
2.4.3




More information about the libvir-list mailing list