unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Rohleder <mike@rohleder.de>
To: 54948@debbugs.gnu.org
Cc: Michael Rohleder <mike@rohleder.de>
Subject: [bug#54948] [PATCH] gnu: emacs-chess: Fix path to pieces.
Date: Fri, 15 Apr 2022 09:40:40 +0200	[thread overview]
Message-ID: <20220415074040.10300-1-mike@rohleder.de> (raw)

* 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





             reply	other threads:[~2022-04-15  7:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-15  7:40 Michael Rohleder [this message]
2022-04-18 21:25 ` bug#54948: [PATCH] gnu: emacs-chess: Fix path to pieces Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220415074040.10300-1-mike@rohleder.de \
    --to=mike@rohleder.de \
    --cc=54948@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).