Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] GTK+ Release Notes


SWT for GTK+ Release Notes

Tuesday, Dec 04, 2001

This is the initial developers release of SWT on GTK+.

Requirements:
The current release of SWT for GTK+ was developed and tested on GTK+ 1.2.10
and gdk-pixbuf 0.11 running on Linux/i386.  We also did some minimal testing
on GTK+ 1.2.8, 1.2.9, and gdk-pixbuf 0.10 (all Linux/i386).

If you try building SWT for GTK+ 1.2 on any other (i.e., non-Linux and/or
non-Intel) platform, you may want to share your experience on the SWT
development mailing list (platform-swt-dev@xxxxxxxxxxx).

Currently, SWT for GTK+ does not build / run with GTK+ 1.3 (GTK+ 2.0).

How to compile:

1. Get the latest stable Eclipse drop [for Motif].
2. Turn auto-build off (Window -> Preferences -> Workbench).
   (If you don't, you will be negatively surprised when you check
out from CVS).
3. In the Repository View, connect to
:pserver:anonymous@xxxxxxxxxxxxxxx:/home/eclipse
Checking out from CVS is realy the only way to get SWT source; the stuff
in swtsrc.zip is for debugging other plugins when running SWT as an
external plugin.
4. Add project org.eclipse.swt from the HEAD stream.
5. Set the right CLASSPATH.  One way to do this, in the Navigator View,
   copy ".classpath_gtk" to ".classpath" (first right-click -> Copy,
   and then Rename).
6. Build the Java world.
7. In addition to the .class files, the Java build process produced the
   merged library directory.  To compile the C code for the JNI bindings,
   go to the bin/library directory (NOT gtk/library), and run build.csh.
8. Copy the *.so files into where the JVM can normally find them, to run
   the examles, _AND_ to the plugin directory - if you want to run Eclipse.


Known Limitations:
In this initial development release of SWT for GTK+, certain features/modules
are incomplete or unimplemented.  These include:
 - Drag & Drop
 - Printing
 - OS Clipboard
 - Accelerators
 - Program Support
 

Back to the top