View | Details | Raw Unified | Return to bug 258664 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/seatd/Makefile (+1 lines)
Lines 1-5 Link Here
1
PORTNAME=	seatd
1
PORTNAME=	seatd
2
DISTVERSION=	0.6.2
2
DISTVERSION=	0.6.2
3
PORTREVISION=	1
3
CATEGORIES=	sysutils
4
CATEGORIES=	sysutils
4
MASTER_SITES=	https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
5
MASTER_SITES=	https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
5
6
(-)b/sysutils/seatd/pkg-message (+34 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
If LIBSEAT_BACKEND is set, the specified backend is used.
5
Otherwise, the first successful backend will be used.
6
Available backends are: seatd, consolekit2.
7
8
The default "seatd" backend requires user to have "video"
9
group set, if not then add the user to "video" and relog:
10
11
# pw groupmod video -m user
12
13
Wlroots based Wayland compositors (e.g. x11-wm/sway)
14
can be launched via seatd-launch(1) dedicated server instance:
15
16
$ seatd-launch sway
17
18
Alternatively, daemon server can be used:
19
# service seatd onestart
20
# sysrc seatd_enable="YES"
21
$ sway
22
23
seatd-launch(1) drops {G,U}ID of instance from
24
root to user's, compared to daemon launched via rc(8).
25
26
Experimental consolekit2 backend can also be used:
27
28
# pkg install consolekit2
29
# service dbus onestart
30
# sysrc dbus_enable="YES"
31
$ ck-launch-session sway
32
EOM
33
}
34
]
(-)b/x11/dmenu-wayland/files/patch-dmenu__path.c (-1 / +14 lines)
Added Link Here
0
- 
1
--- dmenu_path.c.orig	2019-06-25 12:55:46 UTC
2
+++ dmenu_path.c
3
@@ -19,8 +19,9 @@ static const char *home, *path;
4
 
5
 int
6
 main(void) {
7
-	if(!(home = getenv("HOME")))
8
-		die("no $HOME");
9
+	if(!(home = getenv("XDG_CACHE_HOME")))
10
+		if(!(home = getenv("HOME")))
11
+			die("no $XDG_CACHE_HOME or $HOME");
12
 	if(!(path = getenv("PATH")))
13
 		die("no $PATH");
14
 	if(chdir(home) < 0)

Return to bug 258664