2004-06-13 16:05:17 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 16:05:17 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2005-05-08 03:22:56 +08:00
|
|
|
<!ENTITY kdebindings-download-http "&kde-download-http;/kdebindings-&kde-version;.tar.bz2">
|
|
|
|
<!ENTITY kdebindings-download-ftp "&kde-download-ftp;/kdebindings-&kde-version;.tar.bz2">
|
2009-01-07 15:33:33 +08:00
|
|
|
<!ENTITY kdebindings-md5sum "7d5119160ac3688ac1a63954d03ab4a8">
|
2008-03-11 05:50:22 +08:00
|
|
|
<!ENTITY kdebindings-size "5.5 MB">
|
2009-01-07 15:33:33 +08:00
|
|
|
<!ENTITY kdebindings-buildsize "428 MB">
|
|
|
|
<!ENTITY kdebindings-time "20 SBU">
|
2004-06-13 16:05:17 +08:00
|
|
|
]>
|
|
|
|
|
2007-02-15 01:41:56 +08:00
|
|
|
<sect1 id="kdebindings" xreflabel="kdebindings-&kde-version;">
|
2005-04-29 15:07:46 +08:00
|
|
|
<?dbhtml filename="kdebindings.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2005-05-08 03:22:56 +08:00
|
|
|
<title>Kdebindings-&kde-version;</title>
|
2005-04-29 15:07:46 +08:00
|
|
|
|
|
|
|
<indexterm zone="kdebindings">
|
|
|
|
<primary sortas="a-kdebindings">Kdebindings</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2005-05-08 03:22:56 +08:00
|
|
|
<title>Introduction to Kdebindings</title>
|
2005-04-29 15:07:46 +08:00
|
|
|
|
2006-03-15 23:00:51 +08:00
|
|
|
<para>The <application>kdebindings</application> provides the ability to
|
2005-12-18 14:09:14 +08:00
|
|
|
write <application>KDE</application> applications in a variety of languages
|
2006-03-15 23:00:51 +08:00
|
|
|
including Ruby, Perl, Python, Java, JavaScript, C#, and Smoke. For
|
2005-12-18 14:09:14 +08:00
|
|
|
details see <ulink url='http://developer.kde.org/language-bindings/'/></para>
|
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&kdebindings-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&kdebindings-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &kdebindings-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &kdebindings-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &kdebindings-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &kdebindings-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2009-01-07 15:33:33 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2009-06-27 18:10:28 +08:00
|
|
|
<para>Required patch: <ulink
|
2009-01-07 15:33:33 +08:00
|
|
|
url="&patch-root;/kdebindings-&kde-version;-python-1.patch"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2009-06-27 18:10:28 +08:00
|
|
|
<para>Required patch: <ulink
|
2009-01-07 15:33:33 +08:00
|
|
|
url="&patch-root;/kdebindings-&kde-version;-ruby-1.patch"/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-05-08 03:22:56 +08:00
|
|
|
<bridgehead renderas="sect3">Kdebindings Dependencies</bridgehead>
|
2005-04-29 15:07:46 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2005-12-06 19:30:17 +08:00
|
|
|
<para role="required"><xref linkend="kdebase"/></para>
|
2005-04-29 15:07:46 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2005-12-06 19:30:17 +08:00
|
|
|
<para role="recommended"><xref linkend="libjpeg"/>,
|
2005-05-31 05:46:44 +08:00
|
|
|
<xref linkend="libxml2"/>, and
|
2005-05-08 03:22:56 +08:00
|
|
|
<xref linkend="libxslt"/></para>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2011-11-06 05:04:08 +08:00
|
|
|
<para role="optional"><!-- <xref linkend="GLib"/>,
|
|
|
|
<xref linkend="GTK"/>, -->
|
2012-02-17 22:43:28 +08:00
|
|
|
<xref linkend="python2"/>,
|
2005-05-08 03:22:56 +08:00
|
|
|
<xref linkend="ruby"/>,
|
2010-09-08 14:26:20 +08:00
|
|
|
<xref linkend="icedtea6"/> or <xref linkend="jdk"/>,
|
2006-02-27 12:02:49 +08:00
|
|
|
<xref linkend="seamonkey"/>,
|
2008-03-11 05:50:22 +08:00
|
|
|
<ulink url="http://http://www.riverbankcomputing.co.uk/qscintilla/index.php">QScintilla</ulink>,
|
2005-05-31 05:46:44 +08:00
|
|
|
<ulink url="http://go-mono.org">Mono</ulink>,
|
|
|
|
<ulink url="http://www.southern-storm.com.au/portable_net.html">DotGNU Portable.NET</ulink>, and
|
2005-05-08 03:22:56 +08:00
|
|
|
<ulink url="http://www.microsoft.com/downloads/details.aspx?FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0&displaylang=en">Rotor</ulink></para>
|
2008-05-09 20:42:27 +08:00
|
|
|
|
2006-04-11 02:37:03 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/kdebindings"/></para>
|
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
</sect2>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<sect2 role="installation">
|
2005-05-08 03:22:56 +08:00
|
|
|
<title>Installation of Kdebindings</title>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<para><emphasis>Note</emphasis>: If KDE is installed in
|
|
|
|
<filename class='directory'>/opt/kde-&kde-version;</filename>, you'll need
|
|
|
|
to make a modification before the build using the following command:</para>
|
2004-08-25 10:20:19 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<screen><userinput>sed -i -e 's@/usr@/opt/kde-&kde-version;@' \
|
|
|
|
python/pykde/configure.py</userinput></screen>
|
2004-08-25 10:20:19 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<para>Install <application>kdebindings</application> with:</para>
|
2004-12-18 08:16:22 +08:00
|
|
|
|
2009-01-07 15:33:33 +08:00
|
|
|
<screen><userinput>sed -i 's%echo "yes" | @PYTHON@ configure.py%& -y qt-mt%' \
|
|
|
|
python/Makefile.in &&
|
|
|
|
|
|
|
|
patch -Np1 -i $DIR/kdebindings-3.5.10-ruby-1.patch &&
|
|
|
|
patch -Np1 -i $DIR/kdebindings-3.5.10-python-1.patch &&
|
|
|
|
|
|
|
|
./configure --prefix=&kde-dir; --disable-debug \
|
2004-06-13 16:05:17 +08:00
|
|
|
--disable-dependency-tracking &&
|
2005-04-29 15:07:46 +08:00
|
|
|
make</userinput></screen>
|
2005-02-05 14:12:05 +08:00
|
|
|
|
2007-02-02 04:36:42 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
</sect2>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2007-02-02 04:36:42 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2009-01-07 15:33:33 +08:00
|
|
|
<para><command>sed -i ... python/Makefile.in</command>:
|
2008-05-09 21:00:42 +08:00
|
|
|
Specifies that the <filename class='libraryfile'>libqt-mt.so</filename> library
|
|
|
|
should be used to build the pyqt bindings. <command>configure.py</command>
|
2008-03-11 10:37:42 +08:00
|
|
|
will fail if it finds both <filename class='libraryfile'>libqt-mt.so</filename>
|
|
|
|
and <filename class='libraryfile'>libqt.so</filename>.</para>
|
2008-03-11 05:50:22 +08:00
|
|
|
|
2007-02-02 04:36:42 +08:00
|
|
|
</sect2>
|
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:18:15 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
<seglistitem>
|
2005-07-28 10:56:04 +08:00
|
|
|
<seg>Several support programs for software development</seg>
|
2005-05-31 05:46:44 +08:00
|
|
|
<seg><application>KDE</application> bindings for various programming
|
2005-05-08 03:22:56 +08:00
|
|
|
languages</seg>
|
2005-07-28 10:56:04 +08:00
|
|
|
<seg>Subdirectories of /usr/lib and $KDE_PREFIX/share</seg>
|
2005-04-29 15:07:46 +08:00
|
|
|
</seglistitem>
|
2005-05-31 00:18:15 +08:00
|
|
|
|
2005-04-29 15:07:46 +08:00
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2004-05-24 02:45:26 +08:00
|
|
|
</sect1>
|