qubes-doc/en/developers/building/kde-dom0.md

57 lines
2.1 KiB
Markdown
Raw Normal View History

2010-05-31 09:14:58 -04:00
---
2015-04-10 16:17:45 -04:00
layout: doc
title: KDE dom0
permalink: /en/doc/kde-dom0/
redirect_from:
- /doc/KdeDom0/
- /wiki/KdeDom0/
2010-05-31 09:14:58 -04:00
---
Qubes-customized KDE packages for Dom0
======================================
The Qubes kde-dom0 project (see [Source Code](/en/doc/source-code/)) contains the source code needed for building the customized KDE packages for use in Qubes Dom0 (the user desktop). The packages are based on Fedora 12 KDE packages, but are heavily slimmed down (Qubes doesn't need lots of KDE functionality in Dom0, such as most of the KDE apps). In the near future those KDE packages will also get some Qubes specific extensions, such as coloured titlebars/frames nicely integrated into the KDE Window Manager. And, of course, custom themes, e.g. for KDM :)
2010-05-31 09:14:58 -04:00
Getting the sources
-------------------
~~~
2010-05-31 09:14:58 -04:00
git clone git://qubes-os.org/mainstream/kde-dom0.git kde-dom0
~~~
2010-05-31 09:14:58 -04:00
Building the packages
---------------------
It's best to use Fedora 12 or 13 as a development system.
First, you should download and verify the original KDE sources (not part of the kde-dom0 repository):
~~~
2010-05-31 09:14:58 -04:00
make get-sources verify-sources
~~~
2010-05-31 09:14:58 -04:00
Now, check if you have all the required build dependencies:
~~~
2010-05-31 09:14:58 -04:00
make prep
~~~
2010-05-31 09:14:58 -04:00
Install any required packages that `make` might have complained about. Then you're ready to build the rpms (you might want to adjust the release of each rpm package by editing the `rel` variable at the beginning of each `.spec` file):
~~~
2010-05-31 09:14:58 -04:00
make rpms
~~~
2010-05-31 09:14:58 -04:00
**Note:** The `kdebase-*` packages build process requires corresponding `kdelibs-devel` package to be installed first. If your build system is based on Fedora 12/13, and if the `kdelibs-devel` package exist in Fedora repo that is based the same KDE software version (e.g. 4.4.3) as the KDE packages you're building (see the `version` file), than you should be able to use the Fedora package:
~~~
2010-05-31 09:14:58 -04:00
yum install kdelibs-devel-{version}
~~~
2010-05-31 09:14:58 -04:00
If not, then you should build your `kdelibs-devel` first (`cd kdelibs-devel && make rpms`), then install it on your build system, and then you can build all the rest (`make rpms`).
Installing KDE packages from Qubes repository
---------------------------------------------
TODO