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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ca89597d was 8c6a1413, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to D-Bus GLib Bindings-0.82.

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

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