set up scratchbox
wget http://repository.maemo.org/stable/chinook/maemo-scratchbox-install_4.0.sh
sudo chmod a+x ./maemo-scratchbox-install_4.0.sh
sudo ./maemo-scratchbox-install_4.0.sh
sudo /scratchbox/sbin/sbox_adduser <your_user_name> yes
set up maemo chinook sdk
you need to create a new shell so your user has the right groups. you can just log out and log back in
wget http://tablets-dev.nokia.com/4.0/maemo-sdk-install_4.0.sh
sh maemo-sdk-install_4.0.sh
echo "sb-conf select CHINOOK_X86 && yes | fakeroot apt-get install maemo-explicit" | scratchbox -s -p
echo "sb-conf select CHINOOK_ARMEL && yes | fakeroot apt-get install maemo-explicit" | scratchbox -s -p
Build libIDL
wget http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.9.tar.gz tar -xzvf libIDL-0.8.9.tar.gz cd libIDL-0.8.9 ./configure make fakeroot make install export PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig/ cd ..
Build the the trunk (mozilla 1.9)
mkdir moz1.9 cd moz1.9/ cvs -d:pserver:anonymous@cvs-mirror.mozilla.org/cvsroot co mozilla/client.mk mozilla/browser/config cd mozilla/ cp browser/config/mozconfig . echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-dir-browser-chinook-armel" >> mozconfig make -f client.mk pull_all wget https://bugzilla.mozilla.org/attachment.cgi?id=287745 cat attachment.cgi\?id\=287745 | patch -p1 make -f client.mk build_all