BuildKDE4

From PardusWiki
Jump to: navigation, search

Contents

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.

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"

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.

kdesupport

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

kdelibs

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

kdepimlibs

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

kdebase

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

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
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox