Mobile/Build/cs2007q3: Difference between revisions

From MozillaWiki
< Mobile‎ | Build
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
apt-get install scratchbox-toolchain-cs2007q3-glibc2.5-arm6  
apt-get install scratchbox-toolchain-cs2007q3-glibc2.5-arm6  
exit
exit
wget http://repository.maemo.org/stable/chinook/maemo-scratchbox-install_4.0.1.sh
sudo chmod a+x ./maemo-scratchbox-install_4.0.1.sh
sudo ./maemo-scratchbox-install_4.0.1.sh
sudo /scratchbox/sbin/sbox_adduser $USER yes
sb-conf setup CHINOOK-ARMEL-2007 -c cs2007q3-glibc2.5-arm6 \
sb-conf setup CHINOOK-ARMEL-2007 -c cs2007q3-glibc2.5-arm6 \
   -d cputransp:debian-etch:doctools:maemo3-tools:perl \
   -d cputransp:debian-etch:doctools:maemo3-tools:perl \
Line 10: Line 17:
sb-conf rootstrap CHINOOK-ARMEL-2007 http://repository.maemo.org/stable/4.0.1/armel/maemo-sdk-rootstrap_4.0.1_armel.tgz
sb-conf rootstrap CHINOOK-ARMEL-2007 http://repository.maemo.org/stable/4.0.1/armel/maemo-sdk-rootstrap_4.0.1_armel.tgz
sb-conf install CHINOOK-ARMEL-2007 -cedFGS
sb-conf install CHINOOK-ARMEL-2007 -cedFGS
scratchbox wget http://people.mozilla.com/~vladimir/misc/execstack.armel
 
scratchbox chmod a+x execstack.armel
 
scratchbox mv fakeroot execstack.armel /usr/bin/execstack
 
scratchbox -d /lib execstack -c `find . -name \*.so.\* -type f`
scratchbox
scratchbox -d /usr/lib execstack -c `find . -name \*.so.\* -type f`
 
scratchbox fakeroot echo "deb http://repository.maemo.org/extras-devel chinook free non-free" >> /etc/apt/sources.list
wget http://people.mozilla.com/~vladimir/misc/execstack.armel
scratchbox fakeroot echo "deb file:/home/$USER/maemo-sdk-nokia-binaries_4.0.1 chinook explicit" >> /etc/apt/sources.list
chmod a+x execstack.armel
scratchbox fakeroot apt-get install libgtk2.0-dev libxaw7-dev libfreetype6-dev libxi-dev libhildonmime-dev libosso-dev libidl-dev
mv fakeroot execstack.armel /usr/bin/execstack
execstack -c `find /lib -name \*.so.\* -type f`
execstack -c `find /usr/lib -name \*.so.\* -type f`
fakeroot echo "deb http://repository.maemo.org/extras-devel chinook free non-free" >> /etc/apt/sources.list
fakeroot echo "deb file:/home/$USER/maemo-sdk-nokia-binaries_4.0.1 chinook explicit" >> /etc/apt/sources.list
fakeroot yes | apt-get update
fakeroot apt-get install libgtk2.0-dev libxaw7-dev libfreetype6-dev libxi-dev libhildonmime-dev libosso-dev libidl-dev
 
exit


</pre></code>
</pre></code>

Revision as of 10:37, 16 July 2008

sudo su
echo "deb http://scratchbox.org/debian/ stable main" >> /etc/apt/source.list
apt-get update
apt-get install scratchbox-toolchain-cs2007q3-glibc2.5-arm6 
exit

wget http://repository.maemo.org/stable/chinook/maemo-scratchbox-install_4.0.1.sh
sudo chmod a+x ./maemo-scratchbox-install_4.0.1.sh
sudo ./maemo-scratchbox-install_4.0.1.sh
sudo /scratchbox/sbin/sbox_adduser $USER yes


sb-conf setup CHINOOK-ARMEL-2007 -c cs2007q3-glibc2.5-arm6 \
  -d cputransp:debian-etch:doctools:maemo3-tools:perl \
  -t /scratchbox/devkits/cputransp/bin/qemu-arm-cvs-m
sb-conf rootstrap CHINOOK-ARMEL-2007 http://repository.maemo.org/stable/4.0.1/armel/maemo-sdk-rootstrap_4.0.1_armel.tgz
sb-conf install CHINOOK-ARMEL-2007 -cedFGS



scratchbox

wget http://people.mozilla.com/~vladimir/misc/execstack.armel
chmod a+x execstack.armel
mv fakeroot execstack.armel /usr/bin/execstack
execstack -c `find /lib -name \*.so.\* -type f`
execstack -c `find /usr/lib -name \*.so.\* -type f`
fakeroot echo "deb http://repository.maemo.org/extras-devel chinook free non-free" >> /etc/apt/sources.list
fakeroot echo "deb file:/home/$USER/maemo-sdk-nokia-binaries_4.0.1 chinook explicit" >> /etc/apt/sources.list
fakeroot yes | apt-get update
fakeroot apt-get install libgtk2.0-dev libxaw7-dev libfreetype6-dev libxi-dev libhildonmime-dev libosso-dev libidl-dev

exit