maemo buildbot
March 17th, 2008 by blassey
Several people have been asking for an updated build of xulrunner for maemo. I know the tinderbox I set up in December has been broken since mid January. The good news is the build/release team is taking over these responsibilities and will be doing an infinitely better job than I have in maintaining it. The first output from this bot is now available here:
ftp://ftp.mozilla.org/pub/mobile/xulrunner-1.9b5pre.en-US.linux-arm.tar.bz2
The build bot is getting very close to being able to push these builds automatically, so soon you’ll be able to find the latest and greatest here every day. Also, once I get off my but and make the changes to the build scripts to produce debian packages from this, you’ll be able to install it from the application catalog on your n800/n810.
You’ll notice that this is xulrunner and not firefox. There are several reasons for this, not the least of which is we hope this will encourage people to roll their own browser (and other apps). There are already several available to try out, hear is a sampling:
Browsers:
http://wiki.mozilla.org/Image:Touchscreenbrowser-atotic.zip (from atotic)
http://wiki.mozilla.org/images/b/b1/Touchscreenbrowser.zip (from venky & co.), discussion can be found here: http://wiki.mozilla.org/Mobile/UI/Designs/TouchScreen
http://people.mozilla.org/~blassey/SpBrowser.tgz (from me, 2 months old) discussion can be found here: http://wiki.mozilla.org/Mobile/UI/Designs/NonTouchScreen
http://benjamin.smedbergs.us/xulrunner/mybrowser-0.2.2.xulapp (from bsmedberg, very minimal)
Other:
http://people.mozilla.org/~blassey/tetris-example.tgz (tetris game I took shamelessly from croczilla)
http://benjamin.smedbergs.us/xulrunner/xulmine-0.9.xulapp (mine sweep originally by Neil Rashbrook, packaged as xul app by bsmedberg)
And there’s already a collection of apps running on xulrunner for the desktop. Most of them are not packaged to be easily used on maemo with xulrunner. If you’re feeling adventurous, give them a try. If any of them work, leave a comment (maybe even a screen shot).
http://developer.mozilla.org/en/docs/XULRunner_Hall_of_Fame
and
http://developer.mozilla.org/en/docs/Category:XULRunner:Examples
Installation
This is the procedure I used to install xulrunner on my n810 (as root)
# cd /opt
# bunzip2 /home/user/MyDocs/.documents/xulrunner-1.9b5pre.en-US.linux-arm.tar.bz2
# tar -xf /home/user/MyDocs/.documents/xulrunner-1.9b5pre.en-US.linux-arm.tar
# cd xulrunner
# ./xulrunner --register-global
and then to install and run an app, I did the following (again, as root)
# cd /opt/xulrunner
# ./xulrunner --install-app /home/user/MyDocs/.documents/<application name>.xulapp
# /usr/lib/<vendor name>/<application name>/<application name>
A couple notes, I downloaded everything with microb, which puts downloads in the Documents folder and hence the path above. The vendor name and application name are specified in the application.ini file of the xul app. Finally, the –install-app flag assumes a zip archive (which is what the xulapp extension is). You may need zip the app up yourself to use it. I
I installed and ran xulmine, mybrowser and chatzilla. They all ran (woot!). To prove I’m not completely full off it, here’s a screen shot: 
If you have your own ideas for a good xul app or what the browser should look like, put them into javascript and xul and post. Leave a comment here so people can try them.
Note: some of these xul apps were written before mozilla 1.9 was released. If you get a warning such as “Could not find compatible GRE between 1.8 and 1.8.0.*”, you’ll have to edit the application.ini file. Just change MaxVersion from 1.8.0.* to 1.9.0.*



Brad\’s Blog