summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2006-08-06 19:02:11 +0000
committerMark Wielaard <mark@klomp.org>2006-08-06 19:02:11 +0000
commit8883c03e9f391474267d9cee1dd1ce5865ae888f (patch)
tree723f6a19a39398e722e1d6d35aff558aa5fff050
parent76d96a36c6d851b75f56f13d99b9f797245485ad (diff)
downloadclasspath-8883c03e9f391474267d9cee1dd1ce5865ae888f.tar.gz
2006-08-06 Roman Kennke <kennke@aicas.com>
* NEWS: Added note about the X peers. * INSTALL: Added install notes about the X peers.
-rw-r--r--ChangeLog5
-rw-r--r--INSTALL30
-rw-r--r--NEWS6
3 files changed, 41 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 25d0b191b..07bd1163c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-06 Roman Kennke <kennke@aicas.com>
+
+ * NEWS: Added note about the X peers.
+ * INSTALL: Added install notes about the X peers.
+
2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
Paul Jenner <psj@harker.dyndns.org>
diff --git a/INSTALL b/INSTALL
index 97983fdce..dae909eff 100644
--- a/INSTALL
+++ b/INSTALL
@@ -59,6 +59,11 @@ Suggested Software
- Qt 4.0.1
+ For building the X AWT peers see information below
+ (Building and running with the X AWT peers). You will need
+ the Escher 0.2.3 library:
+ http://escher.sourceforge.net
+
Please note that at the moment most operating systems do not
ship Qt4 by default. We recommend using GNU Classpath' Qt4
support only for its developers and bug reporters. See
@@ -119,10 +124,16 @@ gives a complete list.
default=no
--enable-xmlj compile native libxml/xslt library default=no
--enable-load-library enable to use JNI native methods default=yes
+ --enable-local-sockets enable build of local Unix sockets
--with-jikes to compile the class library using jikes
the default is to use gcj
--with-glibj define what to install (zip|flat|both|none)
default=zip
+ --with-escher=/path/to/escher
+ enable build of the X/Escher peers, with
+ the escher library at /path/to/escher, either
+ in the form of a JAR file, or a directory
+ containing the .class files of Escher.
--enable-Werror whether to compile C code with -Werror which turns
any compiler warning into a compilation failure
default=no
@@ -164,6 +175,25 @@ More information about the VMs that use GNU Classpath can be found in the
README file.
------------------------------------------------------------------
+Building and running with the X AWT peers
+------------------------------------------------------------------
+
+In order build the X peers you need the Escher library version 0.2.3
+from http://escher.sourceforge.net . Unpack (and optionally build) the
+Escher library following the instructions in the downloaded
+package. Enable the build of the X peers by passing
+--with-escher=/path/to/escher to ./configure where /path/to/escher
+either points to a directory structure or JAR file containing the
+Escher classes. For Unix systems it is preferable to also build local
+socket support by passing --enable-local-sockets, which accelerates
+the network communication to the X server significantly.
+
+In this release you have to enable the X peers at runtime by
+setting the system property awt.toolkit=gnu.java.awt.peer.x.XToolkit
+by passing -Dawt.toolkit=gnu.java.awt.peer.x.XToolkit to the java
+command when running an application.
+
+------------------------------------------------------------------
Misc. Notes
------------------------------------------------------------------
Compilation is accomplished using a compiler's @file syntax. For our
diff --git a/NEWS b/NEWS
index c010a068f..a0c16a6a7 100644
--- a/NEWS
+++ b/NEWS
@@ -32,6 +32,12 @@ New in release 0.92 (UNRELEASED)
* javax.sound.midi providers have been added to read and
write standard MIDI files.
* New Java Virtual Machine Tool Interface header, jvmti.h.
+* AWT peers for X Windows based on Escher (a pure Java X protocol
+ implementation) have been added. So far it supports AWT 1.1 style
+ Graphics, image loading via ImageIO (PNG, GIF and BMP images in this
+ release), top level components as well as mouse and keyboard input.
+ It is capable of running many Swing applications. Graphics2D and
+ AWT widgets are not yet supported.
Runtime interface changes: