[arch-commits] Commit in sway/trunk (PKGBUILD sway.install)
Brett Cornwall
ainola at gemini.archlinux.org
Wed May 11 05:24:43 UTC 2022
Date: Wednesday, May 11, 2022 @ 05:24:43
Author: ainola
Revision: 1198280
Replace polkit with seatd dependency
Since seatd has become a requirement for sway's logind support, we can leverage
this package to also obtain elevated system privileges instead of polkit.
Note that using seatd instead of polkit means that a user must be a part of the
"seat" group: Otherwise, the user will not be able to achieve the appropriate
privileged actions.
Also remove a few unnecessary extra packages from the optdepends to give polkit
a bit more visibility.
Added:
sway/trunk/sway.install
Modified:
sway/trunk/PKGBUILD
--------------+
PKGBUILD | 9 ++++-----
sway.install | 13 +++++++++++++
2 files changed, 17 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-11 05:18:14 UTC (rev 1198279)
+++ PKGBUILD 2022-05-11 05:24:43 UTC (rev 1198280)
@@ -5,7 +5,7 @@
pkgname=sway
pkgver=1.7
epoch=1
-pkgrel=2
+pkgrel=3
pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
arch=(x86_64)
url='https://swaywm.org/'
@@ -15,7 +15,7 @@
'gdk-pixbuf2'
'json-c'
'pango'
- 'polkit'
+ 'seatd'
'pcre'
'swaybg'
'ttf-font'
@@ -25,13 +25,12 @@
backup=(etc/sway/config)
optdepends=(
'dmenu: Application launcher'
- 'grim: Screenshot utility'
'i3status: Status line'
+ 'foot: Terminal emulator used in the default configuration'
'mako: Lightweight notification daemon'
- 'slurp: Select a region'
+ 'polkit: System privilege control. Required if not using seatd service'
'swayidle: Idle management daemon'
'swaylock: Screen locker'
- 'wallutils: Timed wallpapers'
'waybar: Highly customizable bar'
'xorg-xwayland: X11 support'
)
Added: sway.install
===================================================================
--- sway.install (rev 0)
+++ sway.install 2022-05-11 05:24:43 UTC (rev 1198280)
@@ -0,0 +1,13 @@
+post_upgrade() {
+cat << EOD
+Sway's necessary privileges can now be obtained through seatd as well as the
+incumbent polkit package. As such, polkit has been relegated to an optional
+dependency.
+
+Note that using seatd instead of polkit means that a user must be a part of the
+"seat" group: Otherwise, the user will not be able to achieve the appropriate
+privileged actions.
+
+For more information, refer to the Sway wiki page.
+EOD
+}
More information about the arch-commits
mailing list