Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Aug 2012 04:51:15 +0530
From:      ashish@freebsd.org (Ashish SHUKLA)
To:        Kevin Oberman <kob6558@gmail.com>
Cc:        ports@freebsd.org, Marco Beishuizen <mbeis@xs4all.nl>
Subject:   Re: [CFT] editors/emacs to 24.1
Message-ID:  <86ipcz5zpw.fsf@chateau.d.if>
In-Reply-To: <CAN6yY1sy7i0eTVOZMafaqew3E1OQN-U0rZBi_T4YNMXcqcBxrA@mail.gmail.com> (Kevin Oberman's message of "Fri, 3 Aug 2012 11:42:28 -0700")
References:  <86vchenbsx.fsf@chateau.d.if> <alpine.BSF.2.00.1208030009540.3002@localhost> <86boiskiqg.fsf@chateau.d.if> <alpine.BSF.2.00.1208031136370.3125@localhost> <86txwkjglv.fsf@chateau.d.if> <alpine.BSF.2.00.1208031917590.87862@localhost> <CAN6yY1sy7i0eTVOZMafaqew3E1OQN-U0rZBi_T4YNMXcqcBxrA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 3 Aug 2012 11:42:28 -0700, Kevin Oberman <kob6558@gmail.com> said:
> On Fri, Aug 3, 2012 at 10:19 AM, Marco Beishuizen <mbeis@xs4all.nl> wrote:
>> On Fri, 3 Aug 2012, the wise Ashish SHUKLA wrote:
>>=20
>>> I use following, and it seems to work fine for me:
>>>=20
>>> --8<---------------cut here---------------start------------->8---
>>> #!/bin/sh
>>>=20
>>> xrdb ~/.Xdefaults
>>> xmodmap ~/.Xmodmap
>>> gnome-screensaver &
>>> exec dbus-launch --exit-with-session ck-launch-session fluxbox 2>&1
>>> >$HOME/.xsession-errors
>>> --8<---------------cut here---------------end--------------->8---
>>>=20
>>> FTR, my Emacs is compiled with GTK3/DBUS/GCONF options.
>>>=20
>>> Could you try it?
>>=20
>>=20
>> I've tried all this but no differences. Still crashes and lockups.
>>=20
>> Regards,
>>=20
>> Marco
>>=20
>> --
>> The distinction between Freedom and Liberty is not accurately known;
>> naturalists have been unable to find a living specimen of either.

> Upgraded to 24.1 this morning. Still 9.1-PRERELEASE updated on 7/31
> w/amd64 system.

> So far I have no real problems with 24.1, but I built without DBUS.
> and I am still getting failures when I fire up emacs when sudo'ed to
> root:
> (emacs:1998): GLib-GIO-CRITICAL **: g_dbus_connection_add_filter:
> assertion `G_IS_DBUS_CONNECTION (connection)' failed
> g_dbus_connection_real_closed: Remote peer vanished with error:
> Underlying GIOStream returned 0 bytes on an async read
> (g-io-error-quark, 0). Exiting.
> Exit 15

> If I remove the DBUS_SESSION_BUS_ADDRESS env. variable, emacs starts
> and runs fine, but I still get:
> (emacs:2002): GLib-GIO-CRITICAL **: g_dbus_connection_add_filter:
> assertion `G_IS_DBUS_CONNECTION (connection)' failed

> I had hoped that removal of the DBUS option would eliminate this, but
> no joy. I am using GTK2 and have the following options:
>      CANNA=3Doff: Canna support
>      DBUS=3Doff: D-Bus support
>      GCONF=3Don: gconf backend
>      GIF=3Don: GIF support
>      GNUTLS=3Don: SSL/TLS support via GnuTLS
>      GSETTINGS=3Don: GSettings support
>      JPEG=3Don: JPEG support
>      M17N=3Don: M17N support for text-shaping
>      MAGICK=3Don: ImageMagick Library
>      OTF=3Don: Opentype fonts suport
>      PNG=3Don: PNG support
>      SCROLLBARS=3Don: Toolkit scroll-bars
>      SOUND=3Don: Sound support
>      SOURCES=3Don: Install sources
>      SVG=3Don: SVG image support
>      SYNC_INPUT=3Don: Synchronously process asynchronous input
>      TIFF=3Don: TIFF support
>      XFT=3Don: Xft support
>      XIM=3Don: X Input Method Support
>      XML=3Don: XML Parser support
>      XPM=3Don: XPM pixmaps support

> While the effects of some options seems obvious, others are unclear.
> I'd love to know what they all mean, especially things like GCONF,
> DBUS, and GSETTINGS. Perhaps some other setting overrides the DBUS
> one.

I'm not sure, but I think GSETTINGS uses GCONF which relies on DBUS, outside
Emacs dependencies these are, so if you're using GSETTINGS, you're still
getting linked using GConf APIs indirectly, which is probably relying on DB=
us
for looking up GConf daemon.

So, to completely get rid of DBUS support, you need to turn off GSETTINGS, =
and
GCONF options as well.

HTH
=2D-=20
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
Sent from my Emacs

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQIcBAEBCgAGBQJQHFzuAAoJEMdGz6nnT6SwGkcQAKc7wZpNJSStaC9yuIYwpmoJ
6EX8ZgWB3W3X+Z+3La8Rk9A2vtYlbkb6Ub7H4YkF6oD9d5TQr2x1JC7XOhrJHDG0
FdQ28r7nJcRiOz+ksbEbJVqPtzY8ZXjgcoOA9/tpH079xBQ5clUkBY/zGq6CbBG4
K9fxX2iJ4hJi2EQqD++XD959ITybdmRf/cOHGTEIicaIjFiM0yeYa2zKP6SGqIB9
bSgQFXwhNKu6+q/celHY/WKdQQQaekX/wrCH3W/eOFuvDtpR+FORlPJyDptUOKuA
xkXRbF8a4aee6SQWkJiWOZ+9W8a4dH/4iUfsEl0N4UoNThg6EFHZhAAZGNBI7lC6
g+9+kglC3gkv+2LBaidsIuSkeByMvffzQTjhnCWVKQq2HggsUpcr+eFms3x+O5pX
FKPXfyRE1kv1h9odaEoaj/Ri1hiZFQecTUKfr11ZkQasMIv3xu5OuLkN5GNXo85B
kXIX6lNA5JSCodePOe+reGD6BOQp1lGgTZnNv57aYbAv1rM+c+kHaCJFCqur1mca
q8WC/lg3QA/iJGiEJxF0fZ04aOldLPlTVrEeRktFyqWJ749iwbXiZNMLOmah1zDk
8toxJfnSUr4JHOxjnU9qE8juNG3WOdugQJo4Ut0Ih2oNt7C9PD4eK35PRq5LYR30
HfednMjzzb2gRqc4paKd
=bK8y
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ipcz5zpw.fsf>