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

Robert Bragg robert at sixbynine.org
Mon Jul 1 06:14:22 PDT 2013


This looks good to land to me:

Reviewed-by: Robert Bragg <robert at linux.intel.com>

thanks,
- Robert


On Mon, Jul 1, 2013 at 2:07 PM, Neil Roberts <neil at linux.intel.com> wrote:
> 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.
> ---
>  configure.ac | 6 ++++--
>  1 file 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"
>        ])
> --
> 1.7.11.3.g3c3efa5
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list