Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2021 17:17:54 GMT
From:      =?utf-8?B?RmVybmFuZG8gQXBlc3RlZ3XDrWE=?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 24138d3c7619 - main - x11/slim: Add dbus runtime dependency
Message-ID:  <202104221717.13MHHsLf080215@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=24138d3c7619e54da523fb84f9dc9df646ec5e94

commit 24138d3c7619e54da523fb84f9dc9df646ec5e94
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2021-04-22 17:03:41 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2021-04-22 17:13:39 +0000

    x11/slim: Add dbus runtime dependency
    
    It needs a DBus session bus to connect to.
    Add instructions in pkg-message.in
    
    PR:     254766
    Reported by:    fernape@FreeBSD.org
    Approved by:    jsm@FreeBSD.org (maintainer, timeout > 2 weeks)
---
 x11/slim/Makefile             | 1 +
 x11/slim/files/pkg-message.in | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/x11/slim/Makefile b/x11/slim/Makefile
index 46dcf82a2675..c124d95fcb12 100644
--- a/x11/slim/Makefile
+++ b/x11/slim/Makefile
@@ -16,6 +16,7 @@ BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig
+RUN_DEPENDS=	dbus-daemon:devel/dbus
 
 USES=		cmake compiler:c++11-lang jpeg pkgconfig xorg
 USE_XORG=	ice sm x11 xau xcb xdmcp xext xft xmu xorg-server xrandr \
diff --git a/x11/slim/files/pkg-message.in b/x11/slim/files/pkg-message.in
index c7458f7d8a4e..5d7ea26945bb 100644
--- a/x11/slim/files/pkg-message.in
+++ b/x11/slim/files/pkg-message.in
@@ -8,6 +8,11 @@ Alternatively, just put the following entry in /etc/rc.conf:
 
 slim_enable=yes
 
+slim requires a dbus session bus to connect to. Add the following entry in
+/etc/rc.conf:
+
+dbus_enable="YES"
+
 *** Option "sessions" is no longer supported. ***
 
 Now you need to put session files in the directory specified by option



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104221717.13MHHsLf080215>