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 LZMA.
| Platform | Control | Graphics | Paint |
|---|---|---|---|
| Linux/x86_64 | download (886K) | download (838K) | download (652K) |
| Linux/i386 | download (808K) | download (759K) | download (577K) |
| Linux/ARM | download (810K) | download (760K) | download (577K) |
| Linux/PowerPC | download (823K) | download (776K) | download (593K) |
| OS X/x86_64 | download (765K) | download (729K) | download (541K) |
| OS X/i386 | download (753K) | download (717K) | download (541K) |
| OS X/PowerPC | download (769K) | download (733K) | download (553K) |
| Windows/x86_64 | download (971K) | download (883K) | download (706K) |
| Windows/i386 | download (951K) | download (868K) | download (685K) |
If you'd like to build these examples yourself, try the following:
# Set the platform and swt_zip environment variables according to the
# following table:
#
# platform swt_zip
# -------- -------
# linux-x86_64 swt-3.7-gtk-linux-x86_64.zip
# linux-i386 swt-3.7-gtk-linux-x86.zip
# linux-arm swt-3.7-gtk-linux-arm.zip
# linux-powerpc swt-3.7-gtk-linux-powerpc.zip
# darwin-x86_64-cocoa swt-3.7-cocoa-macosx-x86_64.zip
# darwin-i386-carbon swt-3.7-carbon-macosx.zip
# darwin-powerpc-carbon swt-3.7-carbon-macosx.zip
# windows-x86_64 swt-3.7-win32-win32-x86_64.zip
# windows-i386 swt-3.7-win32-win32-x86.zip
mkdir work
cd work
curl -Of http://oss.readytalk.com/avian/proguard4.8.tar.gz
tar xzf proguard4.8.tar.gz
curl -Of http://oss.readytalk.com/avian/lzma920.tar.bz2
(mkdir -p lzma-920 && cd lzma-920 && tar xjf ../lzma920.tar.bz2)
curl -Of http://oss.readytalk.com/avian/${swt_zip}
mkdir -p swt/${platform}
unzip -d swt/${platform} ${swt_zip}
curl -Of http://oss.readytalk.com/avian/avian-0.6.tar.bz2
tar xjf avian-0.6.tar.bz2
curl -Of http://oss.readytalk.com/avian/avian-swt-examples-0.6.tar.bz2
tar xjf avian-swt-examples-0.6.tar.bz2
# needed only for 32-bit Windows builds:
git clone git://oss.readytalk.com/win32.git
# needed only for 64-bit Windows builds:
git clone git://oss.readytalk.com/win64.git
cd avian-swt-examples
make lzma=$(pwd)/../lzma-920 full-platform=${platform}