source: general/genlib/dbus-bindings.xml@ e05cd03f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e05cd03f was e05cd03f, checked in by Randy McMurchy <randy@…>, 14 years ago

Replaced deprecated w3.org XInclude throughout the book

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8411 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 18.0 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 "aa2a4517de0e9144be3bce2cf8cdd924">
10 <!ENTITY dbus-glib-size "660 KB">
11 <!ENTITY dbus-glib-buildsize "10 MB">
12 <!ENTITY dbus-glib-time "0.2 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 "562c78876219bf458d79a041af18293d">
17 <!ENTITY dbus-python-size "494 KB">
18 <!ENTITY dbus-python-buildsize "12 MB (includes installing all the documentation)">
19 <!ENTITY dbus-python-time "0.3 SBU">
20
21 <!ENTITY dbus-qt3-download-http "&files-anduin;/sources/dbus-qt3-&dbus-qt3-version;.tar.bz2">
22 <!ENTITY dbus-qt3-download-ftp " ">
23 <!ENTITY dbus-qt3-md5sum "307e119f501c207a437d1dd087c9af80">
24 <!ENTITY dbus-qt3-size "390 KB">
25 <!ENTITY dbus-qt3-buildsize "4 MB">
26 <!ENTITY dbus-qt3-time "0.1 SBU">
27
28 <!ENTITY eggdbus-download-http "http://hal.freedesktop.org/releases/eggdbus-&eggdbus-version;.tar.gz">
29 <!ENTITY eggdbus-download-ftp " ">
30 <!ENTITY eggdbus-md5sum "44f1f6387c49e8198d7aa755aeee46c6">
31 <!ENTITY eggdbus-size "772 KB">
32 <!ENTITY eggdbus-buildsize "21 MB">
33 <!ENTITY eggdbus-time "0.3 SBU">
34
35 <!-- All the other bindings info should be here as well -->
36]>
37
38<sect1 id="dbus-bindings" xreflabel="D-Bus Bindings">
39 <?dbhtml filename="dbus-bindings.html"?>
40
41 <sect1info>
42 <othername>$LastChangedBy$</othername>
43 <date>$Date$</date>
44 </sect1info>
45
46 <title>D-Bus Bindings</title>
47
48 <indexterm zone="dbus-bindings">
49 <primary sortas="a-dbus-bindings">D-Bus Bindings</primary>
50 </indexterm>
51
52 <sect2 role="package">
53 <title>Introduction to D-Bus Bindings</title>
54
55 <para>The <application>D-Bus Bindings</application> are a group of packages
56 that contain programming language and platform interfaces to the D-Bus API.
57 This is useful for programmers to easily interface D-Bus with their
58 supported platform or language of choice. Some non-D-Bus packages will
59 require one or more of the Bindings packages in order to build
60 successfully.</para>
61
62 <para>The <application>GLib</application>,
63 <application>Python</application>, <application>Qt3</application>, and
64 <application>GObject</application> Bindings are included on this page. Other
65 language bindings will be added soon. Until then, see the <ulink
66 url="http://www.freedesktop.org/wiki/Software/DBusBindings">D-Bus
67 Bindings</ulink> page for information.</para>
68
69 <itemizedlist spacing="compact">
70 <listitem>
71 <para><xref linkend="dbus-glib"/></para>
72 </listitem>
73 <listitem>
74 <para><xref linkend="dbus-python"/></para>
75 </listitem>
76 <listitem>
77 <para><xref linkend="dbus-qt3"/></para>
78 </listitem>
79 <listitem>
80 <para><xref linkend="eggdbus"/></para>
81 </listitem>
82 </itemizedlist>
83
84 </sect2>
85
86 <!-- Below is 111 lines to cut and paste to create a new binding -->
87 <!-- Begin D-Bus GLib Bindings -->
88 <sect2 id="dbus-glib" xreflabel="D-Bus GLib Bindings-&dbus-glib-version;">
89 <title>D-Bus GLib Bindings</title>
90
91 <indexterm zone="dbus-glib">
92 <primary sortas="a-dbus-glib">D-Bus GLib Bindings</primary>
93 </indexterm>
94
95 <sect3 role="package">
96 <title>Introduction to D-Bus GLib Bindings</title>
97
98 &lfs65_checked;
99
100 <bridgehead renderas="sect4">Package Information</bridgehead>
101 <itemizedlist spacing="compact">
102 <listitem>
103 <para>Download (HTTP): <ulink url="&dbus-glib-download-http;"/></para>
104 </listitem>
105 <listitem>
106 <para>Download (FTP): <ulink url="&dbus-glib-download-ftp;"/></para>
107 </listitem>
108 <listitem>
109 <para>Download MD5 sum: &dbus-glib-md5sum;</para>
110 </listitem>
111 <listitem>
112 <para>Download size: &dbus-glib-size;</para>
113 </listitem>
114 <listitem>
115 <para>Estimated disk space required: &dbus-glib-buildsize;</para>
116 </listitem>
117 <listitem>
118 <para>Estimated build time: &dbus-glib-time;</para>
119 </listitem>
120 </itemizedlist>
121
122 <bridgehead renderas="sect4">D-Bus GLib Dependencies</bridgehead>
123
124 <bridgehead renderas="sect5">Required</bridgehead>
125 <para role="required"><xref linkend="dbus"/>,
126 <xref linkend="glib2"/>, and
127 <xref linkend="expat"/></para>
128
129 <bridgehead renderas="sect5">Optional to Build the API Documentation</bridgehead>
130 <para role="optional"><xref linkend="doxygen"/></para>
131
132 <para condition="html" role="usernotes">User Notes:
133 <ulink url="&blfs-wiki;/dbus-glib"/></para>
134
135 </sect3>
136
137 <sect3 role="installation">
138 <title>Installation of D-Bus GLib Bindings</title>
139
140 <para>Install <application>D-Bus GLib Bindings</application> by
141 running the following commands:</para>
142
143<screen><userinput>./configure --prefix=/usr \
144 --sysconfdir=/etc \
145 --libexecdir=/usr/lib/dbus-1.0/dbus-1 &amp;&amp;
146make</userinput></screen>
147
148 <para>The <option>--enable-doxygen-docs</option> parameter does not work
149 properly. If you have <application>Doxygen</application> installed and you
150 wish to build the API documentation, issue
151 <command>doxygen</command>.</para>
152
153 <para>To test the results, issue: <command>make check</command>. Note that
154 more comprehensive tests can be run by following the same method used in
155 <application>D-BUS</application> instructions, which requires building the
156 package twice.</para>
157
158 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
159
160<screen role="root"><userinput>make install</userinput></screen>
161
162 <para>If you built the API documentation, install it by issuing the
163 following commands as the <systemitem class="username">root</systemitem>
164 user:</para>
165
166<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-glib-&dbus-glib-version;/api \
167 /usr/share/man/man3dbus &amp;&amp;
168install -v -m644 doc/api/html/* \
169 /usr/share/doc/dbus-glib-&dbus-glib-version;/api &amp;&amp;
170install -v -m644 doc/api/man/man3dbus/* \
171 /usr/share/man/man3dbus</userinput></screen>
172
173 </sect3>
174
175 <sect3 role="commands">
176 <title>Command Explanations</title>
177
178 <para><parameter>--libexecdir=/usr/lib/dbus-1.0/dbus-1</parameter>: This
179 moves <command>dbus-bash-completion-helper</command> out of <filename
180 class="directory">/usr/libexec</filename>.</para>
181
182 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
183 href="../../xincludes/gtk-doc-rebuild.xml"/>
184
185 </sect3>
186
187 <sect3 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Program</segtitle>
192 <segtitle>Installed Library</segtitle>
193 <segtitle>Installed Directories</segtitle>
194
195 <seglistitem>
196 <seg>dbus-binding-tool</seg>
197 <seg>libdbus-glib-1.{so,a}</seg>
198 <seg>/etc/bash_completion.d, /usr/share/gtk-doc/html/dbus-glib, and
199 optionally /usr/share/doc/dbus-glib-&dbus-glib-version;/api</seg>
200 </seglistitem>
201 </segmentedlist>
202
203 <variablelist>
204 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
205 <?dbfo list-presentation="list"?>
206 <?dbhtml list-presentation="table"?>
207
208 <varlistentry id="glib-dbus-binding-tool">
209 <term><command>dbus-binding-tool</command></term>
210 <listitem>
211 <para>is a tool used to interface with the D-Bus API.</para>
212 <indexterm zone="dbus-glib glib-dbus-binding-tool">
213 <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="libdbus-glib-1">
219 <term><filename class='libraryfile'>libdbus-glib-1.{so,a}</filename></term>
220 <listitem>
221 <para>contains <application>GLib</application> interface functions
222 to the D-Bus API.</para>
223 <indexterm zone="dbus-glib libdbus-glib-1">
224 <primary sortas="c-libdbus-glib-1">libdbus-glib-1.{so,a}</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230
231 </sect3>
232
233 </sect2>
234
235 <!-- Begin D-Bus Python Bindings -->
236 <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
237 <title>D-Bus Python Bindings</title>
238
239 <indexterm zone="dbus-python">
240 <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
241 </indexterm>
242
243 <sect3 role="package">
244 <title>Introduction to D-Bus Python Bindings</title>
245
246 <bridgehead renderas="sect4">Package Information</bridgehead>
247 <itemizedlist spacing="compact">
248 <listitem>
249 <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
250 </listitem>
251 <listitem>
252 <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
253 </listitem>
254 <listitem>
255 <para>Download MD5 sum: &dbus-python-md5sum;</para>
256 </listitem>
257 <listitem>
258 <para>Download size: &dbus-python-size;</para>
259 </listitem>
260 <listitem>
261 <para>Estimated disk space required: &dbus-python-buildsize;</para>
262 </listitem>
263 <listitem>
264 <para>Estimated build time: &dbus-python-time;</para>
265 </listitem>
266 </itemizedlist>
267
268 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
269
270 <bridgehead renderas="sect5">Required</bridgehead>
271 <para role="required"><xref linkend="python"/> and
272 <xref linkend="dbus-glib"/></para>
273
274 <bridgehead renderas="sect5">Optional</bridgehead>
275 <para role="optional"><ulink url="&gnome-download-http;/pygobject">PyGObject</ulink>
276 (required to run the test suite)</para>
277
278 <bridgehead renderas="sect5">Optional
279 (Required to build the API and HTML Documentation)</bridgehead>
280 <para role="optional"><ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink>
281 and <ulink url="http://docutils.sourceforge.net/">Docutils</ulink></para>
282
283 <para condition="html" role="usernotes">User Notes:
284 <ulink url="&blfs-wiki;/dbus-python"/></para>
285
286 </sect3>
287
288 <sect3 role="installation">
289 <title>Installation of D-Bus Python Bindings</title>
290
291 <para>Install <application>D-Bus Python Bindings</application> by
292 running the following commands:</para>
293
294<screen><userinput>./configure --prefix=/usr \
295 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
296make</userinput></screen>
297
298 <para>To test the results, issue: <command>make check</command>. Note you
299 must have <application>PyGObject</application> installed.</para>
300
301 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
302
303<screen role="root"><userinput>make install</userinput></screen>
304
305 <para>If you built the API documentation, install it by issuing the
306 following commands as the <systemitem class="username">root</systemitem>
307 user:</para>
308
309<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-python-&dbus-python-version;/api &amp;&amp;
310install -v -m644 api/* \
311 /usr/share/doc/dbus-python-&dbus-python-version;/api</userinput></screen>
312
313 </sect3>
314
315 <sect3 role="content">
316 <title>Contents</title>
317
318 <segmentedlist>
319 <segtitle>Installed Programs</segtitle>
320 <segtitle>Installed Libraries</segtitle>
321 <segtitle>Installed Directories</segtitle>
322
323 <seglistitem>
324 <seg>None</seg>
325 <seg><application>Python</application>
326 <application>D-Bus</application> modules</seg>
327 <seg>/usr/lib/python&python-majorver;/site-packages/dbus and
328 /usr/share/doc/dbus-python-&dbus-python-version;</seg>
329 </seglistitem>
330 </segmentedlist>
331
332 </sect3>
333
334 </sect2>
335
336 <!-- Begin D-Bus Qt3 Bindings -->
337 <sect2 id="dbus-qt3" xreflabel="D-Bus Qt3 Bindings-&dbus-qt3-version;">
338 <title>D-Bus Qt3 Bindings</title>
339
340 <indexterm zone="dbus-qt3">
341 <primary sortas="a-dbus-qt3">D-Bus Qt3 Bindings</primary>
342 </indexterm>
343
344 <sect3 role="package">
345 <title>Introduction to D-Bus Qt3 Bindings</title>
346
347 <bridgehead renderas="sect4">Package Information</bridgehead>
348 <itemizedlist spacing="compact">
349 <listitem>
350 <para>Download (HTTP): <ulink url="&dbus-qt3-download-http;"/></para>
351 </listitem>
352 <listitem>
353 <para>Download (FTP): <ulink url="&dbus-qt3-download-ftp;"/></para>
354 </listitem>
355 <listitem>
356 <para>Download MD5 sum: &dbus-qt3-md5sum;</para>
357 </listitem>
358 <listitem>
359 <para>Download size: &dbus-qt3-size;</para>
360 </listitem>
361 <listitem>
362 <para>Estimated disk space required: &dbus-qt3-buildsize;</para>
363 </listitem>
364 <listitem>
365 <para>Estimated build time: &dbus-qt3-time;</para>
366 </listitem>
367 </itemizedlist>
368
369 <bridgehead renderas="sect4">D-Bus Qt3 Dependencies</bridgehead>
370
371 <bridgehead renderas="sect5">Required</bridgehead>
372 <para role="required"><xref linkend="dbus"/> and
373 <xref linkend="qt"/></para>
374
375 <para condition="html" role="usernotes">User Notes:
376 <ulink url="&blfs-wiki;/dbus-qt3"/></para>
377
378 </sect3>
379
380 <sect3 role="installation">
381 <title>Installation of D-Bus Qt3 Bindings</title>
382
383 <para>Install <application>D-Bus Qt3 Bindings</application> by
384 running the following commands:</para>
385
386<screen><userinput>./configure --prefix=/usr &amp;&amp;
387make</userinput></screen>
388
389 <para>This package does not come with a test suite.</para>
390
391 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
392
393<screen role="root"><userinput>make install</userinput></screen>
394
395 </sect3>
396
397 <sect3 role="content">
398 <title>Contents</title>
399
400 <segmentedlist>
401 <segtitle>Installed Programs</segtitle>
402 <segtitle>Installed Library</segtitle>
403 <segtitle>Installed Directories</segtitle>
404
405 <seglistitem>
406 <seg>None</seg>
407 <seg>libdbus-qt-1.so</seg>
408 <seg>None</seg>
409 </seglistitem>
410 </segmentedlist>
411
412 <variablelist>
413 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
414 <?dbfo list-presentation="list"?>
415 <?dbhtml list-presentation="table"?>
416
417 <varlistentry id="libdbus-qt-1">
418 <term><filename class='libraryfile'>libdbus-qt-1.{so,a}</filename></term>
419 <listitem>
420 <para>contains <application>Qt3</application> interface functions
421 to the D-Bus API.</para>
422 <indexterm zone="dbus-qt3 libdbus-qt-1">
423 <primary sortas="c-libdbus-qt-1">libdbus-qt-1.{so,a}</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 </variablelist>
429
430 </sect3>
431
432 </sect2>
433
434 <!-- Begin D-Bus GObject Bindings -->
435 <sect2 id="eggdbus" xreflabel="D-Bus GObject Bindings-&eggdbus-version;">
436 <title>D-Bus GObject Bindings</title>
437
438 <indexterm zone="eggdbus">
439 <primary sortas="a-eggdbus">D-Bus GObject Bindings</primary>
440 </indexterm>
441
442 <sect3 role="package">
443 <title>Introduction to D-Bus GObject Bindings</title>
444
445 &lfs65_checked;
446
447 <bridgehead renderas="sect4">Package Information</bridgehead>
448 <itemizedlist spacing="compact">
449 <listitem>
450 <para>Download (HTTP): <ulink url="&eggdbus-download-http;"/></para>
451 </listitem>
452 <listitem>
453 <para>Download (FTP): <ulink url="&eggdbus-download-ftp;"/></para>
454 </listitem>
455 <listitem>
456 <para>Download MD5 sum: &eggdbus-md5sum;</para>
457 </listitem>
458 <listitem>
459 <para>Download size: &eggdbus-size;</para>
460 </listitem>
461 <listitem>
462 <para>Estimated disk space required: &eggdbus-buildsize;</para>
463 </listitem>
464 <listitem>
465 <para>Estimated build time: &eggdbus-time;</para>
466 </listitem>
467 </itemizedlist>
468
469 <bridgehead renderas="sect4">eggdbus Dependencies</bridgehead>
470
471 <bridgehead renderas="sect5">Required</bridgehead>
472 <para role="required"><xref linkend="dbus-glib"/> and
473 <xref linkend="docbook-xsl"/></para>
474
475 <bridgehead renderas="sect5">Optional</bridgehead>
476 <para role="optional"><xref linkend="gtk-doc"/></para>
477
478 <para condition="html" role="usernotes">User Notes:
479 <ulink url="&blfs-wiki;/eggdbus"/></para>
480
481 </sect3>
482
483 <sect3 role="installation">
484 <title>Installation of D-Bus GObject Bindings</title>
485
486
487 <para>Install <application>eggdbus</application> by
488 running the following commands:</para>
489
490<screen><userinput>./configure --prefix=/usr &amp;&amp;
491make</userinput></screen>
492
493 <para>To test the results, issue: <command>make check</command>.</para>
494
495 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
496
497<screen role="root"><userinput>make install</userinput></screen>
498
499 </sect3>
500
501 <sect3 role="commands">
502 <title>Command Explanations</title>
503
504 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
505 href="../../xincludes/gtk-doc-rebuild.xml"/>
506
507 </sect3>
508
509 <sect3 role="content">
510 <title>Contents</title>
511
512 <segmentedlist>
513 <segtitle>Installed Programs</segtitle>
514 <segtitle>Installed Library</segtitle>
515 <segtitle>Installed Directory</segtitle>
516
517 <seglistitem>
518 <seg>eggdbus-binding-tool and eggdbus-glib-genmarshal</seg>
519 <seg>libeggdbus-1.{so,a}</seg>
520 <seg>/usr/include/eggdbus-1/eggdbus</seg>
521 </seglistitem>
522 </segmentedlist>
523
524 </sect3>
525
526 </sect2>
527
528</sect1>
Note: See TracBrowser for help on using the repository browser.