From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 55419@debbugs.gnu.org
Subject: [bug#55419] [PATCH 3/5] gnu: emacs-no-x: Use new package style.
Date: Sun, 15 May 2022 00:10:59 +0200 [thread overview]
Message-ID: <45ccc5b1953f1388438d774e9de63b8ec6e4b6ee.camel@gmail.com> (raw)
In-Reply-To: <e972aff8517c1050d8352bfc928cd1d1649ae0c8.camel@gmail.com>
* 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
next prev parent reply other threads:[~2022-05-14 22:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-14 22:14 [bug#55419] [PATCH 0/5] Use new package style for Emacs variants Liliana Marie Prikler
2022-05-14 22:07 ` [bug#55419] [PATCH 1/5] gnu: emacs-next-pgtk: Use new package style Liliana Marie Prikler
2022-05-14 22:10 ` [bug#55419] [PATCH 2/5] gnu: emacs-xwidgets: " Liliana Marie Prikler
2022-05-14 22:10 ` Liliana Marie Prikler [this message]
2022-05-14 22:11 ` [bug#55419] [PATCH 4/5] gnu: emacs-no-x-toolkit: " Liliana Marie Prikler
2022-05-14 22:11 ` [bug#55419] [PATCH 5/5] gnu: emacs-wide-int: " Liliana Marie Prikler
2022-05-15 8:43 ` [bug#55419] [PATCH 0/5] Use new package style for Emacs variants Maxime Devos
2022-05-15 11:14 ` bug#55419: " Liliana Marie Prikler
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=45ccc5b1953f1388438d774e9de63b8ec6e4b6ee.camel@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=55419@debbugs.gnu.org \
/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.