public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/20029] New: Robot needs XTest
@ 2005-02-17 16:57 mark at gcc dot gnu dot org
  2005-02-17 23:51 ` [Bug AWT/20029] " fitzsim at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mark at gcc dot gnu dot org @ 2005-02-17 16:57 UTC (permalink / raw)
  To: java-prs

Whenever you try to use java.awt.Robot you will get an error like:

<program name unknown>: relocation error:
/usr/local/gcc40/lib/lib-gnu-java-awt-peer-gtk.so.6: undefined symbol:
XTestQueryExtension

This is probably because the following Change didn't come correctly from the gui
branch onto the trunk:

+2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+	* Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
+	(gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
+	GdkRobotPeer.java.
+	(lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
+	(lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
+	* gnu/awt/xlib/XToolkit.java (createRobot): New method.
+	* gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
+	* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
+	(getDefaultScreenDevice): Implement.
+	* gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
+	* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
+	* gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
+	* java/awt/Robot.java: Implement.
+	* java/awt/peer/RobotPeer.java: Rename parameters.
+	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
+	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
+	(awt_keycode_to_keysym): Make non-static.
+	* jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
+	AWT_BUTTON3_MASK): Declare constants.
+	(awt_keycode_to_keysym): Declare.
+
+	* Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
+	* testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
+	and is non-empty pass its value to "make check".
+	(test_mauve_sim): Likewise.

-- 
           Summary: Robot needs XTest
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: mark at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20029


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/20029] Robot needs XTest
  2005-02-17 16:57 [Bug AWT/20029] New: Robot needs XTest mark at gcc dot gnu dot org
@ 2005-02-17 23:51 ` fitzsim at redhat dot com
  2005-02-23 10:53 ` cvs-commit at gcc dot gnu dot org
  2005-02-23 11:10 ` fitzsim at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2005-02-17 23:51 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From fitzsim at redhat dot com  2005-02-17 19:18 -------
Yes, I'll have to re-add the -lXtst flag.  The problem I've seen is that
re-adding this causes an abort failure.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-17 19:18:52
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20029


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/20029] Robot needs XTest
  2005-02-17 16:57 [Bug AWT/20029] New: Robot needs XTest mark at gcc dot gnu dot org
  2005-02-17 23:51 ` [Bug AWT/20029] " fitzsim at redhat dot com
@ 2005-02-23 10:53 ` cvs-commit at gcc dot gnu dot org
  2005-02-23 11:10 ` fitzsim at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-23 10:53 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-23 01:06 -------
Subject: Bug 20029

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	fitzsim@gcc.gnu.org	2005-02-23 01:05:58

Modified files:
	libjava        : ChangeLog configure configure.ac Makefile.am 
	                 Makefile.in 

Log message:
	2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
	
	PR libgcj/20029:
	* Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
	(lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
	* Makefile.in: Regenerate.
	* configure.ac: Check for libXtst.
	* configure: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3385&r2=1.3386
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&r1=1.252&r2=1.253
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.am.diff?cvsroot=gcc&r1=1.453&r2=1.454
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.in.diff?cvsroot=gcc&r1=1.483&r2=1.484



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20029


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/20029] Robot needs XTest
  2005-02-17 16:57 [Bug AWT/20029] New: Robot needs XTest mark at gcc dot gnu dot org
  2005-02-17 23:51 ` [Bug AWT/20029] " fitzsim at redhat dot com
  2005-02-23 10:53 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-23 11:10 ` fitzsim at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2005-02-23 11:10 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From fitzsim at redhat dot com  2005-02-23 01:11 -------
Fixed on mainline.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20029


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-23  1:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-17 16:57 [Bug AWT/20029] New: Robot needs XTest mark at gcc dot gnu dot org
2005-02-17 23:51 ` [Bug AWT/20029] " fitzsim at redhat dot com
2005-02-23 10:53 ` cvs-commit at gcc dot gnu dot org
2005-02-23 11:10 ` fitzsim at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).