git: 8c80131aaf28 - main - x11-toolkits/wlroots: disable direct session by default
Jan Beich
jbeich at FreeBSD.org
Sun Apr 18 23:36:12 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8c80131aaf28ad546553c8d9e99ab4244fcb0a77
commit 8c80131aaf28ad546553c8d9e99ab4244fcb0a77
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-04-18 22:34:13 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-04-18 23:34:26 +0000
x11-toolkits/wlroots: disable direct session by default
- Removed upstream in https://github.com/swaywm/wlroots/commit/d037c2dddc0f
- Lacks XDG_SESSION_TYPE unlike https://github.com/swaywm/wlroots/commit/90c845295947
- SUID in consumers is now handled by `builtin` backend in libseat
---
sysutils/seatd/Makefile | 4 ++--
x11-toolkits/wlroots/Makefile | 1 +
x11-toolkits/wlroots/pkg-message | 11 -----------
3 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/sysutils/seatd/Makefile b/sysutils/seatd/Makefile
index 77d291750c6e..cb29829ed79c 100644
--- a/sysutils/seatd/Makefile
+++ b/sysutils/seatd/Makefile
@@ -1,5 +1,6 @@
PORTNAME= seatd
DISTVERSION= 0.5.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
@@ -22,8 +23,7 @@ PLIST_FILES= bin/${PORTNAME} \
libdata/pkgconfig/libseat.pc
OPTIONS_DEFINE= MANPAGES SUID
-# XXX enable SUID after wlroots removes direct session
-OPTIONS_DEFAULT=MANPAGES
+OPTIONS_DEFAULT=MANPAGES SUID
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED= man-pages
diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile
index d26363f1814c..5e01e8ca5649 100644
--- a/x11-toolkits/wlroots/Makefile
+++ b/x11-toolkits/wlroots/Makefile
@@ -1,5 +1,6 @@
PORTNAME= wlroots
DISTVERSION= 0.13.0
+PORTREVISION= 1
CATEGORIES= x11-toolkits
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
diff --git a/x11-toolkits/wlroots/pkg-message b/x11-toolkits/wlroots/pkg-message
index ba814bf0ca4d..2968b526da78 100644
--- a/x11-toolkits/wlroots/pkg-message
+++ b/x11-toolkits/wlroots/pkg-message
@@ -5,17 +5,6 @@ Known issues:
- On FreeBSD 11.* kernel needs to be rebuilt with EVDEV_SUPPORT
- On FreeBSD 11.* drm-kmod needs https://github.com/FreeBSDDesktop/kms-drm/pull/213
- NVIDIA may be affected by https://github.com/aritger/eglstreams-kms-example/issues/7
-
-When built with LIBSEAT enabled you may see the following:
-
- [ERROR] [libseat] [libseat/libseat.c:73] libseat_open_seat: No backend was able to open a seat
- [ERROR] [backend/session/libseat.c:102] Unable to create seat: Function not implemented
-
-Possible solutions (select one):
-- Ignore libseat errors to let wlroots use direct session
-- Start seatd (e.g., `service seatd onestart`) and optionally
- prevent compositor from using SUID (e.g., `chmod u-s $(which sway)`)
-- Rebuild sysutils/seatd with SUID enabled
EOM
}
]
More information about the dev-commits-ports-all
mailing list