mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: emacs-ewmctrl: Make sure wmctrl is in the right place.
* gnu/packages/emacs.scm (emacs-ewmctrl): Make sure 'wmctrl' is in the right place.
This commit is contained in:
parent
84960cb780
commit
0bcb925817
1 changed files with 14 additions and 0 deletions
|
@ -105,6 +105,7 @@ (define-module (gnu packages emacs)
|
||||||
#:use-module (gnu packages gd)
|
#:use-module (gnu packages gd)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
#:use-module (gnu packages password-utils)
|
#:use-module (gnu packages password-utils)
|
||||||
|
#:use-module (gnu packages xdisorg)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (srfi srfi-1)
|
#:use-module (srfi srfi-1)
|
||||||
#:use-module (ice-9 match))
|
#:use-module (ice-9 match))
|
||||||
|
@ -8363,6 +8364,19 @@ (define-public emacs-ewmctrl
|
||||||
(base32
|
(base32
|
||||||
"0ilwvx0qryv3v6xf0gxqwnfm6pf96gxap8h9g3f6z6lk9ff4n1wi"))))
|
"0ilwvx0qryv3v6xf0gxqwnfm6pf96gxap8h9g3f6z6lk9ff4n1wi"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-ewmctrl
|
||||||
|
;; This build phase makes sure ‘ewmctrl’ looks
|
||||||
|
;; for ‘wmctrl’ in the right place.
|
||||||
|
(lambda _
|
||||||
|
(let ((file "ewmctrl.el"))
|
||||||
|
(chmod file #o644)
|
||||||
|
(emacs-substitute-sexps file
|
||||||
|
("(defcustom ewmctrl-wmctrl-path" (which "wmctrl")))))))))
|
||||||
|
(inputs
|
||||||
|
`(("wmctrl" ,wmctrl)))
|
||||||
(home-page "https://github.com/flexibeast/ewmctrl")
|
(home-page "https://github.com/flexibeast/ewmctrl")
|
||||||
(synopsis "Emacs interface to @code{wmctrl}")
|
(synopsis "Emacs interface to @code{wmctrl}")
|
||||||
(description "@code{ewmctrl} provides an Emacs interface to
|
(description "@code{ewmctrl} provides an Emacs interface to
|
||||||
|
|
Loading…
Reference in a new issue