BuildKDE4

From PardusWiki

Jump to: navigation, search

Contents

[edit] Getting Started

We will install KDE4 to a userdir, to do that let create a new user;

# useradd -m pardus
# passwd

You will also need this .bashrc file to do some operations easily.

[edit] Required Packages

# pisi it gcc subversion pkgconfig glut jpeg libpng giflib clucene cppunit liblrdf libxml2 libxslt boost cmake redland dbus hal shared-mime-info qt4

Edit your .bashrc file and add;

alias qmake="qmake-qt4"

[edit] Get the source and then build them' all

In this section we will use "cs" command; don't forget it's not a typo ! If you get an error like: CMake Error: Could NOT find QtGlobal header Remove your CMakeCache.txt and try again.

[edit] kdesupport

$ cs
$ svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/
$ cd kdesupport
$ cmakekde

[edit] kdelibs

$ cd   
$ cs 
$ mkdir KDE && cd KDE
$ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
$ cd kdelibs
$ cmakekde

[edit] kdepimlibs

$ cs KDE
$ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdepimlibs
$ cd kdepimlibs
$ cmakekde

[edit] kdebase

$ cs KDE
$ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase
$ cd kdebase

 $ cmakekde

[edit] Starting a KDE4 Application

$ ssh -X pardus@localhost
$ kwrite

You should see the new Kwrite !! This article is summary of the Kde's original one.

Personal tools