Date: Sat, 9 Feb 2013 19:29:49 GMT From: Fabian Keil <fk@fabiankeil.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/175990: Emacs doesn't start with DISPLAY set when compiled with DBUS=off and GSETTINGS=on Message-ID: <201302091929.r19JTn91034502@red.freebsd.org> Resent-Message-ID: <201302092020.r19KK0XG034905@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175990 >Category: ports >Synopsis: Emacs doesn't start with DISPLAY set when compiled with DBUS=off and GSETTINGS=on >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 09 20:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Fabian Keil >Release: HEAD >Organization: >Environment: FreeBSD r500.local 10.0-CURRENT FreeBSD 10.0-CURRENT #546 r+0317d0a: Sat Feb 9 10:12:18 CET 2013 fk@r500.local:/usr/obj/usr/src/sys/ZOEY amd64 >Description: editors/emacs-devel doesn't work for me when compiled with DBUS=off and GSETTINGS=on. When started from the terminal (urxvt) it doesn't start the GUI and blocks the keyboard except that CTRL-C still works. It even prevents the window manager (i3) from reacting to keyboard input: fk@r500 ~ $emacs ^C (emacs:2357): GLib-GIO-CRITICAL **: guint g_dbus_connection_add_filter(GDBusConnection *, GDBusMessageFilterFunction, gpointer, GDestroyNotify): assertion `G_IS_DBUS_CONNECTION (connection)' failed It works as expected when DISPLAY is unset first. It works with DISPLAY set when using the following OPTIONS: fk@r500 /usr/ports/editors/emacs-devel $make showconfig ===> The following configuration options are available for emacs-24.3.50.111312_1,2: DBUS=off: D-Bus IPC system GCONF=off: GConf configuration backend GIF=on: GIF image format GNUTLS=off: SSL/TLS via GnuTLS GSETTINGS=off: GSettings support JPEG=on: JPEG image format LTO=off: Enable link-time optimization (requires GCC 4.6+) M17N=on: M17N support for text-shaping MAGICK=off: ImageMagick library OTF=on: Opentype fonts suport PNG=on: PNG image format SCROLLBARS=on: Toolkit scroll-bars SOUND=off: Sound support SOURCES=off: Install sources SVG=on: SVG vector image format SYNC_INPUT=on: Synchronously process asynchronous input TIFF=on: TIFF image format XFT=on: Xft font library XIM=on: X Input Method Support XML=on: XML file/format/parser XPM=on: XPM pixmaps ====> Options available for the single X11TOOLKIT: you have to select exactly one of them GTK2=on: GTK+ 2 GUI toolkit GTK3=off: GTK+ 3 GUI toolkit XAW=off: Athena widgets XAW3D=off: Athena3D widgets MOTIF=off: Motif widget library ===> Use 'make config' to modify these settings >How-To-Repeat: Compile with DBUS=off and GSETTINGS=on and try to start emacs with GUI. >Fix: I think the Makefile should simply reject the combination DBUS=off and GSETTINGS=on. I don't mind having to disable GSETTINGS and thus didn't investigate the problem any further. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302091929.r19JTn91034502>