source: BOOK/final-system/common/dbus.xml@ fba960c1

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fba960c1 was c873165, checked in by William Harrington <kb0iic@…>, 11 years ago

Install documentation with versioned directory and add/update installed directories.

  • Property mode set to 100644
File size: 5.2 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">
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 \
33 --docdir=/usr/share/doc/dbus-&dbus-version;</userinput></screen>
34
35 <para os="c">Compile the package:</para>
36
37<screen os="d"><userinput>make</userinput></screen>
38
39 <para os="e">This package does come with a testsuite, but it requires
40 several packages that are not included in CLFS. Instructions for running
41 the testsuite can be found in the CBLFS wiki at
42 <ulink url="&cblfs-root;index.php/D-BUS_Core"/>.</para>
43
44 <para os="f">Install the package:</para>
45
46<screen os="g"><userinput>make install</userinput></screen>
47
48 <para os="h">Move the shared library to <filename class="directory">/lib
49 </filename> and recreate the symbolic link.</para>
50
51<screen os="i"><userinput>mv -v /usr/lib/libdbus-1.so.* /lib
52ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
53
54 <para os="j">Create a symlink so that D-Bus and Systemd can use the same
55 <filename>machine-id</filename> file:</para>
56
57<screen os="k"><userinput>ln -sv /etc/machine-id /var/lib/dbus</userinput></screen>
58
59 </sect2>
60
61 <sect2 id="contents-dbus" role="content">
62 <title>Contents of D-Bus</title>
63
64 <segmentedlist>
65 <segtitle>Installed programs</segtitle>
66 <segtitle>Installed libraries</segtitle>
67 <segtitle>Installed directories</segtitle>
68
69 <seglistitem>
70 <seg>dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor, dbus-send, dbus-uuidgen</seg>
71 <seg>libdbus-1.[a,so]</seg>
72 <seg>/etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0,
73 /usr/share/doc/dbus-&dbus-version;, /var/lib/dbus</seg>
74 </seglistitem>
75 </segmentedlist>
76
77 <variablelist>
78 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
79 <?dbfo list-presentation="list"?>
80 <?dbhtml list-presentation="table"?>
81
82 <varlistentry id="dbus-cleanup-sockets">
83 <term><command>dbus-cleanup-sockets</command></term>
84 <listitem>
85 <para>Cleans up leftover sockets in a directory</para>
86 <indexterm zone="ch-system-dbus dbus-cleanup-sockets">
87 <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
88 </indexterm>
89 </listitem>
90 </varlistentry>
91
92 <varlistentry id="dbus-daemon">
93 <term><command>dbus-daemon</command></term>
94 <listitem>
95 <para>The message bus daemon</para>
96 <indexterm zone="ch-system-dbus dbus-daemon">
97 <primary sortas="b-dbus-daemon">dbus-daemon</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="dbus-uuidgen">
103 <term><command>dbus-uuidgen</command></term>
104 <listitem>
105 <para>Utility to generate UUIDs</para>
106 <indexterm zone="ch-system-dbus dbus-uuidgen">
107 <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="dbus-monitor">
113 <term><command>dbus-monitor</command></term>
114 <listitem>
115 <para>A debug probe that prints message bus messages</para>
116 <indexterm zone="ch-system-dbus dbus-monitor">
117 <primary sortas="b-dbus-monitor">dbus-monitor</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="dbus-launch">
123 <term><command>dbus-launch</command></term>
124 <listitem>
125 <para>Utility to start a message bus from a shell script</para>
126 <indexterm zone="ch-system-dbus dbus-launch">
127 <primary sortas="b-dbus-launch">dbus-launch</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="dbus-send">
133 <term><command>dbus-send</command></term>
134 <listitem>
135 <para>Send a message to a message bus</para>
136 <indexterm zone="ch-system-dbus dbus-send">
137 <primary sortas="b-dbus-send">dbus-send</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry id="libdbus-1">
143 <term><filename class="libraryfile">libdbus-1</filename></term>
144 <listitem>
145 <para>Library containing the API for using the message bus</para>
146 <indexterm zone="ch-system-dbus libdbus-1">
147 <primary sortas="c-libdbus-1">libdbus-1</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 </variablelist>
153
154 </sect2>
155
156</sect1>
Note: See TracBrowser for help on using the repository browser.