source: general/sysutils/dbus-bindings.xml@ d6da5da

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 d6da5da was d6da5da, checked in by Krejzi <krejzi@…>, 11 years ago

Package updates, additions and tweaks. See commit log and blfs changelog.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11099 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="dbus"/>,
117 <xref linkend="expat"/> and
118 <xref linkend="glib2"/>
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"/>
128 </para>
129 </sect3>
130
131 <sect3 role="installation">
132 <title>Installation of D-Bus GLib Bindings</title>
133
134 <para>
135 Install <application>D-Bus GLib Bindings</application> by
136 running the following commands:
137 </para>
138
139<screen><userinput>./configure --prefix=/usr \
140 --sysconfdir=/etc \
141 --libexecdir=/usr/lib/dbus-1.0 \
142 --disable-static &amp;&amp;
143make</userinput></screen>
144
145 <para>
146 To test the results, issue: <command>make check</command>. Note that
147 more comprehensive tests can be run by following the same method used in
148 <application>D-Bus</application> instructions, which requires building the
149 package twice.
150 </para>
151
152 <para>
153 Now, as the <systemitem class="username">root</systemitem> user:
154 </para>
155
156<screen role="root"><userinput>make install</userinput></screen>
157
158 </sect3>
159
160 <sect3 role="commands">
161 <title>Command Explanations</title>
162
163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
164 href="../../xincludes/static-libraries.xml"/>
165
166 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
167 href="../../xincludes/gtk-doc-rebuild.xml"/>
168
169 </sect3>
170
171 <sect3 role="content">
172 <title>Contents</title>
173
174 <segmentedlist>
175 <segtitle>Installed Program</segtitle>
176 <segtitle>Installed Library</segtitle>
177 <segtitle>Installed Directories</segtitle>
178
179 <seglistitem>
180 <seg>
181 dbus-binding-tool
182 </seg>
183 <seg>
184 libdbus-glib-1.so
185 </seg>
186 <seg>
187 /usr/share/gtk-doc/html/dbus-glib and
188 /usr/share/doc/dbus-glib-&dbus-glib-version;
189 </seg>
190 </seglistitem>
191 </segmentedlist>
192
193 <variablelist>
194 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
195 <?dbfo list-presentation="list"?>
196 <?dbhtml list-presentation="table"?>
197
198 <varlistentry id="glib-dbus-binding-tool">
199 <term><command>dbus-binding-tool</command></term>
200 <listitem>
201 <para>
202 is a tool used to interface with the D-Bus API.
203 </para>
204 <indexterm zone="dbus-glib glib-dbus-binding-tool">
205 <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="libdbus-glib-1">
211 <term><filename class="libraryfile">libdbus-glib-1.so</filename></term>
212 <listitem>
213 <para>
214 contains <application>GLib</application> interface functions
215 to the <application>D-Bus</application> API.
216 </para>
217 <indexterm zone="dbus-glib libdbus-glib-1">
218 <primary sortas="c-libdbus-glib-1">libdbus-glib-1.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 </variablelist>
224
225 </sect3>
226
227 </sect2>
228
229 <!-- Begin D-Bus Python Bindings -->
230 <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
231 <title>D-Bus Python Bindings</title>
232
233 <indexterm zone="dbus-python">
234 <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
235 </indexterm>
236
237 <sect3 role="package">
238 <title>Introduction to D-Bus Python Bindings</title>
239
240 &lfs73_checked;
241
242 <bridgehead renderas="sect4">Package Information</bridgehead>
243 <itemizedlist spacing="compact">
244 <listitem>
245 <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
246 </listitem>
247 <listitem>
248 <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
249 </listitem>
250 <listitem>
251 <para>Download MD5 sum: &dbus-python-md5sum;</para>
252 </listitem>
253 <listitem>
254 <para>Download size: &dbus-python-size;</para>
255 </listitem>
256 <listitem>
257 <para>Estimated disk space required: &dbus-python-buildsize;</para>
258 </listitem>
259 <listitem>
260 <para>Estimated build time: &dbus-python-time;</para>
261 </listitem>
262 </itemizedlist>
263
264 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
265
266 <bridgehead renderas="sect5">Required</bridgehead>
267 <para role="required">
268 <xref linkend="python2"/> and
269 <xref linkend="dbus-glib"/>
270 </para>
271
272 <bridgehead renderas="sect5">Optional</bridgehead>
273 <para role="optional">
274 <xref linkend="pygobject2"/> (required to run the test suite)
275 </para>
276
277 <bridgehead renderas="sect5">Optional
278 (Required to build the API and HTML Documentation)</bridgehead>
279 <para role="optional">
280 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
281 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
282 </para>
283
284 <para condition="html" role="usernotes">User Notes:
285 <ulink url="&blfs-wiki;/dbus-python"/></para>
286
287 </sect3>
288
289 <sect3 role="installation">
290 <title>Installation of D-Bus Python Bindings</title>
291
292 <para>Install <application>D-Bus Python Bindings</application> by
293 running the following commands:</para>
294
295<screen><userinput>./configure --prefix=/usr \
296 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
297make</userinput></screen>
298
299 <para>To test the results, issue: <command>make check</command>. Note you
300 must have <application>PyGObject</application> installed.</para>
301
302 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
303
304<screen role="root"><userinput>make install</userinput></screen>
305
306 <para>If you built the API documentation, install it by issuing the
307 following commands as the <systemitem class="username">root</systemitem>
308 user:</para>
309
310<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-python-&dbus-python-version;/api &amp;&amp;
311install -v -m644 api/* \
312 /usr/share/doc/dbus-python-&dbus-python-version;/api</userinput></screen>
313
314 </sect3>
315
316 <sect3 role="content">
317 <title>Contents</title>
318
319 <segmentedlist>
320 <segtitle>Installed Programs</segtitle>
321 <segtitle>Installed Libraries</segtitle>
322 <segtitle>Installed Directories</segtitle>
323
324 <seglistitem>
325 <seg>none</seg>
326 <seg><application>Python</application>
327 <application>D-Bus</application> modules</seg>
328 <seg>/usr/lib/python&python2-majorver;/site-packages/dbus and
329 /usr/share/doc/dbus-python-&dbus-python-version;</seg>
330 </seglistitem>
331 </segmentedlist>
332
333 </sect3>
334
335 </sect2>
336
337</sect1>
Note: See TracBrowser for help on using the repository browser.