Difference between revisions of "Getting Started/Build/Distributions/Fedora"

Jump to: navigation, search
(moved cyrus-sasl-devel from optional packages to recommended as the latest trunk won't compile withou this package)
Line 98: Line 98:
 
== Module prerequisites ==
 
== Module prerequisites ==
 
Each modules has (in this order):
 
Each modules has (in this order):
* A yum command to install the '''mandatory''' packages
+
* A list of required dependencies
 
* A list of recommended optional dependencies
 
* A list of recommended optional dependencies
** A yum command to install them
 
* A list of optional dependencies
 
** A yum command to install them
 
  
 
Of course, for each module other than kdelibs and kdepimlibs we assume that these two modules are already installed.
 
Of course, for each module other than kdelibs and kdepimlibs we assume that these two modules are already installed.
Line 137: Line 134:
 
=== kdepimlibs ===
 
=== kdepimlibs ===
 
<code bash>
 
<code bash>
yum install akonadi-devel libXpm-devel cyrus-sasl-devel libXtst-devel
+
yum install akonadi-devel libXpm-devel cyrus-sasl-devel libXtst-devel gpgme-devel boost-devel
 
</code>
 
</code>
  
 
==== Recommended ====
 
==== Recommended ====
'''WIP'''
 
 
==== Optional ====
 
 
<code bash>
 
<code bash>
yum install boost-devel gpgme-devel \
+
yum install cyrus-sasl-devel libical-devel openldap-devel
libical-devel openldap-devel
+
 
</code>
 
</code>
  
 
=== kdebase ===
 
=== kdebase ===
 
<code bash>
 
<code bash>
 +
yum install strigi-devel zlib-devel qimageblitz-devel
 
</code>
 
</code>
 
==== Recommended ====
 
==== Recommended ====
'''WIP'''
+
<code bash>
==== Optional ====
+
yum install libXtst-devel glib2-devel google-gadgets-devel qedje-devel mesa-libGL-devel python-devel sip-devel PyQt4-devel PyKDE4-devel polkit-qt-devel soprano-devel
'''WIP'''
+
</code>
  
 
=== kdeaccessibility ===  
 
=== kdeaccessibility ===  
 +
==== Recommended ====
 
<code bash>
 
<code bash>
 +
yum install alsa-lib-devel
 
</code>
 
</code>
==== Recommended ====
 
'''WIP'''
 
==== Optional ====
 
'''WIP'''
 
  
 
=== kdeadmin ===
 
=== kdeadmin ===
 +
==== Recommended ====
 
<code bash>
 
<code bash>
 +
yum install python-devel
 
</code>
 
</code>
==== Recommended ====
+
 
'''WIP'''
+
==== Optional ====
+
'''WIP'''
+
  
 
=== kdeartwork ===
 
=== kdeartwork ===
 
<code bash>
 
<code bash>
 +
yum install eigen2-devel
 
</code>
 
</code>
==== Recommended ====
 
'''WIP'''
 
==== Optional ====
 
'''WIP'''
 
  
 
=== kdebindings ===
 
=== kdebindings ===
 
<code bash>
 
<code bash>
 +
yum install kdelibs-devel kdepimlibs-devel kdebase-workspace-devel python-devel PyQt4-devel qimageblitz-devel qscintilla-devel soprano-devel
 
</code>
 
</code>
 
==== Recommended ====
 
==== Recommended ====
'''WIP'''
+
<code bash>
==== Optional ====
+
yum install mono-core mono-devel Falcon-devel php-devel ruby-devel ruby
'''WIP'''
+
</code>
  
 
=== kdeedu ===
 
=== kdeedu ===

Revision as of 13:47, 2 June 2009


Contents

Getting_Started/Build/KDE4/Fedora


Building KDE4 From Source (Fedora 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


Some of the required packages for building KDE4 on Fedora 7 or higher:

yum install clucene-core-devel libxml-devel libxslt-devel \ dbus-devel boost-devel bzip2-devel openssl-devel alsa-lib-devel \ redland-devel rasqal-devel raptor-devel hspell-devel aspell-devel \ cups-devel xine-lib-devel avahi-devel gamin-devel OpenEXR-devel \ enchant-devel jasper-devel ilmbase-devel pcre-devel gpgme-devel \ libxklavier-devel glib-devel libusb-devel libsmbclient-devel \ libxcb-devel NetworkManager-devel lm_sensors-devel libraw1394-devel \ bluez-libs-devel gcc-c++ libXext-devel cmake make subversion giflib-devel \ libpng-devel libmng-devel libXdamage-devel libXcomposite-devel libXrender-devel \ fontconfig-devel libXft-devel libXcursor-devel libXfixes-devel \ ruby-devel libXScrnSaver-devel libkdcraw-devel exiv2-devel \ lcms-devel libtiff-devel sqlite-devel libxkbfile-devel \ imlib2-devel patch gstreamer-plugins-base-devel gstreamer-devel \ libical-devel

Some additional packages are required for Fedora 9 or higher:

yum install libcapseo-devel libcaptury-devel

Some optional packages for koffice support: yum install qca2-devel gsl-devel freeglut-devel \ GraphicsMagick-c++-devel GraphicsMagick-devel

akonadi uses mysql: yum install mysql-devel

This includes installation of D-Bus and CMake -- you can skip steps 5 and 6.


DCH-10/15/07: Note - It may be simpler to spin RPMs. Note that you can edit the variables in /etc/rpm/macros.kde4 (which is provided by Rawhide kde-filesystem).

The build stage then looks like:

(but in what directory?)

%build

mkdir -p %{_target_platform}

pushd %{_target_platform}

%{cmake_kde4} ..

popd

make %{?_smp_mflags} -C %{_target_platform}

I have had better results with creating a kdesupport rpm which means that you should not install the soprano and strigi rpms. YMMV

telsh: On a Fedora 8 System I had to install "qt4-devel" too to have qmake.


noframe
 
TODO
Audit this and organize by module.


below is a work-in-progress, ignore this for now

Build prerequisites

Install base toolchain:

yum groupinstall 'Development Tools'

yum install subversion cmake

Basic functional desktop

Full-optionals desktop

Module prerequisites

Each modules has (in this order):

  • A list of required dependencies
  • A list of recommended optional dependencies

Of course, for each module other than kdelibs and kdepimlibs we assume that these two modules are already installed.

Documentation

It generally requires the following tools installed: yum install doxygen graphviz qt-doc

kdelibs

yum install kde-filesystem qt-devel alsa-lib-devel \ automoc cmake gettext-devel giflib-devel libacl-devel \ libattr-devel jasper-devel krb5-devel libjpeg-devel \ libpng-devel libtiff-devel libxslt-devel \ libxml2-devel phonon-devel shared-mime-info \ zlib-devel libutempter-devel strigi-devel \ libXcomposite-devel libXdamage-devel libxkbfile-devel \ libXpm-devel libXScrnSaver-devel libXtst-devel \ libXv-devel libXxf86misc-devel

Recommended

WIP

Optional

yum install avahi-devel bzip2-devel OpenEXR-devel \ pcre-devel openssl-devel enchant-devel gamin-devel \ soprano-devel

kdepimlibs

yum install akonadi-devel libXpm-devel cyrus-sasl-devel libXtst-devel gpgme-devel boost-devel

Recommended

yum install cyrus-sasl-devel libical-devel openldap-devel

kdebase

yum install strigi-devel zlib-devel qimageblitz-devel

Recommended

yum install libXtst-devel glib2-devel google-gadgets-devel qedje-devel mesa-libGL-devel python-devel sip-devel PyQt4-devel PyKDE4-devel polkit-qt-devel soprano-devel

kdeaccessibility

Recommended

yum install alsa-lib-devel

kdeadmin

Recommended

yum install python-devel


kdeartwork

yum install eigen2-devel

kdebindings

yum install kdelibs-devel kdepimlibs-devel kdebase-workspace-devel python-devel PyQt4-devel qimageblitz-devel qscintilla-devel soprano-devel

Recommended

yum install mono-core mono-devel Falcon-devel php-devel ruby-devel ruby

kdeedu

Recommended

WIP

Optional

WIP

kdegames

Recommended

WIP

Optional

WIP

kdegraphics

Recommended

WIP

Optional

WIP

kdemultimedia

Recommended

WIP

Optional

WIP

kdenetwork

Recommended

WIP

Optional

WIP

kdepim

Recommended

WIP

Optional

WIP

kdeplasma-addons

Recommended

WIP

Optional

WIP

kdesdk

Recommended

WIP

Optional

WIP

kdetoys

Recommended

WIP

Optional

WIP

kdeutils

Recommended

WIP

Optional

WIP

kdevelop

Recommended

WIP

Optional

WIP

kdevplatform

Recommended

WIP

Optional

WIP

kdewebdev

Recommended

WIP

Optional

WIP


Return to building KDE 4.


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