(kdepimlibs requires libical-devel) |
(yum-builddep does not seem to support multiple packages) |
||
| (28 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | ||
{{TutorialBrowser| | {{TutorialBrowser| | ||
| Line 7: | Line 7: | ||
name=Building KDE4 From Source (Fedora Linux requirements)| | name=Building KDE4 From Source (Fedora Linux requirements)| | ||
| − | pre=[[Getting_Started/Build | + | pre=[[Getting_Started/Build|Build KDE]]| |
| − | next=[[Getting_Started/Build | + | next=[[Getting_Started/Build|Build KDE]]| |
| − | reading=[[ | + | reading=[[Getting_Started/Build/kdesvn-build|kdesvn-build: The KDE From Subversion Build Tool]]<br>[[Getting_Started/Build/Environment|KDE Build Environment including useful scripts]]<br>[[Development/Tutorials/CMake |Introduction to CMake]]| |
}} | }} | ||
| − | + | == Toolchain == | |
| − | + | Install basic toolchain: | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <syntaxhighlight lang="bash"> | |
| + | yum groupinstall 'Development Tools' | ||
| + | </syntaxhighlight> | ||
| − | < | + | <syntaxhighlight lang="bash"> |
| − | yum install | + | yum install subversion cmake |
| − | </ | + | </syntaxhighlight> |
| − | + | Install the yum-utils package to get yum-builddep: | |
| − | < | + | <syntaxhighlight lang="bash"> |
| − | yum install | + | yum install yum-utils |
| − | + | </syntaxhighlight> | |
| − | </ | + | |
| − | + | On Fedora 16 [[../../kdesrc-build|kdesrc-build]] will complain about qmake being missing. It is located at /usr/bin/qmake-qt4. Simply create a symbolic for qmake: | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <syntaxhighlight lang="bash"> | |
| + | ln -s qmake-qt4 /usr/bin/qmake | ||
| + | </syntaxhighlight> | ||
| + | == Basic functional desktop == | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | for pkg in kdelibs kde-baseapps kde-workspace \ | ||
| + | kde-runtime akonadi soprano polkit-qt strigi; \ | ||
| + | do yum-builddep $pkg; done | ||
| + | </syntaxhighlight> | ||
| − | + | == Full-optionals desktop == | |
| + | <syntaxhighlight lang="bash"> | ||
| + | for pkg in kdeaccessibility kdeadmin kdeartwork \ | ||
| + | kde-baseapps kde-workspace kde-runtime \ | ||
| + | kdebindings kdeedu kdegames kdegraphics \ | ||
| + | kdelibs kdemultimedia kdenetwork kdepim \ | ||
| + | kdepimlibs kdeplasma-addons kdesdk kdetoys \ | ||
| + | kdeutils akonadi soprano polkit-qt strigi; \ | ||
| + | do yum-builddep $pkg; done | ||
| + | </syntaxhighlight> | ||
| − | + | == KOffice == | |
| − | + | ||
| − | + | ||
| − | + | {{Warning|Fedora 12 (and less) still ship with KOffice 1.6.<br/><br/> | |
| + | yum-builddep will install dependencies for the KDE 3 version.}} | ||
| − | + | <syntaxhighlight lang="bash"> | |
| + | yum-builddep koffice-suite | ||
| + | </syntaxhighlight> | ||
| − | + | == Documentation == | |
| − | + | It generally requires the following tools installed: | |
| − | + | <syntaxhighlight lang="bash"> | |
| − | + | yum install doxygen graphviz qt-doc | |
| − | + | </syntaxhighlight> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | == Module prerequisites == | ||
| + | To install prerequisites just run | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | yum-builddep module-name | ||
| + | </syntaxhighlight> | ||
| − | + | Where "module-name" is the name of the module you want to install | |
| Tutorial Series | Getting Started |
| Previous | Build KDE |
| What's Next | Build KDE |
| Further Reading | kdesvn-build: The KDE From Subversion Build Tool KDE Build Environment including useful scripts Introduction to CMake |
Contents |
Install basic toolchain:
yum groupinstall 'Development Tools'
yum install subversion cmakeInstall the yum-utils package to get yum-builddep:
yum install yum-utilsOn Fedora 16 kdesrc-build will complain about qmake being missing. It is located at /usr/bin/qmake-qt4. Simply create a symbolic for qmake:
ln -s qmake-qt4 /usr/bin/qmake
for pkg in kdelibs kde-baseapps kde-workspace \ kde-runtime akonadi soprano polkit-qt strigi; \ do yum-builddep $pkg; done
for pkg in kdeaccessibility kdeadmin kdeartwork \ kde-baseapps kde-workspace kde-runtime \ kdebindings kdeedu kdegames kdegraphics \ kdelibs kdemultimedia kdenetwork kdepim \ kdepimlibs kdeplasma-addons kdesdk kdetoys \ kdeutils akonadi soprano polkit-qt strigi; \ do yum-builddep $pkg; done
| Warning |
|---|
| Fedora 12 (and less) still ship with KOffice 1.6. yum-builddep will install dependencies for the KDE 3 version. |
yum-builddep koffice-suite
It generally requires the following tools installed:
yum install doxygen graphviz qt-docTo install prerequisites just run
yum-builddep module-name
Where "module-name" is the name of the module you want to install