git: 24138d3c7619 - main - x11/slim: Add dbus runtime dependency

Fernando Apesteguía fernape at FreeBSD.org
Thu Apr 22 17:17:54 UTC 2021


The branch main has been updated by fernape:

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

commit 24138d3c7619e54da523fb84f9dc9df646ec5e94
Author:     Fernando Apesteguía <fernape at FreeBSD.org>
AuthorDate: 2021-04-22 17:03:41 +0000
Commit:     Fernando Apesteguía <fernape at 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 at FreeBSD.org
    Approved by:    jsm at 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


More information about the dev-commits-ports-all mailing list