Difference between revisions of "Getting Started/Build/Distributions/Arch Linux"

Jump to: navigation, search
(Update to reflect the current situation)
Line 18: Line 18:
  
 
<code bash>
 
<code bash>
pacman -Sy subversion bzip2 libxslt libxml2 \
+
pacman -Sy subversion bzip2 libxslt libxml2 libjpeg \
shared-mime-info mesa boost dbus openssl \
+
          libungif shared-mime-info mesa boost dbus \
pkgconfig xine-lib clucene gpgme
+
          openssl pkgconfig xine-lib clucene redland \
 +
          gpgme hal cmake boost qt qca
 
</code>
 
</code>
  
If you want to use qt4 from the Arch Linux repository you can install it with:
+
Note that Qt 4 will be installed by the command above (it is required by QCA anyway), but you can [[Getting Started/Build/KDE4/Prerequisites#Qt|build your own]] from qt-copy in KDE svn, which will include several fixes not yet in a released version of Qt as well as giving you the option of compiling a version with debugging information.  If you do this, the system installed QCA (and any other system libraries that use Qt 4) should work without a problem in your local KDE build.
 +
 
 +
All of the dependencies in kdesupport can be installed from the [extra] repository.  These will be fine for building from the KDE stable branch, but some may be too old for building KDE from trunk.
 
<code bash>
 
<code bash>
pacman -Sy qt
+
pacman -Sy automoc akonadi eigen taglib soprano strigi qimageblitz phonon
 
</code>
 
</code>
+
To build the latest versions of these instead, see [[Getting Started/Build/KDE4/Prerequisites#kdesupport|building kdesupport]]
To install HAL from the repository execute this dont forget to add the hal deamon to the rc.conf
+
<code bash>
+
pacman -Sy hal
+
</code>
+
 
+
{{TODO| Does Arch provide anything else? HAL/kdesupport?
+
}}
+
 
+
 
+
--------------------------
+
just a log of what I have done to install it on my system (the stable version)
+
dependencies are in the beginning, the text after is just what is written in this tutorial.
+
 
+
yaourt -Syu
+
yaourt -Sy pkgconfig
+
yaourt libjpeg (from extra repo)
+
yaourt libungif
+
yaourt clucene
+
yaourt redland
+
yaourt shared-mime-info
+
#yaourt qt4 (from community repo)
+
yaourt cmake
+
download makeobj a partir de websvn.kde.org/checkout/trunk/KDE/kdesdk/makeobj
+
yaourt boost
+
cp makeobj /usr/bin
+
recuperation du script .bashrc.sh (renommer en kdebuild.sh)
+
yaourt svn (from extra repo)
+
 
+
execution texto de la procedure build de qt a partir des serveurs kde
+
--> dans la ligne d'install il y a un ; en trop...
+
 
+
execution texto du build de kdesupport
+
 
+
telechargement de kdelibs-4.0.0
+
-->extraction de l'archive dans le repertoire src (faire un cs)
+
-->renommage du répertoire en enlevant les numéros (pour faire comme du svn)
+
-->build avec cmakekde
+
 
+
telechargement de  kdepimlibs-4.0.0
+
--> dependance : yaourt gpgme (from extra repo)
+
-->pareil que au dessus...
+
 
+
aprés c'est tjrs pareil... ordre choisi:
+
* kdebase
+
* kdebase-runtime (yaourt xine-lib --> extra repo)
+
* kdebase-workspace
+
* kdenetwork
+
* kdegames
+
* keadmin
+
* kdeartwork
+
* kdebindings
+
* kdegraphics
+
* kdemultimedia
+
* kdetoys
+
* kdeutils
+
  
IMPORTANT: changer dans le script kdebuild que l'on source pour que le path prenne qt en compte...
+
For the makeobj script, you can either install kdesdk from [extra] or just download http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/makeobj and copy it to either /usr/bin or $HOME/bin (providing $HOME/bin is in your PATH).
  
 +
Note that there may be other optional dependencies of KDE modules, but almost all of these can be satisfied by [extra], [community] or the [http://aur.archlinux.org/ AUR].  The missing optional dependencies will be listed when configuring a package with cmake.  To search and install from all the main repositories and the AUR at the same time, you can use [http://wiki.archlinux.org/index.php/Yaourt Yaourt].
  
  
 
Return to [[Getting_Started/Build/KDE4#HAL|building KDE 4]].
 
Return to [[Getting_Started/Build/KDE4#HAL|building KDE 4]].

Revision as of 21:06, 29 July 2008


Getting_Started/Build/KDE4/Arch Linux


Building KDE4 From Source (Arch Linux requirements)
Tutorial Series   Getting Started
Previous   Build KDE 4
What's Next   Build KDE 4
Further Reading   kdesvn-build: The KDE From Subversion Build Tool
Increased Productivity in KDE4 with Scripts
Introduction to CMake


In Arch Linux you need to install the following packages:

pacman -Sy subversion bzip2 libxslt libxml2 libjpeg \

          libungif shared-mime-info mesa boost dbus \
          openssl pkgconfig xine-lib clucene redland \
          gpgme hal cmake boost qt qca

Note that Qt 4 will be installed by the command above (it is required by QCA anyway), but you can build your own from qt-copy in KDE svn, which will include several fixes not yet in a released version of Qt as well as giving you the option of compiling a version with debugging information. If you do this, the system installed QCA (and any other system libraries that use Qt 4) should work without a problem in your local KDE build.

All of the dependencies in kdesupport can be installed from the [extra] repository. These will be fine for building from the KDE stable branch, but some may be too old for building KDE from trunk. pacman -Sy automoc akonadi eigen taglib soprano strigi qimageblitz phonon To build the latest versions of these instead, see building kdesupport

For the makeobj script, you can either install kdesdk from [extra] or just download http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/makeobj and copy it to either /usr/bin or $HOME/bin (providing $HOME/bin is in your PATH).

Note that there may be other optional dependencies of KDE modules, but almost all of these can be satisfied by [extra], [community] or the AUR. The missing optional dependencies will be listed when configuring a package with cmake. To search and install from all the main repositories and the AUR at the same time, you can use Yaourt.


Return to building KDE 4.


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal