From unknown Fri Sep 05 20:37:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48158 <48158@debbugs.gnu.org> To: bug#48158 <48158@debbugs.gnu.org> Subject: Status: [PATCH] gnu: xboard: Patch path to aplay. Reply-To: bug#48158 <48158@debbugs.gnu.org> Date: Sat, 06 Sep 2025 03:37:26 +0000 retitle 48158 [PATCH] gnu: xboard: Patch path to aplay. reassign 48158 guix-patches submitter 48158 Michael Rohleder severity 48158 normal tag 48158 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 02 07:46:53 2021 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: xboard: Patch path to aplay. 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Michael Rohleder X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon May 03 12:03:08 2021 Received: (at 48158-done) by debbugs.gnu.org; 3 May 2021 16:03:08 +0000 Received: from localhost ([127.0.0.1]:47182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldb2K-0008Sv-7s for submit@debbugs.gnu.org; Mon, 03 May 2021 12:03:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldb2I-0008SS-JE for 48158-done@debbugs.gnu.org; Mon, 03 May 2021 12:03:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56648) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldb2C-000529-AX; Mon, 03 May 2021 12:03:00 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53476 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ldb25-0007l6-3F; Mon, 03 May 2021 12:02:57 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Michael Rohleder Subject: Re: bug#48158: [PATCH] gnu: xboard: Patch path to aplay. References: <20210502114620.4133-1-mike@rohleder.de> Date: Mon, 03 May 2021 18:02:51 +0200 In-Reply-To: <20210502114620.4133-1-mike@rohleder.de> (Michael Rohleder's message of "Sun, 2 May 2021 13:46:20 +0200") Message-ID: <87lf8vyfdg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48158-done Cc: 48158-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Michael Rohleder skribis: > Fixes . > > * gnu/packages/games.scm (xboard): Patch path to aplay. > [inputs]: Add alsa-utils. > [arguments]: Add phase patch-aplay-path. Applied, thanks! Incidentally, the following still breaks on the first move: $ guix environment --ad-hoc xboard -- xboard [=E2=80=A6] xboard: Error writing to first chess program: Broken pipe At first sight the reason may be that it doesn=E2=80=99t find =E2=80=98fair= ymax=E2=80=99 (what=E2=80=99s that?) in $PATH. I=E2=80=99m sure I=E2=80=99m missing something obvious, b= ut I wonder if we could make it work out of the box. Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon May 03 12:13:43 2021 Received: (at 48158) by debbugs.gnu.org; 3 May 2021 16:13:43 +0000 Received: from localhost ([127.0.0.1]:47249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldbCZ-0000A0-4G for submit@debbugs.gnu.org; Mon, 03 May 2021 12:13:43 -0400 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:56668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldbCX-00009u-Cm for 48158@debbugs.gnu.org; Mon, 03 May 2021 12:13:42 -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 1ldbCV-00033F-DK; Mon, 03 May 2021 18:13:39 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1ldbCU-0003UB-UO; Mon, 03 May 2021 18:13:39 +0200 From: Michael Rohleder To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#48158: [PATCH] gnu: xboard: Patch path to aplay. References: <20210502114620.4133-1-mike@rohleder.de> <87lf8vyfdg.fsf@gnu.org> Date: Mon, 03 May 2021 18:13:32 +0200 In-Reply-To: <87lf8vyfdg.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 03 May 2021 18:02:51 +0200") Message-ID: <87bl9rx0b7.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1620058421;e07b0940; X-HE-SMSGID: 1ldbCV-00033F-DK X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48158 Cc: 48158@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, Thank you for reviewing! Ludovic Court=C3=A8s writes: > Incidentally, the following still breaks on the first move: > > $ guix environment --ad-hoc xboard -- xboard > [=E2=80=A6] > xboard: Error writing to first chess program: Broken pipe > > At first sight the reason may be that it doesn=E2=80=99t find =E2=80=98fa= irymax=E2=80=99 (what=E2=80=99s > that?) in $PATH. I=E2=80=99m sure I=E2=80=99m missing something obvious,= but I wonder > if we could make it work out of the box. > > Thoughts? > Yes, I think that is https://issues.guix.gnu.org/45236 fairymax is a (simple) chessengine. I plan to fix this issue (also via the xboard.conf), so that gnuchess gets the default configured engine, after this one here is merged... =2D-=20 Wenn Du denkst, Abenteuer sind gef=C3=A4hrlich, dann versuch=C2=B4s doch ma= l mit Routine. Die ist t=C3=B6dlich. - Paulo Coelho --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAmCQISwRHG1pa2VAcm9o bGVkZXIuZGUACgkQfHr/vv7yyyVapwf9EpofxchLXXBMOqdGdmo43gLdRnMjn5/A ex5DlHqqKq5nNqast5bFn2JFeDE30PSmRjdyAZ22MHsb0ziCfnJQsT8Wqvbf8mEf yvn9k128piKrMJqAuVnpKJ58WbjQRXZb5tN7Lj2dX++DoJL4C2YUGd5xddtIq8VS J1GsFwiPRLS2YaXOLEdmoLwnOa8Akmiy76gmbgwFF/PB64dqvykDIe+Etu38+OAs fFcu7CfViEcVjwmTpMnKgV9w5h6UyxR/021sIFmul6ZUfjB7+BiZoK2PCcoLVolv N33Dl904ZNIxaSBGfFJDapJtASX4llzDMZIyzIqhQMcGWhpj36oBOg== =7Br8 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:37:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 01 Jun 2021 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator