commit: b25d9e9322b63018bccc65165b30b9ae57628a89
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 10 13:51:14 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=b25d9e93
app-emulation/spice: Call addpredict in appropriate function, bug #593388
Package-Manager: portage-2.2.28
app-emulation/spice/spice-0.12.7-r1.ebuild | 18 ++++++++++++++----
app-emulation/spice/spice-0.13.1-r2.ebuild | 18 ++++++++++++++----
app-emulation/spice/spice-0.13.2.ebuild | 18 ++++++++++++++----
app-emulation/spice/spice-9999.ebuild | 18 ++++++++++++++----
4 files changed, 56 insertions(+), 16 deletions(-)
diff --git a/app-emulation/spice/spice-0.12.7-r1.ebuild
b/app-emulation/spice/spice-0.12.7-r1.ebuild
index cecdd6e..568e3cc 100644
--- a/app-emulation/spice/spice-0.12.7-r1.ebuild
+++ b/app-emulation/spice/spice-0.12.7-r1.ebuild
@@ -39,10 +39,6 @@ DEPEND="
smartcard? ( app-emulation/qemu[smartcard] )
${RDEPEND}"
-# Prevent sandbox violations, bug #586560
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
python_check_deps() {
has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
has_version "dev-python/six[${PYTHON_USEDEP}]"
@@ -67,6 +63,11 @@ src_prepare() {
}
src_configure() {
+ # Prevent sandbox violations, bug #586560
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
econf \
$(use_enable static-libs static) \
$(use_with sasl) \
@@ -74,6 +75,15 @@ src_configure() {
--disable-gui
}
+src_compile() {
+ # Prevent sandbox violations, bug #586560
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
+ default
+}
+
src_install() {
default
use static-libs || prune_libtool_files
diff --git a/app-emulation/spice/spice-0.13.1-r2.ebuild
b/app-emulation/spice/spice-0.13.1-r2.ebuild
index 80cf44a..0a94378 100644
--- a/app-emulation/spice/spice-0.13.1-r2.ebuild
+++ b/app-emulation/spice/spice-0.13.1-r2.ebuild
@@ -41,10 +41,6 @@ DEPEND="
smartcard? ( app-emulation/qemu[smartcard] )
${RDEPEND}"
-# Prevent sandbox violations, bug #586560
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
python_check_deps() {
has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
has_version "dev-python/six[${PYTHON_USEDEP}]"
@@ -68,6 +64,11 @@ src_prepare() {
}
src_configure() {
+ # Prevent sandbox violations, bug #586560
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
econf \
$(use_enable static-libs static) \
$(use_enable lz4) \
@@ -76,6 +77,15 @@ src_configure() {
--disable-gui
}
+src_compile() {
+ # Prevent sandbox violations, bug #586560
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
+ default
+}
+
src_install() {
default
use static-libs || prune_libtool_files
diff --git a/app-emulation/spice/spice-0.13.2.ebuild
b/app-emulation/spice/spice-0.13.2.ebuild
index 0b41187..6c589d9 100644
--- a/app-emulation/spice/spice-0.13.2.ebuild
+++ b/app-emulation/spice/spice-0.13.2.ebuild
@@ -42,10 +42,6 @@ DEPEND="
smartcard? ( app-emulation/qemu[smartcard] )
${RDEPEND}"
-# Prevent sandbox violations, bug #586560
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
python_check_deps() {
has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
has_version "dev-python/six[${PYTHON_USEDEP}]"
@@ -58,6 +54,11 @@ pkg_setup() {
# maintainer notes:
# * opengl support is currently broken
src_configure() {
+ # Prevent sandbox violations, bug #586560
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
local myconf="
$(use_enable static-libs static)
$(use_enable lz4)
@@ -70,6 +71,15 @@ src_configure() {
econf ${myconf}
}
+src_compile() {
+ # Prevent sandbox violations, bug #586560
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
+ default
+}
+
src_install() {
default
use static-libs || prune_libtool_files
diff --git a/app-emulation/spice/spice-9999.ebuild
b/app-emulation/spice/spice-9999.ebuild
index a5f3f7f..03da5f1 100644
--- a/app-emulation/spice/spice-9999.ebuild
+++ b/app-emulation/spice/spice-9999.ebuild
@@ -42,10 +42,6 @@ DEPEND="
smartcard? ( app-emulation/qemu[smartcard] )
${RDEPEND}"
-# Prevent sandbox violations, bug #586560
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
python_check_deps() {
has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
has_version "dev-python/six[${PYTHON_USEDEP}]"
@@ -61,6 +57,11 @@ src_prepare() {
}
src_configure() {
+ # Prevent sandbox violations, bug #586560
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
local myconf="
$(use_enable static-libs static)
$(use_enable lz4)
@@ -73,6 +74,15 @@ src_configure() {
econf ${myconf}
}
+src_compile() {
+ # Prevent sandbox violations, bug #586560
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ addpredict /dev
+
+ default
+}
+
src_install() {
default
use static-libs || prune_libtool_files