unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64925] [PATCH] gnu: renpy: fix image reference paths.
@ 2023-07-29  0:42 Jesse Gibbons
  2023-07-29 13:37 ` Jesse Gibbons
  2023-07-29 14:32 ` Liliana Marie Prikler
  0 siblings, 2 replies; 6+ messages in thread
From: Jesse Gibbons @ 2023-07-29  0:42 UTC (permalink / raw)
  To: 64925

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

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

[-- Attachment #2: 0001-gnu-renpy-fix-image-reference-paths.patch --]
[-- Type: text/x-patch, Size: 1215 bytes --]

From 60c49e320b6e3411eff834883ea0f733f75d8c2d Mon Sep 17 00:00:00 2001
From: Jesse <jessegibbons@outlook.com>
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


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

end of thread, other threads:[~2023-07-30  6:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-29  0:42 [bug#64925] [PATCH] gnu: renpy: fix image reference paths Jesse Gibbons
2023-07-29 13:37 ` Jesse Gibbons
2023-07-29 14:32 ` Liliana Marie Prikler
     [not found]   ` <180a6e7b-1c08-36bd-b67c-e76cb67070b4@gmail.com>
2023-07-29 16:25     ` Jesse Gibbons
2023-07-29 16:39     ` [bug#64925] Fwd: " Jesse Gibbons
2023-07-30  5:56     ` bug#64925: " Liliana Marie Prikler

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).