source: chapter06/libdbus.xml@ 720f253

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since 720f253 was 720f253, checked in by Krejzi <krejzi@…>, 10 years ago

Some more fixes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10479 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.6 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-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
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
51 <para>Prepare Libdbus for compilation:</para>
52
53<screen><userinput remap="configure">./configure --prefix=/usr \
54 --sysconfdir=/etc \
55 --localstatedir=/var</userinput></screen>
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
62 possible to run it because only part of the package was
63 built.</para>
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
71make install-pkgconfigDATA</userinput></screen>
72
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
79ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
80
81
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>
94 <seg>libdbus-1.{a,so}</seg>
95 <seg>/usr/include/dbus-1.0, /usr/lib/dbus-1.0</seg>
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
104 <varlistentry id="libdbus-1">
105 <term><filename class="libraryfile">libdbus-1</filename></term>
106 <listitem>
107 <para>Contains API functions used to communicate with the D-Bus
108 message bus.</para>
109 <indexterm zone="ch-system-libdbus libdbus-1">
110 <primary sortas="c-libdbus">libdbus</primary>
111 </indexterm>
112 </listitem>
113 </varlistentry>
114
115 </variablelist>
116
117 </sect2>
118
119</sect1>
Note: See TracBrowser for help on using the repository browser.