Subject: bug#64925: closed (Re: [PATCH] gnu: renpy: fix image reference paths.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 30 Jul 2023 05:57:02 +0000

Your bug report

#64925: [PATCH] gnu: renpy: fix image reference paths.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
64925: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64925
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] gnu: renpy: fix image reference paths.
From: Liliana Marie Prikler <[email-masked]>
To: Jesse Gibbons <[email-masked]>, [email-masked]
Date: Sun, 30 Jul 2023 07:56:26 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Am Samstag, dem 29.07.2023 um 10:12 -0600 schrieb Jesse Gibbons:
> Is there anything else you want me to do before you accept the patch?
Nope.  I've run some own checks as well, edited the commit message and
pushed it.

Thanks

Subject: [PATCH] gnu: renpy: fix image reference paths.
From: Jesse Gibbons <[email-masked]>
To: [email-masked]
Date: Fri, 28 Jul 2023 18:42:43 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Guix,

The current version of renpy has errors when generating a basic project 
due to a substitution in the `drop-game-from-paths` phase that changes 
too much. Attached is a patch that fixes this problem.

I do not know if there is a related bug report.

Thanks.

-- 
-Jesse Gibbons
From 60c49e320b6e3411eff834883ea0f733f75d8c2d Mon Sep 17 00:00:00 2001
From: Jesse <[email-masked]>
Date: Fri, 28 Jul 2023 17:50:06 -0600
Subject: [PATCH] gnu: renpy: fix image reference paths.

gnu/packages/game-development.scm: (renpy) fix image reference paths.
---
 gnu/packages/game-development.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 127cbac127..11ecc7e52c 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1458,7 +1458,7 @@ (define-public renpy
             (lambda _
               (substitute* (list "launcher/game/gui7.rpy"
                                  "launcher/game/gui7/images.py")
-                ((", \"game\",") ","))
+                ((", \"game\", \"gui7\",") ", \"gui7\","))
               #t))
           (add-before 'build 'start-xserver
             (lambda* (#:key inputs native-inputs #:allow-other-keys)
@@ -3222,3 +3222,4 @@ (define-public bbcsdl
 allowing you to write utilities and games, use sound and graphics, perform
 calculations and create complete applications.")
     (license license:zlib)))
+renpy
-- 
2.41.0