| Line 80: | Line 80: | ||
'''below is a work-in-progress, ignore this for now''' | '''below is a work-in-progress, ignore this for now''' | ||
| − | == | + | == Toolchain == |
Install base toolchain: | Install base toolchain: | ||
| Line 92: | Line 92: | ||
</code> | </code> | ||
| − | + | Install the yum-utils package to get yum-builddep: | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
<code bash> | <code bash> | ||
| − | yum install | + | yum install yum-utils |
</code> | </code> | ||
| − | == | + | == Basic functional desktop == |
<code bash> | <code bash> | ||
| − | yum | + | yum-builddep kdelibs kdebase akonadi |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
</code> | </code> | ||
| − | == | + | == Full-optionals desktop == |
| − | + | ||
| − | + | ||
| − | + | ||
<code bash> | <code bash> | ||
| − | yum | + | yum-builddep kdeaccessibility kdeadmin kdeartwork \ |
| − | + | kdebase kdebindings kdeedu kdegames kdegraphics \ | |
| − | + | kdelibs kdemultimedia kdenetwork kdepim \ | |
| + | kdepimlibs kdeplasma-addons kdesdk kdetoys \ | ||
| + | kdeutils akonadi | ||
</code> | </code> | ||
| − | == | + | == KOffice == |
<code bash> | <code bash> | ||
| − | yum | + | yum-builddep koffice-suite |
</code> | </code> | ||
| − | ==== | + | == Documentation == |
| + | It generally requires the following tools installed: | ||
<code bash> | <code bash> | ||
| − | yum install | + | yum install doxygen graphviz qt-doc |
</code> | </code> | ||
| − | == | + | == Module prerequisites == |
| − | + | To install prerequisites just run | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
<code bash> | <code bash> | ||
| + | yum-builddep module-name | ||
</code> | </code> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| + | Where "module-name" is the name of the module you want to install | ||
Return to [[Getting_Started/Build/KDE4#HAL|building KDE 4]]. | Return to [[Getting_Started/Build/KDE4#HAL|building KDE 4]]. | ||
Contents |
Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文
| 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.
below is a work-in-progress, ignore this for now
Install base toolchain:
yum groupinstall 'Development Tools'
yum install subversion cmake
Install the yum-utils package to get yum-builddep:
yum install yum-utils
yum-builddep kdelibs kdebase akonadi
yum-builddep kdeaccessibility kdeadmin kdeartwork \
kdebase kdebindings kdeedu kdegames kdegraphics \ kdelibs kdemultimedia kdenetwork kdepim \ kdepimlibs kdeplasma-addons kdesdk kdetoys \ kdeutils akonadi
yum-builddep koffice-suite
It generally requires the following tools installed:
yum install doxygen graphviz qt-doc
To install prerequisites just run
yum-builddep module-name
Where "module-name" is the name of the module you want to install
Return to building KDE 4.