BuildKDE4

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
 
== Required Packages ==
 
== 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
+
  # 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;
 
Edit your .bashrc file and add;
Line 22: Line 22:
  
 
=== kdesupport ===
 
=== kdesupport ===
  $ cs
+
  $ cs
  $ svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/
+
  $ svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/
  $ cd kdesupport
+
  $ cd kdesupport
 
  $ cmakekde
 
  $ cmakekde
  
Line 31: Line 31:
 
  $ cs  
 
  $ cs  
 
  $ mkdir KDE && cd KDE
 
  $ mkdir KDE && cd KDE
  $ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
+
  $ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
 
  $ cd kdelibs
 
  $ cd kdelibs
  $ cmakekde
+
  $ cmakekde
  
 
=== kdepimlibs ===
 
=== kdepimlibs ===
  $ cs KDE
+
  $ cs KDE
  $ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdepimlibs
+
  $ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdepimlibs
  $ cd kdepimlibs
+
  $ cd kdepimlibs
  $ cmakekde
+
  $ cmakekde
  
 
=== kdebase ===
 
=== kdebase ===
  $ cs KDE
+
  $ cs KDE
  $ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase
+
  $ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase
  $ cd kdebase
+
  $ cd kdebase
 $ cmakekde
+
$ cmakekde
  
 
== Starting a KDE4 Application ==
 
== Starting a KDE4 Application ==
  $ ssh -X pardus@localhost
+
  $ ssh -X pardus@localhost
  $ kwrite
+
  $ kwrite
  
 
You should see the new Kwrite !!
 
You should see the new Kwrite !!
 
This article is summary of the [http://techbase.kde.org/Getting_Started/Build/KDE4 Kde's original one].
 
This article is summary of the [http://techbase.kde.org/Getting_Started/Build/KDE4 Kde's original one].
 +
 +
[[Category:KDE4]]

Revision as of 22:22, 19 January 2009

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