summary refs log tree commit diff
diff options
context:
space:
mode:
authorArne Babenhauserheide <arne_bab@web.de>2019-01-18 23:29:14 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-23 23:35:12 +0100
commit5bbb04f9d1634e67e572e7e9d170342e63a78573 (patch)
treedd3cf20374f7c780873b9875344122f6e2acec77
parente6b065b299e1819cd35643043a63e2f1ff27418c (diff)
downloadguix-5bbb04f9d1634e67e572e7e9d170342e63a78573.tar.gz
gnu: Add emacs-xwidgets.
* gnu/packages/emacs.scm (emacs-xwidgets): new variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a488289f11..7e8dcadf96 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -59,6 +59,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages webkit)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (guix utils)
@@ -210,6 +211,22 @@ languages.")
     (native-inputs
      `(("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
   (package (inherit emacs)
     (name "emacs-no-x")