[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
- [bug#72406] [PATCH emacs-team WIP v4 15/24] gnu: emacs-geiser-guile: Define variants., (continued)
- [bug#72406] [PATCH emacs-team WIP v4 15/24] gnu: emacs-geiser-guile: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 05/24] etc: Provide snippet for defining emacs variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 09/24] gnu: emacs-pdf-tools: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 14/24] gnu: emacs-geiser: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 17/24] gnu: emacs-guix: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 18/24] [WIP] gnu: emacs-dvc: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 03/24] build-system: emacs: Define common variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 13/24] gnu: emacs-edit-indirect: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 16/24] gnu: emacs-magit-popup: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 20/24] gnu: emacs-xelb: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 22/24] gnu: emacs-exwm-x: Build variants.,
Liliana Marie Prikler <=
- [bug#72406] [PATCH emacs-team WIP v4 21/24] gnu: emacs-exwm: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 19/24] gnu: emacspeak: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 24/24] gnu: Build all the other emacs-* variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 23/24] gnu: eless: Build variants., Liliana Marie Prikler, 2024/08/11