[f6f155a] | 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 " ">
|
---|
[d6da5da] | 9 | <!ENTITY dbus-glib-md5sum "ad0920c7e3aad669163bb59171cf138e">
|
---|
| 10 | <!ENTITY dbus-glib-size "732 KB">
|
---|
| 11 | <!ENTITY dbus-glib-buildsize "12 MB">
|
---|
[3338ba43] | 12 | <!ENTITY dbus-glib-time "0.1 SBU">
|
---|
[f6f155a] | 13 |
|
---|
[d876f09] | 14 | <!ENTITY dbus-python-download-http "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
|
---|
| 15 | <!ENTITY dbus-python-download-ftp " ">
|
---|
[fc695e8] | 16 | <!ENTITY dbus-python-md5sum "742c7432ad0f7c3f98291d58fa2e35dc">
|
---|
| 17 | <!ENTITY dbus-python-size "583 KB">
|
---|
| 18 | <!ENTITY dbus-python-buildsize "5.7 MB">
|
---|
[95837548] | 19 | <!ENTITY dbus-python-time "0.2 SBU">
|
---|
[2fdcd9df] | 20 |
|
---|
[f6f155a] | 21 | <!-- All the other bindings info should be here as well -->
|
---|
| 22 | ]>
|
---|
| 23 |
|
---|
| 24 | <sect1 id="dbus-bindings" xreflabel="D-Bus Bindings">
|
---|
| 25 | <?dbhtml filename="dbus-bindings.html"?>
|
---|
| 26 |
|
---|
| 27 | <sect1info>
|
---|
| 28 | <othername>$LastChangedBy$</othername>
|
---|
| 29 | <date>$Date$</date>
|
---|
| 30 | </sect1info>
|
---|
| 31 |
|
---|
| 32 | <title>D-Bus Bindings</title>
|
---|
| 33 |
|
---|
| 34 | <indexterm zone="dbus-bindings">
|
---|
| 35 | <primary sortas="a-dbus-bindings">D-Bus Bindings</primary>
|
---|
| 36 | </indexterm>
|
---|
| 37 |
|
---|
| 38 | <sect2 role="package">
|
---|
| 39 | <title>Introduction to D-Bus Bindings</title>
|
---|
| 40 |
|
---|
| 41 | <para>The <application>D-Bus Bindings</application> are a group of packages
|
---|
| 42 | that contain programming language and platform interfaces to the D-Bus API.
|
---|
| 43 | This is useful for programmers to easily interface D-Bus with their
|
---|
| 44 | supported platform or language of choice. Some non-D-Bus packages will
|
---|
| 45 | require one or more of the Bindings packages in order to build
|
---|
| 46 | successfully.</para>
|
---|
| 47 |
|
---|
[2fdcd9df] | 48 | <para>The <application>GLib</application> and
|
---|
| 49 | <application>Python</application> bindings are included on this page. Other
|
---|
[3338ba43] | 50 | language bindings are available at the <ulink
|
---|
[f6f155a] | 51 | url="http://www.freedesktop.org/wiki/Software/DBusBindings">D-Bus
|
---|
| 52 | Bindings</ulink> page for information.</para>
|
---|
| 53 |
|
---|
[d876f09] | 54 | <itemizedlist spacing="compact">
|
---|
| 55 | <listitem>
|
---|
| 56 | <para><xref linkend="dbus-glib"/></para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para><xref linkend="dbus-python"/></para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
[f6f155a] | 63 | </sect2>
|
---|
| 64 |
|
---|
[d876f09] | 65 | <!-- Begin D-Bus GLib Bindings -->
|
---|
[f6f155a] | 66 | <sect2 id="dbus-glib" xreflabel="D-Bus GLib Bindings-&dbus-glib-version;">
|
---|
[9d3d8a8] | 67 | <title>D-Bus GLib Bindings</title>
|
---|
[f6f155a] | 68 |
|
---|
[9d3d8a8] | 69 | <indexterm zone="dbus-glib">
|
---|
| 70 | <primary sortas="a-dbus-glib">D-Bus GLib Bindings</primary>
|
---|
| 71 | </indexterm>
|
---|
[f6f155a] | 72 |
|
---|
[9d3d8a8] | 73 | <sect3 role="package">
|
---|
| 74 | <title>Introduction to D-Bus GLib Bindings</title>
|
---|
[f6f155a] | 75 |
|
---|
[d0323de] | 76 | &lfs73_checked;
|
---|
[27e62762] | 77 |
|
---|
[9d3d8a8] | 78 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 79 | <itemizedlist spacing="compact">
|
---|
| 80 | <listitem>
|
---|
[d6da5da] | 81 | <para>
|
---|
| 82 | Download (HTTP): <ulink url="&dbus-glib-download-http;"/>
|
---|
| 83 | </para>
|
---|
[9d3d8a8] | 84 | </listitem>
|
---|
| 85 | <listitem>
|
---|
[d6da5da] | 86 | <para>
|
---|
| 87 | Download (FTP): <ulink url="&dbus-glib-download-ftp;"/>
|
---|
| 88 | </para>
|
---|
[9d3d8a8] | 89 | </listitem>
|
---|
| 90 | <listitem>
|
---|
[d6da5da] | 91 | <para>
|
---|
| 92 | Download MD5 sum: &dbus-glib-md5sum;
|
---|
| 93 | </para>
|
---|
[9d3d8a8] | 94 | </listitem>
|
---|
| 95 | <listitem>
|
---|
[d6da5da] | 96 | <para>
|
---|
| 97 | Download size: &dbus-glib-size;
|
---|
| 98 | </para>
|
---|
[9d3d8a8] | 99 | </listitem>
|
---|
| 100 | <listitem>
|
---|
[d6da5da] | 101 | <para>
|
---|
| 102 | Estimated disk space required: &dbus-glib-buildsize;
|
---|
| 103 | </para>
|
---|
[9d3d8a8] | 104 | </listitem>
|
---|
| 105 | <listitem>
|
---|
[d6da5da] | 106 | <para>
|
---|
| 107 | Estimated build time: &dbus-glib-time;
|
---|
| 108 | </para>
|
---|
[9d3d8a8] | 109 | </listitem>
|
---|
| 110 | </itemizedlist>
|
---|
[f6f155a] | 111 |
|
---|
[9d3d8a8] | 112 | <bridgehead renderas="sect4">D-Bus GLib Dependencies</bridgehead>
|
---|
[f6f155a] | 113 |
|
---|
[9d3d8a8] | 114 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
[3338ba43] | 115 | <para role="required">
|
---|
| 116 | <xref linkend="dbus"/>,
|
---|
[d6da5da] | 117 | <xref linkend="expat"/> and
|
---|
[476618b] | 118 | <xref linkend="glib2"/>
|
---|
[3338ba43] | 119 | </para>
|
---|
[6cc2ae1f] | 120 |
|
---|
[9d3d8a8] | 121 | <bridgehead renderas="sect5">Optional to Build the API Documentation</bridgehead>
|
---|
[3338ba43] | 122 | <para role="optional">
|
---|
| 123 | <xref linkend="doxygen"/>
|
---|
| 124 | </para>
|
---|
[f6f155a] | 125 |
|
---|
[9d3d8a8] | 126 | <para condition="html" role="usernotes">User Notes:
|
---|
[d6da5da] | 127 | <ulink url="&blfs-wiki;/dbus-glib"/>
|
---|
| 128 | </para>
|
---|
[9d3d8a8] | 129 | </sect3>
|
---|
[f6f155a] | 130 |
|
---|
[9d3d8a8] | 131 | <sect3 role="installation">
|
---|
| 132 | <title>Installation of D-Bus GLib Bindings</title>
|
---|
| 133 |
|
---|
[d6da5da] | 134 | <para>
|
---|
| 135 | Install <application>D-Bus GLib Bindings</application> by
|
---|
| 136 | running the following commands:
|
---|
| 137 | </para>
|
---|
[f6f155a] | 138 |
|
---|
[ad393009] | 139 | <screen><userinput>./configure --prefix=/usr \
|
---|
[c1a4344] | 140 | --sysconfdir=/etc \
|
---|
[406fc62] | 141 | --libexecdir=/usr/lib/dbus-1.0 \
|
---|
[028759b] | 142 | --disable-static &&
|
---|
[f6f155a] | 143 | make</userinput></screen>
|
---|
| 144 |
|
---|
[d6da5da] | 145 | <para>
|
---|
| 146 | To test the results, issue: <command>make check</command>. Note that
|
---|
| 147 | more comprehensive tests can be run by following the same method used in
|
---|
| 148 | <application>D-Bus</application> instructions, which requires building the
|
---|
| 149 | package twice.
|
---|
| 150 | </para>
|
---|
[f6f155a] | 151 |
|
---|
[d6da5da] | 152 | <para>
|
---|
| 153 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 154 | </para>
|
---|
[f6f155a] | 155 |
|
---|
| 156 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 157 |
|
---|
[9d3d8a8] | 158 | </sect3>
|
---|
| 159 |
|
---|
| 160 | <sect3 role="commands">
|
---|
| 161 | <title>Command Explanations</title>
|
---|
| 162 |
|
---|
[e05cd03f] | 163 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[d6da5da] | 164 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9d3d8a8] | 165 |
|
---|
[2fdcd9df] | 166 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[d6da5da] | 167 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[2fdcd9df] | 168 |
|
---|
[9d3d8a8] | 169 | </sect3>
|
---|
| 170 |
|
---|
| 171 | <sect3 role="content">
|
---|
| 172 | <title>Contents</title>
|
---|
| 173 |
|
---|
| 174 | <segmentedlist>
|
---|
[d6da5da] | 175 | <segtitle>Installed Program</segtitle>
|
---|
| 176 | <segtitle>Installed Library</segtitle>
|
---|
[9d3d8a8] | 177 | <segtitle>Installed Directories</segtitle>
|
---|
| 178 |
|
---|
| 179 | <seglistitem>
|
---|
[d6da5da] | 180 | <seg>
|
---|
| 181 | dbus-binding-tool
|
---|
| 182 | </seg>
|
---|
| 183 | <seg>
|
---|
| 184 | libdbus-glib-1.so
|
---|
| 185 | </seg>
|
---|
| 186 | <seg>
|
---|
| 187 | /usr/share/gtk-doc/html/dbus-glib and
|
---|
| 188 | /usr/share/doc/dbus-glib-&dbus-glib-version;
|
---|
| 189 | </seg>
|
---|
[9d3d8a8] | 190 | </seglistitem>
|
---|
| 191 | </segmentedlist>
|
---|
| 192 |
|
---|
| 193 | <variablelist>
|
---|
| 194 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
| 195 | <?dbfo list-presentation="list"?>
|
---|
| 196 | <?dbhtml list-presentation="table"?>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="glib-dbus-binding-tool">
|
---|
| 199 | <term><command>dbus-binding-tool</command></term>
|
---|
| 200 | <listitem>
|
---|
[d6da5da] | 201 | <para>
|
---|
| 202 | is a tool used to interface with the D-Bus API.
|
---|
| 203 | </para>
|
---|
[9d3d8a8] | 204 | <indexterm zone="dbus-glib glib-dbus-binding-tool">
|
---|
| 205 | <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="libdbus-glib-1">
|
---|
[d6da5da] | 211 | <term><filename class="libraryfile">libdbus-glib-1.so</filename></term>
|
---|
[9d3d8a8] | 212 | <listitem>
|
---|
[d6da5da] | 213 | <para>
|
---|
| 214 | contains <application>GLib</application> interface functions
|
---|
| 215 | to the <application>D-Bus</application> API.
|
---|
| 216 | </para>
|
---|
[9d3d8a8] | 217 | <indexterm zone="dbus-glib libdbus-glib-1">
|
---|
[406fc62] | 218 | <primary sortas="c-libdbus-glib-1">libdbus-glib-1.so</primary>
|
---|
[9d3d8a8] | 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | </variablelist>
|
---|
| 224 |
|
---|
| 225 | </sect3>
|
---|
[f6f155a] | 226 |
|
---|
[9d3d8a8] | 227 | </sect2>
|
---|
[f6f155a] | 228 |
|
---|
[9d3d8a8] | 229 | <!-- Begin D-Bus Python Bindings -->
|
---|
| 230 | <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
|
---|
| 231 | <title>D-Bus Python Bindings</title>
|
---|
[8c6a1413] | 232 |
|
---|
[9d3d8a8] | 233 | <indexterm zone="dbus-python">
|
---|
| 234 | <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
|
---|
| 235 | </indexterm>
|
---|
[f6f155a] | 236 |
|
---|
[9d3d8a8] | 237 | <sect3 role="package">
|
---|
| 238 | <title>Introduction to D-Bus Python Bindings</title>
|
---|
[f6f155a] | 239 |
|
---|
[d6da5da] | 240 | &lfs73_checked;
|
---|
| 241 |
|
---|
[9d3d8a8] | 242 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 243 | <itemizedlist spacing="compact">
|
---|
[f6f155a] | 244 | <listitem>
|
---|
[9d3d8a8] | 245 | <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
|
---|
[f6f155a] | 246 | </listitem>
|
---|
| 247 | <listitem>
|
---|
[9d3d8a8] | 248 | <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
|
---|
[f6f155a] | 249 | </listitem>
|
---|
[9d3d8a8] | 250 | <listitem>
|
---|
| 251 | <para>Download MD5 sum: &dbus-python-md5sum;</para>
|
---|
| 252 | </listitem>
|
---|
| 253 | <listitem>
|
---|
| 254 | <para>Download size: &dbus-python-size;</para>
|
---|
| 255 | </listitem>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>Estimated disk space required: &dbus-python-buildsize;</para>
|
---|
| 258 | </listitem>
|
---|
| 259 | <listitem>
|
---|
| 260 | <para>Estimated build time: &dbus-python-time;</para>
|
---|
| 261 | </listitem>
|
---|
| 262 | </itemizedlist>
|
---|
[d876f09] | 263 |
|
---|
[9d3d8a8] | 264 | <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
|
---|
[d876f09] | 265 |
|
---|
[9d3d8a8] | 266 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
[3338ba43] | 267 | <para role="required">
|
---|
[4716d52] | 268 | <xref linkend="python2"/> and
|
---|
[3338ba43] | 269 | <xref linkend="dbus-glib"/>
|
---|
| 270 | </para>
|
---|
[d876f09] | 271 |
|
---|
[9d3d8a8] | 272 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
[3338ba43] | 273 | <para role="optional">
|
---|
[f4472d1] | 274 | <xref linkend="pygobject2"/> (required to run the test suite)
|
---|
[3338ba43] | 275 | </para>
|
---|
[d876f09] | 276 |
|
---|
[9d3d8a8] | 277 | <bridgehead renderas="sect5">Optional
|
---|
| 278 | (Required to build the API and HTML Documentation)</bridgehead>
|
---|
[3338ba43] | 279 | <para role="optional">
|
---|
| 280 | <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
|
---|
| 281 | <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
|
---|
| 282 | </para>
|
---|
[d876f09] | 283 |
|
---|
[9d3d8a8] | 284 | <para condition="html" role="usernotes">User Notes:
|
---|
| 285 | <ulink url="&blfs-wiki;/dbus-python"/></para>
|
---|
[d876f09] | 286 |
|
---|
[9d3d8a8] | 287 | </sect3>
|
---|
[d876f09] | 288 |
|
---|
[9d3d8a8] | 289 | <sect3 role="installation">
|
---|
| 290 | <title>Installation of D-Bus Python Bindings</title>
|
---|
[d876f09] | 291 |
|
---|
[9d3d8a8] | 292 | <para>Install <application>D-Bus Python Bindings</application> by
|
---|
| 293 | running the following commands:</para>
|
---|
[d876f09] | 294 |
|
---|
[e44f2a3b] | 295 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 296 | --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
[d876f09] | 297 | make</userinput></screen>
|
---|
| 298 |
|
---|
[9d3d8a8] | 299 | <para>To test the results, issue: <command>make check</command>. Note you
|
---|
| 300 | must have <application>PyGObject</application> installed.</para>
|
---|
[d876f09] | 301 |
|
---|
[9d3d8a8] | 302 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[d876f09] | 303 |
|
---|
| 304 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 305 |
|
---|
[9d3d8a8] | 306 | <para>If you built the API documentation, install it by issuing the
|
---|
| 307 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 308 | user:</para>
|
---|
[e44f2a3b] | 309 |
|
---|
| 310 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-python-&dbus-python-version;/api &&
|
---|
| 311 | install -v -m644 api/* \
|
---|
| 312 | /usr/share/doc/dbus-python-&dbus-python-version;/api</userinput></screen>
|
---|
| 313 |
|
---|
[9d3d8a8] | 314 | </sect3>
|
---|
| 315 |
|
---|
| 316 | <sect3 role="content">
|
---|
| 317 | <title>Contents</title>
|
---|
[d876f09] | 318 |
|
---|
[9d3d8a8] | 319 | <segmentedlist>
|
---|
| 320 | <segtitle>Installed Programs</segtitle>
|
---|
| 321 | <segtitle>Installed Libraries</segtitle>
|
---|
| 322 | <segtitle>Installed Directories</segtitle>
|
---|
[d876f09] | 323 |
|
---|
[9d3d8a8] | 324 | <seglistitem>
|
---|
[fc695e8] | 325 | <seg>none</seg>
|
---|
[9d3d8a8] | 326 | <seg><application>Python</application>
|
---|
| 327 | <application>D-Bus</application> modules</seg>
|
---|
[b88be39] | 328 | <seg>/usr/lib/python&python2-majorver;/site-packages/dbus and
|
---|
[9d3d8a8] | 329 | /usr/share/doc/dbus-python-&dbus-python-version;</seg>
|
---|
| 330 | </seglistitem>
|
---|
| 331 | </segmentedlist>
|
---|
[d876f09] | 332 |
|
---|
[9d3d8a8] | 333 | </sect3>
|
---|
[d876f09] | 334 |
|
---|
| 335 | </sect2>
|
---|
| 336 |
|
---|
[f6f155a] | 337 | </sect1>
|
---|