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 "d33959a9c0c6a158f5ac6d640316e89e">
|
---|
10 | <!ENTITY dbus-glib-size "714 KB">
|
---|
11 | <!ENTITY dbus-glib-buildsize "8 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 | <!--
|
---|
22 | <!ENTITY dbus-qt3-download-http "&trinity-repo-http;/dbus-tqt-&trinity-version;.tar.gz">
|
---|
23 | <!ENTITY dbus-qt3-download-ftp "&trinity-repo-ftp;/dbus-tqt-&trinity-version;.tar.gz">
|
---|
24 | <!ENTITY dbus-qt3-md5sum "46ae165c068271485c827f6fc6687a9a">
|
---|
25 | <!ENTITY dbus-qt3-size "234 KB">
|
---|
26 | <!ENTITY dbus-qt3-buildsize "4 MB">
|
---|
27 | <!ENTITY dbus-qt3-time "less than 0.1 SBU">
|
---|
28 | -->
|
---|
29 |
|
---|
30 | <!-- All the other bindings info should be here as well -->
|
---|
31 | ]>
|
---|
32 |
|
---|
33 | <sect1 id="dbus-bindings" xreflabel="D-Bus Bindings">
|
---|
34 | <?dbhtml filename="dbus-bindings.html"?>
|
---|
35 |
|
---|
36 | <sect1info>
|
---|
37 | <othername>$LastChangedBy$</othername>
|
---|
38 | <date>$Date$</date>
|
---|
39 | </sect1info>
|
---|
40 |
|
---|
41 | <title>D-Bus Bindings</title>
|
---|
42 |
|
---|
43 | <indexterm zone="dbus-bindings">
|
---|
44 | <primary sortas="a-dbus-bindings">D-Bus Bindings</primary>
|
---|
45 | </indexterm>
|
---|
46 |
|
---|
47 | <sect2 role="package">
|
---|
48 | <title>Introduction to D-Bus Bindings</title>
|
---|
49 |
|
---|
50 | <para>The <application>D-Bus Bindings</application> are a group of packages
|
---|
51 | that contain programming language and platform interfaces to the D-Bus API.
|
---|
52 | This is useful for programmers to easily interface D-Bus with their
|
---|
53 | supported platform or language of choice. Some non-D-Bus packages will
|
---|
54 | require one or more of the Bindings packages in order to build
|
---|
55 | successfully.</para>
|
---|
56 |
|
---|
57 | <para>The <application>GLib</application> and
|
---|
58 | <application>Python</application> bindings are included on this page. Other
|
---|
59 | language bindings are available at the <ulink
|
---|
60 | url="http://www.freedesktop.org/wiki/Software/DBusBindings">D-Bus
|
---|
61 | Bindings</ulink> page for information.</para>
|
---|
62 |
|
---|
63 | <itemizedlist spacing="compact">
|
---|
64 | <listitem>
|
---|
65 | <para><xref linkend="dbus-glib"/></para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para><xref linkend="dbus-python"/></para>
|
---|
69 | </listitem>
|
---|
70 | <!-- <listitem>
|
---|
71 | <para><xref linkend="dbus-qt3"/></para>
|
---|
72 | </listitem> -->
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | </sect2>
|
---|
76 |
|
---|
77 | <!-- Begin D-Bus GLib Bindings -->
|
---|
78 | <sect2 id="dbus-glib" xreflabel="D-Bus GLib Bindings-&dbus-glib-version;">
|
---|
79 | <title>D-Bus GLib Bindings</title>
|
---|
80 |
|
---|
81 | <indexterm zone="dbus-glib">
|
---|
82 | <primary sortas="a-dbus-glib">D-Bus GLib Bindings</primary>
|
---|
83 | </indexterm>
|
---|
84 |
|
---|
85 | <sect3 role="package">
|
---|
86 | <title>Introduction to D-Bus GLib Bindings</title>
|
---|
87 |
|
---|
88 | &lfs72_checked;
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
91 | <itemizedlist spacing="compact">
|
---|
92 | <listitem>
|
---|
93 | <para>Download (HTTP): <ulink url="&dbus-glib-download-http;"/></para>
|
---|
94 | </listitem>
|
---|
95 | <listitem>
|
---|
96 | <para>Download (FTP): <ulink url="&dbus-glib-download-ftp;"/></para>
|
---|
97 | </listitem>
|
---|
98 | <listitem>
|
---|
99 | <para>Download MD5 sum: &dbus-glib-md5sum;</para>
|
---|
100 | </listitem>
|
---|
101 | <listitem>
|
---|
102 | <para>Download size: &dbus-glib-size;</para>
|
---|
103 | </listitem>
|
---|
104 | <listitem>
|
---|
105 | <para>Estimated disk space required: &dbus-glib-buildsize;</para>
|
---|
106 | </listitem>
|
---|
107 | <listitem>
|
---|
108 | <para>Estimated build time: &dbus-glib-time;</para>
|
---|
109 | </listitem>
|
---|
110 | </itemizedlist>
|
---|
111 |
|
---|
112 | <bridgehead renderas="sect4">D-Bus GLib Dependencies</bridgehead>
|
---|
113 |
|
---|
114 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
115 | <para role="required">
|
---|
116 | <xref linkend="dbus"/>,
|
---|
117 | <xref linkend="expat"/>, and
|
---|
118 | <xref linkend="glib2"/>
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <bridgehead renderas="sect5">Optional to Build the API Documentation</bridgehead>
|
---|
122 | <para role="optional">
|
---|
123 | <xref linkend="doxygen"/>
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <para condition="html" role="usernotes">User Notes:
|
---|
127 | <ulink url="&blfs-wiki;/dbus-glib"/></para>
|
---|
128 |
|
---|
129 | </sect3>
|
---|
130 |
|
---|
131 | <sect3 role="installation">
|
---|
132 | <title>Installation of D-Bus GLib Bindings</title>
|
---|
133 |
|
---|
134 | <para>Install <application>D-Bus GLib Bindings</application> by
|
---|
135 | running the following commands:</para>
|
---|
136 |
|
---|
137 | <screen><userinput>./configure --prefix=/usr \
|
---|
138 | --sysconfdir=/etc \
|
---|
139 | --libexecdir=/usr/lib/dbus-1.0 \
|
---|
140 | --disable-static &&
|
---|
141 | make</userinput></screen>
|
---|
142 |
|
---|
143 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
144 | more comprehensive tests can be run by following the same method used in
|
---|
145 | <application>D-Bus</application> instructions, which requires building the
|
---|
146 | package twice.</para>
|
---|
147 |
|
---|
148 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
149 |
|
---|
150 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
151 |
|
---|
152 | </sect3>
|
---|
153 |
|
---|
154 | <sect3 role="commands">
|
---|
155 | <title>Command Explanations</title>
|
---|
156 |
|
---|
157 | <para><parameter>--libexecdir=/usr/lib/dbus-1.0</parameter>: This
|
---|
158 | moves <command>dbus-bash-completion-helper</command> out of <filename
|
---|
159 | class="directory">/usr/libexec</filename>.</para>
|
---|
160 |
|
---|
161 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
162 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
163 |
|
---|
164 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
165 | href="../../xincludes/static-libraries.xml"/>
|
---|
166 |
|
---|
167 | </sect3>
|
---|
168 |
|
---|
169 | <sect3 role="content">
|
---|
170 | <title>Contents</title>
|
---|
171 |
|
---|
172 | <segmentedlist>
|
---|
173 | <segtitle>Installed Programs</segtitle>
|
---|
174 | <segtitle>Installed Libraries</segtitle>
|
---|
175 | <segtitle>Installed Directories</segtitle>
|
---|
176 |
|
---|
177 | <seglistitem>
|
---|
178 | <seg>dbus-binding-tool</seg>
|
---|
179 | <seg>libdbus-glib-1.so</seg>
|
---|
180 | <seg>/etc/bash_completion.d and optionally
|
---|
181 | /usr/share/gtk-doc/html/dbus-glib and
|
---|
182 | /usr/share/doc/dbus-glib-&dbus-glib-version;/api</seg>
|
---|
183 | </seglistitem>
|
---|
184 | </segmentedlist>
|
---|
185 |
|
---|
186 | <variablelist>
|
---|
187 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
188 | <?dbfo list-presentation="list"?>
|
---|
189 | <?dbhtml list-presentation="table"?>
|
---|
190 |
|
---|
191 | <varlistentry id="glib-dbus-binding-tool">
|
---|
192 | <term><command>dbus-binding-tool</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>is a tool used to interface with the D-Bus API.</para>
|
---|
195 | <indexterm zone="dbus-glib glib-dbus-binding-tool">
|
---|
196 | <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="libdbus-glib-1">
|
---|
202 | <term><filename class='libraryfile'>libdbus-glib-1.so</filename></term>
|
---|
203 | <listitem>
|
---|
204 | <para>contains <application>GLib</application> interface functions
|
---|
205 | to the D-Bus API.</para>
|
---|
206 | <indexterm zone="dbus-glib libdbus-glib-1">
|
---|
207 | <primary sortas="c-libdbus-glib-1">libdbus-glib-1.so</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | </variablelist>
|
---|
213 |
|
---|
214 | </sect3>
|
---|
215 |
|
---|
216 | </sect2>
|
---|
217 |
|
---|
218 | <!-- Begin D-Bus Python Bindings -->
|
---|
219 | <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
|
---|
220 | <title>D-Bus Python Bindings</title>
|
---|
221 |
|
---|
222 | &lfs72_checked;
|
---|
223 |
|
---|
224 | <indexterm zone="dbus-python">
|
---|
225 | <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
|
---|
226 | </indexterm>
|
---|
227 |
|
---|
228 | <sect3 role="package">
|
---|
229 | <title>Introduction to D-Bus Python Bindings</title>
|
---|
230 |
|
---|
231 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
232 | <itemizedlist spacing="compact">
|
---|
233 | <listitem>
|
---|
234 | <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
|
---|
235 | </listitem>
|
---|
236 | <listitem>
|
---|
237 | <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
|
---|
238 | </listitem>
|
---|
239 | <listitem>
|
---|
240 | <para>Download MD5 sum: &dbus-python-md5sum;</para>
|
---|
241 | </listitem>
|
---|
242 | <listitem>
|
---|
243 | <para>Download size: &dbus-python-size;</para>
|
---|
244 | </listitem>
|
---|
245 | <listitem>
|
---|
246 | <para>Estimated disk space required: &dbus-python-buildsize;</para>
|
---|
247 | </listitem>
|
---|
248 | <listitem>
|
---|
249 | <para>Estimated build time: &dbus-python-time;</para>
|
---|
250 | </listitem>
|
---|
251 | </itemizedlist>
|
---|
252 |
|
---|
253 | <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
|
---|
254 |
|
---|
255 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
256 | <para role="required">
|
---|
257 | <xref linkend="python2"/> and
|
---|
258 | <xref linkend="dbus-glib"/>
|
---|
259 | </para>
|
---|
260 |
|
---|
261 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
262 | <para role="optional">
|
---|
263 | <xref linkend="pygobject2"/> (required to run the test suite)
|
---|
264 | </para>
|
---|
265 |
|
---|
266 | <bridgehead renderas="sect5">Optional
|
---|
267 | (Required to build the API and HTML Documentation)</bridgehead>
|
---|
268 | <para role="optional">
|
---|
269 | <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
|
---|
270 | <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
|
---|
271 | </para>
|
---|
272 |
|
---|
273 | <para condition="html" role="usernotes">User Notes:
|
---|
274 | <ulink url="&blfs-wiki;/dbus-python"/></para>
|
---|
275 |
|
---|
276 | </sect3>
|
---|
277 |
|
---|
278 | <sect3 role="installation">
|
---|
279 | <title>Installation of D-Bus Python Bindings</title>
|
---|
280 |
|
---|
281 | <para>Install <application>D-Bus Python Bindings</application> by
|
---|
282 | running the following commands:</para>
|
---|
283 |
|
---|
284 | <screen><userinput>./configure --prefix=/usr \
|
---|
285 | --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
286 | make</userinput></screen>
|
---|
287 |
|
---|
288 | <para>To test the results, issue: <command>make check</command>. Note you
|
---|
289 | must have <application>PyGObject</application> installed.</para>
|
---|
290 |
|
---|
291 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
292 |
|
---|
293 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
294 |
|
---|
295 | <para>If you built the API documentation, install it by issuing the
|
---|
296 | following commands as the <systemitem class="username">root</systemitem>
|
---|
297 | user:</para>
|
---|
298 |
|
---|
299 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-python-&dbus-python-version;/api &&
|
---|
300 | install -v -m644 api/* \
|
---|
301 | /usr/share/doc/dbus-python-&dbus-python-version;/api</userinput></screen>
|
---|
302 |
|
---|
303 | </sect3>
|
---|
304 |
|
---|
305 | <sect3 role="content">
|
---|
306 | <title>Contents</title>
|
---|
307 |
|
---|
308 | <segmentedlist>
|
---|
309 | <segtitle>Installed Programs</segtitle>
|
---|
310 | <segtitle>Installed Libraries</segtitle>
|
---|
311 | <segtitle>Installed Directories</segtitle>
|
---|
312 |
|
---|
313 | <seglistitem>
|
---|
314 | <seg>none</seg>
|
---|
315 | <seg><application>Python</application>
|
---|
316 | <application>D-Bus</application> modules</seg>
|
---|
317 | <seg>/usr/lib/python&python2-majorver;/site-packages/dbus and
|
---|
318 | /usr/share/doc/dbus-python-&dbus-python-version;</seg>
|
---|
319 | </seglistitem>
|
---|
320 | </segmentedlist>
|
---|
321 |
|
---|
322 | </sect3>
|
---|
323 |
|
---|
324 | </sect2>
|
---|
325 |
|
---|
326 | <!-- Begin D-Bus Qt3 Bindings -->
|
---|
327 | <!--
|
---|
328 | <sect2 id="dbus-qt3" xreflabel="D-Bus Trinity Qt3 Bindings-&dbus-qt3-version;">
|
---|
329 | <title>Trinity D-Bus Qt3 Bindings</title>
|
---|
330 |
|
---|
331 | <indexterm zone="dbus-qt3">
|
---|
332 | <primary sortas="a-dbus-qt3">D-Bus Qt3 Bindings</primary>
|
---|
333 | </indexterm>
|
---|
334 |
|
---|
335 | <sect3 role="package">
|
---|
336 | <title>Introduction to D-Bus Qt3 Bindings</title>
|
---|
337 |
|
---|
338 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
339 | <itemizedlist spacing="compact">
|
---|
340 | <listitem>
|
---|
341 | <para>Download (HTTP): <ulink url="&dbus-qt3-download-http;"/></para>
|
---|
342 | </listitem>
|
---|
343 | <listitem>
|
---|
344 | <para>Download (FTP): <ulink url="&dbus-qt3-download-ftp;"/></para>
|
---|
345 | </listitem>
|
---|
346 | <listitem>
|
---|
347 | <para>Download MD5 sum: &dbus-qt3-md5sum;</para>
|
---|
348 | </listitem>
|
---|
349 | <listitem>
|
---|
350 | <para>Download size: &dbus-qt3-size;</para>
|
---|
351 | </listitem>
|
---|
352 | <listitem>
|
---|
353 | <para>Estimated disk space required: &dbus-qt3-buildsize;</para>
|
---|
354 | </listitem>
|
---|
355 | <listitem>
|
---|
356 | <para>Estimated build time: &dbus-qt3-time;</para>
|
---|
357 | </listitem>
|
---|
358 | </itemizedlist>
|
---|
359 |
|
---|
360 | <bridgehead renderas="sect4">D-Bus Qt3 Dependencies</bridgehead>
|
---|
361 |
|
---|
362 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
363 | <para role="required">
|
---|
364 | <xref linkend="dbus"/> and
|
---|
365 | <xref linkend="qt"/>
|
---|
366 | </para>
|
---|
367 |
|
---|
368 | <para condition="html" role="usernotes">User Notes:
|
---|
369 | <ulink url="&blfs-wiki;/dbus-qt3"/></para>
|
---|
370 |
|
---|
371 | </sect3>
|
---|
372 |
|
---|
373 | <sect3 role="installation">
|
---|
374 | <title>Installation of D-Bus Trinity/Qt3 Bindings</title>
|
---|
375 |
|
---|
376 | <note><para>Be sure your environment is set up as described in
|
---|
377 | <xref linkend='kde-pre-install-config'/></para></note>
|
---|
378 |
|
---|
379 | <para>Install <application>D-Bus Trinity/Qt3 Bindings</application> by
|
---|
380 | running the following commands:</para>
|
---|
381 |
|
---|
382 | <screen><userinput>
|
---|
383 | BUILD=/tmp/build-dbus-tqt &&
|
---|
384 | DBUSTQT=`pwd` &&
|
---|
385 | rm -rf $BUILD &&
|
---|
386 | mkdir -p $BUILD &&
|
---|
387 | cd $BUILD &&
|
---|
388 |
|
---|
389 | cmake -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \
|
---|
390 | -DCMAKE_VERBOSE_MAKEFILE=ON \
|
---|
391 | $DBUSTQT &&
|
---|
392 |
|
---|
393 | unset BUILD DBUSTQT &&
|
---|
394 | make</userinput></screen>
|
---|
395 |
|
---|
396 | <para>This package does not come with a test suite.</para>
|
---|
397 |
|
---|
398 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
399 |
|
---|
400 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
401 |
|
---|
402 | </sect3>
|
---|
403 |
|
---|
404 | <sect3 role="content">
|
---|
405 | <title>Contents</title>
|
---|
406 |
|
---|
407 | <segmentedlist>
|
---|
408 | <segtitle>Installed Programs</segtitle>
|
---|
409 | <segtitle>Installed Library</segtitle>
|
---|
410 | <segtitle>Installed Directory</segtitle>
|
---|
411 |
|
---|
412 | <seglistitem>
|
---|
413 | <seg>None</seg>
|
---|
414 | <seg>libdbus-tqt-1.so</seg>
|
---|
415 | <seg>$TRINITY_PREFIX/include/dbus-1.0</seg>
|
---|
416 | </seglistitem>
|
---|
417 | </segmentedlist>
|
---|
418 |
|
---|
419 | <variablelist>
|
---|
420 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
421 | <?dbfo list-presentation="list"?>
|
---|
422 | <?dbhtml list-presentation="table"?>
|
---|
423 |
|
---|
424 | <varlistentry id="libdbus-qt-1">
|
---|
425 | <term><filename class='libraryfile'>libdbus-tqt-1.so</filename></term>
|
---|
426 | <listitem>
|
---|
427 | <para>contains <application>Trinity/Qt3</application> interface functions
|
---|
428 | to the D-Bus API.</para>
|
---|
429 | <indexterm zone="dbus-qt3 libdbus-qt-1">
|
---|
430 | <primary sortas="c-libdbus-qt-1">libdbus-tqt-1.so</primary>
|
---|
431 | </indexterm>
|
---|
432 | </listitem>
|
---|
433 | </varlistentry>
|
---|
434 |
|
---|
435 | </variablelist>
|
---|
436 |
|
---|
437 | </sect3>
|
---|
438 | </sect2>
|
---|
439 | -->
|
---|
440 |
|
---|
441 | </sect1>
|
---|