diff --git a/sysutils/seatd/Makefile b/sysutils/seatd/Makefile index d80ab69175d6..1f934cd06c37 100644 --- a/sysutils/seatd/Makefile +++ b/sysutils/seatd/Makefile @@ -1,41 +1,44 @@ PORTNAME= seatd DISTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Minimal seat management daemon and universal library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 meson pkgconfig USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} +SUB_FILES= pkg-message PLIST_FILES= bin/${PORTNAME} \ "@(,video,4750) bin/${PORTNAME}-launch" \ include/libseat.h \ lib/libseat.so \ lib/libseat.so.1 \ libdata/pkgconfig/libseat.pc OPTIONS_DEFINE= BASU MANPAGES OPTIONS_DEFAULT=BASU MANPAGES +OPTIONS_SUB= yes # https://lists.sr.ht/~kennylevinsen/seatd-devel/%3CQHZRRQ.73ZI29COPK131%40unrelenting.technology%3E BASU_DESC= ConsoleKit2 support via basu (experimental) BASU_PATCH_SITES= https://github.com/DankBSD/${PORTNAME}/commit/:ck2 BASU_PATCHFILES= c35529dd761d.patch:-p1:ck2 76ccbf3617da.patch:-p1:ck2 BASU_LIB_DEPENDS= libbasu.so:devel/basu BASU_USES= localbase # https://github.com/emersion/basu/issues/36 BASU_MESON_ENABLED= libseat-consolekit2 .if make(makesum) .MAKEFLAGS: WITH+=BASU .endif MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ man/man1/${PORTNAME}-launch.1.gz .include diff --git a/sysutils/seatd/files/pkg-message.in b/sysutils/seatd/files/pkg-message.in new file mode 100644 index 000000000000..ce9f84223c62 --- /dev/null +++ b/sysutils/seatd/files/pkg-message.in @@ -0,0 +1,47 @@ +[ +{ type: install + message: < + $ exit # log out to refresh group permissions + +For example, to start a wlroots-based compositor replace "sway" with +your compositor (e.g., "hikari", "wayfire", "labwc", "river") then run + + $ seatd-launch sway + +Alternatively, configure and run seatd(1) as system service + + # sysrc seatd_enable=YES + # service seatd start + $ sway + +%%BASU%%To use ConsoleKit2 run +%%BASU%% +%%BASU%% # pkg install consolekit2 basu +%%BASU%% # sysrc -x seatd_enable +%%BASU%% # service seatd stop +%%BASU%% # sysrc dbus_enable=YES +%%BASU%% # service dbus start +%%BASU%% $ ck-launch-session sway +%%BASU%% +%%BASU%%where "ck-launch-session" can be dropped after +%%BASU%% +%%BASU%% # echo "session optional pam_ck_connector.so" >>/etc/pam.d/system +%%BASU%% $ exit # log out to re-trigger PAM +EOM +} +]