XBill

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(created)
 
(minor fixes, + bugs section)
Line 2: Line 2:
 
{{Application|XBill}}
 
{{Application|XBill}}
  
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.
+
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 ==
 
== Installing ==
Line 10: Line 10:
 
Get the source:
 
Get the source:
  
  wget http://www.xbill.org/download/xbill-2.1.tar.gz
+
  mypc$ wget http://www.xbill.org/download/xbill-2.1.tar.gz
  tar -xzvf xbill-2.1
+
  mypc$ tar -xzvf xbill-2.1
  
Compile with your Toolchain tools, this will install the required Athena library into your Toolchain setup.
+
Compile with your Toolchain tools, this will install the required Athena library into your Toolchain setup. (You must do the <tt>opkg-target install</tt> part as root, unless you changed the owner of /usr/local/openmoko to your own user! These commands are part of the [[Toolchain]].)
  
  mypc$ . setup-env
+
  mypc$ . /usr/local/openmoko/arm/setup-env
 
  mypc$ opkg-target install libxaw
 
  mypc$ opkg-target install libxaw
 
  mypc$ om-conf --enable-athena
 
  mypc$ om-conf --enable-athena
Line 43: Line 43:
 
Name=XBill
 
Name=XBill
 
Comment=XBill
 
Comment=XBill
Exec=/usr/bin/xbill
+
Exec=/usr/bin/xbill --size 470
 
Icon=drm/Drm.png
 
Icon=drm/Drm.png
 
Categories=Application;Games
 
Categories=Application;Games
Line 51: Line 51:
 
== Further improvements ==
 
== 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+.
+
Building against GTK+ would be cool. You could try <tt>om-conf --enable-gtk</tt>, but ./configure will either unable to find <tt>gtk-config</tt> or it will use the host OS <tt>gtk-config</tt>, 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 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).
  
 
<onlyinclude>
 
<onlyinclude>
 
{{ApplicationBox|
 
{{ApplicationBox|
 
   Name=[[XBill]]|
 
   Name=[[XBill]]|
   Description=Save your computers from Wingdows.|
+
   Description=Save your computers from Wingdows(tm).|
 
   Screenshot=Xbill.png|
 
   Screenshot=Xbill.png|
 
   Homepage=http://www.xbill.org|
 
   Homepage=http://www.xbill.org|

Revision as of 18:47, 5 October 2008

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: 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:

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 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
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.


Xbill.png XBill

Save your computers from Wingdows.


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