Maemo 5 SDK on Sabayon 5.o HOWTO
Hi just some simple step to get the maemo 5 final sdk working in sabayon linux 5.o.
Convention:
Command executed from the host shell
Command executed in the scratchbox environment
Let's start.
First download from here the maemo 5 sdk, and scratchbox.
Now install scratchbox:
linux32 sh maemo-scratchbox-install_5.0.sh -s /opt/scratchbox
Then, add a your user to scratchbox with:
/opt/scratchbox/sbin/sbox_adduser USER yes
Ok, add your user (from root) to the sbox group
usermod -a -G sbox USER
Ok, the basic scratchbox setup is now done, you need to re-login to have the group up-to-date.
Now install the maemo sdk:
sh maemo-sdk-install_5.0.sh -s /opt/scratchbox
Accept the license hitting enter, while waiting have a break
.
Now from root:
/opt/scratchbox/sbin/sbox_ctl start
Now login into scratchbox.
linux32 /opt/scratchbox/login
And you are in!
Now install the nokia proprietary packages.
Go here, accept the EULA and get the source list entry, add it to /etc/apt/sources.list (in the scratchbox environment obviously ) .
Now run:
apt-get update && fakeroot apt-get install nokia-binaries nokia-apps
Ok, now outside scratchbox we have to start Xephyr (from user):
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &
If you receive an error abour DISPLAY var, do
export DISPLAY=:0
an re-execute the above command.
Again in the scratchbox env set the DISPLAY var:
export DISPLAY=:2
And finally start the fremantle UI!!!
af-sb-init.sh start
Happy Hacking!







