all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 72406@debbugs.gnu.org
Cc: gemmaro.dev@gmail.com, andrew@trop.in,
	cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com
Subject: [bug#72406] [PATCH emacs-team WIP v3 22/24] gnu: emacs-exwm-x: Build variants.
Date: Sat, 10 Aug 2024 11:43:10 +0200	[thread overview]
Message-ID: <135108a45f9610a8fba44758aa8d361d9575b31c.1723300543.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <13d156332d5c04a9ab411ee24dca58f001b6eace.1723300543.git.liliana.prikler@gmail.com>

* 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





  parent reply	other threads:[~2024-08-10 14:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <13d156332d5c04a9ab411ee24dca58f001b6eace.1723300543.git.liliana.prikler@gmail.com>
2024-08-10  4:31 ` [bug#72406] [PATCH emacs-team WIP v3 18/24] [WIP] gnu: emacs-dvc: Build variants Liliana Marie Prikler
2024-08-10  5:02 ` [bug#72406] [PATCH emacs-team WIP v3 19/24] gnu: emacspeak: " Liliana Marie Prikler
2024-08-10  5:52 ` [bug#72406] [PATCH emacs-team WIP v3 20/24] gnu: emacs-xelb: " Liliana Marie Prikler
2024-08-10  5:54 ` [bug#72406] [PATCH emacs-team WIP v3 21/24] gnu: emacs-exwm: " Liliana Marie Prikler
2024-08-10  9:43 ` Liliana Marie Prikler [this message]
2024-08-10  9:43 ` [bug#72406] [PATCH emacs-team WIP v3 23/24] gnu: eless: " Liliana Marie Prikler
2024-08-10 14:15 ` [bug#72406] [PATCH emacs-team WIP v3 24/24] gnu: Build all the other emacs-* variants Liliana Marie Prikler
2024-08-11  1:53   ` Liam Hupfer via Guix-patches via
2024-08-11  6:30     ` Liliana Marie Prikler
2024-08-11 16:20       ` Liam Hupfer via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=135108a45f9610a8fba44758aa8d361d9575b31c.1723300543.git.liliana.prikler@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=72406@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=gemmaro.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.