source: general/sysutils/dbus-bindings.xml@ 40a4d44

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 40a4d44 was 2fdcd9df, checked in by Krejzi <krejzi@…>, 12 years ago

removed eggdbus and old policykit, dbus 1.4.20, dbus-python 1.0.0

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

  • Property mode set to 100644
File size: 14.6 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 "3f7f117dc7c8d899d9acfdcbf9253fb8">
10 <!ENTITY dbus-glib-size "712 KB">
11 <!ENTITY dbus-glib-buildsize "11 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 "775a8235736bf760cdd96e2d76546469">
17 <!ENTITY dbus-python-size "572 KB">
18 <!ENTITY dbus-python-buildsize "5.5 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 &lfs70_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="pkgconfig"/>
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 &amp;&amp;
140make</userinput></screen>
141
142 <para>To test the results, issue: <command>make check</command>. Note that
143 more comprehensive tests can be run by following the same method used in
144 <application>D-BUS</application> instructions, which requires building the
145 package twice.</para>
146
147 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
148
149<screen role="root"><userinput>make install</userinput></screen>
150
151 </sect3>
152
153 <sect3 role="commands">
154 <title>Command Explanations</title>
155
156 <para><parameter>--libexecdir=/usr/lib/dbus-1.0</parameter>: This
157 moves <command>dbus-bash-completion-helper</command> out of <filename
158 class="directory">/usr/libexec</filename>.</para>
159
160 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
161 href="../../xincludes/gtk-doc-rebuild.xml"/>
162
163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
164 href="../../xincludes/static-libraries.xml"/>
165
166 </sect3>
167
168 <sect3 role="content">
169 <title>Contents</title>
170
171 <segmentedlist>
172 <segtitle>Installed Program</segtitle>
173 <segtitle>Installed Library</segtitle>
174 <segtitle>Installed Directories</segtitle>
175
176 <seglistitem>
177 <seg>dbus-binding-tool</seg>
178 <seg>libdbus-glib-1.{so,a}</seg>
179 <seg>/etc/bash_completion.d, /usr/share/gtk-doc/html/dbus-glib, and
180 optionally /usr/share/doc/dbus-glib-&dbus-glib-version;/api</seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
189 <varlistentry id="glib-dbus-binding-tool">
190 <term><command>dbus-binding-tool</command></term>
191 <listitem>
192 <para>is a tool used to interface with the D-Bus API.</para>
193 <indexterm zone="dbus-glib glib-dbus-binding-tool">
194 <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="libdbus-glib-1">
200 <term><filename class='libraryfile'>libdbus-glib-1.{so,a}</filename></term>
201 <listitem>
202 <para>contains <application>GLib</application> interface functions
203 to the D-Bus API.</para>
204 <indexterm zone="dbus-glib libdbus-glib-1">
205 <primary sortas="c-libdbus-glib-1">libdbus-glib-1.{so,a}</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 </variablelist>
211
212 </sect3>
213
214 </sect2>
215
216 <!-- Begin D-Bus Python Bindings -->
217 <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
218 <title>D-Bus Python Bindings</title>
219
220 &lfs70_checked;
221
222 <indexterm zone="dbus-python">
223 <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
224 </indexterm>
225
226 <sect3 role="package">
227 <title>Introduction to D-Bus Python Bindings</title>
228
229 <bridgehead renderas="sect4">Package Information</bridgehead>
230 <itemizedlist spacing="compact">
231 <listitem>
232 <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
233 </listitem>
234 <listitem>
235 <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
236 </listitem>
237 <listitem>
238 <para>Download MD5 sum: &dbus-python-md5sum;</para>
239 </listitem>
240 <listitem>
241 <para>Download size: &dbus-python-size;</para>
242 </listitem>
243 <listitem>
244 <para>Estimated disk space required: &dbus-python-buildsize;</para>
245 </listitem>
246 <listitem>
247 <para>Estimated build time: &dbus-python-time;</para>
248 </listitem>
249 </itemizedlist>
250
251 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
252
253 <bridgehead renderas="sect5">Required</bridgehead>
254 <para role="required">
255 <xref linkend="python2"/> and
256 <xref linkend="dbus-glib"/>
257 </para>
258
259 <bridgehead renderas="sect5">Optional</bridgehead>
260 <para role="optional">
261 <xref linkend="pygobject2"/> (required to run the test suite)
262 </para>
263
264 <bridgehead renderas="sect5">Optional
265 (Required to build the API and HTML Documentation)</bridgehead>
266 <para role="optional">
267 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
268 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
269 </para>
270
271 <para condition="html" role="usernotes">User Notes:
272 <ulink url="&blfs-wiki;/dbus-python"/></para>
273
274 </sect3>
275
276 <sect3 role="installation">
277 <title>Installation of D-Bus Python Bindings</title>
278
279 <para>Install <application>D-Bus Python Bindings</application> by
280 running the following commands:</para>
281
282<screen><userinput>./configure --prefix=/usr \
283 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
284make</userinput></screen>
285
286 <para>To test the results, issue: <command>make check</command>. Note you
287 must have <application>PyGObject</application> installed.</para>
288
289 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
290
291<screen role="root"><userinput>make install</userinput></screen>
292
293 <para>If you built the API documentation, install it by issuing the
294 following commands as the <systemitem class="username">root</systemitem>
295 user:</para>
296
297<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-python-&dbus-python-version;/api &amp;&amp;
298install -v -m644 api/* \
299 /usr/share/doc/dbus-python-&dbus-python-version;/api</userinput></screen>
300
301 </sect3>
302
303 <sect3 role="content">
304 <title>Contents</title>
305
306 <segmentedlist>
307 <segtitle>Installed Programs</segtitle>
308 <segtitle>Installed Libraries</segtitle>
309 <segtitle>Installed Directories</segtitle>
310
311 <seglistitem>
312 <seg>None</seg>
313 <seg><application>Python</application>
314 <application>D-Bus</application> modules</seg>
315 <seg>/usr/lib/python&python2-majorver;/site-packages/dbus and
316 /usr/share/doc/dbus-python-&dbus-python-version;</seg>
317 </seglistitem>
318 </segmentedlist>
319
320 </sect3>
321
322 </sect2>
323
324 <!-- Begin D-Bus Qt3 Bindings -->
325 <!--
326 <sect2 id="dbus-qt3" xreflabel="D-Bus Trinity Qt3 Bindings-&dbus-qt3-version;">
327 <title>Trinity D-Bus Qt3 Bindings</title>
328
329 <indexterm zone="dbus-qt3">
330 <primary sortas="a-dbus-qt3">D-Bus Qt3 Bindings</primary>
331 </indexterm>
332
333 <sect3 role="package">
334 <title>Introduction to D-Bus Qt3 Bindings</title>
335
336 <bridgehead renderas="sect4">Package Information</bridgehead>
337 <itemizedlist spacing="compact">
338 <listitem>
339 <para>Download (HTTP): <ulink url="&dbus-qt3-download-http;"/></para>
340 </listitem>
341 <listitem>
342 <para>Download (FTP): <ulink url="&dbus-qt3-download-ftp;"/></para>
343 </listitem>
344 <listitem>
345 <para>Download MD5 sum: &dbus-qt3-md5sum;</para>
346 </listitem>
347 <listitem>
348 <para>Download size: &dbus-qt3-size;</para>
349 </listitem>
350 <listitem>
351 <para>Estimated disk space required: &dbus-qt3-buildsize;</para>
352 </listitem>
353 <listitem>
354 <para>Estimated build time: &dbus-qt3-time;</para>
355 </listitem>
356 </itemizedlist>
357
358 <bridgehead renderas="sect4">D-Bus Qt3 Dependencies</bridgehead>
359
360 <bridgehead renderas="sect5">Required</bridgehead>
361 <para role="required">
362 <xref linkend="dbus"/> and
363 <xref linkend="qt"/>
364 </para>
365
366 <para condition="html" role="usernotes">User Notes:
367 <ulink url="&blfs-wiki;/dbus-qt3"/></para>
368
369 </sect3>
370
371 <sect3 role="installation">
372 <title>Installation of D-Bus Trinity/Qt3 Bindings</title>
373
374 <note><para>Be sure your environment is set up as described in
375 <xref linkend='kde-pre-install-config'/></para></note>
376
377 <para>Install <application>D-Bus Trinity/Qt3 Bindings</application> by
378 running the following commands:</para>
379
380<screen><userinput>
381BUILD=/tmp/build-dbus-tqt &amp;&amp;
382DBUSTQT=`pwd` &amp;&amp;
383rm -rf $BUILD &amp;&amp;
384mkdir -p $BUILD &amp;&amp;
385cd $BUILD &amp;&amp;
386
387cmake -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \
388 -DCMAKE_VERBOSE_MAKEFILE=ON \
389 $DBUSTQT &amp;&amp;
390
391unset BUILD DBUSTQT &amp;&amp;
392make</userinput></screen>
393
394 <para>This package does not come with a test suite.</para>
395
396 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
397
398<screen role="root"><userinput>make install</userinput></screen>
399
400 </sect3>
401
402 <sect3 role="content">
403 <title>Contents</title>
404
405 <segmentedlist>
406 <segtitle>Installed Programs</segtitle>
407 <segtitle>Installed Library</segtitle>
408 <segtitle>Installed Directory</segtitle>
409
410 <seglistitem>
411 <seg>None</seg>
412 <seg>libdbus-tqt-1.so</seg>
413 <seg>$TRINITY_PREFIX/include/dbus-1.0</seg>
414 </seglistitem>
415 </segmentedlist>
416
417 <variablelist>
418 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
419 <?dbfo list-presentation="list"?>
420 <?dbhtml list-presentation="table"?>
421
422 <varlistentry id="libdbus-qt-1">
423 <term><filename class='libraryfile'>libdbus-tqt-1.so</filename></term>
424 <listitem>
425 <para>contains <application>Trinity/Qt3</application> interface functions
426 to the D-Bus API.</para>
427 <indexterm zone="dbus-qt3 libdbus-qt-1">
428 <primary sortas="c-libdbus-qt-1">libdbus-tqt-1.so</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
432
433 </variablelist>
434
435 </sect3>
436 </sect2>
437 -->
438
439</sect1>
Note: See TracBrowser for help on using the repository browser.