source: chapter06/dbus.xml@ 1fa2099

multilib-10.1 multilib-before-cross
Last change on this file since 1fa2099 was 1fa2099, checked in by Thomas Trepl <thomas@…>, 3 years ago

Initial creation of multilib branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11565 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 8.4 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-ch6-sbu;</seg>
40 <seg>&dbus-ch6-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 --disable-static \
55 --disable-doxygen-docs \
56 --disable-xml-docs \
57 --docdir=/usr/share/doc/dbus-&dbus-version; \
58 --with-console-auth-dir=/run/console</userinput></screen>
59
60 <variablelist>
61 <title>The meaning of the configure options:</title>
62
63 <varlistentry>
64 <term><parameter>--with-console-auth-dir=/run/console</parameter></term>
65 <listitem>
66 <para>This specifies the location of the ConsoleKit auth
67 directory.</para>
68 </listitem>
69 </varlistentry>
70
71 </variablelist>
72
73 <para>Compile the package:</para>
74
75<screen><userinput remap="make">make</userinput></screen>
76
77 <para>This package does come with a test suite, but it requires several
78 packages that are not included in LFS. Instructions for running the
79 test suite can be found in the BLFS book at
80 <ulink url="&blfs-book;general/dbus.html"/>.</para>
81
82 <para>Install the package:</para>
83
84<screen><userinput remap="install">make install</userinput></screen>
85
86 <para>The shared library needs to be moved to
87 <filename class="directory">/lib</filename>, and as a result the
88 <filename class="extension">.so</filename> file in
89 <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
90
91<screen><userinput remap="install">mv -v /usr/lib/libdbus-1.so.* /lib
92ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
93
94 <para>Create a symlink, so that D-Bus and systemd can use the same
95 <filename>machine-id</filename> file:</para>
96
97<screen><userinput remap="install">ln -sfv /etc/machine-id /var/lib/dbus</userinput></screen>
98
99 </sect2>
100
101 <sect2 id="contents-dbus" role="content">
102 <title>Contents of D-Bus</title>
103
104 <segmentedlist>
105 <segtitle>Installed programs</segtitle>
106 <segtitle>Installed libraries</segtitle>
107 <segtitle>Installed directories</segtitle>
108
109 <seglistitem>
110 <seg>dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
111 dbus-run-session, dbus-send, dbus-test-tool,
112 dbus-update-activation-environment, and dbus-uuidgen</seg>
113 <seg>libdbus-1.{a,so}</seg>
114 <seg>/etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0,
115 /usr/share/dbus-1, /usr/share/doc/dbus-&dbus-version;,
116 and /var/lib/dbus</seg>
117 </seglistitem>
118 </segmentedlist>
119
120 <variablelist>
121 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
122 <?dbfo list-presentation="list"?>
123 <?dbhtml list-presentation="table"?>
124
125 <varlistentry id="dbus-cleanup-sockets">
126 <term><command>dbus-cleanup-sockets</command></term>
127 <listitem>
128 <para>Used to clean up leftover sockets in a directory</para>
129 <indexterm zone="ch-system-dbus dbus-cleanup-sockets">
130 <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="dbus-daemon">
136 <term><command>dbus-daemon</command></term>
137 <listitem>
138 <para>The D-Bus message bus daemon</para>
139 <indexterm zone="ch-system-dbus dbus-daemon">
140 <primary sortas="b-dbus-daemon">dbus-daemon</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry id="dbus-launch">
146 <term><command>dbus-launch</command></term>
147 <listitem>
148 <para>Starts <command>dbus-daemon</command> from a shell
149 script</para>
150 <indexterm zone="ch-system-dbus dbus-launch">
151 <primary sortas="b-dbus-launch">dbus-launch</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="dbus-monitor">
157 <term><command>dbus-monitor</command></term>
158 <listitem>
159 <para>Monitors messages passing through a D-Bus message bus</para>
160 <indexterm zone="ch-system-dbus dbus-monitor">
161 <primary sortas="b-dbus-monitor">dbus-monitor</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="dbus-run-session">
167 <term><command>dbus-run-session</command></term>
168 <listitem>
169 <para>Starts a session bus instance of <command>dbus-daemon</command>
170 from a shell script and starts a specified program in that
171 session</para>
172 <indexterm zone="ch-system-dbus dbus-run-session">
173 <primary sortas="b-dbus-run-session">dbus-run-session</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="dbus-send">
179 <term><command>dbus-send</command></term>
180 <listitem>
181 <para>Sends a message to a D-Bus message bus</para>
182 <indexterm zone="ch-system-dbus dbus-send">
183 <primary sortas="b-dbus-send">dbus-send</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="dbus-test-tool">
189 <term><command>dbus-test-tool</command></term>
190 <listitem>
191 <para>A tool to help packages test
192 <application>D-Bus</application></para>
193 <indexterm zone="ch-system-dbus dbus-test-tool">
194 <primary sortas="b-dbus-test-tool">dbus-test-tool</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <!-- This is a very long command name. Excuse the long <primary> statement below. -->
200 <varlistentry id="dbus-update-activation-environment">
201 <term><command>dbus-update-activation-environment</command></term>
202 <listitem>
203 <para>Updates environment variables that will be set for
204 <application>D-Bus</application> session services</para>
205 <indexterm zone="ch-system-dbus dbus-update-activation-environment">
206 <primary sortas="b-dbus-update-activation-environment">dbus-update-activation-environment</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="dbus-uuidgen">
212 <term><command>dbus-uuidgen</command></term>
213 <listitem>
214 <para>Generates a universally unique ID</para>
215 <indexterm zone="ch-system-dbus dbus-uuidgen">
216 <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="libdbus-1">
222 <term><filename class="libraryfile">libdbus-1</filename></term>
223 <listitem>
224 <para>Contains API functions used to communicate with the D-Bus
225 message bus</para>
226 <indexterm zone="ch-system-dbus libdbus-1">
227 <primary sortas="c-libdbus-1">libdbus-1</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 </variablelist>
233
234 </sect2>
235
236</sect1>
Note: See TracBrowser for help on using the repository browser.