Re: GConf+DBus in jhbuild



On Wed, 2008-06-25 at 23:55 -0400, Ray Strode wrote:
> Hi,
> 
> On Tue, Jun 24, 2008 at 10:14 AM, Murray Cumming <murrayc murrayc com> wrote:
> > Apparently GConf has switcged to using D-Bus, which explains why I'm
> > getting errors from applications running in "jhbuild shell".
> >
> > Is there a simple way to make my jhbuild environment use the D-Bus and
> > associated service files from my jhbuild-built /opt/gnome prefix? I
> > imagine that it would be difficult given that old versions of D-Bus (and
> > GConf) are already running from the regular prefix.
> Does your dbus session.conf have
> 
>  <standard_session_servicedirs />

Yes, I have that in both
  /etc/dbus-1/session.conf
and
  /opt/gnome220/etc/dbus-1/session.conf
(actually a gnome2.23 build)

> in it?  If so, then it should look in $XDG_DATA_DIRS/dbus-1/services.
> XDG_DATA_DIRS should already be set up to include /opt/gnome/share

Yes, it seems to be correct in jhbuild:

murrayc murrayc-desktop:~$ echo $XDG_DATA_DIRS
/usr/local/share/:/usr/share/:/usr/share/gdm/

murrayc murrayc-desktop:~$ jhbuild shell
murrayc murrayc-desktop:~$ echo $XDG_DATA_DIRS
/opt/gnome220/share:/usr/local/share/:/usr/share/:/usr/share/gdm/

> Basically, I'm confused why this isn't working for you out of the box.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]