gnu: emacs: Add support for socket activation.
* gnu/packages/emacs.scm (emacs)[#:phases]: Add ‘enable-elogind’. [inputs]: Add elogind. [native-inputs]: Add autoconf.master
parent
64557bc695
commit
5f315e1d5f
|
@ -131,6 +131,12 @@
|
||||||
"--disable-build-details")
|
"--disable-build-details")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'enable-elogind
|
||||||
|
(lambda _
|
||||||
|
(substitute* "configure.ac"
|
||||||
|
(("libsystemd") "libelogind"))
|
||||||
|
(when (file-exists? "configure")
|
||||||
|
(delete-file "configure"))))
|
||||||
(add-after 'unpack 'patch-program-file-names
|
(add-after 'unpack 'patch-program-file-names
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* '("src/callproc.c"
|
(substitute* '("src/callproc.c"
|
||||||
|
@ -271,6 +277,7 @@
|
||||||
gmp
|
gmp
|
||||||
ghostscript
|
ghostscript
|
||||||
poppler
|
poppler
|
||||||
|
elogind
|
||||||
|
|
||||||
;; When looking for libpng `configure' links with `-lpng -lz', so we
|
;; When looking for libpng `configure' links with `-lpng -lz', so we
|
||||||
;; must also provide zlib as an input.
|
;; must also provide zlib as an input.
|
||||||
|
@ -290,7 +297,7 @@
|
||||||
libotf
|
libotf
|
||||||
m17n-lib))
|
m17n-lib))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config texinfo))
|
(list autoconf pkg-config texinfo))
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "EMACSLOADPATH")
|
(variable "EMACSLOADPATH")
|
||||||
|
|
Reference in New Issue