[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2023-09-28 Thread WANG Xuerui
commit: ebf7e3a5e779cae726d26b5136c3c4efe4ce708b
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Sep 28 10:49:39 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Sep 28 10:49:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf7e3a5

app-emulation/spice-vdagent: keyword 0.22.1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
index a53a0f00c60d..c58c80ea1479 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~loong x86"
 IUSE="gtk selinux systemd"
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2023-06-17 Thread Matthias Maier
commit: 606a92e1d12c8a98d5b1ec0f773948cf66d2f4b8
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 02:17:40 2023 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 02:18:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=606a92e1

app-emulation/spice-vdagent: also call udev_reload in pkg_postrm()

Closes: https://bugs.gentoo.org/851645
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
index 36be63a656d9..a53a0f00c60d 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -67,3 +67,7 @@ pkg_postinst() {
udev_reload
tmpfiles_process spice-vdagentd.conf
 }
+
+pkg_postrm() {
+   udev_reload
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2023-06-17 Thread Matthias Maier
commit: ae2e20389d4bae50fcad0996e6dc6ff2496cc95a
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 02:07:38 2023 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 02:07:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae2e2038

app-emulation/spice-vdagent: drop 0.19.0-r1, 0.21.0

Bug: https://bugs.gentoo.org/753956
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/Manifest   |  2 -
 .../spice-vdagent/spice-vdagent-0.19.0-r1.ebuild   | 63 
 .../spice-vdagent/spice-vdagent-0.21.0.ebuild  | 67 --
 3 files changed, 132 deletions(-)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 1ef47e9cd14d..49738685af14 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,3 +1 @@
-DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B 
b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f
 SHA512 
f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d
-DIST spice-vdagent-0.21.0.tar.bz2 164103 BLAKE2B 
298122b334f880ffb8d77d3a7d822b70debce56d62bc3004bbac37445f10236a47706d23501ee3f82520c45b65deec12c9578cf4a8b9ac138df8b1c0b8cdb784
 SHA512 
1ff1a89e75301b1c2c89f26ba4bce8d4df29bbff6387ade128ce847ca30162a2bc731c70c10a8d129518e64bbca6b8271fd11ff3e340899182a65a5295051bff
 DIST spice-vdagent-0.22.1.tar.bz2 165560 BLAKE2B 
4fd4318592d20d305d515c65d7491b90ac79bcc7f5bdfafd9df7858bdce24aa57c79f2121bbf9cbadec8e6297890f4b8598b9abcadcce5a9f39712b96deaa396
 SHA512 
5a4d2661145f33a0583880a128d925b15ca5aec05df83271c80f8baa0fcdd28fab0242301bc38443ccddf70fbdcfd76b5d30bb5a6b4b7c895c3cea0eb38bdf92

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
deleted file mode 100644
index 749e2012d13c..
--- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="https://www.spice-space.org/;
-SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gtk selinux systemd"
-
-CDEPEND="
-   dev-libs/glib:2
-   >=app-emulation/spice-protocol-0.14.0
-   media-libs/alsa-lib
-   sys-apps/dbus
-   >=x11-libs/libpciaccess-0.10
-   x11-libs/libdrm
-   x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   gtk? ( x11-libs/gtk+:3 )
-   systemd? ( sys-apps/systemd )"
-DEPEND="${CDEPEND}
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-vdagent )"
-
-CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
-ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
-ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
-
-src_configure() {
-   local opt=()
-   if use systemd; then
-   opt+=( --with-session-info=systemd )
-   else
-   opt+=( --with-session-info=none )
-   fi
-
-   econf \
-   --with-init-script=systemd \
-   --localstatedir="${EPREFIX}"/var \
-   $(use_with gtk) \
-   "${opt[@]}"
-}
-
-src_install() {
-   default
-
-   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
-
-   keepdir /var/log/spice-vdagentd
-
-   newinitd "${FILESDIR}/${PN}.initd-4" "${PN}"
-   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
-}

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
deleted file mode 100644
index 4bce7514acb3..
--- a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info tmpfiles
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="https://www.spice-space.org/;
-SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gtk selinux systemd"
-
-CDEPEND="
-   dev-libs/glib:2
-   >=app-emulation/spice-protocol-0.14.0
-   media-libs/alsa-lib
-   sys-apps/dbus
-   >=x11-libs/libpciaccess-0.10
-   x11-libs/libdrm
-   x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   gtk? ( x11-libs/gtk+:3 )
-   systemd? ( sys-apps/systemd )"
-DEPEND="${CDEPEND}
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-   selinux? ( 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2023-03-04 Thread Joonas Niilola
commit: a83c15e74a8dcc347832c9b1b3ff9cc026f9a7ba
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Mar  4 08:39:11 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar  4 08:39:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a83c15e7

app-emulation/spice-vdagent: add missing xorg-proto dep to 0.22.1

Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
index ca8a9336470f..36be63a656d9 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 ~arm64 x86"
 IUSE="gtk selinux systemd"
 
-DEPEND="
+COMMON_DEPEND="
dev-libs/glib:2
>=app-emulation/spice-protocol-0.14.0
media-libs/alsa-lib
@@ -27,7 +27,9 @@ DEPEND="
x11-libs/libXinerama
gtk? ( x11-libs/gtk+:3 )
systemd? ( sys-apps/systemd )"
-RDEPEND="${DEPEND}
+DEPEND="${COMMON_DEPEND}
+   x11-base/xorg-proto"
+RDEPEND="${COMMON_DEPEND}
selinux? ( sec-policy/selinux-vdagent )"
 BDEPEND="virtual/pkgconfig"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2023-03-04 Thread Joonas Niilola
commit: 69b1a519c506f505d91e0ab73f71d02ed5c598c2
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Mar  4 08:37:56 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar  4 08:39:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69b1a519

app-emulation/spice-vdagent: Stabilize 0.22.1 amd64, #899234

Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
index c7951fa824e9..ca8a9336470f 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="gtk selinux systemd"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2023-03-03 Thread Arthur Zamarin
commit: 720907834b563dbb51b3479d00b623394afa1a40
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 05:38:33 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 05:38:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72090783

app-emulation/spice-vdagent: Stabilize 0.22.1 x86, #899234

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
index 6b3fd1e10224..c7951fa824e9 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 x86"
 IUSE="gtk selinux systemd"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2022-06-24 Thread Arthur Zamarin
commit: 0608845ee466b0b6f26ae585901a7db930e2822c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun 24 09:17:18 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun 24 09:17:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0608845e

app-emulation/spice-vdagent: Keyword 0.22.1 arm64, #850982

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
index 9290aa9102f0..6b3fd1e10224 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gtk selinux systemd"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2022-06-12 Thread Joonas Niilola
commit: 5aa8200307a611ef387b5dcba17668c6d4fc878b
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jun 12 07:48:29 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jun 12 08:03:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa82003

app-emulation/spice-vdagent: call udev_reload in 0.22.1

Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
index b2d7e17450a7..9290aa9102f0 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit linux-info tmpfiles
+inherit linux-info tmpfiles udev
 
 DESCRIPTION="SPICE VD Linux Guest Agent"
 HOMEPAGE="https://www.spice-space.org/;
@@ -62,5 +62,6 @@ src_install() {
 }
 
 pkg_postinst() {
+   udev_reload
tmpfiles_process spice-vdagentd.conf
 }



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2022-06-12 Thread Joonas Niilola
commit: af09b34456a840e5dc0eaa5b867fdd5da2b67b18
Author: Thamognya <98194153+ThamognyaKodi  users  noreply  
github  com>
AuthorDate: Sat Mar 19 14:33:46 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jun 12 08:03:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af09b344

app-emulation/spice-vdagent:Bump to version 0.22.1

Signed-off-by: Thamognya Kodi  thamognya.com>
Closes: https://github.com/gentoo/gentoo/pull/24664
Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/spice-vdagent/Manifest   |  1 +
 .../spice-vdagent/spice-vdagent-0.22.1.ebuild  | 66 ++
 2 files changed, 67 insertions(+)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 75945c04abed..1ef47e9cd14d 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,2 +1,3 @@
 DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B 
b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f
 SHA512 
f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d
 DIST spice-vdagent-0.21.0.tar.bz2 164103 BLAKE2B 
298122b334f880ffb8d77d3a7d822b70debce56d62bc3004bbac37445f10236a47706d23501ee3f82520c45b65deec12c9578cf4a8b9ac138df8b1c0b8cdb784
 SHA512 
1ff1a89e75301b1c2c89f26ba4bce8d4df29bbff6387ade128ce847ca30162a2bc731c70c10a8d129518e64bbca6b8271fd11ff3e340899182a65a5295051bff
+DIST spice-vdagent-0.22.1.tar.bz2 165560 BLAKE2B 
4fd4318592d20d305d515c65d7491b90ac79bcc7f5bdfafd9df7858bdce24aa57c79f2121bbf9cbadec8e6297890f4b8598b9abcadcce5a9f39712b96deaa396
 SHA512 
5a4d2661145f33a0583880a128d925b15ca5aec05df83271c80f8baa0fcdd28fab0242301bc38443ccddf70fbdcfd76b5d30bb5a6b4b7c895c3cea0eb38bdf92

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
new file mode 100644
index ..b2d7e17450a7
--- /dev/null
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info tmpfiles
+
+DESCRIPTION="SPICE VD Linux Guest Agent"
+HOMEPAGE="https://www.spice-space.org/;
+SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk selinux systemd"
+
+DEPEND="
+   dev-libs/glib:2
+   >=app-emulation/spice-protocol-0.14.0
+   media-libs/alsa-lib
+   sys-apps/dbus
+   x11-libs/libdrm
+   >=x11-libs/libpciaccess-0.10
+   x11-libs/libXfixes
+   x11-libs/libXrandr
+   x11-libs/libX11
+   x11-libs/libXinerama
+   gtk? ( x11-libs/gtk+:3 )
+   systemd? ( sys-apps/systemd )"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-vdagent )"
+BDEPEND="virtual/pkgconfig"
+
+CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
+ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
+ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
+
+src_configure() {
+   local opt=()
+   if use systemd; then
+   opt+=( --with-session-info=systemd )
+   else
+   opt+=( --with-session-info=none )
+   fi
+
+   econf \
+   --with-init-script=systemd \
+   --localstatedir="${EPREFIX}"/var \
+   $(use_with gtk) \
+   "${opt[@]}"
+}
+
+src_install() {
+   default
+
+   rmdir "${ED}"/var/run/spice-vdagentd || die
+
+   keepdir /var/log/spice-vdagentd
+
+   newinitd "${FILESDIR}/${PN}.initd-4" "${PN}"
+   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
+}
+
+pkg_postinst() {
+   tmpfiles_process spice-vdagentd.conf
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2022-03-09 Thread Sam James
commit: 789a69fcd39f5c9c0c610135020ece182edc0044
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar  9 23:08:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  9 23:08:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789a69fc

app-emulation/spice-vdagent: fix UnusedInherits (autotools)

Signed-off-by: Sam James  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild | 2 +-
 app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 3b41e383c1e3..749e2012d13c 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
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools linux-info
+inherit linux-info
 
 DESCRIPTION="SPICE VD Linux Guest Agent"
 HOMEPAGE="https://www.spice-space.org/;

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
index 82338855429c..4bce7514acb3 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools linux-info tmpfiles
+inherit linux-info tmpfiles
 
 DESCRIPTION="SPICE VD Linux Guest Agent"
 HOMEPAGE="https://www.spice-space.org/;



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2022-01-06 Thread Joonas Niilola
commit: bfc495b6c28a43ceffe46bd2148a8f06d8192db9
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Jan  6 14:01:02 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jan  6 14:01:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc495b6

app-emulation/spice-vdagent: stabilize 0.21.0 for amd64

Bug: https://bugs.gentoo.org/830685
Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
index b89e3c97edde..e65d0074747e 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="gtk selinux systemd"
 
 CDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2022-01-06 Thread Joonas Niilola
commit: 613910835f47f6e8a5db142cf08e7b3446baf6ab
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Jan  6 14:02:34 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jan  6 14:02:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61391083

app-emulation/spice-vdagent: stabilize 0.21.0 for x86

Bug: https://bugs.gentoo.org/830685
Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
index e65d0074747e..82338855429c 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="gtk selinux systemd"
 
 CDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2022-01-06 Thread Joonas Niilola
commit: d1f8a56312669b4ea2d61311f5c44d50956cdae1
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Jan  6 13:06:00 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jan  6 13:38:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f8a563

app-emulation/spice-vdagent: add missing deps for dbus

Closes: https://bugs.gentoo.org/712884
Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild | 3 ++-
 app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild| 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

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 81ddd00bd633..3b41e383c1e3 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
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,6 +18,7 @@ CDEPEND="
dev-libs/glib:2
>=app-emulation/spice-protocol-0.14.0
media-libs/alsa-lib
+   sys-apps/dbus
>=x11-libs/libpciaccess-0.10
x11-libs/libdrm
x11-libs/libXfixes

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
index ead55ae36cb2..b89e3c97edde 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,6 +18,7 @@ CDEPEND="
dev-libs/glib:2
>=app-emulation/spice-protocol-0.14.0
media-libs/alsa-lib
+   sys-apps/dbus
>=x11-libs/libpciaccess-0.10
x11-libs/libdrm
x11-libs/libXfixes



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2021-09-26 Thread Conrad Kostecki
commit: b69cb7d63273d3d806472bde8a99ff93b1de9464
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Sep 26 18:10:41 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Sep 26 19:36:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b69cb7d6

app-emulation/spice-vdagent: fix tmpfiles

Closes: https://bugs.gentoo.org/813810
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
index ea8f4936384..ead55ae36cb 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools linux-info
+inherit autotools linux-info tmpfiles
 
 DESCRIPTION="SPICE VD Linux Guest Agent"
 HOMEPAGE="https://www.spice-space.org/;
@@ -60,3 +60,7 @@ src_install() {
newinitd "${FILESDIR}/${PN}.initd-4" "${PN}"
newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
 }
+
+pkg_postinst() {
+   tmpfiles_process spice-vdagentd.conf
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2021-04-12 Thread Sam James
commit: ac2d1c9307a6b2082cb8de3880084295adfe8364
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 12 16:03:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 12 16:03:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac2d1c93

app-emulation/spice-vdagent: Revert "Stabilize 0.21.0 amd64, #753956"

Apologies - my script chucked this into the 'success' bin after I killed the
test for hanging. Investigating.

(I am not aware of any actual runtime issues with this package, but we should
do this to be safe.)

This reverts commit 5c1fa98b7829ef8086092975d491c53c70cc14e7.

Bug: https://bugs.gentoo.org/753956
Signed-off-by: Sam James  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
index 8d228a8f9fa..ea8f4936384 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="gtk selinux systemd"
 
 CDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2021-04-04 Thread Matthias Maier
commit: 1201373dd0a53e02ba2fa762386adc1c25417ed1
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Apr  4 18:33:11 2021 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Apr  4 18:35:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1201373d

app-emulation/spice-vdagent: version bump to 0.21.0

Fixes for
  CVE-2020-25650
  CVE-2020-25651
  CVE-2020-25652
  CVE-2020-25653

Bug: https://bugs.gentoo.org/753956
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/Manifest   |  1 +
 .../spice-vdagent/spice-vdagent-0.21.0.ebuild  | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index d62998b6b3a..9eb41619dd8 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,2 +1,3 @@
 DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B 
b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f
 SHA512 
f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d
 DIST spice-vdagent-0.20.0.tar.bz2 152510 BLAKE2B 
b00caadab385f4208bd18b78a006831953f99387e55fd86226efffdf537426627f02bb46708173b700eecd21f598a0db94f454c5252b0f4bfb93c30b39d69d16
 SHA512 
a6288e056645c071834f9ce5800669cb64e0f86a5efeb8eec61ac1e11f1fd56f7da8ea19b28a94c88741d794a0290fac9bcf74d45bcef271c2c5abfb2573a8e1
+DIST spice-vdagent-0.21.0.tar.bz2 164103 BLAKE2B 
298122b334f880ffb8d77d3a7d822b70debce56d62bc3004bbac37445f10236a47706d23501ee3f82520c45b65deec12c9578cf4a8b9ac138df8b1c0b8cdb784
 SHA512 
1ff1a89e75301b1c2c89f26ba4bce8d4df29bbff6387ade128ce847ca30162a2bc731c70c10a8d129518e64bbca6b8271fd11ff3e340899182a65a5295051bff

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
new file mode 100644
index 000..ea8f4936384
--- /dev/null
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools linux-info
+
+DESCRIPTION="SPICE VD Linux Guest Agent"
+HOMEPAGE="https://www.spice-space.org/;
+SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk selinux systemd"
+
+CDEPEND="
+   dev-libs/glib:2
+   >=app-emulation/spice-protocol-0.14.0
+   media-libs/alsa-lib
+   >=x11-libs/libpciaccess-0.10
+   x11-libs/libdrm
+   x11-libs/libXfixes
+   x11-libs/libXrandr
+   x11-libs/libX11
+   x11-libs/libXinerama
+   gtk? ( x11-libs/gtk+:3 )
+   systemd? ( sys-apps/systemd )"
+DEPEND="${CDEPEND}
+   virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+   selinux? ( sec-policy/selinux-vdagent )"
+
+CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
+ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
+ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
+
+src_configure() {
+   local opt=()
+   if use systemd; then
+   opt+=( --with-session-info=systemd )
+   else
+   opt+=( --with-session-info=none )
+   fi
+
+   econf \
+   --with-init-script=systemd \
+   --localstatedir="${EPREFIX}"/var \
+   $(use_with gtk) \
+   "${opt[@]}"
+}
+
+src_install() {
+   default
+
+   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
+
+   keepdir /var/log/spice-vdagentd
+
+   newinitd "${FILESDIR}/${PN}.initd-4" "${PN}"
+   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2021-04-04 Thread Matthias Maier
commit: 6317607037454a8d45565920954e1811c1f39f11
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Apr  4 18:35:00 2021 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Apr  4 18:35:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63176070

app-emulation/spice-vdagent: drop vulnerable

Bug: https://bugs.gentoo.org/753956
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/Manifest   |  1 -
 .../spice-vdagent/spice-vdagent-0.20.0.ebuild  | 62 --
 2 files changed, 63 deletions(-)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 9eb41619dd8..75945c04abe 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,3 +1,2 @@
 DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B 
b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f
 SHA512 
f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d
-DIST spice-vdagent-0.20.0.tar.bz2 152510 BLAKE2B 
b00caadab385f4208bd18b78a006831953f99387e55fd86226efffdf537426627f02bb46708173b700eecd21f598a0db94f454c5252b0f4bfb93c30b39d69d16
 SHA512 
a6288e056645c071834f9ce5800669cb64e0f86a5efeb8eec61ac1e11f1fd56f7da8ea19b28a94c88741d794a0290fac9bcf74d45bcef271c2c5abfb2573a8e1
 DIST spice-vdagent-0.21.0.tar.bz2 164103 BLAKE2B 
298122b334f880ffb8d77d3a7d822b70debce56d62bc3004bbac37445f10236a47706d23501ee3f82520c45b65deec12c9578cf4a8b9ac138df8b1c0b8cdb784
 SHA512 
1ff1a89e75301b1c2c89f26ba4bce8d4df29bbff6387ade128ce847ca30162a2bc731c70c10a8d129518e64bbca6b8271fd11ff3e340899182a65a5295051bff

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild
deleted file mode 100644
index 3365574e5bb..000
--- a/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools linux-info
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="https://www.spice-space.org/;
-SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gtk selinux systemd"
-
-CDEPEND="
-   dev-libs/glib:2
-   >=app-emulation/spice-protocol-0.14.0
-   media-libs/alsa-lib
-   >=x11-libs/libpciaccess-0.10
-   x11-libs/libdrm
-   x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   gtk? ( x11-libs/gtk+:3 )
-   systemd? ( sys-apps/systemd )"
-DEPEND="${CDEPEND}
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-vdagent )"
-
-CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
-ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
-ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
-
-src_configure() {
-   local opt=()
-   if use systemd; then
-   opt+=( --with-session-info=systemd )
-   else
-   opt+=( --with-session-info=none )
-   fi
-
-   econf \
-   --with-init-script=systemd \
-   --localstatedir="${EPREFIX}"/var \
-   $(use_with gtk) \
-   "${opt[@]}"
-}
-
-src_install() {
-   default
-
-   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
-
-   keepdir /var/log/spice-vdagentd
-
-   newinitd "${FILESDIR}/${PN}.initd-4" "${PN}"
-   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2020-10-04 Thread Mikle Kolyada
commit: 3a5fc14368622495bc47c49bbece2c9b6941b306
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct  4 15:19:13 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct  4 15:19:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a5fc143

app-emulation/spice-vdagent: remove consolekit support

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Mikle Kolyada  gentoo.org>

 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 9099ec28e6d..121cd46cb5e 100644
--- a/app-emulation/spice-vdagent/metadata.xml
+++ b/app-emulation/spice-vdagent/metadata.xml
@@ -5,7 +5,4 @@
virtualizat...@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 2f8904baec3..81ddd00bd63 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 2cac3817d76..3365574e5bb 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 )



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/files/

2020-06-11 Thread Aaron Bauman
commit: 52dc19140bb3d60c42bfc59025979217a38bc691
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue Jun  9 18:25:22 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Jun 11 22:41:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52dc1914

app-emulation/spice-vdagent: remove unused file

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16146
Signed-off-by: Aaron Bauman  gentoo.org>

 .../spice-vdagent/files/spice-vdagent.initd-3  | 60 --
 1 file changed, 60 deletions(-)

diff --git a/app-emulation/spice-vdagent/files/spice-vdagent.initd-3 
b/app-emulation/spice-vdagent/files/spice-vdagent.initd-3
deleted file mode 100644
index 255051192b1..000
--- a/app-emulation/spice-vdagent/files/spice-vdagent.initd-3
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-after dbus
-}
-
-PIDFILE="/var/run/spice-vdagentd/spice-vdagentd.pid"
-
-start() {
-PORT="${PORT:-/dev/virtio-ports/com.redhat.spice.0}"
-DEVICE="${DEVICE:-/dev/uinput}"
-
-ebegin "Checking for required modules and devices"
-
-if [ ! -d /sys/module/uinput ]; then
-modprobe -q uinput
-fi
-
-if [ ! -d /sys/module/uinput ]; then
-eerror "Module 'uinput' not loaded or not enabled in the kernel"
-eend 1
-return 1
-fi
-
-if [ ! -c "${PORT}" ] ; then
-eerror "Required virtio port does not exist. Make sure you"
-eerror "started the virtual machine with appropriate parameters."
-eend 1
-return 1
-fi
-eend 0
-
-if [ ! -c ${DEVICE} -a -c /dev/input/uinput ]; then
-DEVICE=/dev/input/uinput
-fi
-
-# recreate the directory since /var/run may reside on a ramdisk
-mkdir -p /var/run/spice-vdagentd
-
-# cleanup stalled socket
-rm -f /var/run/spice-vdagentd/spice-vdagent-sock
-
-ebegin "Starting spice VD agent daemon"
-start-stop-daemon \
---start \
---pidfile "${PIDFILE}" \
---exec /usr/sbin/spice-vdagentd \
--- -u "${DEVICE}" ${SPICE_VDAGENT_ARGS}
-eend $?
-}
-
-stop() {
-ebegin "Stopping spice VD agent daemon"
-start-stop-daemon \
---stop \
---pidfile "${PIDFILE}"
-eend $?
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2020-04-18 Thread Matthias Maier
commit: 1e3a1a4cfe75c4ae3f5b158a2ec3b79f03f0eed1
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Apr 18 19:04:58 2020 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Apr 18 19:04:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3a1a4c

app-emulation/spice-vdagent: glorious version bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/Manifest   |  1 +
 .../spice-vdagent/spice-vdagent-0.20.0.ebuild  | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 648624b8dad..d62998b6b3a 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1 +1,2 @@
 DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B 
b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f
 SHA512 
f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d
+DIST spice-vdagent-0.20.0.tar.bz2 152510 BLAKE2B 
b00caadab385f4208bd18b78a006831953f99387e55fd86226efffdf537426627f02bb46708173b700eecd21f598a0db94f454c5252b0f4bfb93c30b39d69d16
 SHA512 
a6288e056645c071834f9ce5800669cb64e0f86a5efeb8eec61ac1e11f1fd56f7da8ea19b28a94c88741d794a0290fac9bcf74d45bcef271c2c5abfb2573a8e1

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild
new file mode 100644
index 000..2cac3817d76
--- /dev/null
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools linux-info
+
+DESCRIPTION="SPICE VD Linux Guest Agent"
+HOMEPAGE="https://www.spice-space.org/;
+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"
+
+CDEPEND="
+   dev-libs/glib:2
+   >=app-emulation/spice-protocol-0.14.0
+   media-libs/alsa-lib
+   >=x11-libs/libpciaccess-0.10
+   x11-libs/libdrm
+   x11-libs/libXfixes
+   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}
+   virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+   selinux? ( sec-policy/selinux-vdagent )"
+
+CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
+ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
+ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
+
+src_configure() {
+   local opt=()
+   if use consolekit; then
+   opt+=( --with-session-info=console-kit )
+   elif use systemd; then
+   opt+=( --with-session-info=systemd )
+   else
+   opt+=( --with-session-info=none )
+   fi
+
+   econf \
+   --with-init-script=systemd \
+   --localstatedir="${EPREFIX}"/var \
+   $(use_with gtk) \
+   "${opt[@]}"
+}
+
+src_install() {
+   default
+
+   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
+
+   keepdir /var/log/spice-vdagentd
+
+   newinitd "${FILESDIR}/${PN}.initd-4" "${PN}"
+   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2020-04-18 Thread Matthias Maier
commit: e1f4d2b7c82c55c991db6ff8840a382e3bad9847
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Apr 18 18:37:22 2020 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Apr 18 18:56:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f4d2b7

app-emulation/spice-vdagent: drop old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/Manifest   |  2 -
 .../spice-vdagent-0.17.0_p20180319-r1.ebuild   | 75 --
 2 files changed, 77 deletions(-)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index fd06cd9a0ba..648624b8dad 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,3 +1 @@
-DIST spice-vdagent-0.17.0-patches-20180319.tar.xz 38924 BLAKE2B 
c7c7f851d307cd7dde620278c6ea240d71f8b1f25d6367f81213c7e902d2b2c15f72c71344f965743a45b5693832a2937041ca7b5511ce1db479dafe137bc7b1
 SHA512 
8ac627f56605151aebc100a6c6d61243776662150095c768196d750929971f98f4b6d1a831cfb547d29ae8a6734795c93e51a9c4f27dcf53bd66aca6df437c51
-DIST spice-vdagent-0.17.0.tar.bz2 130413 BLAKE2B 
b2fb522f491512d94ac15fa8d253e8e682210ad40657eb9e5e40489eaab18c9f1d5ef5f97075a4389501050a758e1f56d47132de6b1c74bb153fc6b5e87a698d
 SHA512 
b26e44f6463ba70d5815956b301cc2351db22de41ed2ce8b2828d9bfa1cc581c86acd433f8f0d35d552d20f6ca140f88fa39b079ba26e9166dc07ad35bee502e
 DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B 
b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f
 SHA512 
f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d

diff --git 
a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
deleted file mode 100644
index 5a356f6ee6e..000
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info
-
-MY_P="${P/_*/}"
-PATCHSET="${P/*_p/}"
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="https://www.spice-space.org/;
-SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2
-   
https://dev.gentoo.org/~tamiko/distfiles/${MY_P}-patches-${PATCHSET}.tar.xz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="consolekit selinux systemd"
-S="${WORKDIR}/${MY_P}"
-
-CDEPEND="
-   >=app-emulation/spice-protocol-0.12.8
-   media-libs/alsa-lib
-   >=x11-libs/libpciaccess-0.10
-   x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   consolekit? ( sys-auth/consolekit sys-apps/dbus )
-   systemd? ( sys-apps/systemd )"
-DEPEND="${CDEPEND}
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-vdagent )"
-
-CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
-ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
-ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
-
-PATCHES=(
-   "${WORKDIR}"/patches
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local opt=()
-   if use consolekit; then
-   opt+=( --with-session-info=console-kit )
-   elif use systemd; then
-   opt+=( --with-session-info=systemd )
-   else
-   opt+=( --with-session-info=none )
-   fi
-
-   econf \
-   --with-init-script=systemd \
-   --localstatedir="${EPREFIX}"/var \
-   "${opt[@]}"
-}
-
-src_install() {
-   default
-
-   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
-
-   keepdir /var/log/spice-vdagentd
-
-   newinitd "${FILESDIR}/${PN}.initd-3" "${PN}"
-   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2020-03-15 Thread Agostino Sarubbo
commit: 6d9f9507ef33b3b1df42a0fe854c75fe103884ed
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Mar 15 18:40:06 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Mar 15 18:40:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9f9507

app-emulation/spice-vdagent: x86 stable wrt bug #712570

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 82577f59b2a..2f8904baec3 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
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="consolekit gtk selinux systemd"
 
 CDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2020-03-15 Thread Agostino Sarubbo
commit: f40874e6ec23c59f34325a7d4221b212ba4201f5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Mar 15 18:25:47 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Mar 15 18:25:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40874e6

app-emulation/spice-vdagent: amd64 stable wrt bug #712570

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 2cac3817d76..82577f59b2a 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
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="consolekit gtk selinux systemd"
 
 CDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2020-03-14 Thread Matthias Maier
commit: b6abe6f15c35a0e206235d295e9828a6b1b250b3
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Mar 14 20:58:26 2020 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Mar 14 20:58:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6abe6f1

app-emulation/spice-vdagent: fix dependency on glib

Closes: https://bugs.gentoo.org/698616
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

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 3610881932b..2cac3817d76 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
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="consolekit gtk selinux systemd"
 
 CDEPEND="
+   dev-libs/glib:2
>=app-emulation/spice-protocol-0.14.0
media-libs/alsa-lib
>=x11-libs/libpciaccess-0.10



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2020-03-14 Thread Matthias Maier
commit: de5a948afc2db645757f0380f46fa2e155544eac
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Mar 14 20:56:22 2020 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Mar 14 20:56:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5a948a

app-emulation/spice-vdagent: ebuild maintenance

Closes: https://bugs.gentoo.org/698408
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild | 13 ++---
 1 file changed, 2 insertions(+), 11 deletions(-)

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 de4e147bf83..3610881932b 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
@@ -1,22 +1,18 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 inherit autotools linux-info
 
-MY_P="${P/_*/}"
-PATCHSET="${P/*_p/}"
-
 DESCRIPTION="SPICE VD Linux Guest Agent"
 HOMEPAGE="https://www.spice-space.org/;
-SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2;
+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"
-S="${WORKDIR}/${MY_P}"
 
 CDEPEND="
>=app-emulation/spice-protocol-0.14.0
@@ -39,11 +35,6 @@ CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
 ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
 ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
 
-src_prepare() {
-   default
-   eautoreconf
-}
-
 src_configure() {
local opt=()
if use consolekit; then



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2019-10-15 Thread Matthias Maier
commit: 0bb32c6f2dd9b6faf2b596b77f9fb3402ce95291
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Oct 15 16:20:02 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Oct 15 16:33:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb32c6f

app-emulation/spice-vdagent: fix automagic dependency

Closes: https://bugs.gentoo.org/691028
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Matthias Maier  gentoo.org>

 .../{spice-vdagent-0.19.0.ebuild => spice-vdagent-0.19.0-r1.ebuild}   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild
similarity index 94%
rename from app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
rename to app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild
index 3948123638e..de4e147bf83 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2;
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="consolekit selinux systemd"
+IUSE="consolekit gtk selinux systemd"
 S="${WORKDIR}/${MY_P}"
 
 CDEPEND="
@@ -28,6 +28,7 @@ CDEPEND="
x11-libs/libX11
x11-libs/libXinerama
consolekit? ( sys-auth/consolekit sys-apps/dbus )
+   gtk? ( x11-libs/gtk+:3 )
systemd? ( sys-apps/systemd )"
 DEPEND="${CDEPEND}
virtual/pkgconfig"
@@ -56,6 +57,7 @@ src_configure() {
econf \
--with-init-script=systemd \
--localstatedir="${EPREFIX}"/var \
+   $(use_with gtk) \
"${opt[@]}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2019-10-15 Thread Matthias Maier
commit: 235e882ec0929250d9cd3232d48f1244333c2ec7
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Oct 15 16:10:56 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Oct 15 16:11:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235e882e

app-emulation/spice-vdagent: Do not set +consolekit

Bug: https://bugs.gentoo.org/681330
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild | 4 ++--
 app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
index 1b644dbfda1..5a356f6ee6e 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="+consolekit selinux systemd"
+IUSE="consolekit selinux systemd"
 S="${WORKDIR}/${MY_P}"
 
 CDEPEND="

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
index 30ce2ee207e..3948123638e 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2;
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+consolekit selinux systemd"
+IUSE="consolekit selinux systemd"
 S="${WORKDIR}/${MY_P}"
 
 CDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2019-09-21 Thread Matthias Maier
commit: 3137da39011d5e3ab8e6e48b5189ff038aea4602
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue Aug 13 18:05:42 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Sep 22 02:29:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3137da39

app-emulation/spice-vdagent: add missing x11-libs/libdrm dependency

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://bugs.gentoo.org/692094
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
index d62b552d79d..30ce2ee207e 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
@@ -22,6 +22,7 @@ CDEPEND="
>=app-emulation/spice-protocol-0.14.0
media-libs/alsa-lib
>=x11-libs/libpciaccess-0.10
+   x11-libs/libdrm
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libX11



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2019-07-28 Thread Matthias Maier
commit: 46f7419a65fdface0529a914199b2918c54a48ed
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jul 28 18:47:06 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Jul 28 19:37:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f7419a

app-emulation/spice-vdagent: version bump to 0.19.0

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/Manifest   |  1 +
 .../spice-vdagent/spice-vdagent-0.19.0.ebuild  | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 136c9215aac..fd06cd9a0ba 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,2 +1,3 @@
 DIST spice-vdagent-0.17.0-patches-20180319.tar.xz 38924 BLAKE2B 
c7c7f851d307cd7dde620278c6ea240d71f8b1f25d6367f81213c7e902d2b2c15f72c71344f965743a45b5693832a2937041ca7b5511ce1db479dafe137bc7b1
 SHA512 
8ac627f56605151aebc100a6c6d61243776662150095c768196d750929971f98f4b6d1a831cfb547d29ae8a6734795c93e51a9c4f27dcf53bd66aca6df437c51
 DIST spice-vdagent-0.17.0.tar.bz2 130413 BLAKE2B 
b2fb522f491512d94ac15fa8d253e8e682210ad40657eb9e5e40489eaab18c9f1d5ef5f97075a4389501050a758e1f56d47132de6b1c74bb153fc6b5e87a698d
 SHA512 
b26e44f6463ba70d5815956b301cc2351db22de41ed2ce8b2828d9bfa1cc581c86acd433f8f0d35d552d20f6ca140f88fa39b079ba26e9166dc07ad35bee502e
+DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B 
b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f
 SHA512 
f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
new file mode 100644
index 000..aad36b37b09
--- /dev/null
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools linux-info
+
+MY_P="${P/_*/}"
+PATCHSET="${P/*_p/}"
+
+DESCRIPTION="SPICE VD Linux Guest Agent"
+HOMEPAGE="https://www.spice-space.org/;
+SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+consolekit selinux systemd"
+S="${WORKDIR}/${MY_P}"
+
+CDEPEND="
+   >=app-emulation/spice-protocol-0.12.8
+   media-libs/alsa-lib
+   >=x11-libs/libpciaccess-0.10
+   x11-libs/libXfixes
+   x11-libs/libXrandr
+   x11-libs/libX11
+   x11-libs/libXinerama
+   consolekit? ( sys-auth/consolekit sys-apps/dbus )
+   systemd? ( sys-apps/systemd )"
+DEPEND="${CDEPEND}
+   virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+   selinux? ( sec-policy/selinux-vdagent )"
+
+CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
+ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
+ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local opt=()
+   if use consolekit; then
+   opt+=( --with-session-info=console-kit )
+   elif use systemd; then
+   opt+=( --with-session-info=systemd )
+   else
+   opt+=( --with-session-info=none )
+   fi
+
+   econf \
+   --with-init-script=systemd \
+   --localstatedir="${EPREFIX}"/var \
+   "${opt[@]}"
+}
+
+src_install() {
+   default
+
+   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
+
+   keepdir /var/log/spice-vdagentd
+
+   newinitd "${FILESDIR}/${PN}.initd-3" "${PN}"
+   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/files/, app-emulation/spice-vdagent/

2019-07-28 Thread Matthias Maier
commit: b3b3e1d9a13c389f17e01c78c6c1a996d08420b5
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jul 28 19:01:38 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Jul 28 19:37:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b3e1d9

app-emulation/spice-vdagent: fix init script

Closes: https://bugs.gentoo.org/670576
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Matthias Maier  gentoo.org>

 .../spice-vdagent/files/spice-vdagent.initd-4  | 60 ++
 .../spice-vdagent/spice-vdagent-0.19.0.ebuild  |  2 +-
 2 files changed, 61 insertions(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/files/spice-vdagent.initd-4 
b/app-emulation/spice-vdagent/files/spice-vdagent.initd-4
new file mode 100644
index 000..ee416dacd89
--- /dev/null
+++ b/app-emulation/spice-vdagent/files/spice-vdagent.initd-4
@@ -0,0 +1,60 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+after dbus
+}
+
+PIDFILE="/var/run/spice-vdagentd/spice-vdagentd.pid"
+
+start() {
+PORT="${PORT:-/dev/virtio-ports/com.redhat.spice.0}"
+DEVICE="${DEVICE:-/dev/uinput}"
+
+ebegin "Checking for required modules and devices"
+
+if [ ! -d /sys/module/uinput ]; then
+modprobe -q uinput
+fi
+
+if [ ! -e /dev/uinput ]; then
+eerror "Module 'uinput' not loaded or not enabled in the kernel"
+eend 1
+return 1
+fi
+
+if [ ! -c "${PORT}" ] ; then
+eerror "Required virtio port does not exist. Make sure you"
+eerror "started the virtual machine with appropriate parameters."
+eend 1
+return 1
+fi
+eend 0
+
+if [ ! -c ${DEVICE} -a -c /dev/input/uinput ]; then
+DEVICE=/dev/input/uinput
+fi
+
+# recreate the directory since /var/run may reside on a ramdisk
+mkdir -p /var/run/spice-vdagentd
+
+# cleanup stalled socket
+rm -f /var/run/spice-vdagentd/spice-vdagent-sock
+
+ebegin "Starting spice VD agent daemon"
+start-stop-daemon \
+--start \
+--pidfile "${PIDFILE}" \
+--exec /usr/sbin/spice-vdagentd \
+-- -u "${DEVICE}" ${SPICE_VDAGENT_ARGS}
+eend $?
+}
+
+stop() {
+ebegin "Stopping spice VD agent daemon"
+start-stop-daemon \
+--stop \
+--pidfile "${PIDFILE}"
+eend $?
+}

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
index 07401dc2494..d62b552d79d 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
@@ -65,6 +65,6 @@ src_install() {
 
keepdir /var/log/spice-vdagentd
 
-   newinitd "${FILESDIR}/${PN}.initd-3" "${PN}"
+   newinitd "${FILESDIR}/${PN}.initd-4" "${PN}"
newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
 }



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2019-07-28 Thread Matthias Maier
commit: c56b668fbb3ef557cf3c5fbe1056265657e156b2
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jul 28 18:52:13 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Jul 28 19:37:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c56b668f

app-emulation/spice-vdagent: fix dep

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
index aad36b37b09..07401dc2494 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.19.0.ebuild
@@ -19,7 +19,7 @@ IUSE="+consolekit selinux systemd"
 S="${WORKDIR}/${MY_P}"
 
 CDEPEND="
-   >=app-emulation/spice-protocol-0.12.8
+   >=app-emulation/spice-protocol-0.14.0
media-libs/alsa-lib
>=x11-libs/libpciaccess-0.10
x11-libs/libXfixes



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/files/

2018-05-25 Thread Aaron Bauman
commit: 2f71e22bb7a6ec4a410c5d07d03ed2dd85b324ce
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu May 24 17:43:41 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri May 25 12:42:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f71e22b

app-emulation/spice-vdagent: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/8564

 ...pice-vdagent-0.17.0-add-missing-stub-function.patch | 18 --
 1 file changed, 18 deletions(-)

diff --git 
a/app-emulation/spice-vdagent/files/spice-vdagent-0.17.0-add-missing-stub-function.patch
 
b/app-emulation/spice-vdagent/files/spice-vdagent-0.17.0-add-missing-stub-function.patch
deleted file mode 100644
index 1d68ed53565..000
--- 
a/app-emulation/spice-vdagent/files/spice-vdagent-0.17.0-add-missing-stub-function.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Add missing stub function to prevent underlinking error.
-Patch provided by Pat Erley
-See also: https://bugs.gentoo.org/show_bug.cgi?id=585994
-
 a/src/dummy-session-info.c
-+++ b/src/dummy-session-info.c
-@@ -50,6 +50,11 @@
- return FALSE;
- }
- 
-+gboolean session_info_session_is_locked(struct session_info *ck)
-+{
-+return FALSE;
-+}
-+
- gboolean session_info_is_user(struct session_info *si)
- {
- return TRUE;



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2018-05-22 Thread Aaron Bauman
commit: a7d5d482ce1df9920ce0e34e5735ba2ea88107d0
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue May 22 23:05:48 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue May 22 23:06:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7d5d482

app-emulation/spice-vdagent: drop vulnerable

Bug: https://bugs.gentoo.org/650020
Package-Manager: Portage-2.3.38, Repoman-2.3.9

 .../spice-vdagent/spice-vdagent-0.17.0.ebuild  | 63 --
 1 file changed, 63 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
deleted file mode 100644
index 92f797d2746..000
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit linux-info
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="https://www.spice-space.org/;
-SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+consolekit selinux systemd"
-
-CDEPEND="
-   >=app-emulation/spice-protocol-0.12.8
-   media-libs/alsa-lib
-   >=x11-libs/libpciaccess-0.10
-   x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   consolekit? ( sys-auth/consolekit sys-apps/dbus )
-   systemd? ( sys-apps/systemd )"
-DEPEND="${CDEPEND}
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-vdagent )"
-
-CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
-ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
-ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.17.0-add-missing-stub-function.patch )
-
-src_configure() {
-   local opt=()
-   if use consolekit; then
-   opt+=( --with-session-info=console-kit )
-   elif use systemd; then
-   opt+=( --with-session-info=systemd )
-   else
-   opt+=( --with-session-info=none )
-   fi
-
-   econf \
-   --with-init-script=systemd \
-   --localstatedir="${EPREFIX}"/var \
-   "${opt[@]}"
-}
-
-src_install() {
-   default
-
-   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
-
-   keepdir /var/log/spice-vdagentd
-
-   newinitd "${FILESDIR}/${PN}.initd-3" "${PN}"
-   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2018-03-29 Thread Thomas Deutschmann
commit: d39d24c995aaccdd0061fbe6ada8ee78b36a975f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Mar 29 15:09:08 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Mar 29 15:17:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d39d24c9

app-emulation/spice-vdagent: x86 stable (bug #650020)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
index 4a7c49b1c14..1b644dbfda1 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="+consolekit selinux systemd"
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2018-03-27 Thread Jeroen Roovers
commit: 9360f83463b8e15692865aa01c5be541bb654919
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Mar 27 07:40:02 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Mar 27 07:42:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9360f834

app-emulation/spice-vdagent: Run eautoreconf (bug #651102).

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild  | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
index 48d524aa357..4a7c49b1c14 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit linux-info
+inherit autotools linux-info
 
 MY_P="${P/_*/}"
 PATCHSET="${P/*_p/}"
@@ -40,7 +40,12 @@ ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support 
(VIRTIO_CONSOLE) is r
 
 PATCHES=(
"${WORKDIR}"/patches
-   )
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
 
 src_configure() {
local opt=()



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2018-03-27 Thread Jeroen Roovers
commit: 3c0e7d045eee5bf189a15dc33c5125524abed86c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Mar 27 07:41:33 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Mar 27 07:42:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c0e7d04

app-emulation/spice-vdagent: Installed content likely changed.

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --force

 ...t-0.17.0_p20180319.ebuild => spice-vdagent-0.17.0_p20180319-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild
similarity index 100%
rename from app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
rename to app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2018-03-19 Thread Agostino Sarubbo
commit: 6bcf352c088cdb8e44bf72d32cd33ef9a815ec25
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 19 19:49:36 2018 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 19 19:49:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bcf352c

app-emulation/spice-vdagent: amd64 stable wrt bug #650020

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="amd64"

 app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
index a7df7047bde..48d524aa357 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="+consolekit selinux systemd"
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2018-03-19 Thread Matthias Maier
commit: 2209aa7d8367d86752cd4c059b25951f4a20c597
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Mar 19 16:06:08 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Mon Mar 19 16:09:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2209aa7d

app-emulation/spice-vdagent: version bump to 0.17.0_p20180319

Bug: https://bugs.gentoo.org/650020

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/spice-vdagent/Manifest   |  1 +
 .../spice-vdagent-0.17.0_p20180319.ebuild  | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 490424d6b3b..136c9215aac 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1 +1,2 @@
+DIST spice-vdagent-0.17.0-patches-20180319.tar.xz 38924 BLAKE2B 
c7c7f851d307cd7dde620278c6ea240d71f8b1f25d6367f81213c7e902d2b2c15f72c71344f965743a45b5693832a2937041ca7b5511ce1db479dafe137bc7b1
 SHA512 
8ac627f56605151aebc100a6c6d61243776662150095c768196d750929971f98f4b6d1a831cfb547d29ae8a6734795c93e51a9c4f27dcf53bd66aca6df437c51
 DIST spice-vdagent-0.17.0.tar.bz2 130413 BLAKE2B 
b2fb522f491512d94ac15fa8d253e8e682210ad40657eb9e5e40489eaab18c9f1d5ef5f97075a4389501050a758e1f56d47132de6b1c74bb153fc6b5e87a698d
 SHA512 
b26e44f6463ba70d5815956b301cc2351db22de41ed2ce8b2828d9bfa1cc581c86acd433f8f0d35d552d20f6ca140f88fa39b079ba26e9166dc07ad35bee502e

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
new file mode 100644
index 000..a7df7047bde
--- /dev/null
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0_p20180319.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit linux-info
+
+MY_P="${P/_*/}"
+PATCHSET="${P/*_p/}"
+
+DESCRIPTION="SPICE VD Linux Guest Agent"
+HOMEPAGE="https://www.spice-space.org/;
+SRC_URI="https://www.spice-space.org/download/releases/${MY_P}.tar.bz2
+   
https://dev.gentoo.org/~tamiko/distfiles/${MY_P}-patches-${PATCHSET}.tar.xz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+consolekit selinux systemd"
+S="${WORKDIR}/${MY_P}"
+
+CDEPEND="
+   >=app-emulation/spice-protocol-0.12.8
+   media-libs/alsa-lib
+   >=x11-libs/libpciaccess-0.10
+   x11-libs/libXfixes
+   x11-libs/libXrandr
+   x11-libs/libX11
+   x11-libs/libXinerama
+   consolekit? ( sys-auth/consolekit sys-apps/dbus )
+   systemd? ( sys-apps/systemd )"
+DEPEND="${CDEPEND}
+   virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+   selinux? ( sec-policy/selinux-vdagent )"
+
+CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
+ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
+ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
+
+PATCHES=(
+   "${WORKDIR}"/patches
+   )
+
+src_configure() {
+   local opt=()
+   if use consolekit; then
+   opt+=( --with-session-info=console-kit )
+   elif use systemd; then
+   opt+=( --with-session-info=systemd )
+   else
+   opt+=( --with-session-info=none )
+   fi
+
+   econf \
+   --with-init-script=systemd \
+   --localstatedir="${EPREFIX}"/var \
+   "${opt[@]}"
+}
+
+src_install() {
+   default
+
+   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
+
+   keepdir /var/log/spice-vdagentd
+
+   newinitd "${FILESDIR}/${PN}.initd-3" "${PN}"
+   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/files/

2017-12-12 Thread Matthias Maier
commit: f098518c00c7fd57dd1e70452350525324246256
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Nov 19 12:51:03 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Dec 12 17:05:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f098518c

app-emulation/spice-vdagent: remove unused init file

Signed-off-by: Matthias Maier  gentoo.org>

 .../spice-vdagent/files/spice-vdagent.initd-2  | 60 --
 1 file changed, 60 deletions(-)

diff --git a/app-emulation/spice-vdagent/files/spice-vdagent.initd-2 
b/app-emulation/spice-vdagent/files/spice-vdagent.initd-2
deleted file mode 100644
index a3194d5c185..000
--- a/app-emulation/spice-vdagent/files/spice-vdagent.initd-2
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-after dbus
-}
-
-PIDFILE="/var/run/spice-vdagentd/spice-vdagentd.pid"
-
-start() {
-PORT="${PORT:-/dev/virtio-ports/com.redhat.spice.0}"
-DEVICE="${DEVICE:-/dev/uinput}"
-
-ebegin "Checking for required modules and devices"
-
-if [[ ! -d /sys/module/uinput ]]; then
-modprobe -q uinput
-fi
-
-if [[ ! -d /sys/module/uinput ]]; then
-eerror "Module 'uinput' not loaded or not enabled in the kernel"
-eend 1
-return 1
-fi
-
-if [[ ! -c "${PORT}" ]] ; then
-eerror "Required virtio port does not exist. Make sure you"
-eerror "started the virtual machine with appropriate parameters."
-eend 1
-return 1
-fi
-eend 0
-
-if [[ ! -c ${DEVICE} && -c /dev/input/uinput ]]; then
-DEVICE=/dev/input/uinput
-fi
-
-# recreate the directory since /var/run may reside on a ramdisk
-mkdir -p /var/run/spice-vdagentd
-
-# cleanup stalled socket
-rm -f /var/run/spice-vdagentd/spice-vdagent-sock
-
-ebegin "Starting spice VD agent daemon"
-start-stop-daemon \
---start \
---pidfile "${PIDFILE}" \
---exec /usr/sbin/spice-vdagentd \
--- -u "${DEVICE}" ${SPICE_VDAGENT_ARGS}
-eend $?
-}
-
-stop() {
-ebegin "Stopping spice VD agent daemon"
-start-stop-daemon \
---stop \
---pidfile "${PIDFILE}"
-eend $?
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2017-08-17 Thread Michał Górny
commit: e5f2c2815e3d868b6ecb0b6bc5cc08078cd12b28
Author: David Hicks  hicks  id  au>
AuthorDate: Tue Aug  1 09:48:06 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 17 17:05:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f2c281

app-emulation/spice-vdagent: use HTTPS for HOMEPAGE and SRC_URI

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
index 83d7d13a9ec..92f797d2746 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
@@ -6,8 +6,8 @@ EAPI=6
 inherit linux-info
 
 DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="http://spice-space.org/;
-SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2;
+HOMEPAGE="https://www.spice-space.org/;
+SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2017-06-14 Thread Matthias Maier
commit: 7d66b82c19e7b820fa42ae3c36e7af1a9cb4ef43
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Jun 14 14:24:03 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Wed Jun 14 14:24:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d66b82c

app-emulation/spice-vdagent: improve kernel config warning

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
index 85b4fccfc41..83d7d13a9ec 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
@@ -30,8 +30,8 @@ RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-vdagent )"
 
 CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
-ERROR_INPUT_UINPUT="User level input support is required"
-ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support is required"
+ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
+ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
 
 PATCHES=( "${FILESDIR}"/${PN}-0.17.0-add-missing-stub-function.patch )
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2017-05-11 Thread Matthias Maier
commit: df14066c86ad10908a007de3031c48003a88fbbd
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu May 11 14:20:24 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Thu May 11 14:24:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df14066c

app-emulation/spice-vdagent: drop old version 0.16

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-emulation/spice-vdagent/Manifest   |  1 -
 .../spice-vdagent/spice-vdagent-0.16.0.ebuild  | 55 --
 2 files changed, 56 deletions(-)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 92e95de62df..a6042771a39 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,2 +1 @@
-DIST spice-vdagent-0.16.0.tar.bz2 128174 SHA256 
5b951646e0bd996afda2d063e706fa2aad2655af5bdd1b6525260ab50be30f7d SHA512 
033fe60f152daceb05b51963b78daf6f757d0ad26398f47479c957c5c0f1735e26019c05ef30e485317ba75dd1a57ee1bffbab20eb2c46614d88ed7401795a97
 WHIRLPOOL 
b94a60e15eb0ea107e974ad68bd07296eec9e08840afb2e57da64b35f26a613637975791e1a615af260acf9345ec016564ab15d96a00443665b5d1880b267d71
 DIST spice-vdagent-0.17.0.tar.bz2 130413 SHA256 
f14a8bd8cdee10641aabd9ba32461a5844eab0fddb2a10c1d31386e7a9f7b33d SHA512 
b26e44f6463ba70d5815956b301cc2351db22de41ed2ce8b2828d9bfa1cc581c86acd433f8f0d35d552d20f6ca140f88fa39b079ba26e9166dc07ad35bee502e
 WHIRLPOOL 
b83d034897c0a9ebc224072214081847ab0276edde82ad0d94d107421971fe64afc03ba3f7464735911fd57cf7a05b0cfcb0ecbb32eb4d55adc8abcf23fe8d09

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild
deleted file mode 100644
index 44956db5786..000
--- a/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit linux-info
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="http://spice-space.org/;
-SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+consolekit selinux systemd"
-
-CDEPEND="media-libs/alsa-lib
-   x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   >=x11-libs/libpciaccess-0.10
-   >=app-emulation/spice-protocol-0.12.8
-   consolekit? ( sys-auth/consolekit sys-apps/dbus )
-   systemd? ( sys-apps/systemd )"
-DEPEND="virtual/pkgconfig
-   ${CDEPEND}"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-vdagent )"
-
-CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
-ERROR_INPUT_UINPUT="User level input support is required"
-ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support is required"
-
-src_configure() {
-   local opt="--with-session-info=none --with-init-script=systemd"
-
-   use systemd && opt+=" --with-session-info=systemd"
-   use consolekit && opt+=" --with-session-info=console-kit"
-
-   econf \
-   --localstatedir=/var \
-   ${opt}
-}
-
-src_install() {
-   default
-
-   rm -rf "${D}"/etc/{rc,tmpfiles}.d
-
-   keepdir /var/log/spice-vdagentd
-
-   newinitd "${FILESDIR}/${PN}.initd-2" "${PN}"
-   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2017-05-11 Thread Agostino Sarubbo
commit: 6dbec40cf6a171b7ebb902af32d5d4b0e4155154
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 11 08:37:06 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 11 08:37:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dbec40c

app-emulation/spice-vdagent: x86 stable wrt bug #616496

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
index d44ed680213..85b4fccfc41 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="+consolekit selinux systemd"
 
 CDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2017-05-11 Thread Agostino Sarubbo
commit: 2c2b81280720f4fc926c95fe51c994bdc5ee020f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 11 07:50:30 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 11 07:50:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2b8128

app-emulation/spice-vdagent: amd64 stable wrt bug #616496

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
index 066479d7080..d44ed680213 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="+consolekit selinux systemd"
 
 CDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2017-05-10 Thread Matthias Maier
commit: 0727c4b8cad3983c84f9a2766ee0e41027c44862
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu May 11 05:18:35 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Thu May 11 05:18:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0727c4b8

app-emulation/spice-vdagent: ebuild maintenance, bug #605452

  - remove obsolete rm
  - remove runtime path

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
index db875d2b9a4..066479d7080 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -54,7 +54,7 @@ src_configure() {
 src_install() {
default
 
-   rm -rf "${ED%/}"/etc/{rc,tmpfiles}.d || die
+   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
 
keepdir /var/log/spice-vdagentd
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/, app-emulation/spice-vdagent/files/

2016-12-11 Thread David Seifert
commit: dc4c700f8a4f928fc57191d2fb133709cb1436d2
Author: David Seifert  gentoo  org>
AuthorDate: Sun Dec 11 23:09:17 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Dec 11 23:20:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4c700f

app-emulation/spice-vdagent: Fix underlinking with GCC 5

Gentoo-bug: 585994
* EAPI=6
* Patch by Pat Erley

Package-Manager: portage-2.3.3

 ...-vdagent-0.17.0-add-missing-stub-function.patch | 18 
 app-emulation/spice-vdagent/metadata.xml   |  4 +--
 .../spice-vdagent/spice-vdagent-0.17.0.ebuild  | 34 +-
 3 files changed, 40 insertions(+), 16 deletions(-)

diff --git 
a/app-emulation/spice-vdagent/files/spice-vdagent-0.17.0-add-missing-stub-function.patch
 
b/app-emulation/spice-vdagent/files/spice-vdagent-0.17.0-add-missing-stub-function.patch
new file mode 100644
index ..1d68ed5
--- /dev/null
+++ 
b/app-emulation/spice-vdagent/files/spice-vdagent-0.17.0-add-missing-stub-function.patch
@@ -0,0 +1,18 @@
+Add missing stub function to prevent underlinking error.
+Patch provided by Pat Erley
+See also: https://bugs.gentoo.org/show_bug.cgi?id=585994
+
+--- a/src/dummy-session-info.c
 b/src/dummy-session-info.c
+@@ -50,6 +50,11 @@
+ return FALSE;
+ }
+ 
++gboolean session_info_session_is_locked(struct session_info *ck)
++{
++return FALSE;
++}
++
+ gboolean session_info_is_user(struct session_info *si)
+ {
+ return TRUE;

diff --git a/app-emulation/spice-vdagent/metadata.xml 
b/app-emulation/spice-vdagent/metadata.xml
index 3ba36c8..50477de 100644
--- a/app-emulation/spice-vdagent/metadata.xml
+++ b/app-emulation/spice-vdagent/metadata.xml
@@ -10,8 +10,6 @@
Gentoo Virtualization Project


-   Use sys-auth/consolekit to 
determine the
-   master vdagentd in case of multiple running vdagentds 
(highly
-   recommended)
+   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.17.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
index 07947b0..176f634 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit linux-info
 
@@ -15,17 +15,18 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+consolekit selinux systemd"
 
-CDEPEND="media-libs/alsa-lib
+CDEPEND="
+   >=app-emulation/spice-protocol-0.12.8
+   media-libs/alsa-lib
+   >=x11-libs/libpciaccess-0.10
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libX11
x11-libs/libXinerama
-   >=x11-libs/libpciaccess-0.10
-   >=app-emulation/spice-protocol-0.12.8
consolekit? ( sys-auth/consolekit sys-apps/dbus )
systemd? ( sys-apps/systemd )"
-DEPEND="virtual/pkgconfig
-   ${CDEPEND}"
+DEPEND="${CDEPEND}
+   virtual/pkgconfig"
 RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-vdagent )"
 
@@ -33,21 +34,28 @@ CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
 ERROR_INPUT_UINPUT="User level input support is required"
 ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support is required"
 
-src_configure() {
-   local opt="--with-session-info=none --with-init-script=systemd"
+PATCHES=( "${FILESDIR}"/${PN}-0.17.0-add-missing-stub-function.patch )
 
-   use systemd && opt+=" --with-session-info=systemd"
-   use consolekit && opt+=" --with-session-info=console-kit"
+src_configure() {
+   local opt=()
+   if use consolekit; then
+   opt+=( --with-session-info=console-kit )
+   elif use systemd; then
+   opt+=( --with-session-info=systemd )
+   else
+   opt+=( --with-session-info=none )
+   fi
 
econf \
-   --localstatedir=/var \
-   ${opt}
+   --with-init-script=systemd \
+   --localstatedir="${EPREFIX}"/var \
+   "${opt[@]}"
 }
 
 src_install() {
default
 
-   rm -rf "${D}"/etc/{rc,tmpfiles}.d
+   rm -rf "${ED%/}"/etc/{rc,tmpfiles}.d || die
 
keepdir /var/log/spice-vdagentd
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/files/, app-emulation/spice-vdagent/

2016-06-14 Thread Matthias Maier
commit: 8a280a29f985b5caa977ef4c7624fca8f3bdda07
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jun 14 18:45:32 2016 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Jun 14 19:02:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a280a29

app-emulation/spice-vdagent: bump to 0.17.0

Package-Manager: portage-2.2.28

 app-emulation/spice-vdagent/Manifest   |  1 +
 .../spice-vdagent/files/spice-vdagent.confd|  7 ---
 .../{spice-vdagent.initd => spice-vdagent.initd-3} | 19 ++--
 .../spice-vdagent/spice-vdagent-0.17.0.ebuild  | 56 ++
 4 files changed, 72 insertions(+), 11 deletions(-)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 628197d..92e95de 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1 +1,2 @@
 DIST spice-vdagent-0.16.0.tar.bz2 128174 SHA256 
5b951646e0bd996afda2d063e706fa2aad2655af5bdd1b6525260ab50be30f7d SHA512 
033fe60f152daceb05b51963b78daf6f757d0ad26398f47479c957c5c0f1735e26019c05ef30e485317ba75dd1a57ee1bffbab20eb2c46614d88ed7401795a97
 WHIRLPOOL 
b94a60e15eb0ea107e974ad68bd07296eec9e08840afb2e57da64b35f26a613637975791e1a615af260acf9345ec016564ab15d96a00443665b5d1880b267d71
+DIST spice-vdagent-0.17.0.tar.bz2 130413 SHA256 
f14a8bd8cdee10641aabd9ba32461a5844eab0fddb2a10c1d31386e7a9f7b33d SHA512 
b26e44f6463ba70d5815956b301cc2351db22de41ed2ce8b2828d9bfa1cc581c86acd433f8f0d35d552d20f6ca140f88fa39b079ba26e9166dc07ad35bee502e
 WHIRLPOOL 
b83d034897c0a9ebc224072214081847ab0276edde82ad0d94d107421971fe64afc03ba3f7464735911fd57cf7a05b0cfcb0ecbb32eb4d55adc8abcf23fe8d09

diff --git a/app-emulation/spice-vdagent/files/spice-vdagent.confd 
b/app-emulation/spice-vdagent/files/spice-vdagent.confd
deleted file mode 100644
index 326f894..000
--- a/app-emulation/spice-vdagent/files/spice-vdagent.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-
-# The virtual communication port provided by the hypervisor/vm
-PORT="/dev/virtio-ports/com.redhat.spice.0"
-
-# extra arguments for spice-vdagentd
-SPICE_VDAGENT_ARGS=""
-

diff --git a/app-emulation/spice-vdagent/files/spice-vdagent.initd 
b/app-emulation/spice-vdagent/files/spice-vdagent.initd-3
similarity index 71%
rename from app-emulation/spice-vdagent/files/spice-vdagent.initd
rename to app-emulation/spice-vdagent/files/spice-vdagent.initd-3
index d9ab902..02902fe 100644
--- a/app-emulation/spice-vdagent/files/spice-vdagent.initd
+++ b/app-emulation/spice-vdagent/files/spice-vdagent.initd-3
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,15 +10,22 @@ depend() {
 PIDFILE="/var/run/spice-vdagentd/spice-vdagentd.pid"
 
 start() {
+PORT="${PORT:-/dev/virtio-ports/com.redhat.spice.0}"
+DEVICE="${DEVICE:-/dev/uinput}"
+
 ebegin "Checking for required modules and devices"
 
-if [[ ! -d /sys/module/uinput ]] ; then
+if [ ! -d /sys/module/uinput ]; then
+modprobe -q uinput
+fi
+
+if [ ! -d /sys/module/uinput ]; then
 eerror "Module 'uinput' not loaded or not enabled in the kernel"
 eend 1
 return 1
 fi
 
-if [[ ! -c "${PORT}" ]] ; then
+if [ ! -c "${PORT}" ] ; then
 eerror "Required virtio port does not exist. Make sure you"
 eerror "started the virtual machine with appropriate parameters."
 eend 1
@@ -26,6 +33,10 @@ start() {
 fi
 eend 0
 
+if [ ! -c ${DEVICE} -a -c /dev/input/uinput ]; then
+DEVICE=/dev/input/uinput
+fi
+
 # recreate the directory since /var/run may reside on a ramdisk
 mkdir -p /var/run/spice-vdagentd
 
@@ -37,7 +48,7 @@ start() {
 --start \
 --pidfile "${PIDFILE}" \
 --exec /usr/sbin/spice-vdagentd \
--- ${SPICE_VDAGENT_ARGS}
+-- -u "${DEVICE}" ${SPICE_VDAGENT_ARGS}
 eend $?
 }
 

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
new file mode 100644
index 000..07947b0
--- /dev/null
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.17.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+DESCRIPTION="SPICE VD Linux Guest Agent"
+HOMEPAGE="http://spice-space.org/;
+SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+consolekit selinux systemd"
+
+CDEPEND="media-libs/alsa-lib
+   x11-libs/libXfixes
+   x11-libs/libXrandr
+   x11-libs/libX11
+   x11-libs/libXinerama
+   >=x11-libs/libpciaccess-0.10
+   >=app-emulation/spice-protocol-0.12.8
+   consolekit? ( sys-auth/consolekit sys-apps/dbus )
+   systemd? ( sys-apps/systemd )"

[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2015-11-18 Thread Matthias Maier
commit: ea6d87d63ccfc8358d7c918f8201e9e8562607d2
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Nov 18 21:00:16 2015 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Wed Nov 18 21:15:27 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea6d87d6

app-emulation/spice-vdagent: drop old versions

Package-Manager: portage-2.2.24

 app-emulation/spice-vdagent/Manifest   |  1 -
 .../spice-vdagent/spice-vdagent-0.12.0.ebuild  | 54 --
 2 files changed, 55 deletions(-)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index c81cba6..628197d 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,2 +1 @@
-DIST spice-vdagent-0.12.0.tar.bz2 114252 SHA256 
e0bee1985c2c31ccc44043ed6735304078e09e14c4f805962cf8c288fa205659 SHA512 
42c98a3cc3167884203d4d0a31562668be3df10c89eca2a9257c6de1f787b7db77f0648013f307554eb09c0bf3f0cddc8632f050c4018aef544b9c22a02b2dfe
 WHIRLPOOL 
3e00f0ac9ca66a2c6fec4307d4b6eea51fc4a266e72e6d5764e8f3fb01ab407440cabe20ee1db4d9703e5bda5d66616f71a8baa1d8d6610b0e1c75a67b3affae
 DIST spice-vdagent-0.16.0.tar.bz2 128174 SHA256 
5b951646e0bd996afda2d063e706fa2aad2655af5bdd1b6525260ab50be30f7d SHA512 
033fe60f152daceb05b51963b78daf6f757d0ad26398f47479c957c5c0f1735e26019c05ef30e485317ba75dd1a57ee1bffbab20eb2c46614d88ed7401795a97
 WHIRLPOOL 
b94a60e15eb0ea107e974ad68bd07296eec9e08840afb2e57da64b35f26a613637975791e1a615af260acf9345ec016564ab15d96a00443665b5d1880b267d71

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.12.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.12.0.ebuild
deleted file mode 100644
index ec72d12..000
--- a/app-emulation/spice-vdagent/spice-vdagent-0.12.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit linux-info
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="http://spice-space.org/;
-SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+consolekit selinux"
-
-CDEPEND="x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   >=x11-libs/libpciaccess-0.10
-   >=app-emulation/spice-protocol-0.10.1
-   consolekit? ( sys-auth/consolekit sys-apps/dbus )"
-DEPEND="virtual/pkgconfig
-   ${CDEPEND}"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-vdagent )"
-
-CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
-ERROR_INPUT_UINPUT="User level input support is required"
-ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support is required"
-
-src_configure() {
-   local opt=
-
-   use consolekit && opt="${opt} --with-session-info=console-kit"
-
-   econf \
-   --localstatedir=/var \
-   ${opt}
-}
-
-src_install() {
-   default
-
-   rm -rf "${D}"/etc/{rc,tmpfiles}.d
-
-   keepdir /var/run/spice-vdagentd
-   keepdir /var/log/spice-vdagentd
-
-   newinitd "${FILESDIR}/${PN}.initd-2" "${PN}"
-   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2015-08-22 Thread Matthias Maier
commit: 024f47dd77aeb73c7f756e72a62da748dde17309
Author: Matthias Maier tamiko AT gentoo DOT org
AuthorDate: Sat Aug 22 19:25:21 2015 +
Commit: Matthias Maier tamiko AT gentoo DOT org
CommitDate: Sat Aug 22 19:25:21 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=024f47dd

app-emulation/spice-vdagent: install unit file with USE=systemd (bug #557954)

Fix a typo that prevented installation of the systemd unit file in case of
USE=systemd

Bug: 557954

Package-Manager: portage-2.2.20.1

 app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild
index b652156..932365f 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild
@@ -36,8 +36,8 @@ ERROR_VIRTIO_CONSOLE=VirtIO console/serial device support is 
required
 src_configure() {
local opt=--with-session-info=none --with-init-script=systemd
 
-   use systemd  opt=--with-session-info=systemd
-   use consolekit  opt=${opt} --with-session-info=console-kit
+   use systemd  opt+= --with-session-info=systemd
+   use consolekit  opt+= --with-session-info=console-kit
 
econf \
--localstatedir=/var \



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2015-08-13 Thread Matthias Maier
commit: 53097b83636c12033e2eebd7260a8204bda84889
Author: Matthias Maier tamiko AT gentoo DOT org
AuthorDate: Fri Aug 14 05:17:55 2015 +
Commit: Matthias Maier tamiko AT gentoo DOT org
CommitDate: Fri Aug 14 05:24:28 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53097b83

app-emulation/spice-vdagent: version bump to 0.16.0 (bug #554320)

This version bump also addresses

 - update dependency on app-emulation/spice-protocol
 - install systemd unit files
 - support for systemd session-info support via systemd use flag, bug #485334
 - remove keepdir /var/run, bug #453042

Gentoo-Bug: 453042
Gentoo-Bug: 485334
Gentoo-Bug: 554320

Package-Manager: portage-2.2.20.1

 app-emulation/spice-vdagent/Manifest   |  1 +
 .../spice-vdagent/spice-vdagent-0.16.0.ebuild  | 56 ++
 2 files changed, 57 insertions(+)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index a89f637..56b53cb 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,3 +1,4 @@
 DIST spice-vdagent-0.10.1.tar.bz2 107250 SHA256 
cea0db6f2def79a96876d0921f2a6234875797c68a8143d24cf9af8cc01361db SHA512 
b7a42af7fd1d15dcfd618be34b99c73fa2d07105e37236a5a8c2a0b70d7d112de9e99200257ae746f60de583735681ce7c1437445921f6b8a877c7a9b2083afe
 WHIRLPOOL 
83f3f6b2501966a0a5b053547759fd8a131d3e6a795f008c21f0a11794fd6ae7e30800328189e4dead11c19ae2a0a08a35ff192011622ca2fa8eac204711d035
 DIST spice-vdagent-0.12.0.tar.bz2 114252 SHA256 
e0bee1985c2c31ccc44043ed6735304078e09e14c4f805962cf8c288fa205659 SHA512 
42c98a3cc3167884203d4d0a31562668be3df10c89eca2a9257c6de1f787b7db77f0648013f307554eb09c0bf3f0cddc8632f050c4018aef544b9c22a02b2dfe
 WHIRLPOOL 
3e00f0ac9ca66a2c6fec4307d4b6eea51fc4a266e72e6d5764e8f3fb01ab407440cabe20ee1db4d9703e5bda5d66616f71a8baa1d8d6610b0e1c75a67b3affae
+DIST spice-vdagent-0.16.0.tar.bz2 128174 SHA256 
5b951646e0bd996afda2d063e706fa2aad2655af5bdd1b6525260ab50be30f7d SHA512 
033fe60f152daceb05b51963b78daf6f757d0ad26398f47479c957c5c0f1735e26019c05ef30e485317ba75dd1a57ee1bffbab20eb2c46614d88ed7401795a97
 WHIRLPOOL 
b94a60e15eb0ea107e974ad68bd07296eec9e08840afb2e57da64b35f26a613637975791e1a615af260acf9345ec016564ab15d96a00443665b5d1880b267d71
 DIST spice-vdagent-0.8.1.tar.bz2 98437 SHA256 
99ec232805a6201da78d409e6f874ff0aa6bb25e7ffe623aa77752539ae7d7ff SHA512 
45c2b94dc66dd2061b57cfe90d7b900fd095fa067c6bca560ecc300979953e8c37b63e8cbdb4683275a1cc084512aa97e1125bbb17e39a6966387e4f1be2c178
 WHIRLPOOL 
1cfeabc97f4c1fd9e42a9ad849916f04d9f4f640a586158c3d8b2ab3b9449f6e1cf8acba196a9e684a1499404747971fa82ad922bd50e87c257526d67468a85f

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild
new file mode 100644
index 000..b652156
--- /dev/null
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.16.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+DESCRIPTION=SPICE VD Linux Guest Agent
+HOMEPAGE=http://spice-space.org/;
+SRC_URI=http://spice-space.org/download/releases/${P}.tar.bz2;
+
+LICENSE=LGPL-2.1
+SLOT=0
+KEYWORDS=~amd64 ~x86
+IUSE=+consolekit selinux systemd
+
+CDEPEND=media-libs/alsa-lib
+   x11-libs/libXfixes
+   x11-libs/libXrandr
+   x11-libs/libX11
+   x11-libs/libXinerama
+   =x11-libs/libpciaccess-0.10
+   =app-emulation/spice-protocol-0.12.8
+   consolekit? ( sys-auth/consolekit sys-apps/dbus )
+   systemd? ( sys-apps/systemd )
+DEPEND=virtual/pkgconfig
+   ${CDEPEND}
+RDEPEND=${CDEPEND}
+   selinux? ( sec-policy/selinux-vdagent )
+
+CONFIG_CHECK=~INPUT_UINPUT ~VIRTIO_CONSOLE
+ERROR_INPUT_UINPUT=User level input support is required
+ERROR_VIRTIO_CONSOLE=VirtIO console/serial device support is required
+
+src_configure() {
+   local opt=--with-session-info=none --with-init-script=systemd
+
+   use systemd  opt=--with-session-info=systemd
+   use consolekit  opt=${opt} --with-session-info=console-kit
+
+   econf \
+   --localstatedir=/var \
+   ${opt}
+}
+
+src_install() {
+   default
+
+   rm -rf ${D}/etc/{rc,tmpfiles}.d
+
+   keepdir /var/log/spice-vdagentd
+
+   newinitd ${FILESDIR}/${PN}.initd-2 ${PN}
+   newconfd ${FILESDIR}/${PN}.confd-2 ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2015-08-13 Thread Matthias Maier
commit: 7ad33220c0d8ee793f4206920a97f9c89515c70a
Author: Matthias Maier tamiko AT gentoo DOT org
AuthorDate: Fri Aug 14 05:18:32 2015 +
Commit: Matthias Maier tamiko AT gentoo DOT org
CommitDate: Fri Aug 14 05:24:29 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad33220

app-emulation/spice-vdagent: drop old versions 0.8.1-r1, 0.10.1

Package-Manager: portage-2.2.20.1

 app-emulation/spice-vdagent/Manifest   |  2 -
 .../spice-vdagent/spice-vdagent-0.10.1.ebuild  | 54 --
 .../spice-vdagent/spice-vdagent-0.8.1-r1.ebuild| 52 -
 3 files changed, 108 deletions(-)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 56b53cb..c81cba6 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,4 +1,2 @@
-DIST spice-vdagent-0.10.1.tar.bz2 107250 SHA256 
cea0db6f2def79a96876d0921f2a6234875797c68a8143d24cf9af8cc01361db SHA512 
b7a42af7fd1d15dcfd618be34b99c73fa2d07105e37236a5a8c2a0b70d7d112de9e99200257ae746f60de583735681ce7c1437445921f6b8a877c7a9b2083afe
 WHIRLPOOL 
83f3f6b2501966a0a5b053547759fd8a131d3e6a795f008c21f0a11794fd6ae7e30800328189e4dead11c19ae2a0a08a35ff192011622ca2fa8eac204711d035
 DIST spice-vdagent-0.12.0.tar.bz2 114252 SHA256 
e0bee1985c2c31ccc44043ed6735304078e09e14c4f805962cf8c288fa205659 SHA512 
42c98a3cc3167884203d4d0a31562668be3df10c89eca2a9257c6de1f787b7db77f0648013f307554eb09c0bf3f0cddc8632f050c4018aef544b9c22a02b2dfe
 WHIRLPOOL 
3e00f0ac9ca66a2c6fec4307d4b6eea51fc4a266e72e6d5764e8f3fb01ab407440cabe20ee1db4d9703e5bda5d66616f71a8baa1d8d6610b0e1c75a67b3affae
 DIST spice-vdagent-0.16.0.tar.bz2 128174 SHA256 
5b951646e0bd996afda2d063e706fa2aad2655af5bdd1b6525260ab50be30f7d SHA512 
033fe60f152daceb05b51963b78daf6f757d0ad26398f47479c957c5c0f1735e26019c05ef30e485317ba75dd1a57ee1bffbab20eb2c46614d88ed7401795a97
 WHIRLPOOL 
b94a60e15eb0ea107e974ad68bd07296eec9e08840afb2e57da64b35f26a613637975791e1a615af260acf9345ec016564ab15d96a00443665b5d1880b267d71
-DIST spice-vdagent-0.8.1.tar.bz2 98437 SHA256 
99ec232805a6201da78d409e6f874ff0aa6bb25e7ffe623aa77752539ae7d7ff SHA512 
45c2b94dc66dd2061b57cfe90d7b900fd095fa067c6bca560ecc300979953e8c37b63e8cbdb4683275a1cc084512aa97e1125bbb17e39a6966387e4f1be2c178
 WHIRLPOOL 
1cfeabc97f4c1fd9e42a9ad849916f04d9f4f640a586158c3d8b2ab3b9449f6e1cf8acba196a9e684a1499404747971fa82ad922bd50e87c257526d67468a85f

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.10.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.10.1.ebuild
deleted file mode 100644
index ec72d12..000
--- a/app-emulation/spice-vdagent/spice-vdagent-0.10.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit linux-info
-
-DESCRIPTION=SPICE VD Linux Guest Agent
-HOMEPAGE=http://spice-space.org/;
-SRC_URI=http://spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE=LGPL-2.1
-SLOT=0
-KEYWORDS=~amd64 ~x86
-IUSE=+consolekit selinux
-
-CDEPEND=x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   =x11-libs/libpciaccess-0.10
-   =app-emulation/spice-protocol-0.10.1
-   consolekit? ( sys-auth/consolekit sys-apps/dbus )
-DEPEND=virtual/pkgconfig
-   ${CDEPEND}
-RDEPEND=${CDEPEND}
-   selinux? ( sec-policy/selinux-vdagent )
-
-CONFIG_CHECK=~INPUT_UINPUT ~VIRTIO_CONSOLE
-ERROR_INPUT_UINPUT=User level input support is required
-ERROR_VIRTIO_CONSOLE=VirtIO console/serial device support is required
-
-src_configure() {
-   local opt=
-
-   use consolekit  opt=${opt} --with-session-info=console-kit
-
-   econf \
-   --localstatedir=/var \
-   ${opt}
-}
-
-src_install() {
-   default
-
-   rm -rf ${D}/etc/{rc,tmpfiles}.d
-
-   keepdir /var/run/spice-vdagentd
-   keepdir /var/log/spice-vdagentd
-
-   newinitd ${FILESDIR}/${PN}.initd-2 ${PN}
-   newconfd ${FILESDIR}/${PN}.confd-2 ${PN}
-}

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.8.1-r1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.8.1-r1.ebuild
deleted file mode 100644
index 231b56c..000
--- a/app-emulation/spice-vdagent/spice-vdagent-0.8.1-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit linux-info
-
-DESCRIPTION=SPICE VD Linux Guest Agent
-HOMEPAGE=http://spice-space.org/;
-SRC_URI=http://spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE=LGPL-2.1
-SLOT=0
-KEYWORDS=~amd64
-IUSE=+consolekit selinux
-
-CDEPEND=x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   =app-emulation/spice-protocol-0.8.1
-   consolekit? ( sys-auth/consolekit sys-apps/dbus )
-DEPEND=virtual/pkgconfig
-   ${CDEPEND}
-RDEPEND=${CDEPEND}
-   selinux? (