- Timestamp:
- 05/12/2014 08:37:37 PM (10 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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:
- d1fe212
- Parents:
- cb48da2
- Location:
- general
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/dbus-glib.xml
rcb48da2 r54666831 76 76 <bridgehead renderas="sect4">Required</bridgehead> 77 77 <para role="required"> 78 <xref linkend="dbus"/> and 78 79 <xref linkend="glib2"/> 79 80 </para> -
general/genlib/glib2.xml
rcb48da2 r54666831 88 88 <bridgehead renderas="sect4">Optional</bridgehead> 89 89 <para role="optional"> 90 <xref linkend="dbus"/> (required to run the tests), 90 91 <xref linkend="elfutils"/>, 91 92 <ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>, and -
general/prog/subversion.xml
rcb48da2 r54666831 112 112 --> 113 113 <xref linkend="cyrus-sasl"/>, 114 <xref linkend="dbus"/>, 114 115 <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support), 115 116 <xref linkend="python2"/> (with sqlite support for the tests), -
general/prog/vala.xml
rcb48da2 r54666831 83 83 <bridgehead renderas="sect4">Optional</bridgehead> 84 84 <para role="optional"> 85 <xref linkend="dbus"/> (Required for the tests) and 85 86 <xref linkend="libxslt"/> (Required for generating the documentation) 86 87 </para> -
general/sysutils/bluez.xml
rcb48da2 r54666831 86 86 <bridgehead renderas="sect4">Required</bridgehead> 87 87 <para role="required"> 88 <xref linkend="glib2"/> and 88 <xref linkend="dbus"/>, 89 <xref linkend="glib2"/>, and 89 90 <xref linkend="libical"/> 90 91 </para> -
general/sysutils/colord.xml
rcb48da2 r54666831 78 78 <bridgehead renderas="sect4">Required</bridgehead> 79 79 <para role="required"> 80 <xref linkend="dbus"/>, 80 81 <xref linkend="glib2"/>, 81 82 <xref linkend="lcms2"/>, and -
general/sysutils/dbus.xml
rcb48da2 r54666831 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 " 059fbe84e39fc99c67a14f15b1f39dff">9 <!ENTITY dbus-md5sum "d6f709bbec0a022a1847c7caec9d6068"> 10 10 <!ENTITY dbus-size "1.8 MB"> 11 <!ENTITY dbus-buildsize " 86 MB (additional 26 MB installed)">12 <!ENTITY dbus-time "0. 35 SBU (additional 1.3 SBU for tests)">11 <!ENTITY dbus-buildsize "132 MB (additional 26 MB for tests)"> 12 <!ENTITY dbus-time "0.5 SBU (additional 1.3 SBU for tests)"> 13 13 ]> 14 14 15 <sect1 id="dbus -launch" xreflabel="D-Bus-&dbus-version;/dbus-launch">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-Bus-&dbus-version; (dbus-launch)</title>24 25 <indexterm zone="dbus -launch">26 <primary sortas="a- dbus-launch">dbus-launch</primary>23 <title>D-Bus-&dbus-version;</title> 24 25 <indexterm zone="dbus"> 26 <primary sortas="a-D-Bus">D-Bus</primary> 27 27 </indexterm> 28 28 29 29 <sect2 role="package"> 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; --> 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; 39 45 40 46 <bridgehead renderas="sect3">Package Information</bridgehead> … … 74 80 <bridgehead renderas="sect3">D-Bus Dependencies</bridgehead> 75 81 82 <!-- 76 83 <bridgehead renderas="sect4">Required</bridgehead> 77 84 <para role="required"> 78 <xref linkend="xorg7-lib"/> 79 (for <command>dbus-launch</command> program) 85 <xref linkend="expat"/> 86 </para> 87 --> 88 <bridgehead renderas="sect4">Recommended</bridgehead> 89 <para role="recommended"> 90 <xref linkend="xorg7-lib"/> (for <command>dbus-launch</command> program) 80 91 </para> 81 92 … … 85 96 <xref linkend="dbus-glib"/>, 86 97 <xref linkend="dbus-python"/>, and 87 <xref linkend="pygobject2"/>; 98 <xref linkend="pygobject2"/>; 99 88 100 for the API documentation: 89 <xref linkend="doxygen"/>; 101 <xref linkend="doxygen"/>; 102 90 103 for man pages and XML/HTML documentation: 91 104 <xref linkend="xmlto"/> … … 101 114 102 115 <para> 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 \ 116 As the <systemitem class="username">root</systemitem> user, create a 117 system user and group to handle the system message bus activity: 118 </para> 119 120 <screen role="root"><userinput>groupadd -g 18 messagebus && 121 useradd -c "D-Bus Message Daemon User" -d /var/run/dbus \ 122 -u 18 -g messagebus -s /bin/false messagebus</userinput></screen> 123 124 <para> 125 Install <application>D-Bus</application> by running the following 126 commands (you may wish to review the output from 127 <command>./configure --help</command> first and add any desired parameters 128 to the <command>configure</command> command shown below): 129 </para> 130 131 <screen><userinput>./configure --prefix=/usr \ 132 --sysconfdir=/etc \ 133 --localstatedir=/var \ 109 134 --with-console-auth-dir=/run/console/ \ 135 --without-systemdsystemunitdir \ 136 --disable-systemd \ 110 137 --disable-static && 111 138 make</userinput></screen> … … 119 146 </para> 120 147 121 <screen role="root"><userinput>install -m 755 tools/dbus-launch /usr/bin</userinput></screen> 122 123 <para> 124 If you built the optional documentation, install it as the 148 <screen role="root"><userinput>make install && 149 mv -v /usr/share/doc/dbus /usr/share/doc/dbus-&dbus-version;</userinput></screen> 150 151 <para> 152 If you are still building your system in chroot or you did not start the 153 daemon yet, but you want to compile some packages that require 154 <application>D-Bus</application>, generate 155 <application>D-Bus</application> UUID to avoid warnings when compiling 156 some packages with the following command as the 125 157 <systemitem class="username">root</systemitem> user: 126 158 </para> 127 159 128 <screen role="root"><userinput> cp -a doc/api/{html,xml} /usr/share/doc/dbus-&dbus-version;</userinput></screen>129 160 <screen role="root"><userinput>dbus-uuidgen --ensure</userinput></screen> 161 130 162 <para> 131 163 The dbus tests cannot be run until after <xref linkend="dbus-glib"/> … … 155 187 <screen><userinput>sed -i -e 's:run-test.sh:$(NULL):g' test/name-test/Makefile.in</userinput></screen> 156 188 157 < note><para>158 There has been a report that the tests may fail if running189 <para> 190 Note there has been a report that the tests may fail if running 159 191 inside a Midnight Commander shell. 160 192 You may get out-of-memory error messages when running the tests. 161 193 These are normal and can be safely ignored. 162 </para> </note>194 </para> 163 195 164 196 </sect2> … … 171 203 parameter specifies location of the 172 204 <application>ConsoleKit</application> auth dir. 205 </para> 206 207 <para> 208 <parameter>--without-systemdsystemunitdir</parameter>: This switch 209 prevents installation of systemd unit files. 210 </para> 211 212 <para> 213 <parameter>--disable-systemd</parameter>: This switch disables systemd 214 support in <application>D-Bus</application> 173 215 </para> 174 216 … … 210 252 </para> 211 253 212 <indexterm zone="dbus -launchdbus-config">254 <indexterm zone="dbus dbus-config"> 213 255 <primary sortas="e-etc-dbus-1-session.conf">/etc/dbus-1/session.conf</primary> 214 256 </indexterm> 215 257 216 <indexterm zone="dbus -launchdbus-config">258 <indexterm zone="dbus dbus-config"> 217 259 <primary sortas="e-etc-dbus-1/system.conf">/etc/dbus-1/system.conf</primary> 218 260 </indexterm> 219 261 220 <indexterm zone="dbus -launchdbus-config">262 <indexterm zone="dbus dbus-config"> 221 263 <primary sortas="e-etc-dbus-1-system.d-star">/etc/dbus-1/system.d/*</primary> 222 264 </indexterm> … … 262 304 263 305 <sect3 id="dbus-init"> 264 <title> Starting D-Bus</title>306 <title>Boot Script</title> 265 307 266 308 <para> 267 There are many methods you can use to start a 309 To automatically start <command>dbus-daemon</command> when the 310 system is rebooted, install the 311 <filename>/etc/rc.d/init.d/dbus</filename> bootscript from the 312 <xref linkend="bootscripts"/> package. 313 </para> 314 315 <indexterm zone="dbus dbus-init"> 316 <primary sortas="f-dbus">dbus</primary> 317 </indexterm> 318 319 <screen role="root"><userinput>make install-dbus</userinput></screen> 320 321 <para> 322 Note that this boot script only starts the system-wide 323 <application>D-Bus</application> daemon. Each user requiring access to 324 <application>D-Bus</application> services will also need to run a 325 session daemon as well. There are many methods you can use to start a 268 326 session daemon using the <command>dbus-launch</command> command. Review 269 327 the <command>dbus-launch</command> man page for details about the … … 336 394 <segmentedlist> 337 395 <segtitle>Installed Programs</segtitle> 338 <segtitle>Installed Librar ies</segtitle>396 <segtitle>Installed Library</segtitle> 339 397 <segtitle>Installed Directories</segtitle> 340 398 341 399 <seglistitem> 342 400 <seg> 343 dbus-launch 401 dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor, 402 dbus-run-session, dbus-send and dbus-uuidgen 344 403 </seg> 345 404 <seg> 346 None405 libdbus-1.so 347 406 </seg> 348 407 <seg> 349 None 408 /etc/dbus-1, 409 /usr/include/dbus-1.0, 410 /usr/lib/dbus-1.0, 411 /usr/share/dbus-1, 412 /usr/share/doc/dbus-&dbus-version;, 413 /var/lib/dbus and 414 /var/run/dbus 350 415 </seg> 351 416 </seglistitem> … … 357 422 <?dbhtml list-presentation="table"?> 358 423 359 <varlistentry id="dbus-launch-program"> 424 <varlistentry id="dbus-cleanup-sockets"> 425 <term><command>dbus-cleanup-sockets</command></term> 426 <listitem> 427 <para> 428 is used to clean up leftover sockets in a directory. 429 </para> 430 <indexterm zone="dbus dbus-cleanup-sockets"> 431 <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary> 432 </indexterm> 433 </listitem> 434 </varlistentry> 435 436 <varlistentry id="dbus-daemon"> 437 <term><command>dbus-daemon</command></term> 438 <listitem> 439 <para> 440 is the <application>D-Bus</application> message bus daemon. 441 </para> 442 <indexterm zone="dbus dbus-daemon"> 443 <primary sortas="b-dbus-daemon">dbus-daemon</primary> 444 </indexterm> 445 </listitem> 446 </varlistentry> 447 448 <varlistentry id="dbus-launch"> 360 449 <term><command>dbus-launch</command></term> 361 450 <listitem> … … 365 454 scripts. 366 455 </para> 367 <indexterm zone="dbus-launch dbus-launch-program"> 368 <primary sortas="b-dbus-launch-program">dbus-launch</primary> 456 <indexterm zone="dbus dbus-launch"> 457 <primary sortas="b-dbus-launch">dbus-launch</primary> 458 </indexterm> 459 </listitem> 460 </varlistentry> 461 462 <varlistentry id="dbus-monitor"> 463 <term><command>dbus-monitor</command></term> 464 <listitem> 465 <para> 466 is used to monitor messages going through a 467 <application>D-Bus</application> message bus. 468 </para> 469 <indexterm zone="dbus dbus-monitor"> 470 <primary sortas="b-dbus-monitor">dbus-monitor</primary> 471 </indexterm> 472 </listitem> 473 </varlistentry> 474 475 <varlistentry id="dbus-run-session"> 476 <term><command>dbus-run-session</command></term> 477 <listitem> 478 <para> 479 start a process as a new <application>D-Bus</application> session. 480 </para> 481 <indexterm zone="dbus dbus-run-session"> 482 <primary sortas="b-dbus-run-session">dbus-run-session</primary> 483 </indexterm> 484 </listitem> 485 </varlistentry> 486 487 <varlistentry id="dbus-send"> 488 <term><command>dbus-send</command></term> 489 <listitem> 490 <para> 491 is used to send a message to a <application>D-Bus</application> 492 message bus. 493 </para> 494 <indexterm zone="dbus dbus-send"> 495 <primary sortas="b-dbus-send">dbus-send</primary> 496 </indexterm> 497 </listitem> 498 </varlistentry> 499 500 <varlistentry id="dbus-uuidgen"> 501 <term><command>dbus-uuidgen</command></term> 502 <listitem> 503 <para> 504 is used to generate a universally unique ID. 505 </para> 506 <indexterm zone="dbus dbus-uuidgen"> 507 <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary> 508 </indexterm> 509 </listitem> 510 </varlistentry> 511 512 <varlistentry id="libdbus-1"> 513 <term><filename class="libraryfile">libdbus-1.so</filename></term> 514 <listitem> 515 <para> 516 contains the API functions used by the 517 <application>D-Bus</application> message daemon. 518 <application>D-Bus</application> is first a library that provides 519 one-to-one communication between any two applications; 520 <command>dbus-daemon</command> is an application that uses this 521 library to implement a message bus daemon. 522 </para> 523 <indexterm zone="dbus libdbus-1"> 524 <primary sortas="c-libdbus-1">libdbus-1.so</primary> 369 525 </indexterm> 370 526 </listitem> -
general/sysutils/strigi.xml
rcb48da2 r54666831 68 68 <bridgehead renderas="sect4">Recommended</bridgehead> 69 69 <para role="recommended"> 70 <xref linkend="dbus"/> and 70 71 <xref linkend="qt4"/> 71 72 </para>
Note:
See TracChangeset
for help on using the changeset viewer.