From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mPWuBOCYjmAV1QAAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 14:19:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YBViAOCYjmBrWQAA1q6Kng (envelope-from ) for ; Sun, 02 May 2021 12:19:44 +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 60FC524036 for ; Sun, 2 May 2021 14:19:43 +0200 (CEST) Received: from localhost ([::1]:43368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldAZ5-0007gG-FX for larch@yhetil.org; Sun, 02 May 2021 07:47:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldAYx-0007fb-T5 for guix-patches@gnu.org; Sun, 02 May 2021 07:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldAYw-0002LN-NL for guix-patches@gnu.org; Sun, 02 May 2021 07:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldAYw-0006Kl-J7 for guix-patches@gnu.org; Sun, 02 May 2021 07:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48158] [PATCH] gnu: xboard: Patch path to aplay. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 May 2021 11:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48158 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48158@debbugs.gnu.org Cc: Michael Rohleder X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161995601324336 (code B ref -1); Sun, 02 May 2021 11:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2021 11:46:53 +0000 Received: from localhost ([127.0.0.1]:42372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldAYn-0006KS-GL for submit@debbugs.gnu.org; Sun, 02 May 2021 07:46:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:44894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldAYk-0006KM-Ts for submit@debbugs.gnu.org; Sun, 02 May 2021 07:46:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldAYa-0007cR-MN for guix-patches@gnu.org; Sun, 02 May 2021 07:46:42 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:48742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldAYQ-000255-3H for guix-patches@gnu.org; Sun, 02 May 2021 07:46:37 -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 1ldAYJ-0001lT-DG; Sun, 02 May 2021 13:46:23 +0200 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1ldAYI-0008OD-He; Sun, 02 May 2021 13:46:22 +0200 From: Michael Rohleder Date: Sun, 2 May 2021 13:46:20 +0200 Message-Id: <20210502114620.4133-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;1619955990;ab5ccfe1; X-HE-SMSGID: 1ldAYJ-0001lT-DG 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=1619957983; 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=KVBr8Ts7/YquQ7dtQBStauwB8uP2GRl+y32SpfpZQXk=; b=Tb8fr1yqcxOGpLAVehE5qATtH9ZaNDiZbifccAbDoTRvTf4kX0KKZdF+Z0wxvV7cQ13/Wg Fasbl5iR7I+6YDQArIiSdgmkYpXv/iFPFb2MfpO2vmDOW29VM9L79U9CBRTwhE3KI/CWkF b4Nh98Fq3iHedGQO5L2EOwbb21IH0Po3R2FxQQz7BusAD323e5mKQRpNsEt2Kblu2lYFoT 4jr1ZKvH4oV2hcteAwVLA81gN5qreiuzOu52ZYiVRVLhTl+N4vJOt48GYQBKC3zzZu3KRi SzDX+TVCZBs1haujC+CQSWpkbOhzujA712upAh3U0ljBW2shoN5s6/7Lr3AyIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619957983; a=rsa-sha256; cv=none; b=cZsi/ppYVY3BhREGJfuefeFR+3++3H5QZnst0mw3n1TLekh7+PXo/fmmE7chVdGnPKb3NS g5ZiL52mXcnTbfgvxWnupTIM94WfTMvZXBrnws1cylTT+B2WoKrpHhN3uGu2XGJw6HufjP eXpAwtWiqsJYw4jP1Jqj3tP38rzeRdquUJmJGUrZoQ4iVbni7tegW22qewmSVJqTpJDUq+ iaaYQiCXdlnVzxE+694u6c6dJTy7yuSsYg8sW6jrVVZSGRf38t0FVTRgkr4ws8p2VYrdBv ws4HWjnGkeY0XpmrroJawFaRH696ZlHVVQGlFy8cE73DhYdntBrnF4GpMNydCA== 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: 4.04 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: 60FC524036 X-Spam-Score: 4.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: y36oa56d6y0+ Fixes . * gnu/packages/games.scm (xboard): Patch path to aplay. [inputs]: Add alsa-utils. [arguments]: Add phase patch-aplay-path. --- gnu/packages/games.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 3227b3e6fc..8bd3c95ebb 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3323,8 +3323,19 @@ exec ~a/bin/freedink -refdir ~a/share/dink\n" (base32 "1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib")))) (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Fixes https://issues.guix.gnu.org/47195. + (add-after 'unpack 'patch-aplay-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "xboard.conf" + (("aplay -q") + (string-append (assoc-ref inputs "alsa-utils") "/bin/aplay -q"))) + #t))))) (inputs - `(("gtk+" ,gtk+-2) + `(("alsa-utils" ,alsa-utils) + ("gtk+" ,gtk+-2) ("librsvg" ,librsvg))) (native-inputs `(("texinfo" ,texinfo) -- 2.31.1