source: archive/dbus-bindings.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 4 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 10.7 KB
Line 
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
7 <!ENTITY dbus-glib-download-http "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-&dbus-glib-version;.tar.gz">
8 <!ENTITY dbus-glib-download-ftp " ">
9 <!ENTITY dbus-glib-md5sum "ad0920c7e3aad669163bb59171cf138e">
10 <!ENTITY dbus-glib-size "732 KB">
11 <!ENTITY dbus-glib-buildsize "12 MB">
12 <!ENTITY dbus-glib-time "0.1 SBU">
13
14 <!ENTITY dbus-python-download-http "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
15 <!ENTITY dbus-python-download-ftp " ">
16 <!ENTITY dbus-python-md5sum "742c7432ad0f7c3f98291d58fa2e35dc">
17 <!ENTITY dbus-python-size "583 KB">
18 <!ENTITY dbus-python-buildsize "5.7 MB">
19 <!ENTITY dbus-python-time "0.2 SBU">
20
21 <!-- All the other bindings info should be here as well -->
22]>
23
24<sect1 id="dbus-bindings" xreflabel="D-Bus Bindings">
25 <?dbhtml filename="dbus-bindings.html"?>
26
27 <sect1info>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>D-Bus Bindings</title>
32
33 <indexterm zone="dbus-bindings">
34 <primary sortas="a-dbus-bindings">D-Bus Bindings</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to D-Bus Bindings</title>
39
40 <para>The <application>D-Bus Bindings</application> are a group of packages
41 that contain programming language and platform interfaces to the D-Bus API.
42 This is useful for programmers to easily interface D-Bus with their
43 supported platform or language of choice. Some non-D-Bus packages will
44 require one or more of the Bindings packages in order to build
45 successfully.</para>
46
47 <para>The <application>GLib</application> and
48 <application>Python</application> bindings are included on this page. Other
49 language bindings are available at the <ulink
50 url="http://www.freedesktop.org/wiki/Software/DBusBindings">D-Bus
51 Bindings</ulink> page for information.</para>
52
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para><xref linkend="dbus-glib"/></para>
56 </listitem>
57 <listitem>
58 <para><xref linkend="dbus-python"/></para>
59 </listitem>
60 </itemizedlist>
61
62 </sect2>
63
64 <!-- Begin D-Bus GLib Bindings -->
65 <sect2 id="dbus-glib" xreflabel="D-Bus GLib Bindings-&dbus-glib-version;">
66 <title>D-Bus GLib Bindings</title>
67
68 <indexterm zone="dbus-glib">
69 <primary sortas="a-dbus-glib">D-Bus GLib Bindings</primary>
70 </indexterm>
71
72 <sect3 role="package">
73 <title>Introduction to D-Bus GLib Bindings</title>
74
75 &lfs73_checked;
76
77 <bridgehead renderas="sect4">Package Information</bridgehead>
78 <itemizedlist spacing="compact">
79 <listitem>
80 <para>
81 Download (HTTP): <ulink url="&dbus-glib-download-http;"/>
82 </para>
83 </listitem>
84 <listitem>
85 <para>
86 Download (FTP): <ulink url="&dbus-glib-download-ftp;"/>
87 </para>
88 </listitem>
89 <listitem>
90 <para>
91 Download MD5 sum: &dbus-glib-md5sum;
92 </para>
93 </listitem>
94 <listitem>
95 <para>
96 Download size: &dbus-glib-size;
97 </para>
98 </listitem>
99 <listitem>
100 <para>
101 Estimated disk space required: &dbus-glib-buildsize;
102 </para>
103 </listitem>
104 <listitem>
105 <para>
106 Estimated build time: &dbus-glib-time;
107 </para>
108 </listitem>
109 </itemizedlist>
110
111 <bridgehead renderas="sect4">D-Bus GLib Dependencies</bridgehead>
112
113 <bridgehead renderas="sect5">Required</bridgehead>
114 <para role="required">
115 <xref linkend="expat"/> and
116 <xref linkend="glib2"/>
117 </para>
118
119 <bridgehead renderas="sect5">Optional to Build the API Documentation</bridgehead>
120 <para role="optional">
121 <xref linkend="doxygen"/>
122 </para>
123
124 <para condition="html" role="usernotes">User Notes:
125 <ulink url="&blfs-wiki;/dbus-glib"/>
126 </para>
127 </sect3>
128
129 <sect3 role="installation">
130 <title>Installation of D-Bus GLib Bindings</title>
131
132 <para>
133 Install <application>D-Bus GLib Bindings</application> by
134 running the following commands:
135 </para>
136
137<screen><userinput>./configure --prefix=/usr \
138 --sysconfdir=/etc \
139 --libexecdir=/usr/lib/dbus-1.0 \
140 --disable-static &amp;&amp;
141make</userinput></screen>
142
143 <para>
144 To test the results, issue: <command>make check</command>. Note that
145 more comprehensive tests can be run by following the same method used in
146 <application>D-Bus</application> instructions, which requires building the
147 package twice.
148 </para>
149
150 <para>
151 Now, as the <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>make install</userinput></screen>
155
156 </sect3>
157
158 <sect3 role="commands">
159 <title>Command Explanations</title>
160
161 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
162 href="../../xincludes/static-libraries.xml"/>
163
164 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
165 href="../../xincludes/gtk-doc-rebuild.xml"/>
166
167 </sect3>
168
169 <sect3 role="content">
170 <title>Contents</title>
171
172 <segmentedlist>
173 <segtitle>Installed Program</segtitle>
174 <segtitle>Installed Library</segtitle>
175 <segtitle>Installed Directories</segtitle>
176
177 <seglistitem>
178 <seg>
179 dbus-binding-tool
180 </seg>
181 <seg>
182 libdbus-glib-1.so
183 </seg>
184 <seg>
185 /usr/share/gtk-doc/html/dbus-glib and
186 /usr/share/doc/dbus-glib-&dbus-glib-version;
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="glib-dbus-binding-tool">
197 <term><command>dbus-binding-tool</command></term>
198 <listitem>
199 <para>
200 is a tool used to interface with the D-Bus API.
201 </para>
202 <indexterm zone="dbus-glib glib-dbus-binding-tool">
203 <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="libdbus-glib-1">
209 <term><filename class="libraryfile">libdbus-glib-1.so</filename></term>
210 <listitem>
211 <para>
212 contains <application>GLib</application> interface functions
213 to the <application>D-Bus</application> API.
214 </para>
215 <indexterm zone="dbus-glib libdbus-glib-1">
216 <primary sortas="c-libdbus-glib-1">libdbus-glib-1.so</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 </variablelist>
222
223 </sect3>
224
225 </sect2>
226
227 <!-- Begin D-Bus Python Bindings -->
228 <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
229 <title>D-Bus Python Bindings</title>
230
231 <indexterm zone="dbus-python">
232 <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
233 </indexterm>
234
235 <sect3 role="package">
236 <title>Introduction to D-Bus Python Bindings</title>
237
238 &lfs73_checked;
239
240 <bridgehead renderas="sect4">Package Information</bridgehead>
241 <itemizedlist spacing="compact">
242 <listitem>
243 <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
244 </listitem>
245 <listitem>
246 <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
247 </listitem>
248 <listitem>
249 <para>Download MD5 sum: &dbus-python-md5sum;</para>
250 </listitem>
251 <listitem>
252 <para>Download size: &dbus-python-size;</para>
253 </listitem>
254 <listitem>
255 <para>Estimated disk space required: &dbus-python-buildsize;</para>
256 </listitem>
257 <listitem>
258 <para>Estimated build time: &dbus-python-time;</para>
259 </listitem>
260 </itemizedlist>
261
262 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
263
264 <bridgehead renderas="sect5">Required</bridgehead>
265 <para role="required">
266 <xref linkend="python2"/> and
267 <xref linkend="dbus-glib"/>
268 </para>
269
270 <bridgehead renderas="sect5">Optional</bridgehead>
271 <para role="optional">
272 <xref linkend="pygobject2"/> (required to run the test suite)
273 </para>
274
275 <bridgehead renderas="sect5">Optional
276 (Required to build the API and HTML Documentation)</bridgehead>
277 <para role="optional">
278 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
279 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
280 </para>
281
282 <para condition="html" role="usernotes">User Notes:
283 <ulink url="&blfs-wiki;/dbus-python"/></para>
284
285 </sect3>
286
287 <sect3 role="installation">
288 <title>Installation of D-Bus Python Bindings</title>
289
290 <para>Install <application>D-Bus Python Bindings</application> by
291 running the following commands:</para>
292
293<screen><userinput>./configure --prefix=/usr \
294 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
295make</userinput></screen>
296
297 <para>To test the results, issue: <command>make check</command>. Note you
298 must have <application>PyGObject</application> installed.</para>
299
300 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
301
302<screen role="root"><userinput>make install</userinput></screen>
303
304 <para>If you built the API documentation, install it by issuing the
305 following commands as the <systemitem class="username">root</systemitem>
306 user:</para>
307
308<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-python-&dbus-python-version;/api &amp;&amp;
309install -v -m644 api/* \
310 /usr/share/doc/dbus-python-&dbus-python-version;/api</userinput></screen>
311
312 </sect3>
313
314 <sect3 role="content">
315 <title>Contents</title>
316
317 <segmentedlist>
318 <segtitle>Installed Programs</segtitle>
319 <segtitle>Installed Libraries</segtitle>
320 <segtitle>Installed Directories</segtitle>
321
322 <seglistitem>
323 <seg>none</seg>
324 <seg><application>Python</application>
325 <application>D-Bus</application> modules</seg>
326 <seg>/usr/lib/python&python2-majorver;/site-packages/dbus and
327 /usr/share/doc/dbus-python-&dbus-python-version;</seg>
328 </seglistitem>
329 </segmentedlist>
330
331 </sect3>
332
333 </sect2>
334
335</sect1>
Note: See TracBrowser for help on using the repository browser.