commit:     d39be1dc0062c06bd320cfe2647ef3f519987cbf
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Dec 23 17:44:58 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 22:57:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d39be1dc

gui-wm/sway: allow seatd for tray

ConsoleKit2 has gone, removing useless message

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 gui-wm/sway/sway-1.5.1-r1.ebuild | 5 +----
 gui-wm/sway/sway-9999.ebuild     | 7 ++-----
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/gui-wm/sway/sway-1.5.1-r1.ebuild b/gui-wm/sway/sway-1.5.1-r1.ebuild
index f9c1308658c..65d335449a1 100644
--- a/gui-wm/sway/sway-1.5.1-r1.ebuild
+++ b/gui-wm/sway/sway-1.5.1-r1.ebuild
@@ -22,7 +22,7 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock 
+swaymsg +swaynag seatd systemd tray wallpapers X zsh-completion"
 REQUIRED_USE="?? ( elogind systemd )
-       tray? ( || ( elogind systemd ) )"
+       tray? ( || ( elogind seatd systemd ) )"
 
 DEPEND="
        >=dev-libs/json-c-0.13:0=
@@ -106,9 +106,6 @@ pkg_preinst() {
 
 pkg_postinst() {
        if ! use systemd && ! use elogind && ! use seatd; then
-               elog ""
-               elog "If you use ConsoleKit2, remember to launch sway using:"
-               elog "exec ck-launch-session sway"
                elog ""
                elog "If your system does not set the XDG_RUNTIME_DIR 
environment"
                elog "variable, you must set it manually to run Sway. See wiki"

diff --git a/gui-wm/sway/sway-9999.ebuild b/gui-wm/sway/sway-9999.ebuild
index 1d2aa6e981d..ab7eac10f1b 100644
--- a/gui-wm/sway/sway-9999.ebuild
+++ b/gui-wm/sway/sway-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock 
+swaymsg +swaynag seatd systemd tray wallpapers X zsh-completion"
 REQUIRED_USE="?? ( elogind systemd )
-       tray? ( || ( elogind systemd ) )"
+       tray? ( || ( elogind seatd systemd ) )"
 
 DEPEND="
        >=dev-libs/json-c-0.13:0=
@@ -106,9 +106,6 @@ pkg_preinst() {
 
 pkg_postinst() {
        if ! use systemd && ! use elogind && ! use seatd; then
-               elog ""
-               elog "If you use ConsoleKit2, remember to launch sway using:"
-               elog "exec ck-launch-session sway"
                elog ""
                elog "If your system does not set the XDG_RUNTIME_DIR 
environment"
                elog "variable, you must set it manually to run Sway. See wiki"

Reply via email to