GNU bug report logs - #40298
[PATCH] gnu: Add emacs-next-no-x.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: John Soo <jsoo1@HIDDEN>; Keywords: patch; dated Mon, 30 Mar 2020 02:36:09 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Mar 2020 02:35:34 +0000
From jsoo1@HIDDEN Sat Mar 28 20:11:58 2020
Received: from lists.gnu.org ([209.51.188.17]:59944)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jsoo1@HIDDEN>) id 1jILYU-0004BR-20
 for submit <at> debbugs.gnu.org; Sat, 28 Mar 2020 20:11:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47512)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <jsoo1@HIDDEN>) id 1jILYS-0001HK-P9
 for guix-patches@HIDDEN; Sat, 28 Mar 2020 20:11:57 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jsoo1@HIDDEN>) id 1jILYR-00057l-1k
 for guix-patches@HIDDEN; 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 <jsoo1@HIDDEN>) id 1jILYQ-000541-Is
 for guix-patches@HIDDEN; Sat, 28 Mar 2020 20:11:54 -0400
Received: by mail-pf1-x434.google.com with SMTP id f206so6611685pfa.10
 for <guix-patches@HIDDEN>; Sat, 28 Mar 2020 17:11:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=asu-edu.20150623.gappssmtp.com; s=20150623;
 h=from:to:subject:date:message-id:mime-version;
 bh=5qGEywMMhwok03DZRFx1W9dCE1Cu5zbsCcYI1K/X/aw=;
 b=pbi7AK3uwgQoVPGICNBhSXEOOaueM3A7j0EkEgy5V17Fh24qGkcUPyvic7v21HZoEM
 Y/ZVKHTupdh5LEMb1eGVrL5fMKBLRSiHFrcPQ+HLFYaKsTQ3+TJIPZu9L5JeSK9CNISh
 v8u+KJKVSZCD4lpojRJr7fy3bARoUu4DHz2zlA4mkRXZQLOZ1rFNwMr2EM8aoMz1ZeyI
 xcWzQO7dUvDJQ6QyI2QuIyjolxIPOz4EVpy2epSnHtYcTWCilaTNatvtbuz2FiP8Y1IP
 tSG6jhL5hP4CzQa6fwx1ooYrFL6pyvF3TqxG+ARGE+yK2rmKBrpw0Ot64bZIKGRQJpY+
 nqDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=5qGEywMMhwok03DZRFx1W9dCE1Cu5zbsCcYI1K/X/aw=;
 b=jdzAPa9PXzXd8a/4FX5on5k3bYZ4/oFsP87f0YnNrzkCEKu93u6bJi6UOpBmBoUnH4
 mpP07peNVLUKHDalSrt4AHH3uCoZPUAjYDEMVjk10imDe8Uzg53LBUgzY2BYY7PafX8l
 xzQodB3U5TYq9WrX9Zi7oOHp60IoRB1M5ucM1vCWfHkSArCuBtKj70KfefU6lw2Ph89k
 7LmOIMPWBj5U8FSIR7TXhZKbypyoQxarl+yA5WbgzDVR+KV5uZWwDSl65a+w9+vLqT3+
 rieiTxWMrlNjRkkEirktMaLYDsQS45ePTkEDI1FWN2iKg2s3LNVIPyMyEZ2tdVJWZl3K
 na6A==
X-Gm-Message-State: ANhLgQ01/m4jIvzxkuffdwq2yILJGpuGRyZmme65W6surk89pMt74fPx
 ywcE4UUZhavDvKsJfu8eU7tPSY4c/sE=
X-Google-Smtp-Source: ADFU+vu1FtQVxt7en6dippsNYzfFydXbTPtrFL9J2CfUK9n1nS771gt+7KyOTq6VHc1lLVighQ6wtw==
X-Received: by 2002:a62:ce48:: with SMTP id y69mr6212557pfg.178.1585440712840; 
 Sat, 28 Mar 2020 17:11:52 -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 <guix-patches@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 28 Mar 2020 17:11:52 -0700 (PDT)
From: John Soo <jsoo1@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add emacs-next-no-x.
Date: Sat, 28 Mar 2020 17:11:51 -0700
Message-ID: <87pncw2f5k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::434
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Mar 2020 00:11:58 -0000

--=-=-=
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 <jsoo1@HIDDEN>
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 <valentignatev@HIDDEN>
 ;;; Copyright =C2=A9 2019 Leo Prikler <leo.prikler@HIDDEN>
 ;;; Copyright =C2=A9 2019 Amin Bandali <bandali@HIDDEN>
+;;; Copyright =C2=A9 2019 John Soo <jsoo1@HIDDEN>
 ;;;
 ;;; 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


--=-=-=--




Acknowledgement sent to John Soo <jsoo1@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#40298; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 30 Mar 2020 02:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.