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/
Download (HTTP): http://mirrors.isc.org/pub/kde/stable/3.5.9/src/kdebindings-3.5.9.tar.bz2
Download (FTP): ftp://ftp.kde.org/pub/kde/stable/3.5.9/src/kdebindings-3.5.9.tar.bz2
Download MD5 sum: ba780920f6b810a30a61b1ffa888706b
Download size: 5.5 MB
Estimated disk space required: 490 MB
Estimated build time: 18 SBU
libjpeg-6b, libxml2-2.6.31, and libxslt-1.1.22
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
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@' \ python/pykde/configure.py
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 && make
This package does not come with a test suite.
Now, as the root
user:
make install
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.
Last updated on 2008-05-09 08:00:42 -0500