Projects/Mobile/build on MeeGo

From KDE TechBase

Build and install KDE in a MeeGo chroot environment.

  • execute the following command (needed only the first time, not subsequent restarts)
source ~/.bashrc
  • Once entered in the MeeGo chroot environment, setup the KDE build environment.
  • Install the following required packages with yum for basic development (any dependency will be automatically installed by yum)

yum install packagename (as root)

First required packages

svn cmake git rpm-devel

Packages that require manual build

There are two packages that needs to be built before kdesupport. MySql, because is not present in the MeeGo repositories and SqlLite, because the shipped version is too old.

Phonon

  • cd
  • mkdir git
  • cd git
  • git clone git://anongit.kde.org/phonon
  • cd phonon
  • mkdir build
  • cd build
  • cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  • make
  • make install (as root)

Dbusmenu-qt

Required for kdesupport

boost-devel sqlite-devel bzip2-devel libxml2-devel dbus-devel raptor-devel redland-devel qca2-devel

Required by Phonon

pulseaudio-devel libxcb-devel gstreamer-devel gst-plugins-base-devel

Required by kdelibs

pcre-devel qjson-devel giflib-devel libxslt-devel docbook-style-xsl


NOTE: In order to work properly, nepomuk would need a manually built Virtuoso server, but is not required for the build tough.


FIXME: cmakekde appears to require makeobj from kdesdk, that's a bit weird dependency.

Required by kdepimlibs

libical-devel gpgme-devel cyrus-sasl-devel

Required by kdebase

libxkbfile-devel libXcomposite-devel libXdamage-devel libXau-devel

Required by kdeplasma-addons

libXtst-devel scim-devel (only if the scim widget is needed)

Prepare a folder for checkout and development

- su meego - cd - mkdir kde - cd kde - mkdir src - mkdir build - cd src - mkdir trunk - cd trunk

Download the kdesupport libraries

Download the KDE Software Compilation

Build kdelibs

  • cb
  • cd kdelibs
  • cmakekde

Build kdepimlibs

  • cb
  • cd kdepimlibs
  • cmakekde

Build kdebase

  • cb
  • cd kdebase
  • cmakekde

Build kdeplasma-addons

  • cb
  • cd kdeplasma-addons
  • cmakekde