unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54948] [PATCH] gnu: emacs-chess: Fix path to pieces.
@ 2022-04-15  7:40 Michael Rohleder
  2022-04-18 21:25 ` bug#54948: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2022-04-15  7:40 UTC (permalink / raw)
  To: 54948; +Cc: Michael Rohleder

* 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(-)

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#54948: [PATCH] gnu: emacs-chess: Fix path to pieces.
  2022-04-15  7:40 [bug#54948] [PATCH] gnu: emacs-chess: Fix path to pieces Michael Rohleder
@ 2022-04-18 21:25 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-04-18 21:25 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 54948-done

Michael Rohleder <mike@rohleder.de> skribis:

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

Applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-18 21:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15  7:40 [bug#54948] [PATCH] gnu: emacs-chess: Fix path to pieces Michael Rohleder
2022-04-18 21:25 ` bug#54948: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).