Edit: The latest download and installation instructions are located at http://lancelot.fomentgroup.org/download

Since there were a couple of reported problems related to L installation, I decided to write a small how-to. The most peculiar thing was that ‘make install’ didn’t install any binaries. Thanks to the help of Jone Marius Vignes, the problem was hunted down and killed :)**

Prerequisites

  • Subversion client
  • Python >=2.5 (needed only at compile time)
  • Qt4 and KDE 4.1 or trunk development libraries (kdelibs and libplasma)
  • cmake

Download

If you have the KDE 4.1.x, do the following:

$ svn checkout svn://anonsvn.kde.org/home/kde/branches/work/lancelot/kde4.1-backport lancelot

And if you use the trunk

$ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeplasma-addons/applets/lancelot

Compile and install

Enter the directory that contains the source code (cd lancelot), and do the following:

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

If you plan to send me backtraces of crashes, install the KDElibs, libplasma and Qt with debugging symbols, and replace ‘release’ in above script with ‘debugfull’.

Alternatively, if you have the KDE development environment set up according to the article on the Techbase, just enter the source directory and type cmakekde

Almost there

Now just restart Plasma and add the Lancelot applet to the panel or desktop, or wherever. If the menu doesn’t show up when you click the applet, visit this link Lancelot FAQ: Troubleshooting

Have fun!


You can support my work on , or you can get my book Functional Programming in C++ at if you're into that sort of thing.