2011-03-10 04:39:52 +08:00
<?xml version="1.0" encoding="ISO-8859-1"?>
< !DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY kde4bindings-download-http "&kde4-download-http;/kdebindings-&kde4-version;.tar.bz2">
<!ENTITY kde4bindings-download-ftp "&kde4-download-ftp;/kdebindings-&kde4-version;.tar.bz2">
<!ENTITY kde4bindings-md5sum "4ec0e648b825916ee4be025a74cc6684">
<!ENTITY kde4bindings-size "6.9 MB">
<!ENTITY kde4bindings-buildsize "887 MB">
<!ENTITY kde4bindings-time "18.6 SBU">
]>
<sect1 id= "kde4bindings" xreflabel= "kde4bindings-&kde4-version;" >
<?dbhtml filename="kde4bindings.html"?>
<sect1info >
<othername > $LastChangedBy$</othername>
<date > $Date$</date>
</sect1info>
<title > Kdebindings-&kde4-version; </title>
<indexterm zone= "kde4bindings" >
<primary sortas= "a-kde4bindings" > kde4bindings</primary>
</indexterm>
<sect2 role= "package" >
<title > Introduction to Kdebindings</title>
<para > The Kdebindings provides the ability to write <application > KDE</application>
applications in a variety of languages including <application > Ruby</application> ,
<application > Perl</application> , <application > Python</application> ,
<application > Java</application> , <application > JavaScript</application> ,
<application > C#</application> , and <application > Smoke</application> .</para>
&lfs67_checked;
<bridgehead renderas= "sect3" > Package Information</bridgehead>
<itemizedlist spacing= "compact" >
<listitem >
<para > Download (HTTP): <ulink url= "&kde4bindings-download-http;" /> </para>
</listitem>
<listitem >
<para > Download (FTP): <ulink url= "&kde4bindings-download-ftp;" /> </para>
</listitem>
<listitem >
<para > Download MD5 sum: &kde4bindings-md5sum; </para>
</listitem>
<listitem >
<para > Download size: &kde4bindings-size; </para>
</listitem>
<listitem >
<para > Estimated disk space required: &kde4bindings-buildsize; </para>
</listitem>
<listitem >
<para > Estimated build time: &kde4bindings-time; </para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas= "sect3" > Additional Downloads</bridgehead>
<itemizedlist spacing= 'compact' >
<listitem >
<para > Required patch: <ulink
url="&patch-root; /kde4bindings-&kdebindings-version; -fixes-1.patch"/></para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas= "sect3" > Kdebindings Dependencies</bridgehead>
<bridgehead renderas= "sect4" > Required</bridgehead>
<para role= "required" >
<xref linkend= "ruby" /> ,
<xref linkend= "python" /> ,
<xref linkend= "qca" /> ,
<xref linkend= "qimageblitz" /> ,
<xref linkend= "libdbusmenu-qt" /> ,
<xref linkend= "soprano" /> ,
<xref linkend= "kde4pimlibs" /> ,
<xref linkend= "attica" /> ,
<xref linkend= "akonadi" /> ,
</para>
<bridgehead renderas= "sect4" > Recommended</bridgehead>
<para role= "recommended" >
<xref linkend= "exiv2" /> ,
<xref linkend= "poppler" /> ,
<xref linkend= "strigi" /> ,
<xref linkend= "shared-mime-info" /> ,
<xref linkend= "shared-desktop-ontologies" /> ,
pySIP, pyQT4
</para>
<bridgehead renderas= "sect4" > Optional</bridgehead>
<para role= "optional" >
2011-03-20 02:19:07 +08:00
<xref linkend= "polkit-qt" /> , Qwt5, QScintilla2, Mono
2011-03-10 04:39:52 +08:00
</para>
<para condition= "html" role= "usernotes" > User Notes:
<ulink url= "&blfs-wiki;/kde4bindings" />
</para>
</sect2>
<sect2 role= "installation" >
<title > Installation of Kdebindings</title>
<para > Install <application > kde4bindings</application> by running
the following commands:</para>
<screen > <userinput > mkdir build & &
cd build</userinput> </screen>
<para > Prepare the package for compilation:</para>
<screen > <userinput > cmake -DCMAKE_INSTALL_PREFIX=$KDE4_PREFIX \
-DKDE_DEFAULT_HOME=.kde4 \
-DSYSCONF_INSTALL_DIR=/etc/kde4 \
.. & &
make</userinput> </screen>
<para > Now, as the <systemitem class= "username" > root</systemitem> user:</para>
<screen role= "root" > <userinput > make install</userinput> </screen>
</sect2>
2011-03-20 02:19:07 +08:00
2011-03-10 04:39:52 +08:00
<sect2 role= "commands" >
<title > Command Explanations</title>
2011-03-20 02:19:07 +08:00
<para > <option > -DPYTHON_SITE_PACKAGES_DIR:PATH=< site-packages> </option> : If you do not install KDE in /usr, set this option in order to have the KDE4
Python objects installed correctly. You can use following code to determine tha directory name:
<screen > <userinput > _pylibdir=$(python-config --prefix)/lib & &
_pyversion=$(python -V 2>& 1 | awk '{print $2}') & &
echo "$_pylibdir/python${_pyversion%.*}/site-packages"</userinput> </screen>
</para>
2011-03-10 04:39:52 +08:00
</sect2>
2011-03-20 02:19:07 +08:00
2011-03-10 04:39:52 +08:00
<sect2 role= "content" >
<title > Contents</title>
<segmentedlist >
<segtitle > Installed Programs</segtitle>
<segtitle > Installed Libraries</segtitle>
<segtitle > Installed Directory</segtitle>
<seglistitem >
<seg > prcc4_bin, puic4, pykdeuic4, qdbusxml2perl, rbkconfig_compiler4,
rbqtapi, rbrcc, rbuic4, smokeapi, smokegen</seg>
<seg > several libs in &kde4-dir; /lib</seg>
<seg > </seg>
</seglistitem>
</segmentedlist>
<!--
<variablelist >
<bridgehead renderas= "sect3" > Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id= "a-kde4bindings" >
<term > <command > kde4bindings</command> </term>
<listitem >
<para > is a testing utility for kde4bindings-generated build trees.</para>
<indexterm zone= "a-kde4bindings kde4bindings" >
<primary sortas= "b-kde4bindings" > kdebindings</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
-->
</sect2>
</sect1>