Maemo 5 on linux

Maemo 5 on linux

Write this lines to /usr/local/bin/maemo :

#!/bin/bash sudo sysctl abi.vsyscall32=0 linux32 sudo /opt/scratchbox/sbin/sbox_ctl start Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac & /opt/scratchbox/login killall -q Xephyr sleep 1 sudo /opt/scratchbox/sbin/sbox_ctl stop sudo sysctl abi.vsyscall32=1 

Install dialog (was missing in my system): # pacman -S dialog

Download and install the Maemo SDK script:

$ wget http://repository.maemo.org/stable/5.0/maemo-sdk-install_5.0.sh $ chmod +x maemo-sdk-install_5.0.sh $ sudo sysctl abi.vsyscall32=0 $ linux32 sudo /opt/scratchbox/sbin/sbox_ctl start $ ./maemo-sdk-install_5.0.sh -s /opt/scratchbox/ 

Note: the maemo-sdk-install script looks for /usr/bin/python instead of /usr/bin/python2 , but I didn’t find the line of code which needs python. So, as workaround I created a symlink in this way (note, this is the BAD way!):

# ln -s /usr/bin/python2 /usr/bin/python 

Install the xorg-server-xephyr package:

# pacman -S xorg-server-xephyr 

Go to tablets-dev.nokia.com and get your personal token, then run the maemo script and add the repository to sources.list into your scratchbox:

[sbox-FREMANTLE_ARMEL: ~] > sb-conf select FREMANTLE_x86 [sbox-FREMANTLE_X86: ~] > nano /etc/apt/sources.list # add deb line [sbox-FREMANTLE_X86: ~] > apt-get update [sbox-FREMANTLE_X86: ~] > fakeroot apt-get install nokia-binaries nokia-apps 

Run the maemo script, then exec:

[sbox-FREMANTLE_X86: ~] af-sb-init.sh start 
[sbox-FREMANTLE_X86: ~] af-sb-init.sh stop 

Maemo SDK

Tags: arch linux, howto, maemo

By Andrea Scarpino on 2010-12-02

Discuss on HackerNews

Andrea Scarpino © 2012–2023. The content of this website is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
This website is built using Nanoc.

Источник

Читайте также:  Apk на линукс минт
Оцените статью
Adblock
detector