BuildKDE4
From PardusWiki
(Difference between revisions)
(→Get the source and then build them' all) |
|||
| Line 24: | Line 24: | ||
== Get the source and then build them' all == | == Get the source and then build them' all == | ||
In this section we will use "'''cs'''" command; don't forget it's not a typo ! | 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 === | === kdesupport === | ||
Revision as of 09:14, 29 November 2007
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 qt shared-mime-info
We also need kde's qt4 copy from svn; (you must do that with pardus user)
# ssh -X pardus@localhost
$ svn checkout svn://anonsvn.kde.org/home/kde/trunk/qt-copy $ cd qt-copy $ ./apply_patches $ ./configure -qt-gif -no-exceptions -debug -fast -prefix $QTDIR -nomake examples -nomake demos $ make -j2
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.