source: archive/dbus-bindings.xml@ a1f2d184

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a1f2d184 was 93b8ab7a, checked in by Krejzi <krejzi@…>, 11 years ago

Properly move dbus-bindings.xml to the archive.

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

  • Property mode set to 100644
File size: 10.7 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 "ad0920c7e3aad669163bb59171cf138e">
10 <!ENTITY dbus-glib-size "732 KB">
11 <!ENTITY dbus-glib-buildsize "12 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 <!-- All the other bindings info should be here as well -->
22]>
23
24<sect1 id="dbus-bindings" xreflabel="D-Bus Bindings">
25 <?dbhtml filename="dbus-bindings.html"?>
26
27 <sect1info>
28 <othername>$LastChangedBy$</othername>
29 <date>$Date$</date>
30 </sect1info>
31
32 <title>D-Bus Bindings</title>
33
34 <indexterm zone="dbus-bindings">
35 <primary sortas="a-dbus-bindings">D-Bus Bindings</primary>
36 </indexterm>
37
38 <sect2 role="package">
39 <title>Introduction to D-Bus Bindings</title>
40
41 <para>The <application>D-Bus Bindings</application> are a group of packages
42 that contain programming language and platform interfaces to the D-Bus API.
43 This is useful for programmers to easily interface D-Bus with their
44 supported platform or language of choice. Some non-D-Bus packages will
45 require one or more of the Bindings packages in order to build
46 successfully.</para>
47
48 <para>The <application>GLib</application> and
49 <application>Python</application> bindings are included on this page. Other
50 language bindings are available at the <ulink
51 url="http://www.freedesktop.org/wiki/Software/DBusBindings">D-Bus
52 Bindings</ulink> page for information.</para>
53
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para><xref linkend="dbus-glib"/></para>
57 </listitem>
58 <listitem>
59 <para><xref linkend="dbus-python"/></para>
60 </listitem>
61 </itemizedlist>
62
63 </sect2>
64
65 <!-- Begin D-Bus GLib Bindings -->
66 <sect2 id="dbus-glib" xreflabel="D-Bus GLib Bindings-&dbus-glib-version;">
67 <title>D-Bus GLib Bindings</title>
68
69 <indexterm zone="dbus-glib">
70 <primary sortas="a-dbus-glib">D-Bus GLib Bindings</primary>
71 </indexterm>
72
73 <sect3 role="package">
74 <title>Introduction to D-Bus GLib Bindings</title>
75
76 &lfs73_checked;
77
78 <bridgehead renderas="sect4">Package Information</bridgehead>
79 <itemizedlist spacing="compact">
80 <listitem>
81 <para>
82 Download (HTTP): <ulink url="&dbus-glib-download-http;"/>
83 </para>
84 </listitem>
85 <listitem>
86 <para>
87 Download (FTP): <ulink url="&dbus-glib-download-ftp;"/>
88 </para>
89 </listitem>
90 <listitem>
91 <para>
92 Download MD5 sum: &dbus-glib-md5sum;
93 </para>
94 </listitem>
95 <listitem>
96 <para>
97 Download size: &dbus-glib-size;
98 </para>
99 </listitem>
100 <listitem>
101 <para>
102 Estimated disk space required: &dbus-glib-buildsize;
103 </para>
104 </listitem>
105 <listitem>
106 <para>
107 Estimated build time: &dbus-glib-time;
108 </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="expat"/> and
117 <xref linkend="glib2"/>
118 </para>
119
120 <bridgehead renderas="sect5">Optional to Build the API Documentation</bridgehead>
121 <para role="optional">
122 <xref linkend="doxygen"/>
123 </para>
124
125 <para condition="html" role="usernotes">User Notes:
126 <ulink url="&blfs-wiki;/dbus-glib"/>
127 </para>
128 </sect3>
129
130 <sect3 role="installation">
131 <title>Installation of D-Bus GLib Bindings</title>
132
133 <para>
134 Install <application>D-Bus GLib Bindings</application> by
135 running the following commands:
136 </para>
137
138<screen><userinput>./configure --prefix=/usr \
139 --sysconfdir=/etc \
140 --libexecdir=/usr/lib/dbus-1.0 \
141 --disable-static &amp;&amp;
142make</userinput></screen>
143
144 <para>
145 To test the results, issue: <command>make check</command>. Note that
146 more comprehensive tests can be run by following the same method used in
147 <application>D-Bus</application> instructions, which requires building the
148 package twice.
149 </para>
150
151 <para>
152 Now, as the <systemitem class="username">root</systemitem> user:
153 </para>
154
155<screen role="root"><userinput>make install</userinput></screen>
156
157 </sect3>
158
159 <sect3 role="commands">
160 <title>Command Explanations</title>
161
162 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
163 href="../../xincludes/static-libraries.xml"/>
164
165 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166 href="../../xincludes/gtk-doc-rebuild.xml"/>
167
168 </sect3>
169
170 <sect3 role="content">
171 <title>Contents</title>
172
173 <segmentedlist>
174 <segtitle>Installed Program</segtitle>
175 <segtitle>Installed Library</segtitle>
176 <segtitle>Installed Directories</segtitle>
177
178 <seglistitem>
179 <seg>
180 dbus-binding-tool
181 </seg>
182 <seg>
183 libdbus-glib-1.so
184 </seg>
185 <seg>
186 /usr/share/gtk-doc/html/dbus-glib and
187 /usr/share/doc/dbus-glib-&dbus-glib-version;
188 </seg>
189 </seglistitem>
190 </segmentedlist>
191
192 <variablelist>
193 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
196
197 <varlistentry id="glib-dbus-binding-tool">
198 <term><command>dbus-binding-tool</command></term>
199 <listitem>
200 <para>
201 is a tool used to interface with the D-Bus API.
202 </para>
203 <indexterm zone="dbus-glib glib-dbus-binding-tool">
204 <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="libdbus-glib-1">
210 <term><filename class="libraryfile">libdbus-glib-1.so</filename></term>
211 <listitem>
212 <para>
213 contains <application>GLib</application> interface functions
214 to the <application>D-Bus</application> API.
215 </para>
216 <indexterm zone="dbus-glib libdbus-glib-1">
217 <primary sortas="c-libdbus-glib-1">libdbus-glib-1.so</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 </variablelist>
223
224 </sect3>
225
226 </sect2>
227
228 <!-- Begin D-Bus Python Bindings -->
229 <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
230 <title>D-Bus Python Bindings</title>
231
232 <indexterm zone="dbus-python">
233 <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
234 </indexterm>
235
236 <sect3 role="package">
237 <title>Introduction to D-Bus Python Bindings</title>
238
239 &lfs73_checked;
240
241 <bridgehead renderas="sect4">Package Information</bridgehead>
242 <itemizedlist spacing="compact">
243 <listitem>
244 <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
245 </listitem>
246 <listitem>
247 <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
248 </listitem>
249 <listitem>
250 <para>Download MD5 sum: &dbus-python-md5sum;</para>
251 </listitem>
252 <listitem>
253 <para>Download size: &dbus-python-size;</para>
254 </listitem>
255 <listitem>
256 <para>Estimated disk space required: &dbus-python-buildsize;</para>
257 </listitem>
258 <listitem>
259 <para>Estimated build time: &dbus-python-time;</para>
260 </listitem>
261 </itemizedlist>
262
263 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
264
265 <bridgehead renderas="sect5">Required</bridgehead>
266 <para role="required">
267 <xref linkend="python2"/> and
268 <xref linkend="dbus-glib"/>
269 </para>
270
271 <bridgehead renderas="sect5">Optional</bridgehead>
272 <para role="optional">
273 <xref linkend="pygobject2"/> (required to run the test suite)
274 </para>
275
276 <bridgehead renderas="sect5">Optional
277 (Required to build the API and HTML Documentation)</bridgehead>
278 <para role="optional">
279 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
280 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
281 </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&python2-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</sect1>
Note: See TracBrowser for help on using the repository browser.