r6452 - in trunk/BOOK: general/sysutils gnome/add introduction/welcome

dnicholson at linuxfromscratch.org dnicholson at linuxfromscratch.org
Sun Jan 21 11:42:03 PST 2007


Author: dnicholson
Date: 2007-01-21 12:42:03 -0700 (Sun, 21 Jan 2007)
New Revision: 6452

Modified:
   trunk/BOOK/general/sysutils/dbus.xml
   trunk/BOOK/gnome/add/epiphany.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added dbus service dir example and changed epiphany to reference it


Modified: trunk/BOOK/general/sysutils/dbus.xml
===================================================================
--- trunk/BOOK/general/sysutils/dbus.xml	2007-01-21 18:19:02 UTC (rev 6451)
+++ trunk/BOOK/general/sysutils/dbus.xml	2007-01-21 19:42:03 UTC (rev 6452)
@@ -252,6 +252,28 @@
       <filename>/etc/dbus-1/system-local.conf</filename> and make any
       desired changes to these files.</para>
 
+      <para>If any packages install a
+      <application>D-Bus</application> <filename>.service</filename>
+      file outside of the standard <filename
+      class="directory">/usr/share/dbus-1/services</filename> directory,
+      that directory should be added to the local session configuration.
+      For instance, <filename
+      class="directory">/usr/local/share/dbus-1/services</filename> can
+      be added by performing the following commands as the
+      <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>cat > /etc/dbus-1/session-local.conf << "EOF"
+<literal><!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+  <!-- Search for .service files in /usr/local -->
+  <servicedir>/usr/local/share/dbus-1/services</servicedir>
+
+</busconfig></literal>
+EOF</userinput></screen>
+
     </sect3>
 
     <sect3  id="dbus-init">

Modified: trunk/BOOK/gnome/add/epiphany.xml
===================================================================
--- trunk/BOOK/gnome/add/epiphany.xml	2007-01-21 18:19:02 UTC (rev 6451)
+++ trunk/BOOK/gnome/add/epiphany.xml	2007-01-21 19:42:03 UTC (rev 6452)
@@ -105,14 +105,11 @@
     <para>A <application>D-BUS</application> service script was installed in
     the previous step. If the <envar>$GNOME_PREFIX</envar> is anything other
     than <filename class='directory'>/usr</filename>, as the
-    <systemitem class="username">root</systemitem> user you should create a
-    symbolic link to this file in the default
-    <application>D-BUS</application> service script directory:</para>
+    <systemitem class="username">root</systemitem> user you should add the
+    <filename class='directory'>$GNOME_PREFIX/share/dbus-1/services</filename>
+    directory to the local session configuration as described in the
+    <xref linkend="dbus"/> configuration section.</para>
 
-<screen role="root"><userinput>ln -v -s $(pkg-config --variable=prefix \
-    ORBit-2.0)/share/dbus-1/services/org.gnome.Epiphany.service \
-    /usr/share/dbus-1/services</userinput></screen>
-
     <para>If you have <application>GNOME-Python</application> installed, the
     <application>Epiphany</application> <application>Python</application>
     extension is automatically built. If your $GNOME_PREFIX is anything but

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2007-01-21 18:19:02 UTC (rev 6451)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2007-01-21 19:42:03 UTC (rev 6452)
@@ -45,6 +45,12 @@
       <para>January 21st, 2007</para>
       <itemizedlist>
         <listitem>
+          <para>[dnicholson] - Added an example local session configuration
+          file for D-Bus showing how to add new service directories. Changed
+          the Epiphany instructions to reference this instead of symlinking
+          its service file to the standard location.</para>
+        </listitem>
+        <listitem>
           <para>[dnicholson] - Added optional configuration to HAL to
           prevent methods on fixed disk drives.</para>
         </listitem>




More information about the blfs-book mailing list