KDE on scratchbox for maemo 5

This describes how to compile KDE applications on Scratchbox so they can be run on a Nokia N900. A N900 runs Maemo 5. You need to install Qt, kdesupport, kdelibs and kdepimlibs before you can run KDE applications.

Contents

How it goes

On the N900

ssh root@localhost
apt-get install subversion

On your desktop

Set up scratchbox

Main article: Documentation/Maemo 5 Final SDK Installation


Install Scratchbox and the Maemo 5 SDK, and then run:

$ /scratchbox/login
[sbox-FREMANTLE_X86: ~] > sb-conf select FREMANTLE_ARMEL

cmake

Main article: Qt4 Hildon#CMake


Install CMake:

[sbox-FREMANTLE_ARMEL: ~] > apt-get install cmake

subversion

Install Subversion:

[sbox-FREMANTLE_ARMEL: ~] > apt-get install subversion

Qt

Download Qt everywhere 4.6 and build it using:

./configure --prefix=/usr && make && make install

libical

libical is needed for kdepimlibs:

cd
wget http://downloads.sourceforge.net/project/freeassociation/libical/libical-0.44/libical-0.44.tar.gz?use_mirror=switch
tar xvzf libical-0.44.tar.gz
cd libical-0.44
./configure && make && make install

gpgme

gpgme is needed for kdepimlibs:

[sbox-FREMANTLE_ARMEL: ~] > apt-get install libgpgme11-dev

boost

libboost is needed for kdepimlibs

apt-get install libboost-graph-dev

giflib

wget http://downloads.sourceforge.net/project/giflib/giflib%204.x/giflib-4.1.6/giflib-4.1.6.tar.bz2?use_mirror=switch
./configure && make && make install

See also