From patchwork Mon Nov 2 05:30:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Rohleder X-Patchwork-Id: 24951 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0374F27BBF2; Mon, 2 Nov 2020 05:31:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9194227BBF3 for ; Mon, 2 Nov 2020 05:31:09 +0000 (GMT) Received: from localhost ([::1]:52204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZSQu-0005h6-Nj for patchwork@mira.cbaines.net; Mon, 02 Nov 2020 00:31:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZSQo-0005gu-TP for guix-patches@gnu.org; Mon, 02 Nov 2020 00:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZSQo-0005k1-GA for guix-patches@gnu.org; Mon, 02 Nov 2020 00:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZSQo-0003wR-C4 for guix-patches@gnu.org; Mon, 02 Nov 2020 00:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44385] [PATCH] gnu: stumpish: Fix xprop call. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Nov 2020 05:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44385@debbugs.gnu.org Cc: Michael Rohleder X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160429504115117 (code B ref -1); Mon, 02 Nov 2020 05:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Nov 2020 05:30:41 +0000 Received: from localhost ([127.0.0.1]:39301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZSQT-0003vk-IE for submit@debbugs.gnu.org; Mon, 02 Nov 2020 00:30:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:40974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZSQR-0003vd-S6 for submit@debbugs.gnu.org; Mon, 02 Nov 2020 00:30:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZSQQ-0005eB-0F for guix-patches@gnu.org; Mon, 02 Nov 2020 00:30:39 -0500 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:41788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZSQM-0005UC-LT for guix-patches@gnu.org; Mon, 02 Nov 2020 00:30:37 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kZSQG-00054i-Hr; Mon, 02 Nov 2020 06:30:28 +0100 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1kZRUB-0004NY-Up; Mon, 02 Nov 2020 06:30:28 +0100 From: Michael Rohleder Date: Mon, 2 Nov 2020 06:30:27 +0100 Message-Id: <20201102053027.9850-1-mike@rohleder.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1604295034;aedf79a3; X-HE-SMSGID: 1kZSQG-00054i-Hr Received-SPF: permerror client-ip=80.237.132.231; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/02 00:30:30 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/wm.scm (stumpish): Fix xprop call. [inputs]: Add xprop. [arguments]: Add substitution of xprop. --- starting stumpish yields: /gnu/store/3dd14k2g5v67jm0hv0cmpvkvdk4631c5-stumpish-0.0.1-2.920f8fc/bin/stumpish: line 83: xprop: command not found /gnu/store/3dd14k2g5v67jm0hv0cmpvkvdk4631c5-stumpish-0.0.1-2.920f8fc/bin/stumpish: line 55: xprop: command not found and after typing "commands" in the repl the same error results in no output. gnu/packages/wm.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 58252e7095..b76542692c 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2020 Boris A. Dekshteyn ;;; Copyright © 2020 Marcin Karpezo ;;; Copyright © 2020 EuAndreh +;;; Copyright © 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -1722,7 +1723,8 @@ productive, customizable lisp based systems.") (name "stumpish") (inputs `(("bash" ,bash) - ("rlwrap" ,rlwrap))) + ("rlwrap" ,rlwrap) + ("xprop" ,xprop))) (build-system trivial-build-system) (arguments '(#:modules ((guix build utils)) @@ -1734,6 +1736,8 @@ productive, customizable lisp based systems.") (substitute* "stumpish" (("rlwrap") (string-append (assoc-ref %build-inputs "rlwrap") "/bin/rlwrap")) + (("xprop") (string-append (assoc-ref %build-inputs "xprop") + "/bin/xprop")) (("/bin/sh") (string-append (assoc-ref %build-inputs "bash") "/bin/bash"))) (install-file "stumpish" (string-append %output "/bin")))))