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

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Mon, 3 May 2021 23:08:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48210 in the body.
You can then email your comments to 48210 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48210; Package guix-patches. (Mon, 03 May 2021 23:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Rohleder <mike <at> rohleder.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 03 May 2021 23:08:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Rohleder <mike <at> rohleder.de>
To: guix-patches <at> gnu.org
Cc: Michael Rohleder <mike <at> rohleder.de>
Subject: [PATCH] gnu: xboard: Set default engine to gnuchess.
Date: Tue,  4 May 2021 01:07:28 +0200
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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 05 May 2021 13:29:02 GMT) Full text and rfc822 format available.

Notification sent to Michael Rohleder <mike <at> rohleder.de>:
bug acknowledged by developer. (Wed, 05 May 2021 13:29:02 GMT) Full text and rfc822 format available.

Message #10 received at 48210-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 48210-done <at> debbugs.gnu.org
Subject: Re: bug#48210: [PATCH] gnu: xboard: Set default engine to gnuchess.
Date: Wed, 05 May 2021 15:28:39 +0200
Hi,

Michael Rohleder <mike <at> rohleder.de> 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ŭ dosierujo ne ekzistas
--8<---------------cut here---------------end--------------->8---

:-)

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Jun 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 321 days ago.

Previous Next


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