Changeset 02e742b for general/sysutils
- Timestamp:
- 06/26/2012 10:41:11 AM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- fc695e8
- Parents:
- 07fef33
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/dbus.xml
r07fef33 r02e742b 7 7 <!ENTITY dbus-download-http "http://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz"> 8 8 <!ENTITY dbus-download-ftp " "> 9 <!ENTITY dbus-md5sum " 79eca2f2c1894ac347acce128314428b">9 <!ENTITY dbus-md5sum "16dcae2dd0c76e398381601ac9acdec4"> 10 10 <!ENTITY dbus-size "1.8 MB"> 11 <!ENTITY dbus-buildsize " 100MB">11 <!ENTITY dbus-buildsize "29 MB"> 12 12 <!ENTITY dbus-time "0.5 SBU"> 13 13 ]> 14 14 15 <sect1 id="dbus" xreflabel="D-B US-&dbus-version;">15 <sect1 id="dbus" xreflabel="D-Bus-&dbus-version;"> 16 16 <?dbhtml filename="dbus.html"?> 17 17 … … 21 21 </sect1info> 22 22 23 <title>D-B US-&dbus-version;</title>23 <title>D-Bus-&dbus-version;</title> 24 24 25 25 <indexterm zone="dbus"> 26 <primary sortas="a-D-B US">D-BUS</primary>26 <primary sortas="a-D-Bus">D-Bus</primary> 27 27 </indexterm> 28 28 29 29 <sect2 role="package"> 30 <title>Introduction to D-B US</title>31 32 <para><application>D-B US</application> is a message bus system, a simple30 <title>Introduction to D-Bus</title> 31 32 <para><application>D-Bus</application> is a message bus system, a simple 33 33 way for applications to talk to one another. 34 <application>D-B US</application> supplies both a system daemon (for events34 <application>D-Bus</application> supplies both a system daemon (for events 35 35 such as <quote>new hardware device added</quote> or <quote>printer queue 36 36 changed</quote>) and a per-user-login-session daemon (for general IPC needs … … 64 64 </itemizedlist> 65 65 66 <bridgehead renderas="sect3">D-B USDependencies</bridgehead>66 <bridgehead renderas="sect3">D-Bus Dependencies</bridgehead> 67 67 68 68 <bridgehead renderas="sect4">Required</bridgehead> … … 108 108 109 109 <sect2 role="installation"> 110 <title>Installation of D-B US</title>110 <title>Installation of D-Bus</title> 111 111 112 112 <para>As the <systemitem class="username">root</systemitem> user, create a … … 114 114 115 115 <screen role="root"><userinput>groupadd -g 18 messagebus && 116 useradd -c "D-B USMessage Daemon User" -d /var/run/dbus \116 useradd -c "D-Bus Message Daemon User" -d /var/run/dbus \ 117 117 -u 18 -g messagebus -s /bin/false messagebus</userinput></screen> 118 118 119 <para>Install <application>D-B US</application> by running the following119 <para>Install <application>D-Bus</application> by running the following 120 120 commands (you may wish to review the output from 121 121 <command>./configure --help</command> first and add any desired parameters 122 122 to the <command>configure</command> command shown below):</para> 123 123 124 <screen><userinput>./configure --prefix=/usr \ 125 --sysconfdir=/etc \ 126 --libexecdir=/usr/lib/dbus-1.0 \ 127 --localstatedir=/var && 124 <screen><userinput>./configure --prefix=/usr \ 125 --sysconfdir=/etc \ 126 --libexecdir=/usr/lib/dbus-1.0 \ 127 --localstatedir=/var \ 128 --disable-static && 128 129 make</userinput></screen> 129 130 … … 140 141 <command>configure</command> and exposing additional functionality in the 141 142 binaries. These interfaces are not intended to be used in a production 142 build of <application>D-B US</application>. If you would like to run the143 build of <application>D-Bus</application>. If you would like to run the 143 144 unit tests, issue the following commands:</para> 144 145 … … 161 162 <para><parameter>--libexecdir=/usr/lib/dbus-1.0</parameter>: This will 162 163 install binaries meant to be only used internally by 163 <application>D-B US</application>, and the directory164 <application>D-Bus</application>, and the directory 164 165 <filename class="directory">dbus-1</filename> into 165 166 <filename class="directory">/usr/lib/dbus-1.0</filename> instead of … … 258 259 259 260 <para>Note that this boot script only starts the system-wide 260 <application>D-B US</application> daemon. Each user requiring access to261 <application>D-B US</application> services will also need to run a261 <application>D-Bus</application> daemon. Each user requiring access to 262 <application>D-Bus</application> services will also need to run a 262 263 session daemon as well. There are many methods you can use to start a 263 264 session daemon using the <command>dbus-launch</command> command. Review … … 297 298 by adding the following lines:</para> 298 299 299 <screen><userinput><literal># Start the D-B USsession daemon300 <screen><userinput><literal># Start the D-Bus session daemon 300 301 eval `dbus-launch` 301 302 export DBUS_SESSION_BUS_ADDRESS</literal></userinput></screen> … … 305 306 <filename>~/.bash_logout</filename> file:</para> 306 307 307 <screen><userinput><literal># Kill the D-B USsession daemon308 <screen><userinput><literal># Kill the D-Bus session daemon 308 309 kill $DBUS_SESSION_BUS_PID</literal></userinput></screen> 309 310 </listitem> … … 329 330 <segmentedlist> 330 331 <segtitle>Installed Programs</segtitle> 331 <segtitle>Installed Librar y</segtitle>332 <segtitle>Installed Libraries</segtitle> 332 333 <segtitle>Installed Directories</segtitle> 333 334 334 335 <seglistitem> 335 <seg>dbus-cleanup-sockets, dbus-daemon, dbus-daemon-launch-helper, 336 dbus-launch, dbus-monitor, dbus-send and dbus-uuidgen</seg> 337 <seg>libdbus-1.{so,a}</seg> 338 <seg>/etc/dbus-1/{session.d,system.d}, /usr/{include/dbus-1.0/dbus, 339 lib/{dbus-1.0/include/dbus,dbus/dbus-1},share/dbus-1/{services, 340 system-services}}, /var/{lib/dbus,run/dbus}</seg> 336 <seg>dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor, 337 dbus-send and dbus-uuidgen</seg> 338 <seg>libdbus-1.so</seg> 339 <seg>/etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0, 340 /usr/share/dbus-1, /usr/share/doc/dbus-1.6.0 and /var/run/dbus</seg> 341 341 </seglistitem> 342 342 </segmentedlist> … … 360 360 <term><command>dbus-daemon</command></term> 361 361 <listitem> 362 <para>is the <application>D-B US</application> message bus362 <para>is the <application>D-Bus</application> message bus 363 363 daemon.</para> 364 364 <indexterm zone="dbus dbus-daemon"> … … 384 384 <listitem> 385 385 <para>is used to monitor messages going through a 386 <application>D-B US</application> message bus.</para>386 <application>D-Bus</application> message bus.</para> 387 387 <indexterm zone="dbus dbus-monitor"> 388 388 <primary sortas="b-dbus-monitor">dbus-monitor</primary> … … 394 394 <term><command>dbus-send</command></term> 395 395 <listitem> 396 <para>is used to send a message to a <application>D-B US</application>396 <para>is used to send a message to a <application>D-Bus</application> 397 397 message bus.</para> 398 398 <indexterm zone="dbus dbus-send"> … … 413 413 414 414 <varlistentry id="libdbus-1"> 415 <term><filename class='libraryfile'>libdbus-1. {so,a}</filename></term>415 <term><filename class='libraryfile'>libdbus-1.so</filename></term> 416 416 <listitem> 417 417 <para>contains the API functions used by the 418 <application>D-B US</application> message daemon.419 <application>D-B US</application> is first a library that provides418 <application>D-Bus</application> message daemon. 419 <application>D-Bus</application> is first a library that provides 420 420 one-to-one communication between any two applications; 421 421 <command>dbus-daemon</command> is an application that uses this
Note:
See TracChangeset
for help on using the changeset viewer.