Remove README; xinitrc and Xsession will now try to run dbus-launch

automatically if it is available and external X session managers (e.g.
gnome-session...) also do the same.
This commit is contained in:
ajacoutot 2012-08-05 06:55:11 +00:00
parent e9a6cc6dbc
commit d9e8fb270e
3 changed files with 3 additions and 19 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.83 2012/07/06 16:28:21 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.84 2012/08/05 06:55:11 ajacoutot Exp $
COMMENT= message bus system
DISTNAME= dbus-1.6.2
REVISION= 0
REVISION= 1
EPOCH= 0
SHARED_LIBS += dbus-1 10.2 # .10.2

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.13 2012/07/05 07:19:48 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.14 2012/08/05 06:55:11 ajacoutot Exp $
@newgroup _dbus:572
@newuser _dbus:572:_dbus:daemon:dbus user:/nonexistent:/sbin/nologin
%%SHARED%%
@ -58,7 +58,6 @@ share/doc/dbus/dbus-tutorial.html
share/doc/dbus/diagram.png
share/doc/dbus/diagram.svg
share/doc/dbus/system-activation.txt
share/doc/pkg-readmes/${FULLPKGNAME}
share/examples/dbus/
share/examples/dbus/dbus-1/
@sample ${SYSCONFDIR}/dbus-1/

View File

@ -1,15 +0,0 @@
$OpenBSD: README,v 1.3 2011/06/02 13:41:42 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
To start a session bus instance of dbus-daemon (needed by at least gvfs
aware applications and ${PREFIX}/share/dbus-1/services/*.service),
add the following lines in .xinitrc or .xsession before starting the
window manager (see dbus-launch(1) for more info) -- note that some
session managers, e.g. gnome-session(1) already do this for you.
if [ -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --auto-syntax --exit-with-session`
fi