GNU bug report logs - #70708
[PATCH] gnu: hyperrogue: correct font path

Previous Next

Package: guix-patches;

Reported by: Tadhg McDonald-Jensen <tadhgmister <at> gmail.com>

Date: Thu, 2 May 2024 04:41:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 70708 AT debbugs.gnu.org.

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#70708; Package guix-patches. (Thu, 02 May 2024 04:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tadhg McDonald-Jensen <tadhgmister <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 02 May 2024 04:41:02 GMT) Full text and rfc822 format available.

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

From: Tadhg McDonald-Jensen <tadhgmister <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: hyperrogue: correct font path
Date: Wed, 1 May 2024 20:52:43 -0400
* gnu/packages/games.scm (hyperrogue):
  correct font path to use font-dejavu package instead of
  font in hyperrogue source code.

Change-Id: I12a108e3fc2375d9bacd1ab1d2ad4e15144b602f
---
 gnu/packages/games.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 57e6c23f41..0ebe18c4be 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -6473,9 +6473,9 @@ (define-public hyperrogue
           (replace 'configure
             (lambda* (#:key inputs #:allow-other-keys)
               (let ((share-dir (string-append #$output 
"/share/hyperrogue/"))
-                    (fonts-dir (dirname
-                                (search-input-file inputs
- 
"DejaVuSans-Bold.ttf"))))
+                    (fonts-dir (string-append
+                                 (assoc-ref inputs "font-dejavu")
+                                 "/share/fonts/truetype")))
                 ;; Set fonts and music path.
                 (substitute* "sysconfig.h"
                   (("(#define HYPERPATH ).*" _ lead)

base-commit: 4514239971895fc7ad47c7752e30d98a0c44a154
--
2.41.0




This bug report was last modified 15 days ago.

Previous Next


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