Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: eclass/
Date: Fri, 25 Feb 2011 23:35:04
Message-Id: 8a28f2cbf3ca8e52a456d49989f9d1449dd459a5.nirbheek@gentoo
1 commit: 8a28f2cbf3ca8e52a456d49989f9d1449dd459a5
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 25 22:33:14 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 25 22:33:14 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=8a28f2cb
7
8 eclass/{gnome2,gnome2-live}: unset DBUS_SESSION_BUS_ADDRESS
9
10 ---
11 eclass/gnome2-live.eclass | 5 +++++
12 eclass/gnome2.eclass | 5 +++++
13 2 files changed, 10 insertions(+), 0 deletions(-)
14
15 diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass
16 index f119624..03654ae 100644
17 --- a/eclass/gnome2-live.eclass
18 +++ b/eclass/gnome2-live.eclass
19 @@ -121,6 +121,11 @@ gnome2-live_src_prepare() {
20 ln -sf $(type -P true) py-compile
21
22 ### Keep this in-sync with gnome2.eclass!
23 +
24 + # Don't use the session bus address inherited via the environment
25 + # causes test and introspection-building failures
26 + unset DBUS_SESSION_BUS_ADDRESS
27 +
28 # Prevent scrollkeeper access violations
29 gnome2_omf_fix
30
31
32 diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
33 index a335698..192fc16 100644
34 --- a/eclass/gnome2.eclass
35 +++ b/eclass/gnome2.eclass
36 @@ -55,6 +55,10 @@ gnome2_src_unpack() {
37 }
38
39 gnome2_src_prepare() {
40 + # Don't use the session bus address inherited via the environment
41 + # causes test and introspection-building failures
42 + unset DBUS_SESSION_BUS_ADDRESS
43 +
44 # Prevent scrollkeeper access violations
45 gnome2_omf_fix
46
47 @@ -63,6 +67,7 @@ gnome2_src_prepare() {
48 }
49
50 gnome2_src_configure() {
51 + einfo dbus:$DBUS_SESSION_BUS_ADDRESS
52 # Update the GNOME configuration options
53 if [[ ${GCONF_DEBUG} != 'no' ]] ; then
54 if use debug ; then