The classical game: You're a sysadmin, and someone's trying to destroy your computers. The little people running around the screen are trying to infect your computers with Wingdows [TM], a virus cleverly designed to resemble a popular operating system.
Using Toolchain you can compile XBill from the official source code. Make sure you do NOT have a "gtk-config" in your path on your host OS while compiling, otherwise that will add the GTK include paths of your PC and linking will fail.
Get the source:
wget http://www.xbill.org/download/xbill-2.1.tar.gz tar -xzvf xbill-2.1
Compile with your Toolchain tools, this will install the required Athena library into your Toolchain setup.
mypc$ . setup-env mypc$ opkg-target install libxaw mypc$ om-conf --enable-athena mypc$ cd xbill-2.1 mypc$ make
On Openmoko you need Athena again and a directory for XBill pixmaps:
om-gta02$ opkg install libxaw om-gta02$ mkdir /usr/share/xbill
Copy to your Openmoko:
mypc$ scp xbill email@example.com:/usr/bin mypc$ scp -r pixmaps firstname.lastname@example.org:/usr/share/xbill mypc$ scp -r bitmaps email@example.com:/usr/share/xbill
Here is an example desktop entry. Create a file called "/usr/share/applications/xbill.desktop" with content:
[Desktop Entry] Version=2.1 Type=Application Encoding=UTF-8 Name=XBill Comment=XBill Exec=/usr/bin/xbill Icon=drm/Drm.png Categories=Application;Games Terminal=false
Building against GTK+ would be cool. You could try om-conf --enable-gtk, but ./configure will either unable to find gtk-config or it will use the host OS gtk-config, so it won't work. Please extend this documentation if you know how to build against GTK+.
Please send comments or questions about this installation guide to User:Kempelen.
Save your computers from Wingdows.