pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/dbus PR 49591: Add MESSAGE.launchd to let Dar...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b0d4dc91d1b
branches: trunk
changeset: 645025:3b0d4dc91d1b
user: pho <pho%pkgsrc.org@localhost>
date: Wed Jan 21 05:38:59 2015 +0000
description:
PR 49591: Add MESSAGE.launchd to let Darwin users know about the launchd agent configuration file.
diffstat:
sysutils/dbus/MESSAGE.launchd | 20 ++++++++++++++++++++
sysutils/dbus/Makefile | 7 +++++--
2 files changed, 25 insertions(+), 2 deletions(-)
diffs (54 lines):
diff -r 5fa1c659e1bb -r 3b0d4dc91d1b sysutils/dbus/MESSAGE.launchd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dbus/MESSAGE.launchd Wed Jan 21 05:38:59 2015 +0000
@@ -0,0 +1,20 @@
+===========================================================================
+$NetBSD: MESSAGE.launchd,v 1.1 2015/01/21 05:38:59 pho Exp $
+
+A launchd agent configuration file has been installed at:
+ ${PREFIX}/Library/LaunchAgents/org.freedesktop.dbus-session.plist
+
+You need to manually load it to auto-start a session bus. Without
+loading it, no applications can start a bus nor find an existing one:
+ % sudo launchctl load \
+ ${PREFIX}/Library/LaunchAgents/org.freedesktop.dbus-session.plist
+
+Or alternatively, you can copy it under the system default path to
+automatically load it on system boot:
+ % sudo cp \
+ ${PREFIX}/Library/LaunchAgents/org.freedesktop.dbus-session.plist \
+ /Library/LaunchAgents/
+ % sudo launchctl load \
+ /Library/LaunchAgents/org.freedesktop.dbus-session.plist
+
+===========================================================================
diff -r 5fa1c659e1bb -r 3b0d4dc91d1b sysutils/dbus/Makefile
--- a/sysutils/dbus/Makefile Tue Jan 20 23:49:52 2015 +0000
+++ b/sysutils/dbus/Makefile Wed Jan 21 05:38:59 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.78 2015/01/20 23:45:35 wiz Exp $
+# $NetBSD: Makefile,v 1.79 2015/01/21 05:38:59 pho Exp $
DISTNAME= dbus-1.8.14
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/
@@ -28,6 +28,8 @@
SMF_METHODS= dbus
SMF_NAME= dbus
+MESSAGE_SRC+= MESSAGE
+
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
@@ -36,6 +38,7 @@
CONFIGURE_ARGS_GROUPS= enable disable with without
.if ${OPSYS} == "Darwin"
+MESSAGE_SRC+= MESSAGE.launchd
CONFIGURE_ARGS+= --with-launchd-agent-dir=${PREFIX}/Library/LaunchAgents
CONFIGURE_ARGS+= --with-session-socket-dir=/tmp
.endif
Home |
Main Index |
Thread Index |
Old Index