build: Bump glib version

Enterprise / Virtualization / SPICE - Christophe Fergeau [redhat.com] - 13 March 2018 10:40 EDT

From spice-gtk b312ca08 commit: " At the moment:- Fedora 26 has 2.52- Fedora 25 has 2.50- Fedora 24 has 2.48- CentOS 7 has 2.46- Debian 9 has 2.50"

RHEL6 only have 2.28, but glib 2.32 is only used in a test case at the moment.

###

diff --git a/configure.ac b/configure.ac
index 9eb9bb49..bcd4bb4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,8 +161,8 @@ SPICE_PROTOCOL_MIN_VER=0.12.14
PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= $SPICE_PROTOCOL_MIN_VER])
AC_SUBST([SPICE_PROTOCOL_MIN_VER])

-GLIB2_REQUIRED=2.28
-GLIB2_ENCODED_VERSION="GLIB_VERSION_2_28"
+GLIB2_REQUIRED=2.32
+GLIB2_ENCODED_VERSION="GLIB_VERSION_2_32"
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"

6bc2b39a build: Bump glib version
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share