Skip to content

Commit

Permalink
gui-wm/sway: allow seatd for tray
Browse files Browse the repository at this point in the history
ConsoleKit2 has gone, removing useless message

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <[email protected]>
Signed-off-by: Matthew Thode <[email protected]>
  • Loading branch information
vaukai authored and prometheanfire committed Jan 24, 2021
1 parent 73dc90f commit d39be1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions gui-wm/sway/sway-1.5.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down Expand Up @@ -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"
Expand Down
7 changes: 2 additions & 5 deletions gui-wm/sway/sway-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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=
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit d39be1d

Please sign in to comment.