Skip to content

Commit

Permalink
net-misc/spice-gtk: Call addpredict in appropriate functions, bug #59…
Browse files Browse the repository at this point in the history
…3388

Package-Manager: portage-2.2.28
  • Loading branch information
tamiko committed Sep 10, 2016
1 parent b25d9e9 commit ba313b7
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 16 deletions.
19 changes: 15 additions & 4 deletions net-misc/spice-gtk/spice-gtk-0.31.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

Expand Down Expand Up @@ -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
}

Expand Down
18 changes: 14 additions & 4 deletions net-misc/spice-gtk/spice-gtk-0.32-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down
18 changes: 14 additions & 4 deletions net-misc/spice-gtk/spice-gtk-0.32-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down
18 changes: 14 additions & 4 deletions net-misc/spice-gtk/spice-gtk-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ba313b7

Please sign in to comment.