mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: windowmaker: Fix invocation of 'wmsetbg'.
* gnu/packages/gnustep.scm (windowmaker)[arguments]: Add substitution of 40-character limit with a 107-character limit.
This commit is contained in:
parent
a225db5293
commit
fdb552bbd4
1 changed files with 7 additions and 1 deletions
|
@ -60,7 +60,13 @@ (define-public windowmaker
|
|||
(string-append "\"" bin "/wmaker.inst")))
|
||||
(substitute* '("src/defaults.c" "WPrefs.app/Menu.c")
|
||||
(("\"wmsetbg")
|
||||
(string-append "\"" bin "/wmsetbg")))))
|
||||
(string-append "\"" bin "/wmsetbg")))
|
||||
;; Add enough cells to the command character array to
|
||||
;; allow passing our large path to the wmsetbg binary.
|
||||
;; The path to wmsetbg in Guix requires 67 extra characters.
|
||||
(substitute* "src/defaults.c"
|
||||
(("len = strlen\\(text\\) \\+ 40;")
|
||||
(string-append "len = strlen(text) + 107;")))))
|
||||
(alist-cons-after
|
||||
'install 'wrap
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue