glfs/archive/kde/devel/kdebindings.xml
Xi Ruoyao 45ab6c70c2
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
2021-04-20 19:12:02 +08:00

157 lines
5.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY kdebindings-download-http "&kde-download-http;/kdebindings-&kde-version;.tar.bz2">
<!ENTITY kdebindings-download-ftp "&kde-download-ftp;/kdebindings-&kde-version;.tar.bz2">
<!ENTITY kdebindings-md5sum "7d5119160ac3688ac1a63954d03ab4a8">
<!ENTITY kdebindings-size "5.5 MB">
<!ENTITY kdebindings-buildsize "428 MB">
<!ENTITY kdebindings-time "20 SBU">
]>
<sect1 id="kdebindings" xreflabel="kdebindings-&kde-version;">
<?dbhtml filename="kdebindings.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>Kdebindings-&kde-version;</title>
<indexterm zone="kdebindings">
<primary sortas="a-kdebindings">Kdebindings</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Kdebindings</title>
<para>The <application>kdebindings</application> provides the ability to
write <application>KDE</application> applications in a variety of languages
including Ruby, Perl, Python, Java, JavaScript, C#, and Smoke. For
details see <ulink url='http://developer.kde.org/language-bindings/'/></para>
<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>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Required patch: <ulink
url="&patch-root;/kdebindings-&kde-version;-python-1.patch"/></para>
</listitem>
<listitem>
<para>Required patch: <ulink
url="&patch-root;/kdebindings-&kde-version;-ruby-1.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Kdebindings Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="kdebase"/></para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended"><xref linkend="libjpeg"/>,
<xref linkend="libxml2"/>, and
<xref linkend="libxslt"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><!-- <xref linkend="GLib"/>,
<xref linkend="GTK"/>, -->
<xref linkend="python2"/>,
<xref linkend="ruby"/>,
<xref linkend="openjdk"/>, <!-- or <xref linkend="jdk"/>, -->
<xref linkend="seamonkey"/>,
<ulink url="http://http://www.riverbankcomputing.co.uk/qscintilla/index.php">QScintilla</ulink>,
<ulink url="http://go-mono.org">Mono</ulink>,
<ulink url="http://www.southern-storm.com.au/portable_net.html">DotGNU Portable.NET</ulink>, and
<ulink url="http://www.microsoft.com/downloads/details.aspx?FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0&amp;displaylang=en">Rotor</ulink></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/kdebindings"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Kdebindings</title>
<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>
<screen><userinput>sed -i -e 's@/usr@/opt/kde-&kde-version;@' \
python/pykde/configure.py</userinput></screen>
<para>Install <application>kdebindings</application> with:</para>
<screen><userinput>sed -i 's%echo "yes" | @PYTHON@ configure.py%&amp; -y qt-mt%' \
python/Makefile.in &amp;&amp;
patch -Np1 -i $DIR/kdebindings-3.5.10-ruby-1.patch &amp;&amp;
patch -Np1 -i $DIR/kdebindings-3.5.10-python-1.patch &amp;&amp;
./configure --prefix=&kde-dir; --disable-debug \
--disable-dependency-tracking &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i ... python/Makefile.in</command>:
Specifies that the <filename class='libraryfile'>libqt-mt.so</filename> library
should be used to build the pyqt bindings. <command>configure.py</command>
will fail if it finds both <filename class='libraryfile'>libqt-mt.so</filename>
and <filename class='libraryfile'>libqt.so</filename>.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>Several support programs for software development</seg>
<seg><application>KDE</application> bindings for various programming
languages</seg>
<seg>Subdirectories of /usr/lib and $KDE_PREFIX/share</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>