Download and Installation

Lancelot is now a part of KDE SC (since 4.2) so it should be available to you through the standard packaging system of your distribution. Lancelot is located in kdeplasma-addons package (the name may vary from distribution to distribution).

If you want to compile the development version by yourself, continue reading.

Prerequisites

Subversion client

Python >=2.5 (needed only at compile time)

Qt4 and latest KDE SC 4.x or trunk development libraries (kdelibs, libplasma and kdebase/workspace libs)

cmake

Download the sources

To download the latest sources (guarantied to compile against the development version of KDE SC), do the following:

$ export KDESVN=svn://anonsvn.kde.org/home/kde $ svn co -N $KDESVN/trunk/KDE/kdeplasma-addons/ $ svn up -N kdeplasma-addons/applets $ svn up kdeplasma-addons/applets/lancelot

Compilation

Enter the directory that contains the newly downloaded source code (cd kdeplasma-addons). Edit CMakeLists.txt file and comment out all add_subdirectory commands except add_subdirectory(applets), then edit applets/CMakeLists.txt and do the same as above, just this time leave only add_subdirectory(lancelot) uncommented.

Then do the following:

$ mkdir build $ cd build $ cmake .. \ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \ -DCMAKE_BUILD_TYPE=release $ make

Installation

$ make install

make install

sudo

$ sudo make install

If you make crash reports (if they occur) on bugs.kde.org, install the KDElibs, libplasma and Qt with debugging symbols included, and replace ‘release’ in above script with ‘debugfull’.If you have KDE SC 4 installed in a user-writable directory, just typeIf not, you need to log in as root user and then do the. Alternatively, if your system has thecommand, you can type

If you have the KDE SC development environment set up according to this Techbase article, just enter the source directory and type

$ cmakekde

Almost there

It will do both the compilation and installation.

Now just restart (log out from KDE Workspace and log back in) Plasma and add the Lancelot applet to the panel or desktop, or wherever.

Troubleshooting

If you have problems installing or running Lancelot, visit the:

FAQ: Troubleshooting section.