[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55419] [PATCH 3/5] gnu: emacs-no-x: Use new package style.
From: |
Liliana Marie Prikler |
Subject: |
[bug#55419] [PATCH 3/5] gnu: emacs-no-x: Use new package style. |
Date: |
Sun, 15 May 2022 00:10:59 +0200 |
* gnu/packages/emacs.scm (emacs-no-x)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
---
gnu/packages/emacs.scm | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e3eba851ff..027afc811a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -407,22 +407,20 @@ (define-public emacs-no-x
(synopsis "The extensible, customizable, self-documenting text
editor (console only)")
(build-system gnu-build-system)
- (inputs (fold alist-delete
- (package-inputs emacs)
- '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
- "imagemagick" "libpng" "librsvg" "libxpm" "libice"
- "libsm" "cairo" "pango" "harfbuzz"
-
- ;; These depend on libx11, so remove them as well.
- "libotf" "m17n-lib" "dbus")))
+ (inputs (modify-inputs (package-inputs emacs)
+ (delete "libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
+ "imagemagick" "libpng" "librsvg" "libxpm" "libice"
+ "libsm" "cairo" "pango" "harfbuzz"
+ ;; These depend on libx11, so remove them as well.
+ "libotf" "m17n-lib" "dbus")))
(arguments
(substitute-keyword-arguments (package-arguments emacs)
- ((#:configure-flags flags ''())
- `(delete "--with-cairo" ,flags))
+ ((#:configure-flags flags #~'())
+ #~(delete "--with-cairo" #$flags))
((#:phases phases)
- `(modify-phases ,phases
- (delete 'restore-emacs-pdmp)
- (delete 'strip-double-wrap)))))))
+ #~(modify-phases #$phases
+ (delete 'restore-emacs-pdmp)
+ (delete 'strip-double-wrap)))))))
(define-public emacs-no-x-toolkit
(package/inherit emacs
--
2.36.0
- [bug#55419] [PATCH 0/5] Use new package style for Emacs variants., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 1/5] gnu: emacs-next-pgtk: Use new package style., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 4/5] gnu: emacs-no-x-toolkit: Use new package style., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 2/5] gnu: emacs-xwidgets: Use new package style., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 3/5] gnu: emacs-no-x: Use new package style.,
Liliana Marie Prikler <=
- [bug#55419] [PATCH 5/5] gnu: emacs-wide-int: Use new package style., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 0/5] Use new package style for Emacs variants., Maxime Devos, 2022/05/15