BuildKDE4
From PardusWiki
(Difference between revisions)
(New page: {{Draft}} == 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 operatio...) |
|||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
== Getting Started == | == Getting Started == | ||
| + | |||
We will install KDE4 to a userdir, to do that let create a new user; | We will install KDE4 to a userdir, to do that let create a new user; | ||
| + | |||
# useradd -m pardus | # useradd -m pardus | ||
# passwd | # passwd | ||
| − | You will also need this .bashrc file to do some operations easily. | + | |
| + | You will also need [http://techbase.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc this] .bashrc file to do some operations easily. | ||
| + | |||
== 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 |
| + | |||
| + | 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 [http://techbase.kde.org/Getting_Started/Build/KDE4 Kde's original one]. | ||
| − | + | [[Category:KDE4]] | |
Latest revision as of 14:02, 30 November 2010
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.