gnu: Add emacs-xwidgets.

* gnu/packages/emacs.scm (emacs-xwidgets): new variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Arne Babenhauserheide 2019-01-18 23:29:14 +01:00 committed by Ludovic Courtès
parent e6b065b299
commit 5bbb04f9d1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -59,6 +59,7 @@ (define-module (gnu packages emacs)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module (gnu packages webkit)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
#:use-module (guix utils) #:use-module (guix utils)
@ -210,6 +211,22 @@ (define-public emacs-minimal
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))))) `(("pkg-config" ,pkg-config)))))
(define-public emacs-xwidgets
(package
(inherit emacs)
(name "emacs-xwidgets")
(synopsis "The extensible, customizable, self-documenting text
editor (with xwidgets support)")
(build-system gnu-build-system)
(arguments
`(#:configure-flags
'("--with-xwidgets")
,@(package-arguments emacs)))
(inputs
`(("webkitgtk" ,webkitgtk)
("libxcomposite" ,libxcomposite)
,@(package-inputs emacs)))))
(define-public emacs-no-x (define-public emacs-no-x
(package (inherit emacs) (package (inherit emacs)
(name "emacs-no-x") (name "emacs-no-x")