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