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

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

Remvoe libdbus referernces and adjust commands for library installs.

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