diff options
author | Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com> | 2014-07-29 10:00:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-08-11 23:01:46 +0200 |
commit | 4a3e602c72818c781cce1f4c263b29c42005874e (patch) | |
tree | 54f1e27d3c71db8c6c74a7fabdb0f3446a074cc6 /gnu | |
parent | 29fce8b6ebaaeff593d65e157ff6fd90de3c416b (diff) | |
download | guix-4a3e602c72818c781cce1f4c263b29c42005874e.tar.gz |
gnu: Add emacs-no-x-toolkit.
* gnu/packages/emacs.scm (emacs-no-x-toolkit): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 91d57cdb03..a9cfa19d4d 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1,4 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com> ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. @@ -36,7 +37,9 @@ #:use-module ((gnu packages compression) #:renamer (symbol-prefix-proc 'compression:)) #:use-module (gnu packages xml) - #:use-module (gnu packages glib)) + #:use-module (gnu packages glib) + #:use-module (guix utils) + #:use-module (srfi srfi-1)) (define-public emacs (package @@ -102,6 +105,17 @@ large Lisp programs. It has full Unicode support for nearly all human languages.") (license gpl3+))) +(define-public emacs-no-x-toolkit + (package (inherit emacs) + (name "emacs-no-x-toolkit") + (synopsis "The extensible, customizable, self-documenting text +editor (without an X toolkit)" ) + (inputs (alist-delete "gtk+" (package-inputs emacs))) + (arguments + (substitute-keyword-arguments (package-arguments emacs) + ((#:configure-flags flags) + `(cons "--with-x-toolkit=no" ,flags)))))) + ;;; ;;; Emacs hacking. |