Projects/K3b

Contents

Getting Started in K3b Development

Setting Up Environment

Create target install directory. For the sake of example we will assume your home directory is /home/joe and you will install your compiled K3b to /home/joe/k3b/install. Add following lines to your ~/.bashrc file:

Getting Source Code

If you don't have a KDE development access you can get the source code using anonymous access repository:

git clone git://anongit.kde.org/k3b

If you have development access you should go the other way:

git clone ssh://git@git.kde.org:k3b

This will give you right to push back your changes to the origin repository.

Compilation

K3b, as most KDE applications, uses CMake for configuration and compilation of source code.

First the build directory should be created.

cd k3b
mkdir build
cd build

It is guaranteed all files created during build will be placed in this directory. That means that if you want to clean up source tree after build the only thing you need to do is to remove build directory.

Now we need to configure the source tree. This have to be done only once, later this step will be invoked automatically when necessary. If you are familiar with Autotools this step corresponds to ./configure command.