[0a59df2] | 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-libdbus" role="wrap">
|
---|
| 9 | <?dbhtml filename="libdbus.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>libdbus</productname>
|
---|
| 13 | <productnumber>&dbus-version;</productnumber>
|
---|
| 14 | <address>&dbus-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Libdbus-&dbus-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-libdbus">
|
---|
| 20 | <primary sortas="a-libdbus">Libdbus</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>Libdbus package provides a library to communicate with
|
---|
| 27 | D-Bus messagebus daemon. It is only installed to satisfy
|
---|
| 28 | circular dependency between Systemd and D-Bus.</para>
|
---|
| 29 |
|
---|
| 30 | <segmentedlist>
|
---|
| 31 | <segtitle>&buildtime;</segtitle>
|
---|
| 32 | <segtitle>&diskspace;</segtitle>
|
---|
| 33 |
|
---|
| 34 | <seglistitem>
|
---|
| 35 | <seg>&dbus-ch6-sbu;</seg>
|
---|
| 36 | <seg>&dbus-ch6-du;</seg>
|
---|
| 37 | </seglistitem>
|
---|
| 38 | </segmentedlist>
|
---|
| 39 |
|
---|
| 40 | </sect2>
|
---|
| 41 |
|
---|
| 42 | <sect2 role="installation">
|
---|
| 43 | <title>Installation of Libdbus</title>
|
---|
| 44 |
|
---|
[b1a51ac1] | 45 | <note>
|
---|
| 46 | <para><application>Libdbus</application> is part of the D-Bus sources.
|
---|
| 47 | You should first unpack the D-Bus tarball and change to the
|
---|
| 48 | <filename>dbus-&dbus-version;</filename> directory.</para>
|
---|
| 49 | </note>
|
---|
| 50 |
|
---|
[0a59df2] | 51 | <para>Prepare Libdbus for compilation:</para>
|
---|
| 52 |
|
---|
[720f253] | 53 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
[b1a51ac1] | 54 | --sysconfdir=/etc \
|
---|
[720f253] | 55 | --localstatedir=/var</userinput></screen>
|
---|
[0a59df2] | 56 |
|
---|
| 57 | <para>Compile the package:</para>
|
---|
| 58 |
|
---|
| 59 | <screen><userinput remap="make">make -C dbus libdbus-1.la</userinput></screen>
|
---|
| 60 |
|
---|
| 61 | <para>This package does come with a testsuite, but it is not
|
---|
[3711cc6] | 62 | possible to run it because only part of the package was
|
---|
| 63 | built.</para>
|
---|
[0a59df2] | 64 |
|
---|
| 65 | <para>Install the package:</para>
|
---|
| 66 |
|
---|
| 67 | <screen><userinput remap="install">make -C dbus lib_LTLIBRARIES=libdbus-1.la \
|
---|
| 68 | install-libLTLIBRARIES \
|
---|
| 69 | install-dbusincludeHEADERS \
|
---|
| 70 | install-nodist_dbusarchincludeHEADERS
|
---|
| 71 | make install-pkgconfigDATA</userinput></screen>
|
---|
| 72 |
|
---|
[f38341f] | 73 | <para>The shared library needs to be moved to
|
---|
| 74 | <filename class="directory">/lib</filename>, and as a result the
|
---|
| 75 | <filename class="extension">.so</filename> file in
|
---|
| 76 | <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
|
---|
| 77 |
|
---|
| 78 | <screen><userinput remap="install">mv -v /usr/lib/libdbus-1.so.* /lib
|
---|
| 79 | ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
|
---|
| 80 |
|
---|
| 81 |
|
---|
[0a59df2] | 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 id="contents-libdbus" role="content">
|
---|
| 85 | <title>Contents of Libdbus</title>
|
---|
| 86 |
|
---|
| 87 | <segmentedlist>
|
---|
| 88 | <segtitle>Installed programs</segtitle>
|
---|
| 89 | <segtitle>Installed libraries</segtitle>
|
---|
| 90 | <segtitle>Installed directories</segtitle>
|
---|
| 91 |
|
---|
| 92 | <seglistitem>
|
---|
| 93 | <seg>none</seg>
|
---|
[720f253] | 94 | <seg>libdbus-1.{a,so}</seg>
|
---|
[a966c46] | 95 | <seg>/usr/include/dbus-1.0, /usr/lib/dbus-1.0</seg>
|
---|
[0a59df2] | 96 | </seglistitem>
|
---|
| 97 | </segmentedlist>
|
---|
| 98 |
|
---|
| 99 | <variablelist>
|
---|
| 100 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 101 | <?dbfo list-presentation="list"?>
|
---|
| 102 | <?dbhtml list-presentation="table"?>
|
---|
| 103 |
|
---|
[720f253] | 104 | <varlistentry id="libdbus-1">
|
---|
| 105 | <term><filename class="libraryfile">libdbus-1</filename></term>
|
---|
[0a59df2] | 106 | <listitem>
|
---|
| 107 | <para>Contains API functions used to communicate with the D-Bus
|
---|
| 108 | message bus.</para>
|
---|
[720f253] | 109 | <indexterm zone="ch-system-libdbus libdbus-1">
|
---|
[0a59df2] | 110 | <primary sortas="c-libdbus">libdbus</primary>
|
---|
| 111 | </indexterm>
|
---|
| 112 | </listitem>
|
---|
| 113 | </varlistentry>
|
---|
| 114 |
|
---|
| 115 | </variablelist>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | </sect1>
|
---|