From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54565) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIkHb-00030V-Km for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIkHa-0003F3-6i for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48592) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIkHa-0003Et-2v for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIkHa-0004c9-16 for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:10 -0400 Subject: [bug#40298] [PATCH] gnu: Add emacs-next-no-x. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:47512) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jILYS-0001HK-P9 for guix-patches@gnu.org; Sat, 28 Mar 2020 20:11:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jILYR-00057l-1k for guix-patches@gnu.org; Sat, 28 Mar 2020 20:11:55 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:43150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jILYQ-000541-Is for guix-patches@gnu.org; Sat, 28 Mar 2020 20:11:54 -0400 Received: by mail-pf1-x434.google.com with SMTP id f206so6611685pfa.10 for ; Sat, 28 Mar 2020 17:11:54 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::6c3]) by smtp.gmail.com with ESMTPSA id k6sm6668855pje.8.2020.03.28.17.11.51 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Mar 2020 17:11:52 -0700 (PDT) From: John Soo Date: Sat, 28 Mar 2020 17:11:51 -0700 Message-ID: <87pncw2f5k.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40298@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Guix, I wanted to give emacs 27 a try without x. So far so good! Thanks! John --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-next-no-x.patch Content-Transfer-Encoding: quoted-printable Content-Description: add emacs-next-no-x >>From a1877e1d8d0317de69e1ee915d9624747a66e6bf Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Mar 2020 10:39:15 -0700 Subject: [PATCH] gnu: Add emacs-next-no-x. * gnu/packages/emacs.scm (emacs-next-no-x): New variable. --- gnu/packages/emacs.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index ec8de7373b..006402e212 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -20,6 +20,7 @@ ;;; Copyright =C2=A9 2019 Valentin Ignatev ;;; Copyright =C2=A9 2019 Leo Prikler ;;; Copyright =C2=A9 2019 Amin Bandali +;;; Copyright =C2=A9 2019 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -385,6 +386,33 @@ editor (console only)") ;; These depend on libx11, so remove them as well. "libotf" "m17n-lib" "dbus"))))) =20 +(define-public emacs-next-no-x + (package + (inherit emacs-next) + (name "emacs-next-no-x") + (synopsis (package-synopsis emacs-no-x)) + (build-system gnu-build-system) + (arguments + (substitute-keyword-arguments (package-arguments emacs-next) + ((#:modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) + ((#:imported-modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) + ((#:phases p) + `(modify-phases ,p + (delete 'restore-emacs-pdmp))))) + (inputs + (fold alist-delete + (package-inputs emacs-next) + '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg" + "imagemagick" "libpng" "librsvg" "libxpm" "libice" + "libsm" + + ;; These depend on libx11, so remove them as well. + "libotf" "m17n-lib" "dbus"))))) + (define-public emacs-no-x-toolkit (package (inherit emacs) (name "emacs-no-x-toolkit") --=20 2.26.0 --=-=-=--