XBill

From Openmoko

Revision as of 18:48, 5 October 2008 by Kempelen (Talk | contribs)

Jump to: navigation, search
XBill on Om 2008.8.

XBill is one of the applications that runs on the Openmoko Phones. For a list of all applications, visit Applications

The classical game, as original author describes: 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.

Contents

Installing

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:

mypc$ wget http://www.xbill.org/download/xbill-2.1.tar.gz
mypc$ tar -xzvf xbill-2.1

Compile with your Toolchain tools, this will install the required Athena library into your Toolchain setup. (You must do the opkg-target install part as root, unless you changed the owner of /usr/local/openmoko to your own user! These commands are part of the Toolchain.)

mypc$ . /usr/local/openmoko/arm/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 root@192.168.0.202:/usr/bin
mypc$ scp -r pixmaps root@192.168.0.202:/usr/share/xbill
mypc$ scp -r bitmaps root@192.168.0.202:/usr/share/xbill

Desktop icon

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 --size 470
Icon=drm/Drm.png
Categories=Application;Games
Terminal=false

Further improvements

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. Please extend this artcile if you think something is missing.

Bugs

  • Dragged items are not visible (but they work). (For example when you drag the bucket to a sparc.)
  • Windows could fit nicer (hopefully a GTK+ build will fix that).


Xbill.png XBill

Save your computers from Wingdows(tm).


Homepage: http://www.xbill.org
Package: -
Tested on: Om 2008.8

Personal tools
XBill on Om 2008.8.

XBill is one of the applications that runs on the Openmoko Phones. For a list of all applications, visit Applications

The classical game, as original author describes: 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.

Installing

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:

mypc$ wget http://www.xbill.org/download/xbill-2.1.tar.gz
mypc$ tar -xzvf xbill-2.1

Compile with your Toolchain tools, this will install the required Athena library into your Toolchain setup. (You must do the opkg-target install part as root, unless you changed the owner of /usr/local/openmoko to your own user! These commands are part of the Toolchain.)

mypc$ . /usr/local/openmoko/arm/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 root@192.168.0.202:/usr/bin
mypc$ scp -r pixmaps root@192.168.0.202:/usr/share/xbill
mypc$ scp -r bitmaps root@192.168.0.202:/usr/share/xbill

Desktop icon

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 --size 470
Icon=drm/Drm.png
Categories=Application;Games
Terminal=false

Further improvements

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. Please extend this artcile if you think something is missing.

Bugs

  • Dragged items are not visible (but they work). (For example when you drag the bucket to a sparc.)
  • Windows could fit nicer (hopefully a GTK+ build will fix that).


Xbill.png XBill

Save your computers from Wingdows(tm).


Homepage: http://www.xbill.org
Package: -
Tested on: Om 2008.8