[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">
|
---|
[d33b066] | 8 | <!ENTITY kdebindings-md5sum "d26b5f54f062b765a949d66657c2ab3c">
|
---|
[51ee35b] | 9 | <!ENTITY kdebindings-size "5.2 MB">
|
---|
[d33b066] | 10 | <!ENTITY kdebindings-buildsize "407 MB">
|
---|
| 11 | <!ENTITY kdebindings-time "18.1 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 |
|
---|
[4de61d3c] | 58 | <bridgehead renderas="sect3">Kdebindings Dependencies</bridgehead>
|
---|
[447039e8] | 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[91cb43ad] | 61 | <para role="required"><xref linkend="kdebase"/></para>
|
---|
[447039e8] | 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[91cb43ad] | 64 | <para role="recommended"><xref linkend="libjpeg"/>,
|
---|
[00c8453] | 65 | <xref linkend="libxml2"/>, and
|
---|
[4de61d3c] | 66 | <xref linkend="libxslt"/></para>
|
---|
[60384c68] | 67 |
|
---|
[447039e8] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[91cb43ad] | 69 | <para role="optional"><xref linkend="GLib"/>,
|
---|
[4de61d3c] | 70 | <xref linkend="GTK"/>,
|
---|
| 71 | <xref linkend="python"/>,
|
---|
| 72 | <xref linkend="ruby"/>,
|
---|
| 73 | <xref linkend="jdk"/>,
|
---|
[b5eb704] | 74 | <xref linkend="seamonkey"/>,
|
---|
[00c8453] | 75 | <ulink url="http://go-mono.org">Mono</ulink>,
|
---|
| 76 | <ulink url="http://www.southern-storm.com.au/portable_net.html">DotGNU Portable.NET</ulink>, and
|
---|
[4de61d3c] | 77 | <ulink url="http://www.microsoft.com/downloads/details.aspx?FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0&displaylang=en">Rotor</ulink></para>
|
---|
[447039e8] | 78 |
|
---|
[a3ef34c2] | 79 | <para condition="html" role="usernotes">User Notes:
|
---|
| 80 | <ulink url="&blfs-wiki;/kdebindings"/></para>
|
---|
| 81 |
|
---|
[447039e8] | 82 | </sect2>
|
---|
[60384c68] | 83 |
|
---|
[447039e8] | 84 | <sect2 role="installation">
|
---|
[4de61d3c] | 85 | <title>Installation of Kdebindings</title>
|
---|
[60384c68] | 86 |
|
---|
[447039e8] | 87 | <para><emphasis>Note</emphasis>: If KDE is installed in
|
---|
| 88 | <filename class='directory'>/opt/kde-&kde-version;</filename>, you'll need
|
---|
| 89 | to make a modification before the build using the following command:</para>
|
---|
[ebb1bc4] | 90 |
|
---|
[447039e8] | 91 | <screen><userinput>sed -i -e 's@/usr@/opt/kde-&kde-version;@' \
|
---|
| 92 | python/pykde/configure.py</userinput></screen>
|
---|
[ebb1bc4] | 93 |
|
---|
[447039e8] | 94 | <para>Install <application>kdebindings</application> with:</para>
|
---|
[330be7d] | 95 |
|
---|
[d33b066] | 96 | <screen><userinput>sed -i -e '/configure.*pyqt/s/-c//' \
|
---|
| 97 | -e '/configure.*pykde/s/-c/-i/' python/Makefile.in
|
---|
| 98 | ./configure --prefix=&kde-dir; --disable-debug \
|
---|
[60384c68] | 99 | --disable-dependency-tracking &&
|
---|
[447039e8] | 100 | make</userinput></screen>
|
---|
[4ea1644] | 101 |
|
---|
[d33b066] | 102 | <para>This package does not come with a test suite.</para>
|
---|
| 103 |
|
---|
[447039e8] | 104 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[60384c68] | 105 |
|
---|
[447039e8] | 106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[60384c68] | 107 |
|
---|
[447039e8] | 108 | </sect2>
|
---|
[60384c68] | 109 |
|
---|
[d33b066] | 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
| 112 |
|
---|
| 113 | <para><command>sed -i -e '/configure.*pyqt/s/-c//' -e
|
---|
| 114 | '/configure.*pykde/s/-c/-i/' python/Makefile.in </command>: Remove a switch
|
---|
| 115 | that causes concatenation of multiple files for compilation. This fix
|
---|
| 116 | reduces build time by a factor of five.</para>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
[447039e8] | 120 | <sect2 role="content">
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
| 123 | <segmentedlist>
|
---|
| 124 | <segtitle>Installed Programs</segtitle>
|
---|
| 125 | <segtitle>Installed Libraries</segtitle>
|
---|
| 126 | <segtitle>Installed Directories</segtitle>
|
---|
[9f271dd] | 127 |
|
---|
[447039e8] | 128 | <seglistitem>
|
---|
[d5bca7b6] | 129 | <seg>Several support programs for software development</seg>
|
---|
[00c8453] | 130 | <seg><application>KDE</application> bindings for various programming
|
---|
[4de61d3c] | 131 | languages</seg>
|
---|
[d5bca7b6] | 132 | <seg>Subdirectories of /usr/lib and $KDE_PREFIX/share</seg>
|
---|
[447039e8] | 133 | </seglistitem>
|
---|
[9f271dd] | 134 |
|
---|
[447039e8] | 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
[60384c68] | 138 |
|
---|
[fc20429] | 139 | </sect1>
|
---|