glfs/kde4/core/kde4bindings.xml
Andrew Benton 4716d520a0 Removed the python linkend. The python links now point at python2
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9451 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-02-17 14:43:28 +00:00

178 lines
5.8 KiB
XML

<?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="python2"/>,
<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">
<xref linkend="polkit-qt"/>, Qwt5, QScintilla2, Mono
</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 &amp;&amp;
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 \
.. &amp;&amp;
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><option>-DPYTHON_SITE_PACKAGES_DIR:PATH=&lt;site-packages&gt;</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 &amp;&amp;
_pyversion=$(python -V 2>&amp;1 | awk '{print $2}') &amp;&amp;
echo "$_pylibdir/python${_pyversion%.*}/site-packages"</userinput></screen>
</para>
</sect2>
<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>