GNU bug report logs - #48210
[PATCH] gnu: xboard: Set default engine to gnuchess.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Michael Rohleder <mike@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 48210-done <at> debbugs.gnu.org:


Received: (at 48210-done) by debbugs.gnu.org; 5 May 2021 13:29:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 05 09:29:02 2021
Received: from localhost ([127.0.0.1]:60225 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1leHaH-0007qA-S6
	for submit <at> debbugs.gnu.org; Wed, 05 May 2021 09:29:02 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46254)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1leHaF-0007q4-MQ
 for 48210-done <at> debbugs.gnu.org; Wed, 05 May 2021 09:28:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44273)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1leHaA-0004RK-81; Wed, 05 May 2021 09:28:54 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36032 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1leHZw-0004EU-Qw; Wed, 05 May 2021 09:28:43 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Michael Rohleder <mike@HIDDEN>
Subject: Re: bug#48210: [PATCH] gnu: xboard: Set default engine to gnuchess.
References: <20210503230728.16491-1-mike@HIDDEN>
Date: Wed, 05 May 2021 15:28:39 +0200
In-Reply-To: <20210503230728.16491-1-mike@HIDDEN> (Michael Rohleder's
 message of "Tue, 4 May 2021 01:07:28 +0200")
Message-ID: <87r1iljomw.fsf@HIDDEN>
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: 48210-done
Cc: 48210-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Michael Rohleder <mike@HIDDEN> skribis:

> Fixes <https://issues.guix.gnu.org/45236>.
>
> * gnu/packages/games.scm (xboard): Set default engine to gnuchess.
> [arguments]: Add phase 'patch-default-engine.
> [inputs]: Add chess.

Applied, thanks!

One remaining issue, a minor one, is:

--8<---------------cut here---------------start------------->8---
/gnu/store/sf57176zicjqrjz4whh84qspqr4n590j-xboard-4.9.1/share/games/xboard=
/sounds/woodthunk.wav: Dosiero a=C5=AD dosierujo ne ekzistas
--8<---------------cut here---------------end--------------->8---

:-)

Ludo=E2=80=99.




Notification sent to Michael Rohleder <mike@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 May 2021 23:07:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 03 19:07:44 2021
Received: from localhost ([127.0.0.1]:49251 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldhfE-0006R1-Fa
	for submit <at> debbugs.gnu.org; Mon, 03 May 2021 19:07:44 -0400
Received: from lists.gnu.org ([209.51.188.17]:44324)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mike@HIDDEN>) id 1ldhfD-0006Qv-7q
 for submit <at> debbugs.gnu.org; Mon, 03 May 2021 19:07:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35424)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mike@HIDDEN>) id 1ldhfC-0002uc-DP
 for guix-patches@HIDDEN; Mon, 03 May 2021 19:07:43 -0400
Received: from wp224.webpack.hosteurope.de
 ([2a01:488:42:1000:50ed:84e7::]:56222)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mike@HIDDEN>) id 1ldhf8-0003Y9-3K
 for guix-patches@HIDDEN; Mon, 03 May 2021 19:07:41 -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 1ldhf3-0000wm-56; Tue, 04 May 2021 01:07:33 +0200
Received: from [192.168.1.3] (helo=micha.rohleder.de)
 by www.rohleder.de with esmtp (Exim 4.94)
 (envelope-from <mike@HIDDEN>)
 id 1ldhf2-0006ZK-C2; Tue, 04 May 2021 01:07:32 +0200
From: Michael Rohleder <mike@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: xboard: Set default engine to gnuchess.
Date: Tue,  4 May 2021 01:07:28 +0200
Message-Id: <20210503230728.16491-1-mike@HIDDEN>
X-Mailer: git-send-email 2.31.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-bounce-key: webpack.hosteurope.de;mike@HIDDEN;1620083258;27f3581a;
X-HE-SMSGID: 1ldhf3-0000wm-56
Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::;
 envelope-from=mike@HIDDEN; 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 <mike@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Fixes <https://issues.guix.gnu.org/45236>.

* gnu/packages/games.scm (xboard): Set default engine to gnuchess.
[arguments]: Add phase 'patch-default-engine.
[inputs]: Add chess.
---
 gnu/packages/games.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 073e41eec6..b394e0e5e9 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3332,10 +3332,18 @@ exec ~a/bin/freedink -refdir ~a/share/dink\n"
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "xboard.conf"
                (("aplay -q")
-                (string-append (assoc-ref inputs "alsa-utils") "/bin/aplay -q")))
-             #t)))))
+                (string-append (assoc-ref inputs "alsa-utils") "/bin/aplay -q")))))
+         ;; Fixes https://issues.guix.gnu.org/45236.
+         (add-after 'unpack 'patch-default-engine
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "xboard.conf"
+               (("-firstChessProgram fairymax")
+                (string-append "-firstChessProgram "
+                               (assoc-ref inputs "chess")
+                               "/bin/gnuchessx"))))))))
     (inputs
      `(("alsa-utils" ,alsa-utils)
+       ("chess" ,chess)
        ("gtk+" ,gtk+-2)
        ("librsvg" ,librsvg)))
     (native-inputs
-- 
2.31.1





Acknowledgement sent to Michael Rohleder <mike@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#48210; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 5 May 2021 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.