I'm experimenting with compiling programs for the N9.
Go to http://harmattan-dev.nokia.com and get their python script harmattan-sdk-setup.py. Make it executable:
chmod a+x harmattan-sdk-setup.py
Run the script as root:
sudo ./harmattan-sdk-setup.py
Press "0" for admininstall. This will start a lengthy install. On my machine it started with installing python-qt4. Then scratchbox (89Mb download for X86 and another 89Mb download for ARM). Then comes the SDK itself, one 825 Mb download for the X86-SDK and another 806 Mb download for the ARMEL-SDK.
Now I get:
:~/Desktop$ scratchbox
bash: /usr/bin/scratchbox: Permission denied
That's because the scratchbox install creates a new user group sbox, and adds your username to this group. We now need to log out of the machine and log in again so that this group is created and your user is added to the group. Now we can run scratchbox. Now, from another terminal on the host-machine, start Xephyr with this:
Xephyr :2 -host-cursor -screen 854x480 -dpi 96 -ac +extension Composite &
From the scratchbox terminal we can now start meego:
meego-sb-session start
This gives a little bit of error-messages, but nothing major I guess. And we have a working "phone":
If we start Xephyr in portrait mode instead with 480x854x16 it looks a bit better: (should also work by passing '-landscape' flag to meego-sb-session)
The screen where all the open applications are shown looks a bit strange:
This environment should allow coding and compiling in the correct environment on X86, and then cross-compiling on the ARMEL-target and packaging into debs for sending to the device. But on IRC I am told there's an alternative QtSDK toolchain that does the same thing - maybe in a simpler way. To be continued...
I followed the link provided in this article and got the python script for the setup. I am trying to develop some apps on MeeGo platform. Nice article. It helped me.
Hi there,
Nice article!
Unfortunately I ran into a problem.
After I start up Xephyr and I run "meego-sb-session start" inside the scratchbox, all I got is a black screen for Xephyr's screen.
The startup lists the following information:
[sbox-HARMATTAN_X86: ~] > meego-sb-session start
Starting /etc/meego-sb-session/session.enabled/000
Starting /etc/meego-sb-session/session.enabled/00dbus-system
Removing stale PID file /var/run/dbus/pid.
Starting /etc/meego-sb-session/session.enabled/01dbus-session
Starting /etc/meego-sb-session/session.enabled/05gconfd
Starting /etc/meego-sb-session/session.enabled/08timed
Starting /etc/meego-sb-session/session.enabled/09messageserver
Starting /etc/meego-sb-session/session.enabled/14themedaemon
Starting /etc/meego-sb-session/session.enabled/15compositor
Starting /etc/meego-sb-session/session.enabled/19sysuid
Starting /etc/meego-sb-session/session.enabled/20input-method
Starting /etc/meego-sb-session/session.enabled/30qttas
Starting /etc/meego-sb-session/session.enabled/35applauncherd
Starting /etc/meego-sb-session/session.enabled/40tracker
Starting miners?
? File System
? Applications
Starting /etc/meego-sb-session/session.enabled/59home
[sbox-HARMATTAN_X86: ~] >
Any ideas?
Thanks a lot,
Tamas
Hi, it's almost 10 years since I tried working with this, so I can't help you sorry. Maybe try some linux-phone-OS forums to find someone who is working with newer OSs?