guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72406] [PATCH emacs-team WIP v4 22/24] gnu: emacs-exwm-x: Build var


From: Liliana Marie Prikler
Subject: [bug#72406] [PATCH emacs-team WIP v4 22/24] gnu: emacs-exwm-x: Build variants.
Date: Sun, 11 Aug 2024 14:58:49 +0200

* gnu/packages/emacs-xyz.scm (emacs-exwm-x)[arguments]: Drop #:emacs.
[properties]: Add ‘minimal-variant’.
(emacs-no-x-toolkit-exwm-x, emacs-next-exwm-x, emacs-pgtk-exwm-x):
New variables.
---
 gnu/packages/emacs-xyz.scm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b63bd372a3..774f18034c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20399,11 +20399,8 @@ (define-public emacs-exwm-x
      (list emacs-counsel emacs-exwm emacs-switch-window emacs-use-package))
     (inputs
      (list xhost dbus))
-    ;; Need emacs instead of emacs-minimal,
-    ;; for emacs's bin path will be inserted into bin/exwm-x file.
     (arguments
-     `(#:emacs ,emacs
-       #:phases
+     `(#:phases
        (modify-phases %standard-phases
          (add-after 'build 'install-xsession
            (lambda* (#:key inputs outputs #:allow-other-keys)
@@ -20439,7 +20436,18 @@ (define-public emacs-exwm-x
     (home-page "https://github.com/tumashu/exwm-x";)
     (description "EXWM-X is a derivative window manager based on EXWM, with 
focus
 on mouse-control.")
-    (license license:gpl3+)))
+    (license license:gpl3+)
+    ;; Note: emacs binary path will be inserted into the executable.
+    (properties `((minimal-variant . ,(delay emacs-no-x-toolkit-exwm-x))))))
+
+(define-public emacs-no-x-toolkit-exwm-x
+  (package-with-emacs-no-x-toolkit emacs-exwm-x))
+
+(define-public emacs-next-exwm-x
+  (package-with-emacs-next emacs-exwm-x))
+
+(define-public emacs-pgtk-exwm-x
+  (package-with-emacs-pgtk emacs-exwm-x))
 
 (define-public emacs-gnugo
   (package
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]