[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54829] [PATCH v3 3/3] gnu: emacs: Add support for socket activation
From: |
Liliana Marie Prikler |
Subject: |
[bug#54829] [PATCH v3 3/3] gnu: emacs: Add support for socket activation. |
Date: |
Sun, 10 Apr 2022 13:32:27 +0200 |
* gnu/packages/emacs.scm (emacs)[#:phases]: Add ‘enable-elogind’.
[inputs]: Add elogind.
[native-inputs]: Add autoconf.
---
gnu/packages/emacs.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a32fe624dd..847731b95d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -131,6 +131,11 @@ (define-public emacs
"--disable-build-details")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'enable-elogind
+ (lambda _
+ (substitute* "configure.ac"
+ (("libsystemd") "libelogind"))
+ (delete-file "configure")))
(add-after 'unpack 'patch-program-file-names
(lambda* (#:key inputs #:allow-other-keys)
(substitute* '("src/callproc.c"
@@ -271,6 +276,7 @@ (define* (emacs-byte-compile-directory dir)
gmp
ghostscript
poppler
+ elogind
;; When looking for libpng `configure' links with `-lpng -lz', so we
;; must also provide zlib as an input.
@@ -290,7 +296,7 @@ (define* (emacs-byte-compile-directory dir)
libotf
m17n-lib))
(native-inputs
- (list pkg-config texinfo))
+ (list autoconf pkg-config texinfo))
(native-search-paths
(list (search-path-specification
(variable "EMACSLOADPATH")
--
2.34.0
- [bug#54829] [PATCH 1/2] gnu: emacs: Update to 28.1., (continued)
- [bug#54829] [PATCH v2 2/3] gnu: emacs: Use new package style., Liliana Marie Prikler, 2022/04/10
- [bug#54829] [PATCH v2 3/3] gnu: emacs: Add support for socket activation., Liliana Marie Prikler, 2022/04/10
- [bug#54829] [PATCH v3 3/3] gnu: emacs: Add support for socket activation.,
Liliana Marie Prikler <=
- [bug#54829] [PATCH 0/2] Update Emacs to 28.1 and add socket activation, Ludovic Courtès, 2022/04/28
- [bug#54829] [PATCH 0/2] Update Emacs to 28.1 and add socket activation, Liliana Marie Prikler, 2022/04/28
- [bug#54829] [PATCH 0/2] Update Emacs to 28.1 and add socket activation, Feng Shu, 2022/04/28
- [bug#54829] [PATCH 0/2] Update Emacs to 28.1 and add socket activation, Liliana Marie Prikler, 2022/04/29
- [bug#54829] Re: [bug#54829] [PATCH 0/2] Update Emacs to 28.1 and add socket activation, tumashu, 2022/04/29
[bug#54829] [PATCH v3 1/3] gnu: emacs: Update to 28.1., Liliana Marie Prikler, 2022/04/14
[bug#54829] [PATCH v3 2/3] gnu: emacs: Use new package style., Liliana Marie Prikler, 2022/04/14