source: general/sysutils/dbus-bindings.xml@ 2fdcd9df

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 2fdcd9df 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
RevLine 
[f6f155a]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 " ">
[3338ba43]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">
[f6f155a]13
[d876f09]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 " ">
[2fdcd9df]16 <!ENTITY dbus-python-md5sum "775a8235736bf760cdd96e2d76546469">
17 <!ENTITY dbus-python-size "572 KB">
[3338ba43]18 <!ENTITY dbus-python-buildsize "5.5 MB">
[95837548]19 <!ENTITY dbus-python-time "0.2 SBU">
[2fdcd9df]20
21 <!--
[a8d5ef7]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">
[64e043e]26 <!ENTITY dbus-qt3-buildsize "4 MB">
[a8d5ef7]27 <!ENTITY dbus-qt3-time "less than 0.1 SBU">
[2fdcd9df]28 -->
[9d3d8a8]29
[f6f155a]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
[2fdcd9df]57 <para>The <application>GLib</application> and
58 <application>Python</application> bindings are included on this page. Other
[3338ba43]59 language bindings are available at the <ulink
[f6f155a]60 url="http://www.freedesktop.org/wiki/Software/DBusBindings">D-Bus
61 Bindings</ulink> page for information.</para>
62
[d876f09]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>
[fe48aa6]70 <!-- <listitem>
[64e043e]71 <para><xref linkend="dbus-qt3"/></para>
[2fdcd9df]72 </listitem> -->
[d876f09]73 </itemizedlist>
74
[f6f155a]75 </sect2>
76
[d876f09]77 <!-- Begin D-Bus GLib Bindings -->
[f6f155a]78 <sect2 id="dbus-glib" xreflabel="D-Bus GLib Bindings-&dbus-glib-version;">
[9d3d8a8]79 <title>D-Bus GLib Bindings</title>
[f6f155a]80
[9d3d8a8]81 <indexterm zone="dbus-glib">
82 <primary sortas="a-dbus-glib">D-Bus GLib Bindings</primary>
83 </indexterm>
[f6f155a]84
[9d3d8a8]85 <sect3 role="package">
86 <title>Introduction to D-Bus GLib Bindings</title>
[f6f155a]87
[3338ba43]88 &lfs70_checked;
[27e62762]89
[9d3d8a8]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>
[f6f155a]111
[9d3d8a8]112 <bridgehead renderas="sect4">D-Bus GLib Dependencies</bridgehead>
[f6f155a]113
[9d3d8a8]114 <bridgehead renderas="sect5">Required</bridgehead>
[3338ba43]115 <para role="required">
116 <xref linkend="dbus"/>,
[caf32482]117 <xref linkend="expat"/>, and
118 <xref linkend="pkgconfig"/>
[3338ba43]119 </para>
[6cc2ae1f]120
[9d3d8a8]121 <bridgehead renderas="sect5">Optional to Build the API Documentation</bridgehead>
[3338ba43]122 <para role="optional">
123 <xref linkend="doxygen"/>
124 </para>
[f6f155a]125
[9d3d8a8]126 <para condition="html" role="usernotes">User Notes:
127 <ulink url="&blfs-wiki;/dbus-glib"/></para>
[f6f155a]128
[9d3d8a8]129 </sect3>
[f6f155a]130
[9d3d8a8]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>
[f6f155a]136
[ad393009]137<screen><userinput>./configure --prefix=/usr \
[c1a4344]138 --sysconfdir=/etc \
[2fdcd9df]139 --libexecdir=/usr/lib/dbus-1.0 &amp;&amp;
[f6f155a]140make</userinput></screen>
141
[9d3d8a8]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>
[f6f155a]146
[9d3d8a8]147 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[f6f155a]148
149<screen role="root"><userinput>make install</userinput></screen>
150
[9d3d8a8]151 </sect3>
152
153 <sect3 role="commands">
154 <title>Command Explanations</title>
155
[2fdcd9df]156 <para><parameter>--libexecdir=/usr/lib/dbus-1.0</parameter>: This
[9d3d8a8]157 moves <command>dbus-bash-completion-helper</command> out of <filename
158 class="directory">/usr/libexec</filename>.</para>
159
[e05cd03f]160 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9d3d8a8]161 href="../../xincludes/gtk-doc-rebuild.xml"/>
162
[2fdcd9df]163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
164 href="../../xincludes/static-libraries.xml"/>
165
[9d3d8a8]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>
[f6f155a]213
[9d3d8a8]214 </sect2>
[f6f155a]215
[9d3d8a8]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>
[8c6a1413]219
[3338ba43]220 &lfs70_checked;
221
[9d3d8a8]222 <indexterm zone="dbus-python">
223 <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
224 </indexterm>
[f6f155a]225
[9d3d8a8]226 <sect3 role="package">
227 <title>Introduction to D-Bus Python Bindings</title>
[f6f155a]228
[9d3d8a8]229 <bridgehead renderas="sect4">Package Information</bridgehead>
230 <itemizedlist spacing="compact">
[f6f155a]231 <listitem>
[9d3d8a8]232 <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
[f6f155a]233 </listitem>
234 <listitem>
[9d3d8a8]235 <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
[f6f155a]236 </listitem>
[9d3d8a8]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>
[d876f09]250
[9d3d8a8]251 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
[d876f09]252
[9d3d8a8]253 <bridgehead renderas="sect5">Required</bridgehead>
[3338ba43]254 <para role="required">
[4716d52]255 <xref linkend="python2"/> and
[3338ba43]256 <xref linkend="dbus-glib"/>
257 </para>
[d876f09]258
[9d3d8a8]259 <bridgehead renderas="sect5">Optional</bridgehead>
[3338ba43]260 <para role="optional">
[f4472d1]261 <xref linkend="pygobject2"/> (required to run the test suite)
[3338ba43]262 </para>
[d876f09]263
[9d3d8a8]264 <bridgehead renderas="sect5">Optional
265 (Required to build the API and HTML Documentation)</bridgehead>
[3338ba43]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>
[d876f09]270
[9d3d8a8]271 <para condition="html" role="usernotes">User Notes:
272 <ulink url="&blfs-wiki;/dbus-python"/></para>
[d876f09]273
[9d3d8a8]274 </sect3>
[d876f09]275
[9d3d8a8]276 <sect3 role="installation">
277 <title>Installation of D-Bus Python Bindings</title>
[d876f09]278
[9d3d8a8]279 <para>Install <application>D-Bus Python Bindings</application> by
280 running the following commands:</para>
[d876f09]281
[e44f2a3b]282<screen><userinput>./configure --prefix=/usr \
283 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
[d876f09]284make</userinput></screen>
285
[9d3d8a8]286 <para>To test the results, issue: <command>make check</command>. Note you
287 must have <application>PyGObject</application> installed.</para>
[d876f09]288
[9d3d8a8]289 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[d876f09]290
291<screen role="root"><userinput>make install</userinput></screen>
292
[9d3d8a8]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>
[e44f2a3b]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
[9d3d8a8]301 </sect3>
302
303 <sect3 role="content">
304 <title>Contents</title>
[d876f09]305
[9d3d8a8]306 <segmentedlist>
307 <segtitle>Installed Programs</segtitle>
308 <segtitle>Installed Libraries</segtitle>
309 <segtitle>Installed Directories</segtitle>
[d876f09]310
[9d3d8a8]311 <seglistitem>
312 <seg>None</seg>
313 <seg><application>Python</application>
314 <application>D-Bus</application> modules</seg>
[b88be39]315 <seg>/usr/lib/python&python2-majorver;/site-packages/dbus and
[9d3d8a8]316 /usr/share/doc/dbus-python-&dbus-python-version;</seg>
317 </seglistitem>
318 </segmentedlist>
[d876f09]319
[9d3d8a8]320 </sect3>
[d876f09]321
322 </sect2>
323
[64e043e]324 <!-- Begin D-Bus Qt3 Bindings -->
[fe48aa6]325 <!--
[a8d5ef7]326 <sect2 id="dbus-qt3" xreflabel="D-Bus Trinity Qt3 Bindings-&dbus-qt3-version;">
327 <title>Trinity D-Bus Qt3 Bindings</title>
[64e043e]328
329 <indexterm zone="dbus-qt3">
330 <primary sortas="a-dbus-qt3">D-Bus Qt3 Bindings</primary>
331 </indexterm>
332
[9d3d8a8]333 <sect3 role="package">
334 <title>Introduction to D-Bus Qt3 Bindings</title>
[64e043e]335
[9d3d8a8]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>
[64e043e]357
[9d3d8a8]358 <bridgehead renderas="sect4">D-Bus Qt3 Dependencies</bridgehead>
[64e043e]359
[9d3d8a8]360 <bridgehead renderas="sect5">Required</bridgehead>
[a8d5ef7]361 <para role="required">
362 <xref linkend="dbus"/> and
363 <xref linkend="qt"/>
364 </para>
[64e043e]365
[9d3d8a8]366 <para condition="html" role="usernotes">User Notes:
367 <ulink url="&blfs-wiki;/dbus-qt3"/></para>
[64e043e]368
[9d3d8a8]369 </sect3>
[64e043e]370
[9d3d8a8]371 <sect3 role="installation">
[a8d5ef7]372 <title>Installation of D-Bus Trinity/Qt3 Bindings</title>
[64e043e]373
[a8d5ef7]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
[9d3d8a8]378 running the following commands:</para>
[64e043e]379
[a8d5ef7]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;
[64e043e]392make</userinput></screen>
393
[9d3d8a8]394 <para>This package does not come with a test suite.</para>
[64e043e]395
[9d3d8a8]396 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[64e043e]397
398<screen role="root"><userinput>make install</userinput></screen>
399
[9d3d8a8]400 </sect3>
401
402 <sect3 role="content">
403 <title>Contents</title>
404
405 <segmentedlist>
406 <segtitle>Installed Programs</segtitle>
407 <segtitle>Installed Library</segtitle>
[a8d5ef7]408 <segtitle>Installed Directory</segtitle>
[9d3d8a8]409
410 <seglistitem>
411 <seg>None</seg>
[a8d5ef7]412 <seg>libdbus-tqt-1.so</seg>
413 <seg>$TRINITY_PREFIX/include/dbus-1.0</seg>
[9d3d8a8]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">
[a8d5ef7]423 <term><filename class='libraryfile'>libdbus-tqt-1.so</filename></term>
[9d3d8a8]424 <listitem>
[a8d5ef7]425 <para>contains <application>Trinity/Qt3</application> interface functions
[9d3d8a8]426 to the D-Bus API.</para>
427 <indexterm zone="dbus-qt3 libdbus-qt-1">
[a8d5ef7]428 <primary sortas="c-libdbus-qt-1">libdbus-tqt-1.so</primary>
[9d3d8a8]429 </indexterm>
430 </listitem>
431 </varlistentry>
432
433 </variablelist>
434
435 </sect3>
[64e043e]436 </sect2>
[2fdcd9df]437 -->
[64e043e]438
[f6f155a]439</sect1>
Note: See TracBrowser for help on using the repository browser.