56f48ef255
Without the explicit dependency to `polkit-elogind` the packages `polkit` and `polkit-libs` are installed. This however prevents starting `sway`. Below is the error message from the `tinydm` log: ``` 00:00:00.028 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:310] Could not activate session: Interactive authentication required. 00:00:00.028 [ERROR] [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat 00:00:00.028 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented 00:00:00.028 [ERROR] [wlr] [backend/session/session.c:218] Failed to load session backend 00:00:00.028 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session 00:00:00.028 [ERROR] [sway/server.c:53] Unable to create backend ``` Signed-off-by: Paul Spooren <mail@aparcar.org>
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
# Reference: https://postmarketos.org/uipkg
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
pkgname=postmarketos-ui-sway
|
|
pkgver=3
|
|
pkgrel=3
|
|
pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)"
|
|
url="https://postmarketos.org"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
subpackages="$pkgname-logo-key-alt:logo_key_alt"
|
|
depends="
|
|
dnsmasq
|
|
elogind
|
|
networkmanager
|
|
polkit-elogind
|
|
postmarketos-base-ui
|
|
pulseaudio
|
|
sway
|
|
tinydm
|
|
tinydm-openrc
|
|
"
|
|
_pmb_recommends="
|
|
dmenu
|
|
foot
|
|
postmarketos-artwork-wallpapers
|
|
swayidle
|
|
swaylock
|
|
xwayland
|
|
"
|
|
_pmb_groups="
|
|
seat
|
|
"
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
|
source="
|
|
etc-sway-config
|
|
etc-sway-config.d-00-logo-key.conf
|
|
"
|
|
options="!check pmb:gpu-accel" # no testsuite
|
|
replaces="sway"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/etc-sway-config \
|
|
"$pkgdir"/etc/sway/config
|
|
}
|
|
|
|
logo_key_alt() {
|
|
install -Dm644 "$srcdir"/etc-sway-config.d-00-logo-key.conf \
|
|
"$subpkgdir"/etc/sway/config.d/00-logo-key.conf
|
|
}
|
|
|
|
sha512sums="
|
|
07d8d0f93e6437b62299baf472242adfb84502420659a6fc3f1bea2e5f64556b409552ee35de1ef1a0806653fdfc504bb222ed3ef488a25fd589f9a4bc734ce9 etc-sway-config
|
|
889f10fb247396a11375057f7e81eae0f0b21ec90cd47964e02ba24fc0f6db8bb7678545e3272149535cf0bb6a2019456cc59d06a9564ce4a1797bb434013b78 etc-sway-config.d-00-logo-key.conf
|
|
"
|