[Spice-devel] [PATCH spice-gtk 4/4] build-sys: remove xrandr

Victor Toso lists at victortoso.com
Tue Nov 10 02:09:46 PST 2015


Hi,

On Mon, Nov 09, 2015 at 03:02:10PM +0100, Marc-André Lureau wrote:
> Not needed anymore (probably since gnome-rr was removed in 30986505b)
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>

Thanks for the commit reference.
Looks good, ack.

> ---
>  configure.ac    | 5 -----
>  src/Makefile.am | 3 ---
>  2 files changed, 8 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 5790a37..2e23c90 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -207,11 +207,6 @@ AM_CONDITIONAL([WITH_DISPLAY_WINDOWS], [test "x$have_win32" = "xyes"])
>  
>  if [test "x$have_x11" = "xyes" ]
>  then
> -  PKG_CHECK_MODULES(XRANDR, x11 xrandr, [have_xrandr=yes], [have_xrandr=no])
> -  AC_SUBST(XRANDR_CFLAGS)
> -  AC_SUBST(XRANDR_LIBS)
> -  AS_IF([test "x$have_xrandr" = "xyes"], [AC_DEFINE([HAVE_RANDR], 1, [Have xrandr?])])
> -
>    AC_CHECK_HEADERS([X11/XKBlib.h])
>  fi
>  
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 0c40c48..310fbbe 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -122,7 +122,6 @@ SPICE_GTK_LIBADD_COMMON =		\
>  	libspice-client-glib-2.0.la	\
>  	$(GTK_LIBS)			\
>  	$(CAIRO_LIBS)			\
> -	$(XRANDR_LIBS)			\
>  	$(LIBM)				\
>  	$(NULL)
>  
> @@ -392,7 +391,6 @@ spicy_SOURCES =					\
>  spicy_LDADD =						\
>  	libspice-client-gtk-$(SPICE_GTK_API_VERSION).la	\
>  	libspice-client-glib-2.0.la			\
> -	$(XRANDR_LIBS)					\
>  	$(GTHREAD_LIBS)					\
>  	$(GTK_LIBS)					\
>  	$(LIBM)						\
> @@ -400,7 +398,6 @@ spicy_LDADD =						\
>  
>  spicy_CPPFLAGS =			\
>  	$(AM_CPPFLAGS)			\
> -	$(XRANDR_CFLAGS)		\
>  	$(GTHREAD_CFLAGS)		\
>  	-DSPICE_DISABLE_DEPRECATED	\
>  	$(NULL)
> -- 
> 2.5.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list