[Spice-commits] m4/spice-deps.m4

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu May 24 08:33:34 UTC 2018


 m4/spice-deps.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d1d621054744bb25331a98a892a6fccd4a1409c5
Author: Eduardo Lima (Etrunko) <etrunko at redhat.com>
Date:   Wed May 23 15:21:22 2018 -0300

    Bump glib requirements to 2.38
    
    test-logging makes use of functions only available from this version
    
    ../tests/test-logging.c: In function ‘test_spice_abort_level’:
    ../tests/test-logging.c:50:5: error: ‘g_test_subprocess’ is deprecated: Not available before 2.38 [-Werror=deprecated-declarations]
         if (g_test_subprocess()) {
         ^~
    In file included from /usr/include/glib-2.0/glib.h:82:0,
                     from ../tests/test-logging.c:23:
    /usr/include/glib-2.0/glib/gtestutils.h:151:10: note: declared here
     gboolean g_test_subprocess (void);
              ^~~~~~~~~~~~~~~~~
    
    Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index a6f4b7b..e3ec8be 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -158,7 +158,7 @@ AC_DEFUN([SPICE_CHECK_PIXMAN], [
 # use in the GLIB2_CFLAGS and GLIB2_LIBS variables.
 #------------------
 AC_DEFUN([SPICE_CHECK_GLIB2], [
-    PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.22 gio-2.0 >= 2.22 gthread-2.0 >= 2.22)
+    PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.38 gio-2.0 >= 2.38 gthread-2.0 >= 2.38)
 ])
 
 # SPICE_CHECK_PYTHON_MODULES()


More information about the Spice-commits mailing list