From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eHABEQVv3l6tBQAA0tVLHw (envelope-from ) for ; Mon, 08 Jun 2020 17:01:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EN3nDAVv3l5lMgAAbx9fmQ (envelope-from ) for ; Mon, 08 Jun 2020 17:01:57 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AE2139408E8 for ; Mon, 8 Jun 2020 17:01:56 +0000 (UTC) Received: from localhost ([::1]:54256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiL9n-0002JT-J6 for larch@yhetil.org; Mon, 08 Jun 2020 13:01:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiKte-0004m2-1z for guix-devel@gnu.org; Mon, 08 Jun 2020 12:45:14 -0400 Received: from smtp11.smtpout.orange.fr ([80.12.242.133]:17129 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1jiKtc-0007Ny-1o for guix-devel@gnu.org; Mon, 08 Jun 2020 12:45:13 -0400 Received: from pagora ([86.247.223.190]) by mwinf5d22 with ME id ogl62200A475hMS03gl6ZU; Mon, 08 Jun 2020 18:45:07 +0200 X-ME-Helo: pagora X-ME-Date: Mon, 08 Jun 2020 18:45:07 +0200 X-ME-IP: 86.247.223.190 From: philippe.brochard To: Leo Prikler , mail@ambrevar.xyz Subject: Re: Lightweight Emacs (or "GTK+ minimal) In-Reply-To: <91a0739fc4f7e2984db315b4787b64025a0fb464.camel@student.tugraz.at> References: <91a0739fc4f7e2984db315b4787b64025a0fb464.camel@student.tugraz.at> Date: Mon, 08 Jun 2020 18:45:06 +0200 Message-ID: <87sgf5wlpp.fsf@free.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=80.12.242.133; envelope-from=hocwp@free.fr; helo=smtp.smtpout.orange.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/08 12:45:07 X-ACL-Warn: Detected OS = Linux 2.6.x [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Mon, 08 Jun 2020 13:00:52 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: eNaANNygOKdF Leo Prikler writes: > Hello, Pierre > Hi, >> Also I wonder why guile is in there. > According to guix graph, guile is pulled by gnutls. > >> 1. Does anyone have a recipe for Emacs without GTK+ (that can also >> display pictures)? > Not directly, but you could try building it with motif (package > lesstif) or Lucid/Athena (requires at least libxaw, not sure if all > dependencies for that are packaged). > I managed to build Emacs with Lucid with the following definition: ---8<----------------------------------------------------------------------- (define-module (gnu packages emacs-lucid) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) #:use-module (gnu packages) #:use-module (gnu packages acl) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages fribidi) #:use-module (gnu packages gd) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) ; for librsvg #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages linux) ; alsa-lib #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) #:use-module (gnu packages webkit) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix utils) #:use-module (srfi srfi-1) #:use-module (gnu packages emacs)) (define-public emacs-lucid (package (inherit emacs) (name "emacs-lucid") (synopsis "The extensible, customizable, self-documenting text editor (with lucid support)") (build-system gnu-build-system) (arguments (substitute-keyword-arguments (package-arguments emacs) ((#:configure-flags flags ''()) `(cons "--with-x-toolkit=lucid" ,flags)))) (inputs `(("libxaw" ,libxaw) ,@(package-inputs emacs))))) emacs-lucid ---8<----------------------------------------------------------------------- Surely need more work to be polished. Best regards, Philippe