commit: ba313b756eb1d6903c621702778204aa515c7618
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 10 13:56:30 2016 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 13:57:49 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba313b75
net-misc/spice-gtk: Call addpredict in appropriate functions, bug #593388
Package-Manager: portage-2.2.28
net-misc/spice-gtk/spice-gtk-0.31.ebuild | 19 +++++++++++++++----
net-misc/spice-gtk/spice-gtk-0.32-r1.ebuild | 18 ++++++++++++++----
net-misc/spice-gtk/spice-gtk-0.32-r2.ebuild | 18 ++++++++++++++----
net-misc/spice-gtk/spice-gtk-9999.ebuild | 18 ++++++++++++++----
4 files changed, 57 insertions(+), 16 deletions(-)
diff --git a/net-misc/spice-gtk/spice-gtk-0.31.ebuild
b/net-misc/spice-gtk/spice-gtk-0.31.ebuild
index 3682e02..cfec48e 100644
--- a/net-misc/spice-gtk/spice-gtk-0.31.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.31.ebuild
@@ -85,10 +85,6 @@ DEPEND="${RDEPEND}
# dev-lang/vala:0.14
# dev-lang/perl
-# Prevent sandbox violations, bug #581836
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
src_prepare() {
epatch "${FILESDIR}"/${P}-x11-libs.patch
epatch_user
@@ -99,6 +95,11 @@ src_prepare() {
}
src_configure() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
local myconf
local audio="no"
@@ -148,10 +149,20 @@ src_configure() {
}
src_compile() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
multibuild_foreach_variant run_in_build_dir default
}
src_test() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
multibuild_foreach_variant run_in_build_dir default
}
diff --git a/net-misc/spice-gtk/spice-gtk-0.32-r1.ebuild
b/net-misc/spice-gtk/spice-gtk-0.32-r1.ebuild
index 0fac346..3c026b1 100644
--- a/net-misc/spice-gtk/spice-gtk-0.32-r1.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.32-r1.ebuild
@@ -75,10 +75,6 @@ DEPEND="${RDEPEND}
# dev-lang/vala:0.14
# dev-lang/perl
-# Prevent sandbox violations, bug #581836
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
src_prepare() {
epatch "${FILESDIR}"/${P}-x11-libs.patch
epatch_user
@@ -89,6 +85,11 @@ src_prepare() {
}
src_configure() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
local myconf
if use vala ; then
@@ -121,6 +122,15 @@ src_configure() {
econf ${myconf}
}
+src_compile() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
+ default
+}
+
src_install() {
default
diff --git a/net-misc/spice-gtk/spice-gtk-0.32-r2.ebuild
b/net-misc/spice-gtk/spice-gtk-0.32-r2.ebuild
index ea87c5a..7477ddf 100644
--- a/net-misc/spice-gtk/spice-gtk-0.32-r2.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.32-r2.ebuild
@@ -79,10 +79,6 @@ DEPEND="${RDEPEND}
# dev-lang/vala:0.14
# dev-lang/perl
-# Prevent sandbox violations, bug #581836
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
src_prepare() {
epatch "${FILESDIR}"/${P}-x11-libs.patch
epatch_user
@@ -93,6 +89,11 @@ src_prepare() {
}
src_configure() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
local myconf
if use vala ; then
@@ -125,6 +126,15 @@ src_configure() {
econf ${myconf}
}
+src_compile() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
+ default
+}
+
src_install() {
default
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild
b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index 0fd61c8..1770909 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -78,10 +78,6 @@ DEPEND="${RDEPEND}
# dev-lang/vala:0.14
# dev-lang/perl
-# Prevent sandbox violations, bug #581836
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
src_prepare() {
epatch_user
@@ -91,6 +87,11 @@ src_prepare() {
}
src_configure() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
local myconf
if use vala ; then
@@ -123,6 +124,15 @@ src_configure() {
econf ${myconf}
}
+src_compile() {
+ # Prevent sandbox violations, bug #581836
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
+ default
+}
+
src_install() {
default