D-Bus Bindings

Introduction to D-Bus Bindings

The D-Bus Bindings are a group of packages that contain programming language and platform interfaces to the D-Bus API. This is useful for programmers to easily interface D-Bus with their supported platform or language of choice. Some non-D-Bus packages will require one or more of the Bindings packages in order to build successfully.

The GLib, Python and Qt3 Bindings are included on this page. Other language bindings will be added soon. Until then, see the D-Bus Bindings page for information.

D-Bus GLib Bindings

Package Information

D-Bus GLib Dependencies

Required

D-BUS-1.0.2, GLib-2.12.12, and expat-2.0.1

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/dbus-glib

Installation of D-Bus GLib Bindings

Install D-Bus GLib Bindings by running the following commands:

./configure --prefix=/usr &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild the API documentation.

Contents

Installed Program: dbus-binding-tool
Installed Library: libdbus-glib-1.{so,a}
Installed Directory: /usr/share/gtk-doc/html/dbus-glib

Short Descriptions

dbus-binding-tool

is a tool used to interface with the D-Bus API.

libdbus-glib-1.{so,a}

contains GLib interface functions to the D-Bus API.

D-Bus Python Bindings

Package Information

D-Bus Python Dependencies

Required

Python-2.5.2 and D-Bus GLib Bindings-0.74

Recommended

pkg-config-0.22

Optional

PyGObject (required to run the test suite)

Optional (Required to build the API Documentation)

Epydoc and Docutils

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/dbus-python

Installation of D-Bus Python Bindings

Install D-Bus Python Bindings by running the following commands:

./configure --prefix=/usr &&
make

To test the results, issue: make check. Note you must have PyGObject installed.

Now, as the root user:

make install

Contents

Installed Programs: None
Installed Libraries: Python D-Bus modules
Installed Directory: /usr/lib/python2.5/site-packages/dbus and /usr/share/doc/dbus-python

D-Bus Qt3 Bindings

Package Information

D-Bus Qt3 Dependencies

Required

D-BUS-1.0.2 and Qt-3.3.8b

Recommended

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/dbus-qt3

Installation of D-Bus Qt3 Bindings

Install D-Bus Qt3 Bindings by running the following commands:

./configure --prefix=/usr &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Programs: None
Installed Library: libdbus-qt-1.so
Installed Directories: None

Short Descriptions

libdbus-qt-1.{so,a}

contains Qt3 interface functions to the D-Bus API.

Last updated on 2008-05-09 08:00:42 -0500