Avian is well-suited to building small, self-contained applications. To demonstrate this, we've taken a few demo applications from the Eclipse CVS repository and built them using Avian, ProGuard, and UPX.
| Platform | Control | Graphics | Paint |
|---|---|---|---|
| Linux/x86_64 | download | download | download |
| Linux/i386 | download | download | download |
| OS X/i386 | download | download | download |
| Windows/i386 | download | download | download |
Note that the OS X builds are not compressed using UPX, due to issues encountered with building and using UPX on OS X 10.4.
If you'd like to build these examples yourself, try the following:
# install UPX if you don't already have it mkdir work cd work git clone git://oss.readytalk.com/avian.git git clone git://oss.readytalk.com/avian-swt-examples.git wget http://superb-east.dl.sourceforge.net/sourceforge/proguard\ /proguard4.2.tar.gz tar xzf proguard4.2.tar.gz # for linux-i386: wget http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops\ /R-3.3.1.1-200710231652/swt-3.3.1.1-gtk-linux-x86.zip mkdir -p swt-3.3/linux-i386 unzip -d swt-3.3/linux-i386 swt-3.3.1.1-gtk-linux-x86.zip # for linux-x86_64: wget http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops\ /R-3.3.1.1-200710231652/swt-3.3.1.1-gtk-linux-x86_64.zip mkdir -p swt-3.3/linux-x86_64 unzip -d swt-3.3/linux-x86_64 swt-3.3.1.1-gtk-linux-x86_64.zip # for windows-i386: wget http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops\ /R-3.3.1.1-200710231652/swt-3.3.1.1-win32-win32-x86.zip mkdir -p swt-3.3/windows-i386 unzip -d swt-3.3/windows-i386 swt-3.3.1.1-win32-win32-x86.zip git clone git://oss.readytalk.com/win32.git # for darwin-i386: # (upstream SWT requires a patch: # https://bugs.eclipse.org/bugs/show_bug.cgi?id=207511) curl -O http://oss.readytalk.com/avian/swt-3.3.1.1-carbon-macosx-patched.zip mkdir -p swt-3.3/darwin-i386 unzip -d swt-3.3/darwin-i386 swt-3.3.1.1-carbon-macosx-patched.zip cd avian-swt-examples make # or make platform=windows if cross-compiling for Win32