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