source: chapter08/dbus.xml@ 69854d2a

11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 69854d2a was 69854d2a, checked in by David Bryant <david@…>, 15 months ago

Edit systemd chapters for grammar and idiom.

  • Property mode set to 100644
File size: 8.3 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
8<sect1 id="ch-system-dbus" role="wrap" revision="systemd">
9 <?dbhtml filename="dbus.html"?>
10
11 <sect1info condition="script">
12 <productname>dbus</productname>
13 <productnumber>&dbus-version;</productnumber>
14 <address>&dbus-url;</address>
15 </sect1info>
16
17 <title>D-Bus-&dbus-version;</title>
18
19 <indexterm zone="ch-system-dbus">
20 <primary sortas="a-dbus">D-Bus</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>D-Bus is a message bus system, a simple way for applications to talk
27 to one another. D-Bus supplies both a system daemon (for events such as
28 "new hardware device added" or "printer queue changed") and a
29 per-user-login-session daemon (for general IPC needs among user
30 applications). Also, the message bus is built on top of a general one-to-one
31 message passing framework, which can be used by any two applications to
32 communicate directly (without going through the message bus daemon).</para>
33
34 <segmentedlist>
35 <segtitle>&buildtime;</segtitle>
36 <segtitle>&diskspace;</segtitle>
37
38 <seglistitem>
39 <seg>&dbus-fin-sbu;</seg>
40 <seg>&dbus-fin-du;</seg>
41 </seglistitem>
42 </segmentedlist>
43
44 </sect2>
45
46 <sect2 role="installation">
47 <title>Installation of D-Bus</title>
48
49 <para>Prepare D-Bus for compilation:</para>
50
51<screen><userinput remap="configure">./configure --prefix=/usr \
52 --sysconfdir=/etc \
53 --localstatedir=/var \
54 --runstatedir=/run \
55 --disable-static \
56 --disable-doxygen-docs \
57 --disable-xml-docs \
58 --docdir=/usr/share/doc/dbus-&dbus-version; \
59 --with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
60
61 <variablelist>
62 <title>The meaning of the configure options:</title>
63
64 <varlistentry>
65 <term>
66 <parameter>--runstatedir=/run</parameter> and
67 <parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>
68 </term>
69 <listitem>
70 <para>These cause the PID file and the system bus socket
71 to be in <filename class="directory">/run</filename>, instead of
72 the deprecated <filename class="directory">/var/run</filename>.</para>
73 </listitem>
74 </varlistentry>
75
76 </variablelist>
77
78 <para>Compile the package:</para>
79
80<screen><userinput remap="make">make</userinput></screen>
81
82 <para>This package does come with a test suite, but it requires several
83 packages that are not included in LFS. Instructions for running the
84 test suite can be found in the BLFS book at
85 <ulink url="&blfs-book;general/dbus.html"/>.</para>
86
87 <para>Install the package:</para>
88
89<screen><userinput remap="install">make install</userinput></screen>
90
91 <para>Create a symlink so that D-Bus and systemd can use the same
92 <filename>machine-id</filename> file:</para>
93
94<screen><userinput remap="install">ln -sfv /etc/machine-id /var/lib/dbus</userinput></screen>
95
96 </sect2>
97
98 <sect2 id="contents-dbus" role="content">
99 <title>Contents of D-Bus</title>
100
101 <segmentedlist>
102 <segtitle>Installed programs</segtitle>
103 <segtitle>Installed libraries</segtitle>
104 <segtitle>Installed directories</segtitle>
105
106 <seglistitem>
107 <seg>dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
108 dbus-run-session, dbus-send, dbus-test-tool,
109 dbus-update-activation-environment, and dbus-uuidgen</seg>
110 <seg>libdbus-1.{a,so}</seg>
111 <seg>/etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0,
112 /usr/share/dbus-1, /usr/share/doc/dbus-&dbus-version;,
113 and /var/lib/dbus</seg>
114 </seglistitem>
115 </segmentedlist>
116
117 <variablelist>
118 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
119 <?dbfo list-presentation="list"?>
120 <?dbhtml list-presentation="table"?>
121
122 <varlistentry id="dbus-cleanup-sockets">
123 <term><command>dbus-cleanup-sockets</command></term>
124 <listitem>
125 <para>is used to remove leftover sockets in a directory</para>
126 <indexterm zone="ch-system-dbus dbus-cleanup-sockets">
127 <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="dbus-daemon">
133 <term><command>dbus-daemon</command></term>
134 <listitem>
135 <para>Is the D-Bus message bus daemon</para>
136 <indexterm zone="ch-system-dbus dbus-daemon">
137 <primary sortas="b-dbus-daemon">dbus-daemon</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry id="dbus-launch">
143 <term><command>dbus-launch</command></term>
144 <listitem>
145 <para>Starts <command>dbus-daemon</command> from a shell
146 script</para>
147 <indexterm zone="ch-system-dbus dbus-launch">
148 <primary sortas="b-dbus-launch">dbus-launch</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="dbus-monitor">
154 <term><command>dbus-monitor</command></term>
155 <listitem>
156 <para>Monitors messages passing through a D-Bus message bus</para>
157 <indexterm zone="ch-system-dbus dbus-monitor">
158 <primary sortas="b-dbus-monitor">dbus-monitor</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="dbus-run-session">
164 <term><command>dbus-run-session</command></term>
165 <listitem>
166 <para>Starts a session bus instance of <command>dbus-daemon</command>
167 from a shell script and starts a specified program in that
168 session</para>
169 <indexterm zone="ch-system-dbus dbus-run-session">
170 <primary sortas="b-dbus-run-session">dbus-run-session</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="dbus-send">
176 <term><command>dbus-send</command></term>
177 <listitem>
178 <para>Sends a message to a D-Bus message bus</para>
179 <indexterm zone="ch-system-dbus dbus-send">
180 <primary sortas="b-dbus-send">dbus-send</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="dbus-test-tool">
186 <term><command>dbus-test-tool</command></term>
187 <listitem>
188 <para>Is a tool to help packages test
189 <application>D-Bus</application></para>
190 <indexterm zone="ch-system-dbus dbus-test-tool">
191 <primary sortas="b-dbus-test-tool">dbus-test-tool</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <!-- This is a very long command name. Excuse the long <primary> statement below. -->
197 <varlistentry id="dbus-update-activation-environment">
198 <term><command>dbus-update-activation-environment</command></term>
199 <listitem>
200 <para>Updates environment variables that will be set for
201 <application>D-Bus</application> session services</para>
202 <indexterm zone="ch-system-dbus dbus-update-activation-environment">
203 <primary sortas="b-dbus-update-activation-environment">dbus-update-activation-environment</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="dbus-uuidgen">
209 <term><command>dbus-uuidgen</command></term>
210 <listitem>
211 <para>Generates a universally unique ID</para>
212 <indexterm zone="ch-system-dbus dbus-uuidgen">
213 <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="libdbus-1">
219 <term><filename class="libraryfile">libdbus-1</filename></term>
220 <listitem>
221 <para>Contains API functions used to communicate with the D-Bus
222 message bus</para>
223 <indexterm zone="ch-system-dbus libdbus-1">
224 <primary sortas="c-libdbus-1">libdbus-1</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.