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