From 1118b1757d67c5e7deb4c9e4b864b00f9d8a8b0c Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 24 May 2016 21:24:59 +0000 Subject: Create branches/merge in svn repo fo rtesting of merged LFS books git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/dbus.xml | 63 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 21 deletions(-) (limited to 'chapter06/dbus.xml') diff --git a/chapter06/dbus.xml b/chapter06/dbus.xml index 46f0439e4..ee5390137 100644 --- a/chapter06/dbus.xml +++ b/chapter06/dbus.xml @@ -48,11 +48,14 @@ Prepare D-Bus for compilation: -./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/share/doc/dbus-&dbus-version; \ - --with-console-auth-dir=/run/console + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --disable-doxygen-docs \ + --disable-xml-docs \ + --docdir=/usr/share/doc/dbus-&dbus-version; \ + --with-console-auth-dir=/run/console The meaning of the configure options: @@ -74,7 +77,7 @@ This package does come with a test suite, but it requires several packages that are not included in LFS. Instructions for running the test suite can be found in the BLFS book at - . + . Install the package: @@ -88,15 +91,10 @@ mv -v /usr/lib/libdbus-1.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so - Create a symlink, so that D-Bus and Systemd can use the same + Create a symlink, so that D-Bus and systemd can use the same machine-id file: -ln -sv /etc/machine-id /var/lib/dbus - - Finally, generate a D-Bus UUID to avoid possible warnings - when building some packages in BLFS: - -dbus-uuidgen --ensure +ln -sfv /etc/machine-id /var/lib/dbus @@ -110,11 +108,11 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor, - dbus-send, and dbus-uuidgen + dbus-run-session, dbus-send, and dbus-uuidgen libdbus-1.{a,so} /etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0, /usr/share/dbus-1, /usr/share/doc/dbus-&dbus-version;, - /var/lib/dbus + and /var/lib/dbus @@ -126,7 +124,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so dbus-cleanup-sockets - Used to clean up leftover sockets in a directory. + Used to clean up leftover sockets in a directory dbus-cleanup-sockets @@ -136,7 +134,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so dbus-daemon - The D-Bus message bus daemon. + The D-Bus message bus daemon dbus-daemon @@ -147,7 +145,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.sodbus-launch Starts dbus-daemon from a shell - script. + script dbus-launch @@ -157,17 +155,29 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so dbus-monitor - Monitors messages passing through a D-Bus message bus. + Monitors messages passing through a D-Bus message bus dbus-monitor + + dbus-run-session + + Starts a session bus instance of dbus-daemon + from a shell script and starts a specified program in that + session + + dbus-run-session + + + + dbus-send - Sends a message to a D-Bus message bus. + Sends a message to a D-Bus message bus dbus-send @@ -177,13 +187,24 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so dbus-uuidgen - Generates a universally unique ID. + Generates a universally unique ID dbus-uuidgen + + libdbus-1 + + Contains API functions used to communicate with the D-Bus + message bus + + libdbus-1 + + + + -- cgit v1.2.3-54-g00ecf