Mobile/Build/Maemo Build Instructions: Difference between revisions

From MozillaWiki
< Mobile‎ | Build
Jump to navigation Jump to search
(redirect)
 
(91 intermediate revisions by 14 users not shown)
Line 1: Line 1:
==set up scratchbox==
#REDIRECT [[Mobile/Build/cs2007q3]]
<code><pre>
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
</pre>
</code>
 
==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
<code><pre>
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"  | scratchbox  -s -p
echo "yes | fakeroot apt-get install maemo-explicit" | scratchbox  -s -p
echo "sb-conf select CHINOOK_ARMEL" | scratchbox  -s -p
echo "yes | fakeroot apt-get install maemo-explicit" | scratchbox  -s -p
</pre></code>
 
==Build libIDL==
<code><pre>
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
cd ..
</pre></code>
 
==Build the the trunk (mozilla 1.9)==
<code><pre>
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig/
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
</pre></code>

Latest revision as of 19:08, 3 December 2008