View source for Knjrepository

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Knjrepository.

Personal tools

Packages for development

The knjRepository includes the following interesting packages:

  1. php526 - PHP 5.2.6 CLI support, which enables you to write CLI-scripts for your OpenMoko. It also includes PDO (SQLite3) support.
  2. php526-gtk2 - PHP-GTK enables you to write GTK-applications in PHP.
  3. ruby1.8 - Enables you to use Ruby scripts on your OpenMoko.
  4. libgtk2-ruby1.8 - Enables Ruby to use Gtk.
  5. libsqlite3-ruby1.8 - Enables you to use SQLite3-databases in Ruby.
  6. libglade2-ruby1.8 - Enables you to use Glade with Gtk-applications in Ruby.


(and a lot of other Ruby-extensions like SOAP and WSDL)

A list of all the packages can be found here.

Application packages

  1. knjMokoWifi - An application for configuring the wireless interface in the OpenMoko-phone. It works with WPA, WEP and no-encryption. It supports profiles, so you dont have to remember passwords for each wireless accesspoint you come across. It is written in PHP-GTK. Furthermore it can disable the routing-gateway on the USB-networking-interface, making the default gateway wifi. It can also start a DHCP-request getting an IP and so on for the wireless interface.


How to use

You can configure your phone to use the repository by doing the following:

wget http://downloads.kaspernj.org/openmoko/repository/knjrepository.conf -O /etc/opkg/knjrepository.conf
opkg update

(ignore the signature errors)


Then if you want to install PHP-GTK, you can do this:

opkg install php526 php526-gtk2


Or if you want Ruby with Gtk-support:

opkg install ruby1.8 libgtk2-ruby1.8 libglade2-ruby1.8 libsqlite3-ruby

Made by

The repository has been set up and is maintained by Kasper Johansen.

The PHP-packages has been packaged by Derick Rethans.

The Ruby-packages has been packaged by Kero van Gelder.