changeset 2668:99807710122e

S8150954, PR2866, RH1176206: AWT Robot not compatible with GNOME Shell 2016-03-24 Andrew John Hughes <gnu.andrew@member.fsf.org> S8150954, PR2866, RH1176206: AWT Robot not compatible with GNOME Shell * INSTALL: Update X11 dependency documentation. * configure.ac: Add check for libXcomposite as required by fix for PR2866. Correct variables used by xproto check.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Fri, 08 Apr 2016 04:41:28 +0100
parents 72dabbf2cab2
children 5d939a55c216
files ChangeLog INSTALL configure.ac
diffstat 3 files changed, 20 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Apr 08 04:34:11 2016 +0100
+++ b/ChangeLog	Fri Apr 08 04:41:28 2016 +0100
@@ -1,3 +1,13 @@
+2016-03-24  Andrew John Hughes  <gnu.andrew@member.fsf.org>
+
+	S8150954, PR2866, RH1176206: AWT Robot not
+	compatible with GNOME Shell
+	* INSTALL: Update X11 dependency documentation.
+	* configure.ac: Add check
+	for libXcomposite as required by fix
+	for PR2866. Correct variables used by
+	xproto check.
+
 2016-04-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
 
 	* Makefile.am,
--- a/INSTALL	Fri Apr 08 04:34:11 2016 +0100
+++ b/INSTALL	Fri Apr 08 04:41:28 2016 +0100
@@ -9,7 +9,7 @@
 
 A bootstrap JDK, either IcedTea7 or IcedTea8
 CUPS
-libX11 (libXp, libXtst, libXi, libXt)
+libX11 (xproto, libX11, libXext, libXtst, libXi, libXt, libXinerama, libXrender, libXcomposite, libXau, libXdmcp)
 Freetype2
 patch
 sed
--- a/configure.ac	Fri Apr 08 04:34:11 2016 +0100
+++ b/configure.ac	Fri Apr 08 04:41:28 2016 +0100
@@ -161,8 +161,8 @@
   AC_MSG_ERROR([Could not find Xproto headers - \
   Try installing xorg-x11-proto-devel.])
 fi
-AC_SUBST(XT_CFLAGS)
-AC_SUBST(XT_LIBS)
+AC_SUBST(XPROTO_CFLAGS)
+AC_SUBST(XPROTO_LIBS)
 
 dnl Check for libXt headers and libraries.
 PKG_CHECK_MODULES(XT, xt,[XT_FOUND=yes],[XT_FOUND=no])
@@ -202,6 +202,13 @@
 Try installing libXrender-devel.])
 fi
 
+PKG_CHECK_MODULES(XCOMPOSITE, xcomposite, [XCOMPOSITE_FOUND=yes], [XCOMPOSITE_FOUND=no])
+if test "x${XCOMPOSITE_FOUND}" = xno
+then AC_MSG_ERROR([Could not find Xcomposite extension.  Try installing libXcomposite-devel.])
+fi
+AC_SUBST(XCOMPOSITE_CFLAGS)
+AC_SUBST(XCOMPOSITE_LIBS)
+
 AC_CHECK_HEADER([sys/sdt.h], [SDT_H_FOUND='yes'],
                 [SDT_H_FOUND='no';
                    AC_MSG_WARN([systemtap support needs sys/sdt.h header])])