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