From 3a5fc14368622495bc47c49bbece2c9b6941b306 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Sun, 4 Oct 2020 18:19:13 +0300 Subject: [PATCH] app-emulation/spice-vdagent: remove consolekit support Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Mikle Kolyada --- app-emulation/spice-vdagent/metadata.xml | 3 --- app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild | 7 ++----- app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild | 7 ++----- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/app-emulation/spice-vdagent/metadata.xml b/app-emulation/spice-vdagent/metadata.xml index 9099ec28e6d3e..121cd46cb5e1c 100644 --- a/app-emulation/spice-vdagent/metadata.xml +++ b/app-emulation/spice-vdagent/metadata.xml @@ -5,7 +5,4 @@ virtualization@gentoo.org Gentoo Virtualization Project - - Use sys-auth/consolekit to determine the master vdagentd in case of multiple running vdagentds (highly recommended) - diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild b/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild index 2f8904baec3ad..81ddd00bd633b 100644 --- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild +++ b/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 x86" -IUSE="consolekit gtk selinux systemd" +IUSE="gtk selinux systemd" CDEPEND=" dev-libs/glib:2 @@ -24,7 +24,6 @@ CDEPEND=" x11-libs/libXrandr x11-libs/libX11 x11-libs/libXinerama - consolekit? ( sys-auth/consolekit sys-apps/dbus ) gtk? ( x11-libs/gtk+:3 ) systemd? ( sys-apps/systemd )" DEPEND="${CDEPEND} @@ -38,9 +37,7 @@ ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is r src_configure() { local opt=() - if use consolekit; then - opt+=( --with-session-info=console-kit ) - elif use systemd; then + if use systemd; then opt+=( --with-session-info=systemd ) else opt+=( --with-session-info=none ) diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild b/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild index 2cac3817d7671..3365574e5bb45 100644 --- a/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild +++ b/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="consolekit gtk selinux systemd" +IUSE="gtk selinux systemd" CDEPEND=" dev-libs/glib:2 @@ -24,7 +24,6 @@ CDEPEND=" x11-libs/libXrandr x11-libs/libX11 x11-libs/libXinerama - consolekit? ( sys-auth/consolekit sys-apps/dbus ) gtk? ( x11-libs/gtk+:3 ) systemd? ( sys-apps/systemd )" DEPEND="${CDEPEND} @@ -38,9 +37,7 @@ ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is r src_configure() { local opt=() - if use consolekit; then - opt+=( --with-session-info=console-kit ) - elif use systemd; then + if use systemd; then opt+=( --with-session-info=systemd ) else opt+=( --with-session-info=none )