From owner-freebsd-ports@FreeBSD.ORG Sat Aug 4 05:30:10 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA721065670; Sat, 4 Aug 2012 05:30:10 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 24E488FC0A; Sat, 4 Aug 2012 05:30:09 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so101100wib.13 for ; Fri, 03 Aug 2012 22:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=i9pnQqdv4Eozi9yfj6EVkxYvnjk8L6dTpOHmF2hPljI=; b=rKPDsNmLl5I1ZITFpw/XpZg5thSojBUHAiMcGKTPUDifxA8XYN0EnsLm7EzRmlwJ95 zehehZZQQqk5csuu81VFym1+8NafkhaqfwJcNGRupRqcekwPILH+WRTbVvXjdqV3AQdN NprAPva1iGu+A/9hbYp4JkQy/j73zAGwshGzd5B/Q0wQt1EaKqrt3QFM1nsMGyRSw+BO 2P2rKHUO76ZyIynvf0inrJAbV6EppvOoq5GqeZSBM6zvIZMl58vFt2H3diRi4JfbQXy8 YIXJ05dy7qDCTjPUXfXdwI1jImqp3Dl52+XaBBs0RTE4dcmSbSQkLJx83IRxK8fHC53B J3VQ== MIME-Version: 1.0 Received: by 10.180.100.131 with SMTP id ey3mr1963080wib.15.1344058202654; Fri, 03 Aug 2012 22:30:02 -0700 (PDT) Received: by 10.223.60.147 with HTTP; Fri, 3 Aug 2012 22:30:02 -0700 (PDT) In-Reply-To: <86ipcz5zpw.fsf@chateau.d.if> References: <86vchenbsx.fsf@chateau.d.if> <86boiskiqg.fsf@chateau.d.if> <86txwkjglv.fsf@chateau.d.if> <86ipcz5zpw.fsf@chateau.d.if> Date: Fri, 3 Aug 2012 22:30:02 -0700 Message-ID: From: Kevin Oberman To: Ashish SHUKLA Content-Type: text/plain; charset=UTF-8 Cc: ports@freebsd.org, Marco Beishuizen Subject: Re: [CFT] editors/emacs to 24.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Aug 2012 05:30:10 -0000 On Fri, Aug 3, 2012 at 4:21 PM, Ashish SHUKLA wrote: > On Fri, 3 Aug 2012 11:42:28 -0700, Kevin Oberman said: >> On Fri, Aug 3, 2012 at 10:19 AM, Marco Beishuizen wrote: >>> On Fri, 3 Aug 2012, the wise Ashish SHUKLA wrote: >>> >>>> I use following, and it seems to work fine for me: >>>> >>>> --8<---------------cut here---------------start------------->8--- >>>> #!/bin/sh >>>> >>>> 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--- >>>> >>>> FTR, my Emacs is compiled with GTK3/DBUS/GCONF options. >>>> >>>> Could you try it? >>> >>> >>> I've tried all this but no differences. Still crashes and lockups. >>> >>> Regards, >>> >>> Marco >>> >>> -- >>> 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=off: Canna support >> DBUS=off: D-Bus support >> GCONF=on: gconf backend >> GIF=on: GIF support >> GNUTLS=on: SSL/TLS support via GnuTLS >> GSETTINGS=on: GSettings support >> JPEG=on: JPEG support >> M17N=on: M17N support for text-shaping >> MAGICK=on: ImageMagick Library >> OTF=on: Opentype fonts suport >> PNG=on: PNG support >> SCROLLBARS=on: Toolkit scroll-bars >> SOUND=on: Sound support >> SOURCES=on: Install sources >> SVG=on: SVG image support >> SYNC_INPUT=on: Synchronously process asynchronous input >> TIFF=on: TIFF support >> XFT=on: Xft support >> XIM=on: X Input Method Support >> XML=on: XML Parser support >> XPM=on: 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 DBus > for looking up GConf daemon. > > So, to completely get rid of DBUS support, you need to turn off GSETTINGS, and > GCONF options as well. Ashish, Thanks! This should have been obvious to me. It works fine, now. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com