This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, This patch merges the classpath GTK 2.0 peers into libgcj. Except for the change in GtkToolkit.java, I just copied classpath's peers directly into libgcj, and updated the configury accordingly. I did not merge classpath's GtkOffScreenDecoder and GdkPixbufDecoder; they will require extra configury hacking that can be done as a separate patch. With this patch, classpath's gnu/awt/peer/gtk/TestAWT.java runs with libgcj, though the AWT support is still very rough. I added gtk-2.0.m4 from gtk+-2.2.2 and glib-2.0.m4 from glib-2.2.2 to support the AM_PATH_GTK_2_0 and AM_PATH_GLIB_2_0 macros respectively. These files are attached. The old gtk.m4 and glib.m4 should be removed. Sorry about the large size of the patch, but I think it's best if it's all done at once. I tested this on my RHL9 machine with the --enable-languages=java and --enable-java-awt=gtk configure options. Please review/test/comment. Thank you, Tom 2003-06-27 Thomas Fitzsimmons <fitzsim@redhat.com> * glib-2.0.m4: New file. * gtk-2.0.m4: New file. * configure.in: Update AM_PATH_GTK macro call to AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB. * gnu/java/awt/peer/gtk/GtkToolkit.java (static): Load lib-gnu-java-awt-peer-gtk rather than libgtkpeer. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h: New versions from classpath. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate.
Attachment:
glib-2.0.m4
Description: Text document
Attachment:
gtk-2.0.m4
Description: Text document
Attachment:
peers.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |