| 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 |   <title>Libdbus-&dbus-version;</title>
 | 
|---|
| 12 | 
 | 
|---|
| 13 |   <indexterm zone="ch-system-libdbus">
 | 
|---|
| 14 |     <primary sortas="a-libdbus">Libdbus</primary>
 | 
|---|
| 15 |   </indexterm>
 | 
|---|
| 16 | 
 | 
|---|
| 17 |   <sect2 role="package">
 | 
|---|
| 18 |     <title/>
 | 
|---|
| 19 | 
 | 
|---|
| 20 |     <para>Libdbus package provides a library to communicate with
 | 
|---|
| 21 |     D-Bus messagebus daemon. It is only installed to satisfy
 | 
|---|
| 22 |     circular dependency between Systemd and D-Bus.</para>
 | 
|---|
| 23 | 
 | 
|---|
| 24 |   </sect2>
 | 
|---|
| 25 | 
 | 
|---|
| 26 |   <sect2 role="installation">
 | 
|---|
| 27 |     <title>Installation of Libdbus</title>
 | 
|---|
| 28 | 
 | 
|---|
| 29 |     <para os="a">Prepare Libdbus for compilation:</para>
 | 
|---|
| 30 | 
 | 
|---|
| 31 | <screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc \
 | 
|---|
| 32 |     --libexecdir=/usr/lib/dbus-1.0 --localstatedir=/var \
 | 
|---|
| 33 |     --with-systemdsystemunitdir=/lib/systemd/system</userinput></screen>
 | 
|---|
| 34 | 
 | 
|---|
| 35 |     <para os="c">Compile the package:</para>
 | 
|---|
| 36 | 
 | 
|---|
| 37 | <screen os="d"><userinput>make -C dbus libdbus-1.la</userinput></screen>
 | 
|---|
| 38 | 
 | 
|---|
| 39 |     <para os="e">This package does come with a test suite, but will not run as only the libraries were built.</para>
 | 
|---|
| 40 | 
 | 
|---|
| 41 |     <para os="f">Install the package:</para>
 | 
|---|
| 42 | 
 | 
|---|
| 43 | <screen os="g"><userinput>make -C dbus lib_LTLIBRARIES=libdbus-1.la \
 | 
|---|
| 44 |     install-libLTLIBRARIES install-dbusincludeHEADERS \
 | 
|---|
| 45 |     install-nodist_dbusarchincludeHEADERS
 | 
|---|
| 46 | make install-pkgconfigDATA</userinput></screen>
 | 
|---|
| 47 | 
 | 
|---|
| 48 |     <para os="h">Move the shared library to <filename class="directory">/lib</filename> and recreate the symbolic link.</para>
 | 
|---|
| 49 | 
 | 
|---|
| 50 | <screen os="i"><userinput>mv -v /usr/lib/libdbus-1.so.* /lib
 | 
|---|
| 51 | ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
 | 
|---|
| 52 | 
 | 
|---|
| 53 |   </sect2>
 | 
|---|
| 54 | 
 | 
|---|
| 55 |   <sect2 id="contents-libdbus" role="content">
 | 
|---|
| 56 |     <title>Contents of Libdbus</title>
 | 
|---|
| 57 | 
 | 
|---|
| 58 |     <segmentedlist>
 | 
|---|
| 59 |       <segtitle>Installed programs</segtitle>
 | 
|---|
| 60 |       <segtitle>Installed libraries</segtitle>
 | 
|---|
| 61 |       <segtitle>Installed directories</segtitle>
 | 
|---|
| 62 | 
 | 
|---|
| 63 |       <seglistitem>
 | 
|---|
| 64 |         <seg>none</seg>
 | 
|---|
| 65 |         <seg>libdbus-1.[a,so]</seg>
 | 
|---|
| 66 |         <seg>/usr/include/dbus-1.0, /usr/lib/dbus-1.0</seg>
 | 
|---|
| 67 |       </seglistitem>
 | 
|---|
| 68 |     </segmentedlist>
 | 
|---|
| 69 | 
 | 
|---|
| 70 |     <variablelist>
 | 
|---|
| 71 |       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
 | 
|---|
| 72 |       <?dbfo list-presentation="list"?>
 | 
|---|
| 73 |       <?dbhtml list-presentation="table"?>
 | 
|---|
| 74 | 
 | 
|---|
| 75 |       <varlistentry id="libdbus-lib">
 | 
|---|
| 76 |         <term><filename class="libraryfile">libdbus-1.[a,so]</filename></term>
 | 
|---|
| 77 |         <listitem>
 | 
|---|
| 78 |           <para>Library containing the API for using the message bus</para>
 | 
|---|
| 79 |           <indexterm zone="ch-system-libdbus libdbus-lib">
 | 
|---|
| 80 |             <primary sortas="c-libdbus">libdbus</primary>
 | 
|---|
| 81 |           </indexterm>
 | 
|---|
| 82 |         </listitem>
 | 
|---|
| 83 |       </varlistentry>
 | 
|---|
| 84 | 
 | 
|---|
| 85 |     </variablelist>
 | 
|---|
| 86 | 
 | 
|---|
| 87 |   </sect2>
 | 
|---|
| 88 | 
 | 
|---|
| 89 | </sect1>
 | 
|---|