[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55419] [PATCH 2/5] gnu: emacs-xwidgets: Use new package style.
From: |
Liliana Marie Prikler |
Subject: |
[bug#55419] [PATCH 2/5] gnu: emacs-xwidgets: Use new package style. |
Date: |
Sun, 15 May 2022 00:10:19 +0200 |
* gnu/packages/emacs.scm (emacs-xwidgets)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
---
gnu/packages/emacs.scm | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index af902ac9f9..e3eba851ff 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -391,16 +391,15 @@ (define-public emacs-xwidgets
(build-system gnu-build-system)
(arguments
(substitute-keyword-arguments (package-arguments emacs)
- ((#:configure-flags flags ''())
- `(cons "--with-xwidgets" ,flags))
+ ((#:configure-flags flags #~'())
+ #~(cons "--with-xwidgets" #$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)))))
(inputs
- `(("webkitgtk" ,webkitgtk-with-libsoup2)
- ("libxcomposite" ,libxcomposite)
- ,@(package-inputs emacs)))))
+ (modify-inputs (package-inputs emacs)
+ (prepend webkitgtk-with-libsoup2 libxcomposite)))))
(define-public emacs-no-x
(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 <=
- [bug#55419] [PATCH 3/5] gnu: emacs-no-x: Use new package style., Liliana Marie Prikler, 2022/05/14
- [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