Re: GConf+DBus in jhbuild
Murray Cumming <[email protected]> Wed, 09 Jul 2008 08:44:25 +0200
| Newsgroups | gmane.comp.gnome.lib.gconf |
|---|---|
| Message-ID | <1215585865.6514.5.camel@murrayc-x61> |
On Mon, 2008-06-30 at 13:13 -0400, Ray Strode wrote: > Hi, > > >> On Tue, Jun 24, 2008 at 10:14 AM, Murray Cumming <[email protected]> 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 [email protected] www.murrayc.com www.openismus.com _______________________________________________ gconf-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gconf-list
.jhbuildrc
(text/plain, 2.3 KB)
# -*- 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://[email protected]/svn' repos['svn.gnome.org'] = 'svn+ssh://[email protected]/svn/' repos['svn.gnomemm'] = 'svn+ssh://[email protected]/svn/gnomemm/' repos['gstreamer.net'] = ':ext:[email protected]:/cvsroot/gstreamer' repos['bakery.sf.net'] = ':ext:[email protected]:/cvsroot/bakery' repos['libxmlplusplus.sf.net'] = ':ext:[email protected]:/cvsroot/libxmlplusplus' repos['regexxer.sf.net'] = ':ext:[email protected]:/cvsroot/regexxer' repos['dbus.freedesktop.org'] = ':ext:[email protected]:/cvs/dbus' repos['cairo.freedesktop.org'] = ':ext:[email protected]:/cvs/cairo' repos['svn.gna.org'] = 'svn+ssh://[email protected]/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', '')