qubes-doc/KdeDom0.md

55 lines
2.3 KiB
Markdown
Raw Normal View History

2010-05-31 09:14:58 -04:00
---
2015-04-10 16:17:45 -04:00
layout: doc
2010-05-31 09:14:58 -04:00
title: KdeDom0
2015-04-10 16:17:45 -04:00
permalink: /doc/KdeDom0/
redirect_from: /wiki/KdeDom0/
2010-05-31 09:14:58 -04:00
---
Qubes-customized KDE packages for Dom0
======================================
The Qubes kde-dom0 project (see [Source Code](/doc/SourceCode/)) 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
-------------------
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2010-05-31 09:14:58 -04:00
git clone git://qubes-os.org/mainstream/kde-dom0.git kde-dom0
2015-04-10 16:17:45 -04:00
{% endhighlight %}
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):
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2010-05-31 09:14:58 -04:00
make get-sources verify-sources
2015-04-10 16:17:45 -04:00
{% endhighlight %}
2010-05-31 09:14:58 -04:00
Now, check if you have all the required build dependencies:
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2010-05-31 09:14:58 -04:00
make prep
2015-04-10 16:17:45 -04:00
{% endhighlight %}
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):
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2010-05-31 09:14:58 -04:00
make rpms
2015-04-10 16:17:45 -04:00
{% endhighlight %}
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:
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2010-05-31 09:14:58 -04:00
yum install kdelibs-devel-{version}
2015-04-10 16:17:45 -04:00
{% endhighlight %}
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