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