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 | <!ENTITY dbus-glib-download-http "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-&dbus-glib-version;.tar.gz">
|
---|
8 | <!ENTITY dbus-glib-download-ftp " ">
|
---|
9 | <!ENTITY dbus-glib-md5sum "ad0920c7e3aad669163bb59171cf138e">
|
---|
10 | <!ENTITY dbus-glib-size "732 KB">
|
---|
11 | <!ENTITY dbus-glib-buildsize "12 MB">
|
---|
12 | <!ENTITY dbus-glib-time "0.1 SBU">
|
---|
13 |
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="dbus-bindings" xreflabel="D-Bus Bindings">
|
---|
17 | <?dbhtml filename="dbus-bindings.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>D-Bus Bindings</title>
|
---|
25 |
|
---|
26 | <indexterm zone="dbus-bindings">
|
---|
27 | <primary sortas="a-dbus-bindings">D-Bus Bindings</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to D-Bus Bindings</title>
|
---|
32 |
|
---|
33 | <para>The <application>D-Bus Bindings</application> are a group of packages
|
---|
34 | that contain programming language and platform interfaces to the D-Bus API.
|
---|
35 | This is useful for programmers to easily interface D-Bus with their
|
---|
36 | supported platform or language of choice. Some non-D-Bus packages will
|
---|
37 | require one or more of the Bindings packages in order to build
|
---|
38 | successfully.</para>
|
---|
39 |
|
---|
40 | <para>The <application>GLib</application> and
|
---|
41 | <application>Python</application> bindings are included on this page. Other
|
---|
42 | language bindings are available at the <ulink
|
---|
43 | url="http://www.freedesktop.org/wiki/Software/DBusBindings">D-Bus
|
---|
44 | Bindings</ulink> page for information.</para>
|
---|
45 |
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para><xref linkend="dbus-glib"/></para>
|
---|
49 | </listitem>
|
---|
50 | </itemizedlist>
|
---|
51 |
|
---|
52 | </sect2>
|
---|
53 |
|
---|
54 | <!-- Begin D-Bus GLib Bindings -->
|
---|
55 | <sect2 id="dbus-glib" xreflabel="D-Bus GLib Bindings-&dbus-glib-version;">
|
---|
56 | <title>D-Bus GLib Bindings</title>
|
---|
57 |
|
---|
58 | <indexterm zone="dbus-glib">
|
---|
59 | <primary sortas="a-dbus-glib">D-Bus GLib Bindings</primary>
|
---|
60 | </indexterm>
|
---|
61 |
|
---|
62 | <sect3 role="package">
|
---|
63 | <title>Introduction to D-Bus GLib Bindings</title>
|
---|
64 |
|
---|
65 | &lfs73_checked;
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
68 | <itemizedlist spacing="compact">
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Download (HTTP): <ulink url="&dbus-glib-download-http;"/>
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | <listitem>
|
---|
75 | <para>
|
---|
76 | Download (FTP): <ulink url="&dbus-glib-download-ftp;"/>
|
---|
77 | </para>
|
---|
78 | </listitem>
|
---|
79 | <listitem>
|
---|
80 | <para>
|
---|
81 | Download MD5 sum: &dbus-glib-md5sum;
|
---|
82 | </para>
|
---|
83 | </listitem>
|
---|
84 | <listitem>
|
---|
85 | <para>
|
---|
86 | Download size: &dbus-glib-size;
|
---|
87 | </para>
|
---|
88 | </listitem>
|
---|
89 | <listitem>
|
---|
90 | <para>
|
---|
91 | Estimated disk space required: &dbus-glib-buildsize;
|
---|
92 | </para>
|
---|
93 | </listitem>
|
---|
94 | <listitem>
|
---|
95 | <para>
|
---|
96 | Estimated build time: &dbus-glib-time;
|
---|
97 | </para>
|
---|
98 | </listitem>
|
---|
99 | </itemizedlist>
|
---|
100 |
|
---|
101 | <bridgehead renderas="sect4">D-Bus GLib Dependencies</bridgehead>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
104 | <para role="required">
|
---|
105 | <xref linkend="dbus"/>,
|
---|
106 | <xref linkend="expat"/> and
|
---|
107 | <xref linkend="glib2"/>
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <bridgehead renderas="sect5">Optional to Build the API Documentation</bridgehead>
|
---|
111 | <para role="optional">
|
---|
112 | <xref linkend="doxygen"/>
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <para condition="html" role="usernotes">User Notes:
|
---|
116 | <ulink url="&blfs-wiki;/dbus-glib"/>
|
---|
117 | </para>
|
---|
118 | </sect3>
|
---|
119 |
|
---|
120 | <sect3 role="installation">
|
---|
121 | <title>Installation of D-Bus GLib Bindings</title>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | Install <application>D-Bus GLib Bindings</application> by
|
---|
125 | running the following commands:
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <screen><userinput>./configure --prefix=/usr \
|
---|
129 | --sysconfdir=/etc \
|
---|
130 | --libexecdir=/usr/lib/dbus-1.0 \
|
---|
131 | --disable-static &&
|
---|
132 | make</userinput></screen>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | To test the results, issue: <command>make check</command>. Note that
|
---|
136 | more comprehensive tests can be run by following the same method used in
|
---|
137 | <application>D-Bus</application> instructions, which requires building the
|
---|
138 | package twice.
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <para>
|
---|
142 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
146 |
|
---|
147 | </sect3>
|
---|
148 |
|
---|
149 | <sect3 role="commands">
|
---|
150 | <title>Command Explanations</title>
|
---|
151 |
|
---|
152 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
153 | href="../../xincludes/static-libraries.xml"/>
|
---|
154 |
|
---|
155 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
156 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
157 |
|
---|
158 | </sect3>
|
---|
159 |
|
---|
160 | <sect3 role="content">
|
---|
161 | <title>Contents</title>
|
---|
162 |
|
---|
163 | <segmentedlist>
|
---|
164 | <segtitle>Installed Program</segtitle>
|
---|
165 | <segtitle>Installed Library</segtitle>
|
---|
166 | <segtitle>Installed Directories</segtitle>
|
---|
167 |
|
---|
168 | <seglistitem>
|
---|
169 | <seg>
|
---|
170 | dbus-binding-tool
|
---|
171 | </seg>
|
---|
172 | <seg>
|
---|
173 | libdbus-glib-1.so
|
---|
174 | </seg>
|
---|
175 | <seg>
|
---|
176 | /usr/share/gtk-doc/html/dbus-glib and
|
---|
177 | /usr/share/doc/dbus-glib-&dbus-glib-version;
|
---|
178 | </seg>
|
---|
179 | </seglistitem>
|
---|
180 | </segmentedlist>
|
---|
181 |
|
---|
182 | <variablelist>
|
---|
183 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
184 | <?dbfo list-presentation="list"?>
|
---|
185 | <?dbhtml list-presentation="table"?>
|
---|
186 |
|
---|
187 | <varlistentry id="glib-dbus-binding-tool">
|
---|
188 | <term><command>dbus-binding-tool</command></term>
|
---|
189 | <listitem>
|
---|
190 | <para>
|
---|
191 | is a tool used to interface with the D-Bus API.
|
---|
192 | </para>
|
---|
193 | <indexterm zone="dbus-glib glib-dbus-binding-tool">
|
---|
194 | <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | <varlistentry id="libdbus-glib-1">
|
---|
200 | <term><filename class="libraryfile">libdbus-glib-1.so</filename></term>
|
---|
201 | <listitem>
|
---|
202 | <para>
|
---|
203 | contains <application>GLib</application> interface functions
|
---|
204 | to the <application>D-Bus</application> API.
|
---|
205 | </para>
|
---|
206 | <indexterm zone="dbus-glib libdbus-glib-1">
|
---|
207 | <primary sortas="c-libdbus-glib-1">libdbus-glib-1.so</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | </variablelist>
|
---|
213 |
|
---|
214 | </sect3>
|
---|
215 |
|
---|
216 | </sect2>
|
---|
217 |
|
---|
218 | </sect1>
|
---|