From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mADTFrdxkGDM8wAAgWs5BA (envelope-from ) for ; Mon, 03 May 2021 23:57:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eB1xErdxkGCAcgAAB5/wlQ (envelope-from ) for ; Mon, 03 May 2021 21:57:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EA77425C13 for ; Mon, 3 May 2021 23:57:10 +0200 (CEST) Received: from localhost ([::1]:41032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldgYv-0001JP-QG for larch@yhetil.org; Mon, 03 May 2021 17:57:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldgYo-0001J4-Ip for guix-patches@gnu.org; Mon, 03 May 2021 17:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldgYo-0007mi-Bn for guix-patches@gnu.org; Mon, 03 May 2021 17:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldgYo-0005m0-8s for guix-patches@gnu.org; Mon, 03 May 2021 17:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48207] [PATCH] gnu: chess: Fix paths in installed shell scripts. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 May 2021 21:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48207 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48207@debbugs.gnu.org Cc: Michael Rohleder X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162007899122178 (code B ref -1); Mon, 03 May 2021 21:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2021 21:56:31 +0000 Received: from localhost ([127.0.0.1]:48932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldgYI-0005le-Um for submit@debbugs.gnu.org; Mon, 03 May 2021 17:56:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:42644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldgYH-0005lX-PG for submit@debbugs.gnu.org; Mon, 03 May 2021 17:56:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldgYH-0001HH-Ga for guix-patches@gnu.org; Mon, 03 May 2021 17:56:29 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:38712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldgYD-0007U0-4t for guix-patches@gnu.org; Mon, 03 May 2021 17:56:29 -0400 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 1ldgY9-0003iG-Cc; Mon, 03 May 2021 23:56:21 +0200 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1ldgY8-0005tf-Re; Mon, 03 May 2021 23:56:21 +0200 From: Michael Rohleder Date: Mon, 3 May 2021 23:56:15 +0200 Message-Id: <20210503215615.30236-1-mike@rohleder.de> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1620078985;007893a5; X-HE-SMSGID: 1ldgY9-0003iG-Cc Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620079031; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=m+Fi0OtSx04UlrdCrYkfvEltLz4e0BpI3/Vnt0Y1uoE=; b=LVTQ63VK80qOXjEhbKKTaiZUYQdn+ZGxfZb45bh72/fieRntNfIzMtV6YDfm1EZKngKiIJ mw8dw1ZWaW5P7FKQueAjALJa4AGEpivyWQJv57wsxxmD8Oueq9G/+3u2bnvVO9JjLCbEt+ N4ex05ltAeRi/vVvysNirT5OD5C9pQtEtQ9euY9RbZnGXMYtwlWWREykqNZjMf87/p0HHD fZqDGlXRdnGvCcjuyTZnbXkQKoMxbCBQKUozy5ZXhvveE/rTskZLOl0p/ePzDTdz0UUoM3 yUWZBPCWFgFLDiCV36PWMubFazE2ZP0vI+feZFF8z9y4kG9c609QQ3LgnWQ27Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620079031; a=rsa-sha256; cv=none; b=GNiBmjovID3JQT1mtJMBRFkZ7P5IdJC4CcPCDz1JxzXeUo4r9IF9SMFj25PvD7tpjjeyVI 7x2VcBTK7XSFK/uIZgO84Mb9To1Pi4SKZq+dJYisBoydBHmt3Y7NFxRMLBhNNgRB1FD1p8 midxoj753Js+r/PFFyZV9E4f9ClG9bm79lQo2RY9fecYBDBAsVDwiusnee+QwkQYavdTex CCtFiTnJNLF1JOMYwNjVK+yiGLO1xR9wi6nYkvA9G22p+zV8/VgzXRdRD4uIWMF1vNzLW1 iszpH2/cRtGRZVBBZh/4ZFR6DYecLK5O3Dfe6n7jLZRljxYE08VF/T6YyqfUSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EA77425C13 X-Spam-Score: 2.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6T7njflE2KFN * gnu/packages/games.scm (chess)[arguments]: Add a 'fix-shell-scripts phase. --- gnu/packages/games.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 073e41eec6..9d7c8ef341 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3163,6 +3163,16 @@ asynchronously and at a user-defined speed.") (base32 "0ilq4bfl0lwyzf11q7n2skydjhalfn3bgxhrp5hjxs5bc5d6fdp5")))) (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'install 'fix-shell-scripts + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (chdir bin) + (substitute* '("gnuchessx" "gnuchessu") + (("^gnuchess") (string-append bin "/gnuchess"))))))))) (home-page "https://www.gnu.org/software/chess/") (synopsis "Full chess implementation") (description "GNU Chess is a chess engine. It allows you to compete -- 2.31.1