From owner-freebsd-questions@FreeBSD.ORG Sun Jul 24 10:46:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1ACB106566B for ; Sun, 24 Jul 2011 10:46:03 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7A5188FC0A for ; Sun, 24 Jul 2011 10:46:03 +0000 (UTC) Received: by vxg33 with SMTP id 33so3248897vxg.13 for ; Sun, 24 Jul 2011 03:46:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.180.201 with SMTP id bv9mr878191vcb.117.1311504362544; Sun, 24 Jul 2011 03:46:02 -0700 (PDT) Received: by 10.220.100.73 with HTTP; Sun, 24 Jul 2011 03:46:02 -0700 (PDT) X-Originating-IP: [93.221.182.224] In-Reply-To: <4E2BF0BB.9040308@nagual.nl> References: <4E2BF0BB.9040308@nagual.nl> Date: Sun, 24 Jul 2011 12:46:02 +0200 Message-ID: From: "C. P. Ghost" To: Dick Hoogendijk Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: emacs-nox11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2011 10:46:03 -0000 On Sun, Jul 24, 2011 at 12:15 PM, Dick Hoogendijk wrote: > I want a plain console version of emacs installed on my freebsd-8.2 system. > So I chose the editors/emacs-nox11 port, but I get an option screen with a > lot of options set to 'on' for which I get the feeling they are X related. > I.e. Freetype, Jpeg, Gif, GConf en lots of others. So, I'm confused and > would very much like to know *which* of those options have to be turned on > for a plaun console version of emacs. Hope to get some help. Hi. I have the following setup for my non-X11 emacs: % cat /var/db/ports/emacs/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for emacs-23.2_4,2 _OPTIONS_READ=emacs-23.2_4,2 WITHOUT_CANNA=true WITH_DBUS=true WITH_GCONF=true WITH_GIF=true WITH_GTK2=true WITH_JPEG=true WITH_M17N=true WITHOUT_MOTIF=true WITH_OTF=true WITH_PNG=true WITH_SOUND=true WITH_SOURCES=true WITH_SVG=true WITH_TIFF=true WITHOUT_XAW=true WITH_XAW3D=true WITH_SYNC_INPUT=true WITH_SCROLLBARS=true WITH_XFT=true WITH_XIM=true WITH_XPM=true In /etc/make.conf: .if ${.CURDIR:M*/editors/emacs} WITHOUT_X11=yes .endif This is what emacs is linked to against: % ldd `which emacs` /usr/local/bin/emacs: libthr.so.3 => /lib/libthr.so.3 (0x8007a3000) libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x8008bc000) libutil.so.8 => /lib/libutil.so.8 (0x800a0b000) libncurses.so.8 => /lib/libncurses.so.8 (0x800b1b000) libm.so.5 => /lib/libm.so.5 (0x800c68000) libc.so.7 => /lib/libc.so.7 (0x800d88000) Since there are no X11 libs in emacs despite all those options being set anyway, I suppose that setting WITHOUT_X11 creates a non-X11 emacs. I'm using the following port (normal emacs, with WITHOUT_X11 set): % echo /var/db/pkg/emacs* /var/db/pkg/emacs-23.3_1,2 But I don't know if X dependencies are being pulled in when the port is being built with all those options. -cpghost. -- Cordula's Web. http://www.cordula.ws/