Re-introduce pkg-readmes for people using their own .xsession / .xinitrc.

This commit is contained in:
ajacoutot 2012-11-09 16:05:13 +00:00
parent 6cf12e7529
commit 2ea1dace93
3 changed files with 21 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.92 2012/10/11 07:25:20 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.93 2012/11/09 16:05:13 ajacoutot Exp $
# DPB: not parallel-safe
@ -6,7 +6,7 @@ COMMENT= message bus system
DISTNAME= dbus-1.6.8
EPOCH= 0
REVISION= 1
REVISION= 2
SHARED_LIBS += dbus-1 10.2 # 10.2

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.15 2012/09/07 12:41:35 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.16 2012/11/09 16:05:13 ajacoutot Exp $
@newgroup _dbus:572
@newuser _dbus:572:_dbus:daemon:dbus user:/nonexistent:/sbin/nologin
@extra /var/db/dbus/machine-id
@ -59,6 +59,7 @@ 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/

17
x11/dbus/pkg/README Normal file
View File

@ -0,0 +1,17 @@
$OpenBSD: README,v 1.5 2012/11/09 16:05:13 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
To start a session bus instance of dbus-daemon (needed by applications
installing ${PREFIX}/share/dbus-1/services/*.service files), add the
following lines in .xinitrc or .xsession before starting the window
manager (see dbus-launch(1) for more info) -- note that the default
xinitrc and Xsession in OpenBSD (as well as some session/login managers,
e.g. gnome-session(1)) already do this for you in which case these lines
are not needed.
if [ -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi