Re: GConf+DBus in jhbuild
- From: Murray Cumming <murrayc murrayc com>
- To: Ray Strode <halfline gmail com>
- Cc: gconf-list <gconf-list gnome org>
- Subject: Re: GConf+DBus in jhbuild
- Date: Wed, 09 Jul 2008 08:44:25 +0200
On Mon, 2008-06-30 at 13:13 -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/
>
> Just so I understand, you are
>
> 1) logging in with a gnome 2.22 desktop
Yes. In Ubuntu Hardy.
> 2) typing jhbuild shell
Yes.
> 3) trying to run gnome 2.24 programs from the shell and getting errors
>
> Is that correct?
Yes.
> What error messages are you getting?
For instance, gedit says:
"
An error occurred while loading or saving configuration information for
Text Editor. Some of your configuration settings may not work properly.
"
Pressing the Details button gives me this repeated several times:
"
Failed to contact configuration server; some possible causes are that
you need to enable TCP/IP networking for ORBit, or you have stale NFS
locks due to a system crash. See http://www.gnome.org/projects/gconf/
for information. (Details - 1: Could not send message to gconf daemon:
The name org.gnome.GConf was not provided by any .service files)
"
I now have this on my laptop as well as my desktop PC so I really think
it must be a common problem. My .jhbuildrc (attached) is very standard,
I believe.
ps shows that the jhbuild gconfd-2 is running :
murrayc murrayc-x61:~$ ps -ef | grep "gconfd"
murrayc 5755 1 0 08:36 ?
00:00:00 /usr/lib/libgconf2-4/gconfd-2 4
murrayc 6962 6482 0 08:43 pts/0 00:00:00 grep gconfd
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
# -*- mode: python -*-
# edit this file to match your settings and copy it to ~/.jhbuildrc
# if you have a cvs account, uncomment this line
#repos['gnome.org'] = 'svn+ssh://murrayc svn gnome org/svn'
repos['svn.gnome.org'] = 'svn+ssh://murrayc svn gnome org/svn/'
repos['svn.gnomemm'] = 'svn+ssh://murrayc svn gnome org/svn/gnomemm/'
repos['gstreamer.net'] = ':ext:murrayc cvs sourceforge net:/cvsroot/gstreamer'
repos['bakery.sf.net'] = ':ext:murrayc cvs sourceforge net:/cvsroot/bakery'
repos['libxmlplusplus.sf.net'] = ':ext:murrayc cvs sourceforge net:/cvsroot/libxmlplusplus'
repos['regexxer.sf.net'] = ':ext:murrayc cvs sourceforge net:/cvsroot/regexxer'
repos['dbus.freedesktop.org'] = ':ext:murrayc cvs freedesktop org:/cvs/dbus'
repos['cairo.freedesktop.org'] = ':ext:murrayc cvs freedesktop org:/cvs/cairo'
repos['svn.gna.org'] = 'svn+ssh://murrayc svn gna org/svn/'
# what module set should be used. The default at the moment is 'gnome26',
# but it can be any of the files in the modulesets directory, or even
# the URL of a module set file on a web server.
moduleset = 'gnome-2.24'
# A list of the modules to build. Defaults to the Gnome Desktop and
# developer platform.
modules = [ 'meta-gnome-desktop' ]
# what directory should the source be checked out to?
checkoutroot = os.path.join(os.environ['HOME'], 'checkouts', 'gnome224')
# the prefix to configure/install modules to (must have write access)
prefix = '/opt/gnome224'
# if you do not want to use system-installed libraries for your builds, comment
# out the lines below
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'lib', 'pkgconfig'))
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))
# extra arguments to pass to all autogen.sh scripts
# to speed up builds of gnome2, try '--disable-static --disable-gtk-doc'
#autogenargs=''
# On SMP systems you may use something like this to improve compilation time:
# be aware that not all modules compile correctly with make -j2
#make_args = '-j2'
# set CFLAGS:
os.environ['CFLAGS'] = '-g '
# a alternative install program to use.
# The included install-check program won't update timestamps if the
# header hasn't changed
os.environ['INSTALL'] = os.path.expanduser('~/bin/install-check')
#module_autogenargs['howl'] = autogenargs.replace('--disable-static', '')
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]