%general-entities; ]> $LastChangedBy$ $Date$ D-BUS-&dbus-version; D-BUS Introduction to D-BUS D-BUS is a message bus system, a simple way for applications to talk to one another. D-BUS supplies both a system daemon (for events such as new hardware device added or printer queue changed) and a per-user-login-session daemon (for general IPC needs among user applications). Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two applications to communicate directly (without going through the message bus daemon). Package Information Download (HTTP): Download (FTP): Download MD5 sum: &dbus-md5sum; Download size: &dbus-size; Estimated disk space required: &dbus-buildsize; Estimated build time: &dbus-time; D-BUS Dependencies Optional , or , , , , X ( or ), (for the Java compiler and tools), Pyrex, Mono, and xmlto Kernel Configuration Ensure the following option is enabled in the kernel configuration and recompile the kernel if necessary: General Setup System V IPC dbus Installation of D-BUS As the root user, create a system user and group to handle the system message bus activity: groupadd -g 18 messagebus && useradd -c "D-BUS Message Daemon User" -d /dev/null \ -u 18 -g messagebus -s /bin/false messagebus Install D-BUS by running the following commands (you may wish to review the output from ./configure --help first and add any desired parameters to the configure command shown below): ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var && make This package does not come with a test suite. Now, as the root user: make install && install -v -m755 -d /usr/share/doc/dbus-0.50 && install -v -m644 doc/{TODO,*.{dtd,xml,xsl,html,txt,c}} \ /usr/share/doc/dbus-0.50 Command Explanations --localstatedir=/var: This parameter causes the daemon PID file to be created in /var/run/dbus instead of /usr/var/run/dbus. Configuring dbus Config Files /etc/dbus-1/session.conf, /etc/dbus-1/system.conf and /etc/system.d/* /etc/dbus-1/session.conf /etc/dbus-1/system.conf /etc/system.d/* Configuration Information The configuration files listed above should probably not be modified. If changes are required, you should create /etc/dbus-1/session-local.conf and/or /etc/dbus-1/system-local.conf and make any desired changes to these files. Boot Script To automatically start dbus-daemon when the system is rebooted, install the /etc/rc.d/init.d/dbus bootscript from the package. dbus make install-dbus Contents Installed Programs Installed Libraries Installed Directories dbus-binding-tool, dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor, dbus-send and dbus-viewer libdbus-1.[so,a] and optionally, dbus-1.jar, libdbus-gcj-1.[so,a], libdbus-glib-1.[so,a], libdbus-qt-1.[so,a] and Python modules /etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0, /usr/lib/python2.4/site-packages/dbus, /usr/share/dbus-1, /usr/share/doc/dbus-&dbus-version; and /var/run/dbus Short Descriptions dbus-binding-tool is used to create header files from GLib object files. dbus-binding-tool dbus-cleanup-sockets is used to clean up leftover sockets in a directory. dbus-cleanup-sockets dbus-daemon is the D-BUS message bus daemon. dbus-daemon dbus-launch is used to start dbus-daemon from a shell script. It would normally be called from a user's login scripts. dbus-launch dbus-monitor is used to monitor messages going through a D-BUS message bus. dbus-monitor dbus-send is used to send a message to a D-BUS message bus. dbus-send dbus-viewer is a graphical D-BUS frontend utility. dbus-viewer libdbus-1.[so,a] contains the API functions used by the D-BUS message daemon. D-BUS is first a library that provides one-to-one communication between any two applications; dbus-daemon is an application that uses this library to implement a message bus daemon. libdbus-1.[so,a]