[60384c68] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[60384c68] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[4de61d3c] | 6 | <!ENTITY kdebindings-download-http "&kde-download-http;/kdebindings-&kde-version;.tar.bz2">
|
---|
| 7 | <!ENTITY kdebindings-download-ftp "&kde-download-ftp;/kdebindings-&kde-version;.tar.bz2">
|
---|
[65ce93a] | 8 | <!ENTITY kdebindings-md5sum "7d5119160ac3688ac1a63954d03ab4a8">
|
---|
[a9bab6d] | 9 | <!ENTITY kdebindings-size "5.5 MB">
|
---|
[65ce93a] | 10 | <!ENTITY kdebindings-buildsize "428 MB">
|
---|
| 11 | <!ENTITY kdebindings-time "20 SBU">
|
---|
[60384c68] | 12 | ]>
|
---|
| 13 |
|
---|
[fd680fb] | 14 | <sect1 id="kdebindings" xreflabel="kdebindings-&kde-version;">
|
---|
[447039e8] | 15 | <?dbhtml filename="kdebindings.html"?>
|
---|
| 16 |
|
---|
| 17 |
|
---|
[4de61d3c] | 18 | <title>Kdebindings-&kde-version;</title>
|
---|
[447039e8] | 19 |
|
---|
| 20 | <indexterm zone="kdebindings">
|
---|
| 21 | <primary sortas="a-kdebindings">Kdebindings</primary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
[4de61d3c] | 25 | <title>Introduction to Kdebindings</title>
|
---|
[447039e8] | 26 |
|
---|
[6473e74] | 27 | <para>The <application>kdebindings</application> provides the ability to
|
---|
[90bd3c1b] | 28 | write <application>KDE</application> applications in a variety of languages
|
---|
[6473e74] | 29 | including Ruby, Perl, Python, Java, JavaScript, C#, and Smoke. For
|
---|
[90bd3c1b] | 30 | details see <ulink url='http://developer.kde.org/language-bindings/'/></para>
|
---|
| 31 |
|
---|
[447039e8] | 32 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
| 34 | <listitem>
|
---|
| 35 | <para>Download (HTTP): <ulink url="&kdebindings-download-http;"/></para>
|
---|
| 36 | </listitem>
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (FTP): <ulink url="&kdebindings-download-ftp;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download MD5 sum: &kdebindings-md5sum;</para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download size: &kdebindings-size;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Estimated disk space required: &kdebindings-buildsize;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated build time: &kdebindings-time;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | </itemizedlist>
|
---|
| 53 |
|
---|
[65ce93a] | 54 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 55 | <itemizedlist spacing="compact">
|
---|
| 56 | <listitem>
|
---|
[104733c] | 57 | <para>Required patch: <ulink
|
---|
[65ce93a] | 58 | url="&patch-root;/kdebindings-&kde-version;-python-1.patch"/></para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[104733c] | 61 | <para>Required patch: <ulink
|
---|
[65ce93a] | 62 | url="&patch-root;/kdebindings-&kde-version;-ruby-1.patch"/></para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
[4de61d3c] | 66 | <bridgehead renderas="sect3">Kdebindings Dependencies</bridgehead>
|
---|
[447039e8] | 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[91cb43ad] | 69 | <para role="required"><xref linkend="kdebase"/></para>
|
---|
[447039e8] | 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[91cb43ad] | 72 | <para role="recommended"><xref linkend="libjpeg"/>,
|
---|
[00c8453] | 73 | <xref linkend="libxml2"/>, and
|
---|
[4de61d3c] | 74 | <xref linkend="libxslt"/></para>
|
---|
[60384c68] | 75 |
|
---|
[447039e8] | 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[3b10fa8] | 77 | <para role="optional"><!-- <xref linkend="GLib"/>,
|
---|
| 78 | <xref linkend="GTK"/>, -->
|
---|
[4716d52] | 79 | <xref linkend="python2"/>,
|
---|
[4de61d3c] | 80 | <xref linkend="ruby"/>,
|
---|
[49b50d4] | 81 | <xref linkend="openjdk"/>, <!-- or <xref linkend="jdk"/>, -->
|
---|
[b5eb704] | 82 | <xref linkend="seamonkey"/>,
|
---|
[a9bab6d] | 83 | <ulink url="http://http://www.riverbankcomputing.co.uk/qscintilla/index.php">QScintilla</ulink>,
|
---|
[00c8453] | 84 | <ulink url="http://go-mono.org">Mono</ulink>,
|
---|
| 85 | <ulink url="http://www.southern-storm.com.au/portable_net.html">DotGNU Portable.NET</ulink>, and
|
---|
[4de61d3c] | 86 | <ulink url="http://www.microsoft.com/downloads/details.aspx?FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0&displaylang=en">Rotor</ulink></para>
|
---|
[fd7e0ed6] | 87 |
|
---|
[a3ef34c2] | 88 | <para condition="html" role="usernotes">User Notes:
|
---|
| 89 | <ulink url="&blfs-wiki;/kdebindings"/></para>
|
---|
| 90 |
|
---|
[447039e8] | 91 | </sect2>
|
---|
[60384c68] | 92 |
|
---|
[447039e8] | 93 | <sect2 role="installation">
|
---|
[4de61d3c] | 94 | <title>Installation of Kdebindings</title>
|
---|
[60384c68] | 95 |
|
---|
[447039e8] | 96 | <para><emphasis>Note</emphasis>: If KDE is installed in
|
---|
| 97 | <filename class='directory'>/opt/kde-&kde-version;</filename>, you'll need
|
---|
| 98 | to make a modification before the build using the following command:</para>
|
---|
[ebb1bc4] | 99 |
|
---|
[447039e8] | 100 | <screen><userinput>sed -i -e 's@/usr@/opt/kde-&kde-version;@' \
|
---|
| 101 | python/pykde/configure.py</userinput></screen>
|
---|
[ebb1bc4] | 102 |
|
---|
[447039e8] | 103 | <para>Install <application>kdebindings</application> with:</para>
|
---|
[330be7d] | 104 |
|
---|
[65ce93a] | 105 | <screen><userinput>sed -i 's%echo "yes" | @PYTHON@ configure.py%& -y qt-mt%' \
|
---|
| 106 | python/Makefile.in &&
|
---|
| 107 |
|
---|
| 108 | patch -Np1 -i $DIR/kdebindings-3.5.10-ruby-1.patch &&
|
---|
| 109 | patch -Np1 -i $DIR/kdebindings-3.5.10-python-1.patch &&
|
---|
| 110 |
|
---|
| 111 | ./configure --prefix=&kde-dir; --disable-debug \
|
---|
[60384c68] | 112 | --disable-dependency-tracking &&
|
---|
[447039e8] | 113 | make</userinput></screen>
|
---|
[4ea1644] | 114 |
|
---|
[d33b066] | 115 | <para>This package does not come with a test suite.</para>
|
---|
| 116 |
|
---|
[447039e8] | 117 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[60384c68] | 118 |
|
---|
[447039e8] | 119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[60384c68] | 120 |
|
---|
[447039e8] | 121 | </sect2>
|
---|
[60384c68] | 122 |
|
---|
[d33b066] | 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
[65ce93a] | 126 | <para><command>sed -i ... python/Makefile.in</command>:
|
---|
[410e228b] | 127 | Specifies that the <filename class='libraryfile'>libqt-mt.so</filename> library
|
---|
| 128 | should be used to build the pyqt bindings. <command>configure.py</command>
|
---|
[74938aa] | 129 | will fail if it finds both <filename class='libraryfile'>libqt-mt.so</filename>
|
---|
| 130 | and <filename class='libraryfile'>libqt.so</filename>.</para>
|
---|
[a9bab6d] | 131 |
|
---|
[d33b066] | 132 | </sect2>
|
---|
| 133 |
|
---|
[447039e8] | 134 | <sect2 role="content">
|
---|
| 135 | <title>Contents</title>
|
---|
| 136 |
|
---|
| 137 | <segmentedlist>
|
---|
| 138 | <segtitle>Installed Programs</segtitle>
|
---|
| 139 | <segtitle>Installed Libraries</segtitle>
|
---|
| 140 | <segtitle>Installed Directories</segtitle>
|
---|
[9f271dd] | 141 |
|
---|
[447039e8] | 142 | <seglistitem>
|
---|
[d5bca7b6] | 143 | <seg>Several support programs for software development</seg>
|
---|
[00c8453] | 144 | <seg><application>KDE</application> bindings for various programming
|
---|
[4de61d3c] | 145 | languages</seg>
|
---|
[d5bca7b6] | 146 | <seg>Subdirectories of /usr/lib and $KDE_PREFIX/share</seg>
|
---|
[447039e8] | 147 | </seglistitem>
|
---|
[9f271dd] | 148 |
|
---|
[447039e8] | 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | </sect2>
|
---|
[60384c68] | 152 |
|
---|
[fc20429] | 153 | </sect1>
|
---|