guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: windowmaker: Fix invocation of 'wmsetbg'.


From: Kei Kebreau
Subject: 01/01: gnu: windowmaker: Fix invocation of 'wmsetbg'.
Date: Sat, 10 Dec 2016 03:11:45 +0000 (UTC)

kkebreau pushed a commit to branch master
in repository guix.

commit fdb552bbd44e35d335ee1d430ffe5b0fc4bc237e
Author: Kei Kebreau <address@hidden>
Date:   Sun Oct 23 13:50:05 2016 -0400

    gnu: windowmaker: Fix invocation of 'wmsetbg'.
    
    * gnu/packages/gnustep.scm (windowmaker)[arguments]: Add substitution of
    40-character limit with a 107-character limit.
---
 gnu/packages/gnustep.scm |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnustep.scm b/gnu/packages/gnustep.scm
index 6c365cb..8f72bb3 100644
--- a/gnu/packages/gnustep.scm
+++ b/gnu/packages/gnustep.scm
@@ -60,7 +60,13 @@
                         (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]