[cogl] Set the minimum required wayland-server version to 1.1.90



commit 75d62292fc268164f8a085225033abe17e59ba1c
Author: Neil Roberts <neil linux intel com>
Date:   Mon Jul 1 14:06:16 2013 +0100

    Set the minimum required wayland-server version to 1.1.90
    
    Since the Wayland server support has been updated to use wl_shm_buffer
    we need the latest git version of Wayland to build. Previously the
    configure.ac file only had one define for the minimum version of both
    the client-side and server-side support but as they are now different
    this patch splits them out.
    
    Reviewed-by: Robert Bragg <robert linux intel com>

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6be11b1..8d38d90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,7 @@ m4_define([xcomposite_req_version],     [0.4])
 m4_define([xrandr_req_version],         [1.2])
 m4_define([cairo_req_version],          [1.10])
 m4_define([wayland_req_version],        [1.0.0])
+m4_define([wayland_server_req_version], [1.1.90])
 
 dnl These variables get copied into the generated README
 AC_SUBST([GLIB_REQ_VERSION], [glib_req_version])
@@ -99,6 +100,7 @@ AC_SUBST([GTK_DOC_REQ_VERSION], [gtk_doc_req_version])
 AC_SUBST([GI_REQ_VERSION], [gi_req_version])
 AC_SUBST([UPROF_REQ_VERSION], [uprof_req_version])
 AC_SUBST([WAYLAND_REQ_VERSION], [wayland_req_version])
+AC_SUBST([WAYLAND_SERVER_REQ_VERSION], [wayland_server_req_version])
 
 # Save this value here, since automake will set cflags later and we
 # want to know if the user specified custom cflags or not.
@@ -1095,8 +1097,8 @@ AS_IF([test "x$enable_wayland_egl_server" = "xyes"],
         NEED_EGL=yes
 
         PKG_CHECK_MODULES(WAYLAND_SERVER,
-                          [wayland-server >= wayland_req_version])
-        COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES wayland-server >= wayland_req_version"
+                          [wayland-server >= wayland_server_req_version])
+        COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES wayland-server >= wayland_server_req_version"
 
         COGL_DEFINES_SYMBOLS="$COGL_DEFINES_SYMBOLS COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT"
       ])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]