Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-video/totem/
Date: Sun, 08 Apr 2012 16:06:44
Message-Id: 1333901072.2c3a968d90674165c8b874b65e59d1604dd947e1.tetromino@gentoo
1 commit: 2c3a968d90674165c8b874b65e59d1604dd947e1
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 8 16:04:32 2012 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Sun Apr 8 16:04:32 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=2c3a968d
7
8 media-video/totem: fix sandbox violations
9
10 When FEATURES=-userpriv, gst-inspect-0.10 (run by configure) causes
11 sandbox violations, see bug #358755 comment #14 by Priit Laes. Work
12 around the problem by passing a dummy DISPLAY value to configure.
13
14 ---
15 media-video/totem/totem-3.4.0.ebuild | 5 ++++-
16 media-video/totem/totem-9999.ebuild | 5 ++++-
17 2 files changed, 8 insertions(+), 2 deletions(-)
18
19 diff --git a/media-video/totem/totem-3.4.0.ebuild b/media-video/totem/totem-3.4.0.ebuild
20 index b954542..f7847bb 100644
21 --- a/media-video/totem/totem-3.4.0.ebuild
22 +++ b/media-video/totem/totem-3.4.0.ebuild
23 @@ -127,7 +127,10 @@ pkg_setup() {
24 $(use_enable python introspection)
25 $(use_enable vala)
26 VALAC=$(type -P valac-0.14)
27 - BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins"
28 + BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins
29 + DISPLAY=999invalid"
30 + # Fake DISPLAY to work around sandbox violations when FEATURES=-userpriv
31 + # caused by gst-inspect-0.10 (bug #385917)
32
33 if ! use test; then
34 # pylint is checked unconditionally, but is only used for make check
35
36 diff --git a/media-video/totem/totem-9999.ebuild b/media-video/totem/totem-9999.ebuild
37 index b954542..f7847bb 100644
38 --- a/media-video/totem/totem-9999.ebuild
39 +++ b/media-video/totem/totem-9999.ebuild
40 @@ -127,7 +127,10 @@ pkg_setup() {
41 $(use_enable python introspection)
42 $(use_enable vala)
43 VALAC=$(type -P valac-0.14)
44 - BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins"
45 + BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins
46 + DISPLAY=999invalid"
47 + # Fake DISPLAY to work around sandbox violations when FEATURES=-userpriv
48 + # caused by gst-inspect-0.10 (bug #385917)
49
50 if ! use test; then
51 # pylint is checked unconditionally, but is only used for make check