unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40297] [PATCH] gnu: Add emacs-next-minimal.
@ 2020-03-29  0:02 John Soo
  2020-12-18 10:57 ` Christopher Baines
  2021-02-15 22:21 ` bug#40297: Closed with emacs 27 John Soo
  0 siblings, 2 replies; 3+ messages in thread
From: John Soo @ 2020-03-29  0:02 UTC (permalink / raw)
  To: 40297

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

Hi Guix,

In preparation for the next emacs version I thought it would be good to
start adding "next" versions of some emacs packages. I added this for
proof-general, but there may be other needs for the minimal emacs for
version 27.

Thanks,

John


[-- Attachment #2: add emacs-next-minimal. --]
[-- Type: text/x-patch, Size: 1984 bytes --]

>From 100e821af07716c463131acdb695bce630e2efa4 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 19 Mar 2020 10:38:15 -0700
Subject: [PATCH] gnu: Add emacs-next-minimal.

* gnu/packages/emacs.scm (emacs-next-minimal): New variable.
---
 gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index ec8de7373b..5d031b9695 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2019 Valentin Ignatev <valentignatev@gmail.com>
 ;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
 ;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
+;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -354,6 +355,34 @@ languages.")
     (native-inputs
      `(("pkg-config" ,pkg-config)))))
 
+(define-public emacs-next-minimal
+  (package
+    (inherit emacs-next)
+    (name "emacs-next-minimal")
+    (synopsis (package-synopsis emacs-minimal))
+    (build-system gnu-build-system)
+    (inputs
+     `(("jansson" ,jansson)
+       ("texinfo" ,texinfo)
+       ,@(package-inputs emacs-minimal)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ,@(package-native-inputs emacs-minimal)))
+    (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 phases)
+        `(modify-phases ,phases
+           (delete 'install-site-start)
+           (delete 'restore-emacs-pdmp)))
+       ((#:configure-flags flags ''())
+        `(list "--with-gnutls=no" "--disable-build-details"))))))
+
 (define-public emacs-xwidgets
   (package
     (inherit emacs)
-- 
2.26.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#40297] [PATCH] gnu: Add emacs-next-minimal.
  2020-03-29  0:02 [bug#40297] [PATCH] gnu: Add emacs-next-minimal John Soo
@ 2020-12-18 10:57 ` Christopher Baines
  2021-02-15 22:21 ` bug#40297: Closed with emacs 27 John Soo
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2020-12-18 10:57 UTC (permalink / raw)
  To: John Soo; +Cc: 40297

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]


John Soo <jsoo1@asu.edu> writes:

> Hi Guix,
>
> In preparation for the next emacs version I thought it would be good to
> start adding "next" versions of some emacs packages. I added this for
> proof-general, but there may be other needs for the minimal emacs for
> version 27.

Hey John,

This seems OK to me, although I haven't used the emacs-next stuff.

I applied this patch, and built the package, but bin/emacs within the
package is empty, which means Emacs doesn't actually start.

→ ls -lh /gnu/store/nv9bk1l8292cvlvxm96q8bdkg36cdnc9-emacs-next-minimal-28.0.50-0.2ea3466/bin/emacs-28.0.50
-r-xr-xr-x 247 root root 0 Jan  1  1970 /gnu/store/nv9bk1l8292cvlvxm96q8bdkg36cdnc9-emacs-next-minimal-28.0.50-0.2ea3466/bin/emacs-28.0.50

Since it's taken so long for someone to get around to looking at this
patch, it's possible that this wasn't an issue back when you submitted
this.

Any ideas?

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40297: Closed with emacs 27
  2020-03-29  0:02 [bug#40297] [PATCH] gnu: Add emacs-next-minimal John Soo
  2020-12-18 10:57 ` Christopher Baines
@ 2021-02-15 22:21 ` John Soo
  1 sibling, 0 replies; 3+ messages in thread
From: John Soo @ 2021-02-15 22:21 UTC (permalink / raw)
  To: 40297-done





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-15 22:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-29  0:02 [bug#40297] [PATCH] gnu: Add emacs-next-minimal John Soo
2020-12-18 10:57 ` Christopher Baines
2021-02-15 22:21 ` bug#40297: Closed with emacs 27 John Soo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).