Introduction to Kdebindings

The kdebindings provides the ability to write KDE applications in a variety of languages including Ruby, Perl, Python, Java, JavaScript, C#, and Smoke. For details see http://developer.kde.org/language-bindings/

Package Information

Kdebindings Dependencies





GLib-1.2.10, GTK+-1.2.10, Python-2.5.2, Ruby-1.8.6-p111, JDK-6 Update 5, SeaMonkey-1.1.9, QScintilla, Mono, DotGNU Portable.NET, and Rotor

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/kdebindings

Installation of Kdebindings

Note: If KDE is installed in /opt/kde-3.5.9, you'll need to make a modification before the build using the following command:

sed -i -e 's@/usr@/opt/kde-3.5.9@' \

Install kdebindings with:

sed -i -e '/configure.*pyqt/s/-c//' \
    -e '/configure.*pykde/s/-c/-i/' python/Makefile.in
sed -i 's%echo "yes" | @PYTHON@ configure.py%& -y qt-mt%' python/Makefile.in
DO_NOT_COMPILE="smoke" ./configure --prefix=$KDE_PREFIX --disable-debug \
    --disable-dependency-tracking &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i -e '/configure.*pyqt/s/-c//' -e '/configure.*pykde/s/-c/-i/' python/Makefile.in : Remove a switch that causes concatenation of multiple files for compilation. This fix reduces build time by a factor of five.

sed -i 's%echo "yes" | @PYTHON@ configure.py%& -y qt-mt%' python/Makefile.in: Specifies that the libqt-mt.so library should be used to build the pyqt bindings. configure.py will fail if it finds both libqt-mt.so and libqt.so.

DO_NOT_COMPILE="smoke" ./configure: Disables the building of the smoke module of kdebindings, as the build is currently broken and no workaround has been found.


Installed Programs: Several support programs for software development
Installed Libraries: KDE bindings for various programming languages
Installed Directories: Subdirectories of /usr/lib and $KDE_PREFIX/share

Last updated on 2008-05-09 08:00:42 -0500