KDE Build Tool

A script that automates the process of fetching and building kde4 (or any other project) from the repository.

The script supports currently git, and subversion hosted projects but it’s easy to add support for other vcs systems. Locally git-svn can be used too.

The script is able to handle cmake, qmake(not yet) and autoconf based build systems. In case of autoconf it is able to handle autogen.sh, bootstrap(not yet) and Makefile.cvs(not yet).

The script brings an example configuration file that makes it possible to compile a complete kde4 desktop from current trunk.

If you have suggestions or problems see contact below.

Installing

sudo gem install build-tool

Demonstration of usage

> kde-build.rb build :qt

Download, build and install

> kde-build.rb build kdesupport/

Download, build and install all other kdesupport packages

> kde-build.rb build :default

Download, build and install kdelibs, kdepimlibs, kdebase/(runtime|workspace|apps) and kdepim

You now have an working kde4 installation.

How to submit patches

Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.

You can fetch the source from either:

git clone git://rubyforge.org/test.git

Build and test instructions

cd test
rake test
rake install_gem

License

This code is free to use under the terms of the GPL License V2+

Contact

Comments are welcome. Send an email to Michael Jansen <kde (at) michael-jansen.biz>

Michael Jansen, 10th June 2009
Theme extended from Paul Battley