me
/
guix
Archived
1
0
Fork 0

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>
master
Taylan Ulrich Bayirli/Kammer 2014-07-29 10:00:56 +02:00 committed by Ludovic Courtès
parent 29fce8b6eb
commit 4a3e602c72
1 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -36,7 +37,9 @@
#:use-module ((gnu packages compression) #:use-module ((gnu packages compression)
#:renamer (symbol-prefix-proc 'compression:)) #:renamer (symbol-prefix-proc 'compression:))
#:use-module (gnu packages xml) #: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 (define-public emacs
(package (package
@ -102,6 +105,17 @@ large Lisp programs. It has full Unicode support for nearly all human
languages.") languages.")
(license gpl3+))) (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. ;;; Emacs hacking.