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 | <sect1info>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 |
|
---|
21 | <title>Kdebindings-&kde-version;</title>
|
---|
22 |
|
---|
23 | <indexterm zone="kdebindings">
|
---|
24 | <primary sortas="a-kdebindings">Kdebindings</primary>
|
---|
25 | </indexterm>
|
---|
26 |
|
---|
27 | <sect2 role="package">
|
---|
28 | <title>Introduction to Kdebindings</title>
|
---|
29 |
|
---|
30 | <para>The <application>kdebindings</application> provides the ability to
|
---|
31 | write <application>KDE</application> applications in a variety of languages
|
---|
32 | including Ruby, Perl, Python, Java, JavaScript, C#, and Smoke. For
|
---|
33 | details see <ulink url='http://developer.kde.org/language-bindings/'/></para>
|
---|
34 |
|
---|
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 |
|
---|
57 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
58 | <itemizedlist spacing="compact">
|
---|
59 | <listitem>
|
---|
60 | <para>Required patch: <ulink
|
---|
61 | url="&patch-root;/kdebindings-&kde-version;-python-1.patch"/></para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>Required patch: <ulink
|
---|
65 | url="&patch-root;/kdebindings-&kde-version;-ruby-1.patch"/></para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect3">Kdebindings Dependencies</bridgehead>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
72 | <para role="required"><xref linkend="kdebase"/></para>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
75 | <para role="recommended"><xref linkend="libjpeg"/>,
|
---|
76 | <xref linkend="libxml2"/>, and
|
---|
77 | <xref linkend="libxslt"/></para>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
80 | <para role="optional"><!-- <xref linkend="GLib"/>,
|
---|
81 | <xref linkend="GTK"/>, -->
|
---|
82 | <xref linkend="python2"/>,
|
---|
83 | <xref linkend="ruby"/>,
|
---|
84 | <xref linkend="openjdk"/>, <!-- or <xref linkend="jdk"/>, -->
|
---|
85 | <xref linkend="seamonkey"/>,
|
---|
86 | <ulink url="http://http://www.riverbankcomputing.co.uk/qscintilla/index.php">QScintilla</ulink>,
|
---|
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
|
---|
89 | <ulink url="http://www.microsoft.com/downloads/details.aspx?FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0&displaylang=en">Rotor</ulink></para>
|
---|
90 |
|
---|
91 | <para condition="html" role="usernotes">User Notes:
|
---|
92 | <ulink url="&blfs-wiki;/kdebindings"/></para>
|
---|
93 |
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | <sect2 role="installation">
|
---|
97 | <title>Installation of Kdebindings</title>
|
---|
98 |
|
---|
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>
|
---|
102 |
|
---|
103 | <screen><userinput>sed -i -e 's@/usr@/opt/kde-&kde-version;@' \
|
---|
104 | python/pykde/configure.py</userinput></screen>
|
---|
105 |
|
---|
106 | <para>Install <application>kdebindings</application> with:</para>
|
---|
107 |
|
---|
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 \
|
---|
115 | --disable-dependency-tracking &&
|
---|
116 | make</userinput></screen>
|
---|
117 |
|
---|
118 | <para>This package does not come with a test suite.</para>
|
---|
119 |
|
---|
120 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="commands">
|
---|
127 | <title>Command Explanations</title>
|
---|
128 |
|
---|
129 | <para><command>sed -i ... python/Makefile.in</command>:
|
---|
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>
|
---|
132 | will fail if it finds both <filename class='libraryfile'>libqt-mt.so</filename>
|
---|
133 | and <filename class='libraryfile'>libqt.so</filename>.</para>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
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>
|
---|
144 |
|
---|
145 | <seglistitem>
|
---|
146 | <seg>Several support programs for software development</seg>
|
---|
147 | <seg><application>KDE</application> bindings for various programming
|
---|
148 | languages</seg>
|
---|
149 | <seg>Subdirectories of /usr/lib and $KDE_PREFIX/share</seg>
|
---|
150 | </seglistitem>
|
---|
151 |
|
---|
152 | </segmentedlist>
|
---|
153 |
|
---|
154 | </sect2>
|
---|
155 |
|
---|
156 | </sect1>
|
---|