[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 |
|
---|
[93b8ab7a] | 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 " ">
|
---|
| 16 | <!ENTITY dbus-python-md5sum "742c7432ad0f7c3f98291d58fa2e35dc">
|
---|
| 17 | <!ENTITY dbus-python-size "583 KB">
|
---|
| 18 | <!ENTITY dbus-python-buildsize "5.7 MB">
|
---|
| 19 | <!ENTITY dbus-python-time "0.2 SBU">
|
---|
| 20 |
|
---|
| 21 | <!-- All the other bindings info should be here as well -->
|
---|
[f6f155a] | 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>
|
---|
[93b8ab7a] | 58 | <listitem>
|
---|
| 59 | <para><xref linkend="dbus-python"/></para>
|
---|
| 60 | </listitem>
|
---|
[d876f09] | 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">
|
---|
[d6da5da] | 116 | <xref linkend="expat"/> and
|
---|
[476618b] | 117 | <xref linkend="glib2"/>
|
---|
[3338ba43] | 118 | </para>
|
---|
[6cc2ae1f] | 119 |
|
---|
[9d3d8a8] | 120 | <bridgehead renderas="sect5">Optional to Build the API Documentation</bridgehead>
|
---|
[3338ba43] | 121 | <para role="optional">
|
---|
| 122 | <xref linkend="doxygen"/>
|
---|
| 123 | </para>
|
---|
[f6f155a] | 124 |
|
---|
[9d3d8a8] | 125 | <para condition="html" role="usernotes">User Notes:
|
---|
[d6da5da] | 126 | <ulink url="&blfs-wiki;/dbus-glib"/>
|
---|
| 127 | </para>
|
---|
[9d3d8a8] | 128 | </sect3>
|
---|
[f6f155a] | 129 |
|
---|
[9d3d8a8] | 130 | <sect3 role="installation">
|
---|
| 131 | <title>Installation of D-Bus GLib Bindings</title>
|
---|
| 132 |
|
---|
[d6da5da] | 133 | <para>
|
---|
| 134 | Install <application>D-Bus GLib Bindings</application> by
|
---|
| 135 | running the following commands:
|
---|
| 136 | </para>
|
---|
[f6f155a] | 137 |
|
---|
[ad393009] | 138 | <screen><userinput>./configure --prefix=/usr \
|
---|
[c1a4344] | 139 | --sysconfdir=/etc \
|
---|
[406fc62] | 140 | --libexecdir=/usr/lib/dbus-1.0 \
|
---|
[028759b] | 141 | --disable-static &&
|
---|
[f6f155a] | 142 | make</userinput></screen>
|
---|
| 143 |
|
---|
[d6da5da] | 144 | <para>
|
---|
| 145 | To test the results, issue: <command>make check</command>. Note that
|
---|
| 146 | more comprehensive tests can be run by following the same method used in
|
---|
| 147 | <application>D-Bus</application> instructions, which requires building the
|
---|
| 148 | package twice.
|
---|
| 149 | </para>
|
---|
[f6f155a] | 150 |
|
---|
[d6da5da] | 151 | <para>
|
---|
| 152 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 153 | </para>
|
---|
[f6f155a] | 154 |
|
---|
| 155 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 156 |
|
---|
[9d3d8a8] | 157 | </sect3>
|
---|
| 158 |
|
---|
| 159 | <sect3 role="commands">
|
---|
| 160 | <title>Command Explanations</title>
|
---|
| 161 |
|
---|
[e05cd03f] | 162 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[d6da5da] | 163 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9d3d8a8] | 164 |
|
---|
[2fdcd9df] | 165 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[d6da5da] | 166 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[2fdcd9df] | 167 |
|
---|
[9d3d8a8] | 168 | </sect3>
|
---|
| 169 |
|
---|
| 170 | <sect3 role="content">
|
---|
| 171 | <title>Contents</title>
|
---|
| 172 |
|
---|
| 173 | <segmentedlist>
|
---|
[d6da5da] | 174 | <segtitle>Installed Program</segtitle>
|
---|
| 175 | <segtitle>Installed Library</segtitle>
|
---|
[9d3d8a8] | 176 | <segtitle>Installed Directories</segtitle>
|
---|
| 177 |
|
---|
| 178 | <seglistitem>
|
---|
[d6da5da] | 179 | <seg>
|
---|
| 180 | dbus-binding-tool
|
---|
| 181 | </seg>
|
---|
| 182 | <seg>
|
---|
| 183 | libdbus-glib-1.so
|
---|
| 184 | </seg>
|
---|
| 185 | <seg>
|
---|
| 186 | /usr/share/gtk-doc/html/dbus-glib and
|
---|
| 187 | /usr/share/doc/dbus-glib-&dbus-glib-version;
|
---|
| 188 | </seg>
|
---|
[9d3d8a8] | 189 | </seglistitem>
|
---|
| 190 | </segmentedlist>
|
---|
| 191 |
|
---|
| 192 | <variablelist>
|
---|
| 193 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
| 194 | <?dbfo list-presentation="list"?>
|
---|
| 195 | <?dbhtml list-presentation="table"?>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="glib-dbus-binding-tool">
|
---|
| 198 | <term><command>dbus-binding-tool</command></term>
|
---|
| 199 | <listitem>
|
---|
[d6da5da] | 200 | <para>
|
---|
| 201 | is a tool used to interface with the D-Bus API.
|
---|
| 202 | </para>
|
---|
[9d3d8a8] | 203 | <indexterm zone="dbus-glib glib-dbus-binding-tool">
|
---|
| 204 | <primary sortas="b-dbus-binding-tool">dbus-binding-tool</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="libdbus-glib-1">
|
---|
[d6da5da] | 210 | <term><filename class="libraryfile">libdbus-glib-1.so</filename></term>
|
---|
[9d3d8a8] | 211 | <listitem>
|
---|
[d6da5da] | 212 | <para>
|
---|
| 213 | contains <application>GLib</application> interface functions
|
---|
| 214 | to the <application>D-Bus</application> API.
|
---|
| 215 | </para>
|
---|
[9d3d8a8] | 216 | <indexterm zone="dbus-glib libdbus-glib-1">
|
---|
[406fc62] | 217 | <primary sortas="c-libdbus-glib-1">libdbus-glib-1.so</primary>
|
---|
[9d3d8a8] | 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | </variablelist>
|
---|
| 223 |
|
---|
| 224 | </sect3>
|
---|
[f6f155a] | 225 |
|
---|
[9d3d8a8] | 226 | </sect2>
|
---|
[f6f155a] | 227 |
|
---|
[93b8ab7a] | 228 | <!-- Begin D-Bus Python Bindings -->
|
---|
| 229 | <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
|
---|
| 230 | <title>D-Bus Python Bindings</title>
|
---|
| 231 |
|
---|
| 232 | <indexterm zone="dbus-python">
|
---|
| 233 | <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 |
|
---|
| 236 | <sect3 role="package">
|
---|
| 237 | <title>Introduction to D-Bus Python Bindings</title>
|
---|
| 238 |
|
---|
| 239 | &lfs73_checked;
|
---|
| 240 |
|
---|
| 241 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 242 | <itemizedlist spacing="compact">
|
---|
| 243 | <listitem>
|
---|
| 244 | <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
|
---|
| 245 | </listitem>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
|
---|
| 248 | </listitem>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>Download MD5 sum: &dbus-python-md5sum;</para>
|
---|
| 251 | </listitem>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>Download size: &dbus-python-size;</para>
|
---|
| 254 | </listitem>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>Estimated disk space required: &dbus-python-buildsize;</para>
|
---|
| 257 | </listitem>
|
---|
| 258 | <listitem>
|
---|
| 259 | <para>Estimated build time: &dbus-python-time;</para>
|
---|
| 260 | </listitem>
|
---|
| 261 | </itemizedlist>
|
---|
| 262 |
|
---|
| 263 | <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
|
---|
| 264 |
|
---|
| 265 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 266 | <para role="required">
|
---|
| 267 | <xref linkend="python2"/> and
|
---|
| 268 | <xref linkend="dbus-glib"/>
|
---|
| 269 | </para>
|
---|
| 270 |
|
---|
| 271 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 272 | <para role="optional">
|
---|
| 273 | <xref linkend="pygobject2"/> (required to run the test suite)
|
---|
| 274 | </para>
|
---|
| 275 |
|
---|
| 276 | <bridgehead renderas="sect5">Optional
|
---|
| 277 | (Required to build the API and HTML Documentation)</bridgehead>
|
---|
| 278 | <para role="optional">
|
---|
| 279 | <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
|
---|
| 280 | <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
|
---|
| 281 | </para>
|
---|
| 282 |
|
---|
| 283 | <para condition="html" role="usernotes">User Notes:
|
---|
| 284 | <ulink url="&blfs-wiki;/dbus-python"/></para>
|
---|
| 285 |
|
---|
| 286 | </sect3>
|
---|
| 287 |
|
---|
| 288 | <sect3 role="installation">
|
---|
| 289 | <title>Installation of D-Bus Python Bindings</title>
|
---|
| 290 |
|
---|
| 291 | <para>Install <application>D-Bus Python Bindings</application> by
|
---|
| 292 | running the following commands:</para>
|
---|
| 293 |
|
---|
| 294 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 295 | --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
| 296 | make</userinput></screen>
|
---|
| 297 |
|
---|
| 298 | <para>To test the results, issue: <command>make check</command>. Note you
|
---|
| 299 | must have <application>PyGObject</application> installed.</para>
|
---|
| 300 |
|
---|
| 301 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 302 |
|
---|
| 303 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 304 |
|
---|
| 305 | <para>If you built the API documentation, install it by issuing the
|
---|
| 306 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 307 | user:</para>
|
---|
| 308 |
|
---|
| 309 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-python-&dbus-python-version;/api &&
|
---|
| 310 | install -v -m644 api/* \
|
---|
| 311 | /usr/share/doc/dbus-python-&dbus-python-version;/api</userinput></screen>
|
---|
| 312 |
|
---|
| 313 | </sect3>
|
---|
| 314 |
|
---|
| 315 | <sect3 role="content">
|
---|
| 316 | <title>Contents</title>
|
---|
| 317 |
|
---|
| 318 | <segmentedlist>
|
---|
| 319 | <segtitle>Installed Programs</segtitle>
|
---|
| 320 | <segtitle>Installed Libraries</segtitle>
|
---|
| 321 | <segtitle>Installed Directories</segtitle>
|
---|
| 322 |
|
---|
| 323 | <seglistitem>
|
---|
| 324 | <seg>none</seg>
|
---|
| 325 | <seg><application>Python</application>
|
---|
| 326 | <application>D-Bus</application> modules</seg>
|
---|
| 327 | <seg>/usr/lib/python&python2-majorver;/site-packages/dbus and
|
---|
| 328 | /usr/share/doc/dbus-python-&dbus-python-version;</seg>
|
---|
| 329 | </seglistitem>
|
---|
| 330 | </segmentedlist>
|
---|
| 331 |
|
---|
| 332 | </sect3>
|
---|
| 333 |
|
---|
| 334 | </sect2>
|
---|
| 335 |
|
---|
[f6f155a] | 336 | </sect1>
|
---|