[Spice-devel] [spice-server v2 1/2] build-sys: Raise glib requirement to 2.38

Christophe Fergeau cfergeau at redhat.com
Tue Feb 5 11:24:15 UTC 2019


meson is already using 2.38, and most distros have a newer version:
    - Fedora 28 has 2.56
    - CentOS 7 has 2.46
    - Debian 9 has 2.50
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index fa79af7f1..604a41b21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,8 +165,8 @@ SPICE_PROTOCOL_MIN_VER=0.12.16
 PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= $SPICE_PROTOCOL_MIN_VER])
 AC_SUBST([SPICE_PROTOCOL_MIN_VER])
 
-GLIB2_REQUIRED=2.32
-GLIB2_ENCODED_VERSION="GLIB_VERSION_2_32"
+GLIB2_REQUIRED=2.38
+GLIB2_ENCODED_VERSION="GLIB_VERSION_2_38"
 PKG_CHECK_MODULES([GLIB2], [glib-2.0 >= $GLIB2_REQUIRED gio-2.0 >= $GLIB2_REQUIRED])
 GLIB2_CFLAGS="$GLIB2_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=$GLIB2_ENCODED_VERSION \
   -DGLIB_VERSION_MAX_ALLOWED=$GLIB2_ENCODED_VERSION"
-- 
2.20.1



More information about the Spice-devel mailing list