From owner-dev-commits-ports-main@freebsd.org Fri Sep 24 17:22:52 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A9426710FD; Fri, 24 Sep 2021 17:22:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HGJkz6hhKz3NTG; Fri, 24 Sep 2021 17:22:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C59B91AB93; Fri, 24 Sep 2021 17:22:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18OHMpEo096880; Fri, 24 Sep 2021 17:22:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18OHMpUc096879; Fri, 24 Sep 2021 17:22:51 GMT (envelope-from git) Date: Fri, 24 Sep 2021 17:22:51 GMT Message-Id: <202109241722.18OHMpUc096879@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 095885577167 - main - sysutils/seatd: document common usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0958855771675c0baba0262b7e5d4266dc9fe2df Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2021 17:22:52 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0958855771675c0baba0262b7e5d4266dc9fe2df commit 0958855771675c0baba0262b7e5d4266dc9fe2df Author: Jan Beich AuthorDate: 2021-09-24 15:04:54 +0000 Commit: Jan Beich CommitDate: 2021-09-24 17:22:01 +0000 sysutils/seatd: document common usage In wlroots affects WLR_BACKENDS=drm,libinput (default on console). Weston also supports libseat but hasn't been tested. PR: 258664 Submitted by: Evgeniy Khramtsov (based on) --- sysutils/seatd/Makefile | 3 +++ sysutils/seatd/files/pkg-message.in | 47 +++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sysutils/seatd/Makefile b/sysutils/seatd/Makefile index d80ab69175d6..1f934cd06c37 100644 --- a/sysutils/seatd/Makefile +++ b/sysutils/seatd/Makefile @@ -1,5 +1,6 @@ PORTNAME= seatd DISTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ @@ -12,6 +13,7 @@ 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 \ @@ -21,6 +23,7 @@ PLIST_FILES= bin/${PORTNAME} \ 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) 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 +} +]