summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAnderson Torres <anderson.torres.8519@gmail.com>2025-06-29 20:01:59 -0300
committerHilton Chain <hako@ultrarare.space>2025-07-04 23:38:11 +0800
commitde7022b51283eed6734b77e9b2d6d433226b5891 (patch)
tree144ea982e77e877f515b309be19f1ee8ed59b094 /gnu
parent1beeaed3716dffc2028c45756641649d9f73cb45 (diff)
gnu: emacs-exwm: Preparatory cleanup.
To the future update. * gnu/packages/emacs-xyz.scm (emacs-exwm): Preparatory cleanup. [source] <origin>: Use source from git repository instead of tarball from elpa. [propagated-inputs]: Include missing emacs-compat. [arguments] <tests>: Set to #f. <phases>: Rework message for exwm-executable in install-xsession. Change-Id: I45b1fa1e4c690205be2039ea874013d149d33cf6 Signed-off-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 15 insertions, 11 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a29b93c4f90..8d09e1c5b04 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22516,14 +22516,17 @@ It should enable you to implement low-level X11 applications.")
(synopsis "Emacs X window manager")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://elpa.gnu.org/packages/"
- "exwm-" version ".tar"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emacs-exwm/exwm")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "13wywayvdxpr2z14lri3ggni1wj20r452a0gxnx0cpgif3c1l2sx"))))
+ (base32
+ "1p2b5dvq0i3100wfqgag7qrcvi99q6b42ij53bz4vljv7pcrcrhh"))))
(build-system emacs-build-system)
(propagated-inputs
- (list emacs-xelb))
+ (list emacs-compat emacs-xelb))
(inputs
(list xhost dbus))
;; The following functions and variables needed by emacs-exwm are
@@ -22533,6 +22536,7 @@ It should enable you to implement low-level X11 applications.")
(arguments
(list
#:emacs emacs
+ #:tests? #f ;No test suite.
#:phases
#~(modify-phases %standard-phases
(add-after 'build 'install-xsession
@@ -22565,13 +22569,13 @@ It should enable you to implement low-level X11 applications.")
((not (featurep 'exwm))
(require 'exwm)
(exwm-enable)
- (message (concat "exwm configuration not found. "
- "Falling back to minimal configuration. "
- "An example configuration can be found here "
- "https://github.com/emacs-exwm/exwm"
- "/wiki/Configuration-Example")))))))
+ (message
+ "exwm configuration not found.
+Falling back to minimal configuration.
+An example configuration can be found here:
+https://github.com/emacs-exwm/exwm/wiki/Configuration-Example"))))))
(chmod exwm-executable #o555)))))))
- (home-page "https://github.com/ch11ng/exwm")
+ (home-page "https://github.com/emacs-exwm/exwm")
(description
"EXWM is a full-featured tiling X window manager for Emacs built on top
of XELB.")