From: Alex Kost <alezost@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 1/4] gnu: Add emacs-minimal.
Date: Sat, 21 May 2016 14:57:52 +0300 [thread overview]
Message-ID: <1463831875-28373-2-git-send-email-alezost@gmail.com> (raw)
In-Reply-To: <1463831875-28373-1-git-send-email-alezost@gmail.com>
* gnu/packages/emacs.scm (emacs-minimal): New variable.
---
gnu/packages/emacs.scm | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 18898e9..c032869 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -167,10 +167,25 @@ large Lisp programs. It has full Unicode support for nearly all human
languages.")
(license license:gpl3+)))
-(define-public emacs-no-x
+(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.
(package (inherit emacs)
+ (name "emacs-minimal")
+ (synopsis "The extensible text editor (used only for byte-compilation)")
+ (build-system gnu-build-system)
+ (arguments
+ (substitute-keyword-arguments (package-arguments emacs)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (delete 'install-site-start)))))
+ (inputs
+ `(("ncurses" ,ncurses)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))))
+
+(define-public emacs-no-x
+ (package (inherit emacs)
(name "emacs-no-x")
(synopsis "The extensible, customizable, self-documenting text
editor (console only)")
--
2.7.3
next prev parent reply other threads:[~2016-05-21 11:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-21 11:57 [PATCH 0/4] v2: Use emacs-minimal to build emacs packages Alex Kost
2016-05-21 11:57 ` Alex Kost [this message]
2016-05-21 11:57 ` [PATCH 2/4] build-system/emacs: Use 'emacs-minimal' by default Alex Kost
2016-05-22 20:31 ` Ludovic Courtès
2016-05-24 8:59 ` Alex Kost
2016-05-21 11:57 ` [PATCH 3/4] gnu: Move emacs for building from inputs to native-inputs Alex Kost
2016-05-21 11:57 ` [PATCH 4/4] gnu: Use 'emacs-minimal' instead of 'emacs-no-x' Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463831875-28373-2-git-send-email-alezost@gmail.com \
--to=alezost@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.