This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Problems with emacs built against gtk3
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 02 Dec 2011 04:35:50 -0600
- Subject: Re: Problems with emacs built against gtk3
- References: <4ED03512.7080607@cornell.edu> <4ED0EC50.4090300@cornell.edu> <1322625099.6420.9.camel@YAAKOV04> <4ED6390C.2040708@cornell.edu> <4ED807FA.7050700@cornell.edu>
- Reply-to: cygwin-xfree at cygwin dot com
On Thu, 2011-12-01 at 18:04 -0500, Ken Brown wrote:
> On 11/30/2011 9:09 AM, Ken Brown wrote:
> > On 11/29/2011 10:51 PM, Yaakov (Cygwin/X) wrote:
> >> This appears to be the same bug. The solution is to launch a DBus
> >> session bus *before* starting emacs (or any other gtk3 programs for that
> >> matter), IOW:
> >>
> >> $ eval `dbus-launch --sh-syntax`
> >> $ emacs-X11&
> >
> > That gets rid of the warning, but emacs still dies after a few seconds
> > (no error message, no stackdump), unless I uninstall dconf-service. I'll
> > see if I can get more information by running emacs under gdb. I'd
> > appreciate any suggestions you might have as to where I should look.
> >
> I have some further information: The problem is related to the GSettings
> backend. If I uninstall dconf-service and start emacs, I get a warning
> that the GSettings `memory' backend will be used. Emacs then works
> fine. If I reinstall dconf-service but set GSETTINGS_BACKEND=memory
> before starting emacs, it again works fine. Does this provide any clue
> as to what the problem might be?
Okay, I got it. dconf-service needs a GVfs implementation, but the
default provider (from the gvfs package) is currently only available in
Ports. That's what I get for trying to be minimalistic wrt the distro.
Of course, my gvfs package requires Avahi[1], so it may be an
interesting ITP; I'll try to do that next week, and hopefully this
thread will help expedite the review nonetheless.
In the meantime, try setting the GIO_USE_VFS environment variable to
"local"[2], which will allow dconf-service to work despite the lack of
gvfs. (Why this isn't done automatically as a fallback, I have no
idea.)
Yaakov
Cygwin/X
[1]
http://cygwinports.blogspot.com/2011/07/this-lemur-can-be-found-outside-of.html
[2] http://developer.gnome.org/gio/2.30/ch03.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/