From ee7a7952979f7d899e75673b24833da2667c98c6 Mon Sep 17 00:00:00 2001 From: David McKinney Date: Thu, 8 Nov 2018 22:53:05 -0500 Subject: [PATCH] Added polkit-gnome to provide a polkit auth agent for Sway --- meta-citadel/recipes-citadel/packagegroups/packagegroup-sway.bb | 1 + meta-citadel/recipes-sway/sway/files/config | 1 + meta-gnome/recipes-freedesktop/polkit/polkit-gnome_0.105.bb | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-citadel/recipes-citadel/packagegroups/packagegroup-sway.bb b/meta-citadel/recipes-citadel/packagegroups/packagegroup-sway.bb index b21cf6e..94333c9 100644 --- a/meta-citadel/recipes-citadel/packagegroups/packagegroup-sway.bb +++ b/meta-citadel/recipes-citadel/packagegroups/packagegroup-sway.bb @@ -10,5 +10,6 @@ RDEPENDS_${PN} = "\ rofi \ grim \ slurp \ + polkit-gnome \ " diff --git a/meta-citadel/recipes-sway/sway/files/config b/meta-citadel/recipes-sway/sway/files/config index 620a9a8..e38efa3 100644 --- a/meta-citadel/recipes-sway/sway/files/config +++ b/meta-citadel/recipes-sway/sway/files/config @@ -228,6 +228,7 @@ smart_gaps on # # Startup Commands: # +exec /usr/libexec/polkit-gnome-authentication-agent-1 exec systemctl --user restart pulseaudio.service exec /usr/bin/start-pulseaudio-x11 exec /usr/libexec/gsd-power diff --git a/meta-gnome/recipes-freedesktop/polkit/polkit-gnome_0.105.bb b/meta-gnome/recipes-freedesktop/polkit/polkit-gnome_0.105.bb index 8e99731..a23180c 100644 --- a/meta-gnome/recipes-freedesktop/polkit/polkit-gnome_0.105.bb +++ b/meta-gnome/recipes-freedesktop/polkit/polkit-gnome_0.105.bb @@ -17,7 +17,7 @@ EXTRA_OECONF = "\ --disable-static \ " -DEPENDS += "gtk+3" +DEPENDS += "gtk+3 glib-2.0-native" inherit autotools gtk-doc pkgconfig