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">
|
---|
9 | <?dbhtml filename="dbus.html"?>
|
---|
10 |
|
---|
11 | <title>D-Bus-&dbus-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-dbus">
|
---|
14 | <primary sortas="a-D-Bus">D-Bus</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>D-Bus is a message bus system, a simple way for applications
|
---|
21 | to talk to one another.</para>
|
---|
22 |
|
---|
23 | </sect2>
|
---|
24 |
|
---|
25 | <sect2 role="installation">
|
---|
26 | <title>Installation of D-Bus</title>
|
---|
27 |
|
---|
28 | <para os="a">Prepare D-Bus for compilation:</para>
|
---|
29 |
|
---|
30 | <screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
31 | --libexecdir=/usr/lib/dbus-1.0 --localstatedir=/var \
|
---|
32 | --with-systemdsystemunitdir=/lib/systemd/system</userinput></screen>
|
---|
33 |
|
---|
34 | <para os="c">Compile the package:</para>
|
---|
35 |
|
---|
36 | <screen os="d"><userinput>make</userinput></screen>
|
---|
37 |
|
---|
38 | <para os="e">This package does come with a testsuite, but it requires
|
---|
39 | several packages that are not included in CLFS. Instructions for running
|
---|
40 | the testsuite can be found in the CBLFS book at
|
---|
41 | <ulink url="&cblfs-root;/index.php/D-BUS_Core"/>.</para>
|
---|
42 |
|
---|
43 | <para os="f">Install the package:</para>
|
---|
44 |
|
---|
45 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
46 |
|
---|
47 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
48 | href="libdbus.xml"
|
---|
49 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
50 |
|
---|
51 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
52 | href="libdbus.xml"
|
---|
53 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
54 |
|
---|
55 | <para os="j">Create a symlink so that D-Bus and Systemd can use the same
|
---|
56 | <filename>machine-id</filename> file:</para>
|
---|
57 |
|
---|
58 | <screen os="k"><userinput>ln -sv /etc/machine-id /var/lib/dbus</userinput></screen>
|
---|
59 |
|
---|
60 | </sect2>
|
---|
61 |
|
---|
62 | <sect2 id="contents-dbus" role="content">
|
---|
63 | <title>Contents of D-Bus</title>
|
---|
64 |
|
---|
65 | <segmentedlist>
|
---|
66 | <segtitle>Installed programs</segtitle>
|
---|
67 | <segtitle>Installed libraries</segtitle>
|
---|
68 | <segtitle>Installed directories</segtitle>
|
---|
69 |
|
---|
70 | <seglistitem>
|
---|
71 | <seg>dbus-cleanup-sockets, dbus-daemon, dbus-uuidgen, dbus-monitor, dbus-launch, dbus-send</seg>
|
---|
72 | <seg>libdbus-1.[a,so]</seg>
|
---|
73 | <seg>/etc/dbus-1, /usr/lib/dbus-1.0,
|
---|
74 | /usr/share/dbus-1, /var/lib/dbus</seg>
|
---|
75 | </seglistitem>
|
---|
76 | </segmentedlist>
|
---|
77 |
|
---|
78 | <variablelist>
|
---|
79 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
80 | <?dbfo list-presentation="list"?>
|
---|
81 | <?dbhtml list-presentation="table"?>
|
---|
82 |
|
---|
83 | <varlistentry id="dbus-cleanup-sockets">
|
---|
84 | <term><command>dbus-cleanup-sockets</command></term>
|
---|
85 | <listitem>
|
---|
86 | <para>Cleans up leftover sockets in a directory</para>
|
---|
87 | <indexterm zone="ch-system-dbus dbus-cleanup-sockets">
|
---|
88 | <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
|
---|
89 | </indexterm>
|
---|
90 | </listitem>
|
---|
91 | </varlistentry>
|
---|
92 |
|
---|
93 | <varlistentry id="dbus-daemon">
|
---|
94 | <term><command>dbus-daemon</command></term>
|
---|
95 | <listitem>
|
---|
96 | <para>The message bus daemon</para>
|
---|
97 | <indexterm zone="ch-system-dbus dbus-daemon">
|
---|
98 | <primary sortas="b-dbus-daemon">dbus-daemon</primary>
|
---|
99 | </indexterm>
|
---|
100 | </listitem>
|
---|
101 | </varlistentry>
|
---|
102 |
|
---|
103 | <varlistentry id="dbus-uuidgen">
|
---|
104 | <term><command>dbus-uuidgen</command></term>
|
---|
105 | <listitem>
|
---|
106 | <para>Utility to generate UUIDs</para>
|
---|
107 | <indexterm zone="ch-system-dbus dbus-uuidgen">
|
---|
108 | <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
|
---|
109 | </indexterm>
|
---|
110 | </listitem>
|
---|
111 | </varlistentry>
|
---|
112 |
|
---|
113 | <varlistentry id="dbus-monitor">
|
---|
114 | <term><command>dbus-monitor</command></term>
|
---|
115 | <listitem>
|
---|
116 | <para>A debug probe that prints message bus messages</para>
|
---|
117 | <indexterm zone="ch-system-dbus dbus-monitor">
|
---|
118 | <primary sortas="b-dbus-monitor">dbus-monitor</primary>
|
---|
119 | </indexterm>
|
---|
120 | </listitem>
|
---|
121 | </varlistentry>
|
---|
122 |
|
---|
123 | <varlistentry id="dbus-launch">
|
---|
124 | <term><command>dbus-launch</command></term>
|
---|
125 | <listitem>
|
---|
126 | <para>Utility to start a message bus from a shell script</para>
|
---|
127 | <indexterm zone="ch-system-dbus dbus-launch">
|
---|
128 | <primary sortas="b-dbus-launch">dbus-launch</primary>
|
---|
129 | </indexterm>
|
---|
130 | </listitem>
|
---|
131 | </varlistentry>
|
---|
132 |
|
---|
133 | <varlistentry id="dbus-send">
|
---|
134 | <term><command>dbus-send</command></term>
|
---|
135 | <listitem>
|
---|
136 | <para>Send a message to a message bus</para>
|
---|
137 | <indexterm zone="ch-system-dbus dbus-send">
|
---|
138 | <primary sortas="b-dbus-send">dbus-send</primary>
|
---|
139 | </indexterm>
|
---|
140 | </listitem>
|
---|
141 | </varlistentry>
|
---|
142 |
|
---|
143 | <varlistentry id="libdbus-1">
|
---|
144 | <term><filename class="libraryfile">libdbus-1</filename></term>
|
---|
145 | <listitem>
|
---|
146 | <para>Library containing the API for using the message bus</para>
|
---|
147 | <indexterm zone="ch-system-dbus libdbus-1">
|
---|
148 | <primary sortas="c-libdbus-1">libdbus-1</primary>
|
---|
149 | </indexterm>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | </variablelist>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | </sect1>
|
---|