KDE on scratchbox for maemo 5
(→giflib) |
(→giflib) |
||
(6 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | This describes how to compile KDE applications on Scratchbox so they can be run on a Nokia N900. A N900 runs | + | This describes how to compile KDE applications on Scratchbox so they can be run on a [[Nokia N900]]. A N900 runs [[Open development/Maemo roadmap/Fremantle|Maemo 5]]. You need to install Qt, kdesupport, kdelibs and kdepimlibs before you can run KDE applications. |
- | = | + | = How it goes = |
- | + | ||
- | + | ||
- | + | ||
- | == | + | == On the N900 == |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | * [[install openssh on the Nokia N900]] | |
- | + | * install subversion | |
- | root@ | + | ssh root@localhost |
- | + | apt-get install subversion | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | == On your desktop == | |
- | + | ||
+ | === Set up scratchbox === | ||
+ | |||
+ | {{main|Documentation/Maemo 5 Final SDK Installation}} | ||
+ | |||
+ | * Install Scratchbox and the Maemo 5 SDK. | ||
+ | * Re-login to Linux so you belong to the group sbox. | ||
+ | * log in to scratchbox: | ||
+ | $ /scratchbox/login | ||
+ | [sbox-FREMANTLE_X86: ~] > sb-conf select FREMANTLE_ARMEL | ||
=== cmake === | === cmake === | ||
- | + | ||
- | + | {{main|Qt4 Hildon#CMake}} | |
- | + | ||
- | + | Install CMake: | |
- | [sbox-FREMANTLE_ARMEL: ~ | + | [sbox-FREMANTLE_ARMEL: ~] > apt-get install cmake |
=== subversion === | === subversion === | ||
+ | |||
+ | Install Subversion: | ||
[sbox-FREMANTLE_ARMEL: ~] > apt-get install subversion | [sbox-FREMANTLE_ARMEL: ~] > apt-get install subversion | ||
=== Qt === | === Qt === | ||
- | Download Qt everywhere 4.6 and build it | + | Download Qt everywhere 4.6 and build it. E.g. on 2010-03-27 it worked with: |
- | ./configure --prefix=/usr && make | + | cd |
+ | wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.2.tar.gz | ||
+ | tar xvzf qt-everywhere-opensource-src-4.6.2.tar.gz | ||
+ | cd qt-everywhere-opensource-src-4.6.2 | ||
+ | ./configure --prefix=/usr && make && make install | ||
=== libical === | === libical === | ||
- | libical is needed for kdepimlibs | + | libical is needed for kdepimlibs: |
cd | cd | ||
wget http://downloads.sourceforge.net/project/freeassociation/libical/libical-0.44/libical-0.44.tar.gz?use_mirror=switch | 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 | tar xvzf libical-0.44.tar.gz | ||
cd libical-0.44 | cd libical-0.44 | ||
- | ./configure && make | + | ./configure && make && make install |
=== gpgme === | === gpgme === | ||
- | gpgme is needed for kdepimlibs | + | gpgme is needed for kdepimlibs: |
- | + | [sbox-FREMANTLE_ARMEL: ~] > apt-get install libgpgme11-dev | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
=== boost === | === boost === | ||
Line 64: | Line 59: | ||
=== giflib === | === giflib === | ||
+ | cd | ||
wget http://downloads.sourceforge.net/project/giflib/giflib%204.x/giflib-4.1.6/giflib-4.1.6.tar.bz2?use_mirror=switch | wget http://downloads.sourceforge.net/project/giflib/giflib%204.x/giflib-4.1.6/giflib-4.1.6.tar.bz2?use_mirror=switch | ||
+ | bunzip2 giflib-4.1.6.tar.bz2 | ||
+ | tar xvf giflib-4.1.6.tar | ||
+ | cd giflib-4.1.6 | ||
+ | ./configure && make && make install | ||
= See also = | = See also = | ||
* [[KDE on scratchbox]] | * [[KDE on scratchbox]] | ||
* [[KDE]] | * [[KDE]] | ||
+ | |||
+ | [[Category:KDE]] |
Latest revision as of 15:38, 27 March 2010
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 |
[edit] How it goes
[edit] On the N900
- install openssh on the Nokia N900
- install subversion
ssh root@localhost apt-get install subversion
[edit] On your desktop
[edit] Set up scratchbox
Main article: Documentation/Maemo 5 Final SDK Installation
- Install Scratchbox and the Maemo 5 SDK.
- Re-login to Linux so you belong to the group sbox.
- log in to scratchbox:
$ /scratchbox/login [sbox-FREMANTLE_X86: ~] > sb-conf select FREMANTLE_ARMEL
[edit] cmake
Main article: Qt4 Hildon#CMake
Install CMake:
[sbox-FREMANTLE_ARMEL: ~] > apt-get install cmake
[edit] subversion
Install Subversion:
[sbox-FREMANTLE_ARMEL: ~] > apt-get install subversion
[edit] Qt
Download Qt everywhere 4.6 and build it. E.g. on 2010-03-27 it worked with:
cd wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.2.tar.gz tar xvzf qt-everywhere-opensource-src-4.6.2.tar.gz cd qt-everywhere-opensource-src-4.6.2 ./configure --prefix=/usr && make && make install
[edit] 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
[edit] gpgme
gpgme is needed for kdepimlibs:
[sbox-FREMANTLE_ARMEL: ~] > apt-get install libgpgme11-dev
[edit] boost
libboost is needed for kdepimlibs
apt-get install libboost-graph-dev
[edit] giflib
cd wget http://downloads.sourceforge.net/project/giflib/giflib%204.x/giflib-4.1.6/giflib-4.1.6.tar.bz2?use_mirror=switch bunzip2 giflib-4.1.6.tar.bz2 tar xvf giflib-4.1.6.tar cd giflib-4.1.6 ./configure && make && make install
[edit] See also
- This page was last modified on 27 March 2010, at 15:38.
- This page has been accessed 10,086 times.