[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/09: gnu: Add emacs-next.
From: |
guix-commits |
Subject: |
05/09: gnu: Add emacs-next. |
Date: |
Wed, 2 Sep 2020 11:19:27 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 562f7e3fdb01924749ff78aacdee0dc7eedab0d9
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
AuthorDate: Mon Aug 31 23:35:41 2020 -0400
gnu: Add emacs-next.
* gnu/packages/emacs.scm (emacs-next): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/emacs.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0cd3e04..03c28ee 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -276,6 +277,43 @@ large Lisp programs. It has full Unicode support for
nearly all human
languages.")
(license license:gpl3+)))
+(define-public emacs-next
+ (let ((commit "2ea34662c20f71d35dd52a5ed996542c7386b9cb")
+ (revision "0")
+ (emacs-version "28.0.50.1"))
+ (package/inherit emacs
+ (name "emacs-next")
+ (version (git-version emacs-version revision commit))
+ (source
+ (origin
+ (inherit (package-source emacs))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.savannah.gnu.org/git/emacs.git/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0igjm9kwiswn2dpiy2k9xikbdfc7njs07ry48fqz70anljj8y7y3"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments emacs)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (replace 'strip-double-wrap
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Directly copy emacs-X.Y to emacs, so that it is not wrapped
+ ;; twice. This also fixes a minor issue, where WMs would not
be
+ ;; able to track emacs back to emacs.desktop.
+ (with-directory-excursion (assoc-ref outputs "out")
+ (copy-file (string-append
+ "bin/emacs-"
+ ,(version-major+minor+point (package-version
emacs-next)))
+ "bin/emacs")
+ #t)))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ,@(package-native-inputs emacs))))))
+
(define-public emacs-minimal
;; This is the version that you should use as an input to packages that just
;; need to byte-compile .el files.
- branch master updated (8ce6f4d -> 2056226), guix-commits, 2020/09/02
- 01/09: substitute: Set LC_MESSAGES to the client's locale, not LC_ALL., guix-commits, 2020/09/02
- 02/09: store: 'set-build-options' sends LC_MESSAGES, not LC_ALL., guix-commits, 2020/09/02
- 03/09: ui: Attempt to fall back to "en_US.utf8" rather than "C"., guix-commits, 2020/09/02
- 05/09: gnu: Add emacs-next.,
guix-commits <=
- 07/09: gnu: Add xlsxio, guix-commits, 2020/09/02
- 04/09: gnu: chez-scheme: Install libraries to 'lib/csvX.Y.Z-site', guix-commits, 2020/09/02
- 06/09: gnu: Add gerbil, guix-commits, 2020/09/02
- 08/09: gnu: emacs-calibredb: Update to 2.6.0., guix-commits, 2020/09/02
- 09/09: gnu: Add knockd., guix-commits, 2020/09/02