[PATCH] gnu: emacs-chess: Fix path to pieces.

DoneSubmitted by Michael Rohleder.
Details
2 participants
  • Ludovic Courtès
  • Michael Rohleder
Owner
unassigned
Severity
normal
M
M
Michael Rohleder wrote on 15 Apr 09:40 +0200
(address . guix-patches@gnu.org)(name . Michael Rohleder)(address . mike@rohleder.de)
20220415074040.10300-1-mike@rohleder.de
* gnu/packages/emacs-xyz.scm (emacs-chess)[arguments]: Fix path to pieces in
phase install-pieces.
---
emacs-chess doesn't find the piece graphics, because it searches them in
"/share/emacs/site-lisp/chess-2.0.5/pieces" not "/share/emacs/site-lisp/pieces".

gnu/packages/emacs-xyz.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Toggle diff (16 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2d95421472..e4607be09f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8454,7 +8454,8 @@ (define-public emacs-chess
           (add-after 'install 'install-pieces
             (lambda _
               (let ((pieces
-                     (string-append #$output "/share/emacs/site-lisp/pieces")))
+                     (string-append #$output "/share/emacs/site-lisp/chess-"
+                                    #$version "/pieces")))
                 (mkdir-p pieces)
                 (copy-recursively "pieces" pieces)))))))
     (home-page "https://elpa.gnu.org/packages/chess.html")
-- 
2.35.1
L
L
Ludovic Courtès wrote on 18 Apr 23:25 +0200
(name . Michael Rohleder)(address . mike@rohleder.de)(address . 54948-done@debbugs.gnu.org)
87lew2t76o.fsf@gnu.org
Michael Rohleder <mike@rohleder.de> skribis:

Toggle quote (3 lines)
> * gnu/packages/emacs-xyz.scm (emacs-chess)[arguments]: Fix path to pieces in
> phase install-pieces.

Applied, thanks!
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 54948@debbugs.gnu.org