Editing KDE on scratchbox for maemo 5

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
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 [[Open development/Maemo roadmap/Fremantle|Maemo 5]]. You need to install Qt, kdesupport, kdelibs and kdepimlibs before you can run KDE applications.  
+
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.  
-
= How it goes =
+
= What does not work =
 +
== Scratchbox on SUSE 11.2 ==
 +
Installing maemo 5 (freemantle, see [[codenames]]) for N900 (maemo 5 does not run on the N810) in a SUSE Linux 11.2 x32 virtual machine resulted in
 +
Processing was halted because there were too many errors.
-
== On the N900 ==
+
== Scratchbox on X86_64 ==
 +
Scratchbox cannot be installed on an X86_64 platform. To find out if you have an X86_64 platform, run the following on a console:
 +
tweedleburg:~ # uname -m
 +
x86_64
 +
In this case your computer is based on X86_64. You should create a virtual machine with 32 bit and continue there.
 +
 
 +
= How it goes =
 +
== On the Nokia itself ==
* [[install openssh on the Nokia N900]]
* [[install openssh on the Nokia N900]]
* install subversion
* install subversion
Line 11: Line 21:
== On your desktop ==
== On your desktop ==
 +
Install an i386 into a VMWare virtual machine. The following describes how to install scratchbox into a SUSE 11.1 32bit installation. It might work same or similar with any Linux.
=== Set up scratchbox ===
=== Set up scratchbox ===
 +
root@i386 # useradd -m scratchboxuser
 +
root@i386 # passwd scratchboxuser
 +
root@i386 # wget http://repository.maemo.org/stable/fremantle/maemo-scratchbox-install_5.0.sh
 +
root@i386 # chmod 777 maemo-scratchbox-install_5.0.sh
 +
root@i386 # ./maemo-scratchbox-install_5.0.sh -s /scratchbox
 +
root@i386 # /scratchbox/sbin/sbox_adduser scratchboxuser
 +
root@i386 # su - scratchboxuser
 +
scratchboxuser@i386 $ wget http://repository.maemo.org/stable/fremantle/maemo-sdk-install_5.0.sh
 +
scratchboxuser@i386 $ sh maemo-sdk-install_5.0.sh
 +
results in
 +
Happy hacking!
-
{{main|Documentation/Maemo 5 Final SDK Installation}}
+
  scratchboxuser@i386 $ /scratchbox/login
-
 
+
  scratchboxuser@i386 $ sb-conf select FREEMANTEL_ARMEL
-
* 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 ===
-
 
+
[sbox-FREMANTLE_ARMEL: ~] > cd
-
{{main|Qt4 Hildon#CMake}}
+
[sbox-FREMANTLE_ARMEL: ~] > wget http://www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz
-
 
+
[sbox-FREMANTLE_ARMEL: ~/cmake-2.6.2] > tar xvzf cmake-2.6.2.tar.gz
-
Install CMake:
+
[sbox-FREMANTLE_ARMEL: ~/cmake-2.6.2] > cd cmake-2.6.2
-
  [sbox-FREMANTLE_ARMEL: ~] > apt-get install cmake
+
  [sbox-FREMANTLE_ARMEL: ~/cmake-2.6.2] > ./bootstrap && make -j4 && make install
=== 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. E.g. on 2010-03-27 it worked with:
+
Download Qt everywhere 4.6 and build it using
-
cd
+
  ./configure --prefix=/usr && make -j2 && make install
-
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 && make install
+
  ./configure && make -j2 && make install
=== gpgme ===
=== gpgme ===
-
gpgme is needed for kdepimlibs:
+
gpgme is needed for kdepimlibs
-
  [sbox-FREMANTLE_ARMEL: ~] > apt-get install libgpgme11-dev
+
  curl ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2 > gpgme-1.1.8.tar.bz2
 +
bunzip2  gpgme-1.1.8.tar.bz2
 +
tar xvf gpgme-1.1.8.tar
 +
cd gpgme-1.1.8
 +
./configure && make -j2 && make install
=== boost ===
=== boost ===
Line 59: Line 74:
=== 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]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: