Changeset 08de396


Ignore:
Timestamp:
04/28/2014 07:23:32 PM (7 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 7.10, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
56605b9
Parents:
76c63b6
Message:

Synchronize D-Bus with LFS.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13003 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
30 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r76c63b6 r08de396  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "27">                   <!-- Always 2 digits -->
     3<!ENTITY day          "28">                   <!-- Always 2 digits -->
    44<!ENTITY month        "04">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2014">
  • general/genlib/dbus-glib.xml

    r76c63b6 r08de396  
    7676    <bridgehead renderas="sect4">Required</bridgehead>
    7777    <para role="required">
    78       <xref linkend="dbus"/>,
    7978      <xref linkend="expat"/> and
    8079      <xref linkend="glib2"/>
  • general/genlib/glib2.xml

    r76c63b6 r08de396  
    8989    <para role="optional">
    9090      <xref linkend="attr"/>,
    91       <xref linkend="dbus"/> (required to run the tests),
    9291      <xref linkend="elfutils"/>,
    9392      <ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>, and
  • general/prog/subversion.xml

    r76c63b6 r08de396  
    112112-->
    113113      <xref linkend="cyrus-sasl"/>,
    114       <xref linkend="dbus"/>,
    115114      <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support),
    116115      <xref linkend="python2"/> (with sqlite support for the tests),
  • general/prog/vala.xml

    r76c63b6 r08de396  
    8383    <bridgehead renderas="sect4">Optional</bridgehead>
    8484    <para role="optional">
    85       <xref linkend="dbus"/> (Required for the tests) and
    8685      <xref linkend="libxslt"/> (Required for generating the documentation)
    8786    </para>
  • general/sysutils/bluez.xml

    r76c63b6 r08de396  
    8686    <bridgehead renderas="sect4">Required</bridgehead>
    8787    <para role="required">
    88       <xref linkend="dbus"/>,
    89       <xref linkend="glib2"/>, and
     88      <xref linkend="glib2"/> and
    9089      <xref linkend="libical"/>
    9190    </para>
  • general/sysutils/colord.xml

    r76c63b6 r08de396  
    8080      <xref linkend="glib2"/>,
    8181      <xref linkend="intltool"/>,
    82       <xref linkend="lcms2"/>,
    83       <xref linkend="sqlite"/>, and
    84       <xref linkend="dbus"/>
     82      <xref linkend="lcms2"/>, and
     83      <xref linkend="sqlite"/>
    8584    </para>
    8685
  • general/sysutils/dbus.xml

    r76c63b6 r08de396  
    1313]>
    1414
    15 <sect1 id="dbus" xreflabel="D-Bus-&dbus-version;">
     15<sect1 id="dbus-launch" xreflabel="D-Bus-&dbus-version;/dbus-launch">
    1616  <?dbhtml filename="dbus.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>D-Bus-&dbus-version;</title>
    24 
    25   <indexterm zone="dbus">
    26     <primary sortas="a-D-Bus">D-Bus</primary>
     23  <title>D-Bus-&dbus-version; (dbus-launch)</title>
     24
     25  <indexterm zone="dbus-launch">
     26    <primary sortas="a-dbus-launch">dbus-launch</primary>
    2727  </indexterm>
    2828
    2929  <sect2 role="package">
    30     <title>Introduction to D-Bus</title>
    31 
    32     <para>
    33       <application>D-Bus</application> is a message bus system, a simple
    34       way for applications to talk to one another.
    35       <application>D-Bus</application> supplies both a system daemon (for events
    36       such as <quote>new hardware device added</quote> or <quote>printer queue
    37       changed</quote>) and a per-user-login-session daemon (for general IPC needs
    38       among user applications). Also, the message bus is built on top of a
    39       general one-to-one message passing framework, which can be used by any two
    40       applications to communicate directly (without going through the message bus
    41       daemon).
    42     </para>
    43 
    44     &lfs75_checked;
     30    <title>Introduction to D-Bus (with Xorg)</title>
     31
     32    <para>
     33      <application>D-Bus</application> was installed in LFS, but one program
     34      needs to be updated after Xorg is installed to properly support
     35      window managers. 
     36    </para>
     37
     38    <!-- &lfs75_checked; -->
    4539
    4640    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8276    <bridgehead renderas="sect4">Required</bridgehead>
    8377    <para role="required">
    84       <xref linkend="expat"/>
    85     </para>
    86 
    87     <bridgehead renderas="sect4">Recommended</bridgehead>
    88     <para role="recommended">
    8978      <xref linkend="xorg7-lib"/>
    9079      (for <command>dbus-launch</command> program)
     
    112101
    113102    <para>
    114       As the <systemitem class="username">root</systemitem> user, create a
    115       system user and group to handle the system message bus activity:
    116     </para>
    117 
    118 <screen role="root"><userinput>groupadd -g 18 messagebus &amp;&amp;
    119 useradd -c "D-Bus Message Daemon User" -d /var/run/dbus \
    120         -u 18 -g messagebus -s /bin/false messagebus</userinput></screen>
    121 
    122     <para>
    123       Install <application>D-Bus</application> by running the following
    124       commands (you may wish to review the output from
    125       <command>./configure --help</command> first and add any desired parameters
    126       to the <command>configure</command> command shown below):
    127     </para>
    128 
    129 <screen><userinput>./configure --prefix=/usr                  \
    130             --sysconfdir=/etc              \
    131             --localstatedir=/var           \
     103      Build <application>D-Bus</application> by running the following commands:
     104    </para>
     105
     106<screen><userinput>./configure --prefix=/usr        \
     107            --sysconfdir=/etc    \
     108            --localstatedir=/var \
    132109            --with-console-auth-dir=/run/console/ \
    133             --without-systemdsystemunitdir \
    134             --disable-systemd              \
    135110            --disable-static &amp;&amp;
    136111make</userinput></screen>
     
    144119    </para>
    145120
    146 <screen role="root"><userinput>make install &amp;&amp;
    147 mv -v /usr/share/doc/dbus /usr/share/doc/dbus-&dbus-version;</userinput></screen>
    148 
    149     <para>
    150       If you are still building your system in chroot or you did not start the
    151       daemon yet, but you want to compile some packages that require
    152       <application>D-Bus</application>, generate
    153       <application>D-Bus</application> UUID to avoid warnings when compiling
    154       some packages with the following command as the
     121<screen role="root"><userinput>install -m 755 dbus-launch /usr/bin</userinput></screen>
     122
     123    <para>
     124      If you built the optional documentation, install it as the
    155125      <systemitem class="username">root</systemitem> user:
    156126    </para>
    157127
    158 <screen role="root"><userinput>dbus-uuidgen --ensure</userinput></screen>
    159 
     128<screen role="root"><userinput>cp -a doc/api/{html,xml} /usr/share/doc/dbus-&dbus-version;</userinput></screen>
     129 
    160130    <para>
    161131      The dbus tests cannot be run until after <xref linkend="dbus-glib"/>
     
    185155<screen><userinput>sed -i -e 's:run-test.sh:$(NULL):g' test/name-test/Makefile.in</userinput></screen>
    186156
    187     <para>
    188       Note there has been a report that the tests may fail if running
     157    <note><para>
     158      There has been a report that the tests may fail if running
    189159      inside a Midnight Commander shell.
    190160      You may get out-of-memory error messages when running the tests.
    191161      These are normal and can be safely ignored.
    192     </para>
     162    </para></note>
    193163
    194164  </sect2>
     
    201171      parameter specifies location of the
    202172      <application>ConsoleKit</application> auth dir.
    203     </para>
    204 
    205     <para>
    206       <parameter>--without-systemdsystemunitdir</parameter>: This switch
    207       prevents installation of systemd unit files.
    208     </para>
    209 
    210     <para>
    211       <parameter>--disable-systemd</parameter>: This switch disables systemd
    212       support in <application>D-Bus</application>
    213173    </para>
    214174
     
    250210      </para>
    251211
    252       <indexterm zone="dbus dbus-config">
     212      <indexterm zone="dbus-launch dbus-config">
    253213        <primary sortas="e-etc-dbus-1-session.conf">/etc/dbus-1/session.conf</primary>
    254214      </indexterm>
    255215
    256       <indexterm zone="dbus dbus-config">
     216      <indexterm zone="dbus-launch dbus-config">
    257217        <primary sortas="e-etc-dbus-1/system.conf">/etc/dbus-1/system.conf</primary>
    258218      </indexterm>
    259219
    260       <indexterm zone="dbus dbus-config">
     220      <indexterm zone="dbus-launch dbus-config">
    261221        <primary sortas="e-etc-dbus-1-system.d-star">/etc/dbus-1/system.d/*</primary>
    262222      </indexterm>
     
    302262
    303263    <sect3  id="dbus-init">
    304       <title>Boot Script</title>
     264      <title>Starting D-Bus</title>
    305265
    306266      <para>
    307         To automatically start <command>dbus-daemon</command> when the
    308         system is rebooted, install the
    309         <filename>/etc/rc.d/init.d/dbus</filename> bootscript from the
    310         <xref linkend="bootscripts"/> package.
    311       </para>
    312 
    313       <indexterm zone="dbus dbus-init">
    314         <primary sortas="f-dbus">dbus</primary>
    315       </indexterm>
    316 
    317 <screen role="root"><userinput>make install-dbus</userinput></screen>
    318 
    319       <para>
    320         Note that this boot script only starts the system-wide
    321         <application>D-Bus</application> daemon. Each user requiring access to
    322         <application>D-Bus</application> services will also need to run a
    323         session daemon as well. There are many methods you can use to start a
     267        There are many methods you can use to start a
    324268        session daemon using the <command>dbus-launch</command> command. Review
    325269        the <command>dbus-launch</command> man page for details about the
     
    392336    <segmentedlist>
    393337      <segtitle>Installed Programs</segtitle>
    394       <segtitle>Installed Library</segtitle>
     338      <segtitle>Installed Libraries</segtitle>
    395339      <segtitle>Installed Directories</segtitle>
    396340
    397341      <seglistitem>
    398342        <seg>
    399           dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
    400           dbus-run-session, dbus-send and dbus-uuidgen
     343          dbus-launch
    401344        </seg>
    402345        <seg>
    403            libdbus-1.so
     346          None
    404347        </seg>
    405348        <seg>
    406           /etc/dbus-1,
    407           /usr/include/dbus-1.0,
    408           /usr/lib/dbus-1.0,
    409           /usr/share/dbus-1,
    410           /usr/share/doc/dbus-&dbus-version;,
    411           /var/lib/dbus and
    412           /var/run/dbus
     349          None
    413350        </seg>
    414351      </seglistitem>
     
    420357      <?dbhtml list-presentation="table"?>
    421358
    422       <varlistentry id="dbus-cleanup-sockets">
    423         <term><command>dbus-cleanup-sockets</command></term>
    424         <listitem>
    425           <para>
    426             is used to clean up leftover sockets in a directory.
    427           </para>
    428           <indexterm zone="dbus dbus-cleanup-sockets">
    429             <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
    430           </indexterm>
    431         </listitem>
    432       </varlistentry>
    433 
    434       <varlistentry id="dbus-daemon">
    435         <term><command>dbus-daemon</command></term>
    436         <listitem>
    437           <para>
    438             is the <application>D-Bus</application> message bus daemon.
    439           </para>
    440           <indexterm zone="dbus dbus-daemon">
    441             <primary sortas="b-dbus-daemon">dbus-daemon</primary>
    442           </indexterm>
    443         </listitem>
    444       </varlistentry>
    445 
    446       <varlistentry id="dbus-launch">
     359      <varlistentry id="dbus-launch-program">
    447360        <term><command>dbus-launch</command></term>
    448361        <listitem>
     
    452365            scripts.
    453366          </para>
    454           <indexterm zone="dbus dbus-launch">
    455             <primary sortas="b-dbus-launch">dbus-launch</primary>
     367          <indexterm zone="dbus-launch dbus-launch-program">
     368            <primary sortas="b-dbus-launch-program">dbus-launch</primary>
    456369          </indexterm>
    457370        </listitem>
    458371      </varlistentry>
    459372
    460       <varlistentry id="dbus-monitor">
    461         <term><command>dbus-monitor</command></term>
    462         <listitem>
    463           <para>
    464             is used to monitor messages going through a
    465             <application>D-Bus</application> message bus.
    466           </para>
    467           <indexterm zone="dbus dbus-monitor">
    468             <primary sortas="b-dbus-monitor">dbus-monitor</primary>
    469           </indexterm>
    470         </listitem>
    471       </varlistentry>
    472 
    473       <varlistentry id="dbus-run-session">
    474         <term><command>dbus-run-session</command></term>
    475         <listitem>
    476           <para>
    477             start a process as a new <application>D-Bus</application> session.
    478           </para>
    479           <indexterm zone="dbus dbus-run-session">
    480             <primary sortas="b-dbus-run-session">dbus-run-session</primary>
    481           </indexterm>
    482         </listitem>
    483       </varlistentry>
    484 
    485       <varlistentry id="dbus-send">
    486         <term><command>dbus-send</command></term>
    487         <listitem>
    488           <para>
    489             is used to send a message to a <application>D-Bus</application>
    490             message bus.
    491           </para>
    492           <indexterm zone="dbus dbus-send">
    493             <primary sortas="b-dbus-send">dbus-send</primary>
    494           </indexterm>
    495         </listitem>
    496       </varlistentry>
    497 
    498       <varlistentry id="dbus-uuidgen">
    499         <term><command>dbus-uuidgen</command></term>
    500         <listitem>
    501           <para>
    502             is used to generate a universally unique ID.
    503           </para>
    504           <indexterm zone="dbus dbus-uuidgen">
    505             <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
    506           </indexterm>
    507         </listitem>
    508       </varlistentry>
    509 
    510       <varlistentry id="libdbus-1">
    511         <term><filename class="libraryfile">libdbus-1.so</filename></term>
    512         <listitem>
    513           <para>
    514             contains the API functions used by the
    515             <application>D-Bus</application> message daemon.
    516             <application>D-Bus</application> is first a library that provides
    517             one-to-one communication between any two applications;
    518             <command>dbus-daemon</command> is an application that uses this
    519             library to implement a message bus daemon.
    520           </para>
    521           <indexterm zone="dbus libdbus-1">
    522             <primary sortas="c-libdbus-1">libdbus-1.so</primary>
    523           </indexterm>
    524         </listitem>
    525       </varlistentry>
    526 
    527373    </variablelist>
    528374
  • general/sysutils/strigi.xml

    r76c63b6 r08de396  
    6969    <bridgehead renderas="sect4">Recommended</bridgehead>
    7070    <para role="recommended">
    71     <xref linkend="dbus"/> and
    72     <xref linkend="qt4"/> (compiled with D-Bus support)
     71    <xref linkend="qt4"/>
    7372    </para>
    7473
  • gnome/applications/baobab.xml

    r76c63b6 r08de396  
    8181    </para>
    8282
    83     <bridgehead renderas="sect4">Optional</bridgehead>
    84     <para role="optional">
    85       <xref linkend="dbus"/>
    86     </para>
    87 
    8883    <para condition="html" role="usernotes">
    8984      User Notes: <ulink url="&blfs-wiki;/baobab"/>
  • gnome/applications/file-roller.xml

    r76c63b6 r08de396  
    100100    <bridgehead renderas="sect4">Optional (Runtime)</bridgehead>
    101101    <para role="optional">
    102       <xref linkend="dbus"/>,
    103102      <xref linkend="unrar"/>,
    104103      <xref linkend="unzip"/>, and
  • gnome/platform/dconf.xml

    r76c63b6 r08de396  
    7676    <bridgehead renderas="sect4">Required</bridgehead>
    7777    <para role="required">
    78       <xref linkend="dbus"/> and
    7978      <xref linkend="gtk3"/>
    8079    </para>
  • gnome/platform/gnome-keyring.xml

    r76c63b6 r08de396  
    7777    <bridgehead renderas="sect4">Required</bridgehead>
    7878    <para role="required">
    79       <xref linkend="dbus"/> and
    8079      <xref linkend="gcr"/>
    8180    </para>
  • gnome/platform/gvfs.xml

    r76c63b6 r08de396  
    7676    <bridgehead renderas="sect4">Required</bridgehead>
    7777    <para role="required">
    78       <xref linkend="dbus"/>,
    79       <xref linkend="glib2"/>, and
     78      <xref linkend="glib2"/> and
    8079      <xref linkend="intltool"/>
    8180    </para>
  • introduction/welcome/changelog.xml

    r76c63b6 r08de396  
    4646
    4747    <listitem>
     48      <para>April 28th, 2014</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[bdubbs] - Synchronize D-Bus with LFS.  Also fixes
     52          <ulink url="&blfs-ticket-root;4977">#4977</ulink>.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
     56
     57    <listitem>
    4858      <para>April 27th, 2014</para>
    4959      <itemizedlist>
  • multimedia/audioutils/audacious.xml

    r76c63b6 r08de396  
    121121    <bridgehead renderas="sect4">Recommended</bridgehead>
    122122    <para role="optional">
    123       <xref linkend="dbus"/> and
    124123      <xref linkend="alsa"/>
    125124    </para>
  • multimedia/libdriv/pulseaudio.xml

    r76c63b6 r08de396  
    8888    <para role="recommended">
    8989      <xref linkend="alsa-lib"/>,
    90       <xref linkend="dbus"/>,
    9190      <xref linkend="glib2"/>,
    9291      <xref linkend="libcap"/>,
  • multimedia/videoutils/vlc.xml

    r76c63b6 r08de396  
    8888      <xref linkend="alsa-lib"/>, and
    8989      <xref linkend="libgcrypt"/>
    90     </para>
    91 
    92     <bridgehead renderas="sect4">Optional features and packages</bridgehead>
    93     <para role="optional">
    94       <xref linkend="dbus"/>
    9590    </para>
    9691
  • networking/netprogs/wpa_supplicant.xml

    r76c63b6 r08de396  
    8787    <bridgehead renderas="sect4">Optional</bridgehead>
    8888    <para role="optional">
    89       <xref linkend="dbus"/>,
    9089      <xref linkend="libxml2"/> and
    9190      <xref linkend="qt4"/>
     
    170169      If you wish to use <application>WPA Supplicant</application> with
    171170      <xref linkend="NetworkManager"/>, make sure that you have installed
    172       <xref linkend="dbus"/> and <xref linkend="libxml2"/>, then add the
     171      <xref linkend="libxml2"/>, then add the
    173172      following options to the <application>WPA Supplicant</application>
    174173      build configuration file by running the following command:
  • postlfs/editors/emacs.xml

    r76c63b6 r08de396  
    6262    <para role="optional"><xref linkend="x-window-system"/>,
    6363    <xref linkend="alsa-lib"/>,
    64     <xref linkend="dbus"/>,
    6564    <xref linkend="gnutls"/>,
    6665    <xref linkend="gobject-introspection"/>,
  • pst/printing/cups-filters.xml

    r76c63b6 r08de396  
    9696    <para role="optional">
    9797      <xref linkend="avahi"/>,
    98       <xref linkend="dbus"/>,
    9998      <xref linkend="php"/> (use of this might be broken) and
    10099      <ulink url="http://www.adobe.com/products/reader">acroread</ulink>
  • pst/printing/cups.xml

    r76c63b6 r08de396  
    100100    <bridgehead renderas="sect4">Recommended</bridgehead>
    101101    <para role="recommended">
    102       <xref linkend="colord"/>,
    103       <xref linkend="dbus"/>, and
     102      <xref linkend="colord"/> and
    104103      <xref linkend="libusb"/>
    105104    </para>
  • server/other/soprano.xml

    r76c63b6 r08de396  
    9393    <para role="recommended">
    9494      <xref linkend="clucene"/>,
    95       <xref linkend="dbus"/>,
    9695      <xref linkend="libiodbc"/> (required for the Virtuoso backend. Additionally,
    9796      <xref linkend="virtuoso"/> is required as a runtime dependency for this
  • x/lib/at-spi2-core.xml

    r76c63b6 r08de396  
    7979    <bridgehead renderas="sect4">Required</bridgehead>
    8080    <para role="required">
    81       <xref linkend="dbus"/>,
    8281      <xref linkend="glib2"/>,
    8382      <xref linkend="intltool"/> and
  • x/lib/qt4.xml

    r76c63b6 r08de396  
    8888      <xref linkend="mesalib"/>,
    8989      <xref linkend="cacerts"/>,
    90       <xref linkend="dbus"/>,
    9190      <xref linkend="glib2"/>,
    9291      <xref linkend="icu"/> (unicode support),
  • x/lib/qt5.xml

    r76c63b6 r08de396  
    9494      <xref linkend="cacerts"/>,
    9595      <xref linkend="cups"/>,
    96       <xref linkend="dbus"/>,
    9796      <xref linkend="glib2"/>,
    9897      <xref linkend="gst-plugins-base"/>,<!--
  • x/wm/openbox.xml

    r76c63b6 r08de396  
    265265        <ulink url="http://ftp.de.debian.org/debian/pool/main/n/numlockx/numlockx_1.2.orig.tar.gz">Numlockx</ulink> and
    266266        add that to your xinitrc. Another useful application is
    267         <xref linkend="dbus"/>
     267        <xref linkend="dbus-launch"/>
    268268      </para>
    269269
  • xsoft/office/libreoffice.xml

    r76c63b6 r08de396  
    159159      <xref linkend="cups"/>,
    160160      <xref linkend="curl"/>,
    161       <xref linkend="dbus"/>,
    162161      <xref linkend="expat"/>,
    163162      <xref linkend="graphite2"/>,
     
    539538
    540539    <para>
    541       <option>--disable-dbus</option>: Use this switch if you've not installed
    542       <xref linkend="dbus"/>. It also disables Bluetooth support and font
    543       install via PackageKit.
    544     </para>
    545 
    546     <para>
    547540      <option>--enable-gstreamer</option>: Use this switch if you want to
    548541      use <xref linkend="gst10-plugins-base"/> instead of
  • xsoft/other/pidgin.xml

    r76c63b6 r08de396  
    100100      <xref linkend="check"/> (only used during the test suite),
    101101      <xref linkend="cyrus-sasl"/>,
    102       <xref linkend="dbus-glib"/>,
    103102      <ulink url="&gnome-download-http;/evolution-data-server/">
    104103      Evolution Data Server</ulink>,
     
    142141            --sysconfdir=/etc   \
    143142            --disable-avahi     \
    144             --disable-dbus      \
    145143            --disable-gtkspell  \
    146144            --disable-gstreamer \
     
    189187      <option>--disable-avahi</option>: Remove this switch if you've
    190188      installed <xref linkend="avahi"/>.
    191     </para>
    192 
    193     <para>
    194       <option>--disable-dbus</option>: Remove this switch if you've installed
    195       <xref linkend="dbus"/>.
    196189    </para>
    197190
  • xsoft/other/xdg-utils.xml

    r76c63b6 r08de396  
    8080    </para>
    8181
    82     <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
    83     <para role="optional">
    84       <xref linkend="dbus"/>
    85     </para>
    86 
    8782  </sect2>
    8883
Note: See TracChangeset for help on using the changeset viewer.