qubes-doc/building/kde-dom0.md

2.1 KiB

layout title permalink redirect_from
doc KDE dom0 /doc/kde-dom0/
/en/doc/kde-dom0/
/doc/KdeDom0/
/wiki/KdeDom0/

Qubes-customized KDE packages for Dom0

The Qubes kde-dom0 project (see 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 :)

Getting the sources

git clone git://qubes-os.org/mainstream/kde-dom0.git kde-dom0

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):

make get-sources verify-sources

Now, check if you have all the required build dependencies:

make prep

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):

make rpms

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:

yum install kdelibs-devel-{version}

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