netvandal /home/michele

12Oct/095486

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!

Comments (5486) Trackbacks (3885)

Leave a comment

You must be logged in to post a comment.

phone 6s huge discount
http://buyusedmonitors.com

Tags

 

October 2009
M T W T F S S
« Jan   Mar »
 1234
567891011
12131415161718
19202122232425
262728293031