From: Kei Kebreau <kei@openmailbox.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: windowmaker: Fix invocation of 'wmsetbg'.
Date: Tue, 25 Oct 2016 13:46:03 -0400 [thread overview]
Message-ID: <87mvhs725g.fsf@openmailbox.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 99 bytes --]
This patch allows Window Maker to run wmsetbg properly instead of
showing an error as it has been.
[-- Attachment #1.2: 0001-gnu-windowmaker-Fix-invocation-of-wmsetbg.patch --]
[-- Type: text/plain, Size: 1510 bytes --]
From a113116da6f9f6574e9fde12e69a9d3acdc87769 Mon Sep 17 00:00:00 2001
From: Kei Kebreau <kei@openmailbox.org>
Date: Sun, 23 Oct 2016 13:50:05 -0400
Subject: [PATCH] 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)
--
2.10.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next reply other threads:[~2016-10-25 17:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-25 17:46 Kei Kebreau [this message]
2016-10-26 3:07 ` [PATCH] gnu: windowmaker: Fix invocation of 'wmsetbg' Marius Bakke
2016-10-26 4:14 ` Kei Kebreau
2016-12-09 21:09 ` Kei Kebreau
2016-12-09 21:33 ` Marius Bakke
2016-12-10 3:12 ` Kei Kebreau
2016-12-10 1:02 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mvhs725g.fsf@openmailbox.org \
--to=kei@openmailbox.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.