* [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
* [bug#64925] [PATCH] gnu: renpy: fix image reference paths. 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 1 sibling, 0 replies; 6+ messages in thread From: Jesse Gibbons @ 2023-07-29 13:37 UTC (permalink / raw) To: 64925 [-- Attachment #1: Type: text/plain, Size: 117 bytes --] The previous patch sent has an artifact from my development. Attached is a newer, better patch. -- -Jesse Gibbons [-- Attachment #2: 0001-gnu-renpy-fix-image-reference-paths.patch --] [-- Type: text/x-patch, Size: 1006 bytes --] From 1ffd3f720978b053efe3e76b0d5a47ca2b866a01 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 127cbac127..f4b1a1e1e3 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) -- 2.41.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#64925] [PATCH] gnu: renpy: fix image reference paths. 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> 1 sibling, 1 reply; 6+ messages in thread From: Liliana Marie Prikler @ 2023-07-29 14:32 UTC (permalink / raw) To: Jesse Gibbons, 64925 Am Freitag, dem 28.07.2023 um 18:42 -0600 schrieb Jesse Gibbons: > 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. Could you do a comparison of 'tree' when invoked on a game created with unpatched renpy vs. patched renpy? Cheers ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <180a6e7b-1c08-36bd-b67c-e76cb67070b4@gmail.com>]
* [bug#64925] [PATCH] gnu: renpy: fix image reference paths. [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 2 siblings, 0 replies; 6+ messages in thread From: Jesse Gibbons @ 2023-07-29 16:25 UTC (permalink / raw) To: Liliana Marie Prikler, 64925 I should probably point out that I did my research when producing this patch and made not of it in the IRC. I would have removed the drop-game-from-paths phase if that didn't result in a similar error to the one reported from renpy before the patch is applied to guix. -- -Jesse Gibbons ^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#64925] Fwd: [PATCH] gnu: renpy: fix image reference paths. [not found] ` <180a6e7b-1c08-36bd-b67c-e76cb67070b4@gmail.com> 2023-07-29 16:25 ` Jesse Gibbons @ 2023-07-29 16:39 ` Jesse Gibbons 2023-07-30 5:56 ` bug#64925: " Liliana Marie Prikler 2 siblings, 0 replies; 6+ messages in thread From: Jesse Gibbons @ 2023-07-29 16:39 UTC (permalink / raw) To: 64925 [-- Attachment #1.1: Type: text/plain, Size: 1907 bytes --] I have not been able to verify that this was sent other than that my mail client says it was. I sent a follow-up that I can verify actually was received and should make more sense after reading this. -------- Forwarded Message -------- Subject: Re: [PATCH] gnu: renpy: fix image reference paths. Date: Sat, 29 Jul 2023 10:12:11 -0600 From: Jesse Gibbons <jgibbons2357@gmail.com> To: Liliana Marie Prikler <liliana.prikler@gmail.com>, 64925@debbugs.gnu.org On 7/29/23 08:32, Liliana Marie Prikler wrote: > Am Freitag, dem 28.07.2023 um 18:42 -0600 schrieb Jesse Gibbons: >> 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. > Could you do a comparison of 'tree' when invoked on a game created with > unpatched renpy vs. patched renpy? Is this to prove that the patch fixes a problem? Ok. `guix time-machine --commit=3bb3fddb5c6e79056172e5858cdc0ee0b6b8cfaa -- shell --pure renpy -- renpy-launcher` The launcher window pops up. I click "create new project" and call it "vanilla". I go with all the defaults. It reports an error in the attached screenshot. In a clone of the repository, I check out 3bb3fddb5c6e79056172e5858cdc0ee0b6b8cfaa and apply the most recent patch. I also make sure the last line of gnu/packages/game-development.scm is renpy. `guix shell --pure -f gnu/packages/game-development.scm -- renpy-launcher` A window pops up. I click "create new project" and call it "chocolate". I go with all the defaults. The window does not report an error. In the directory I set renpy to put all the projects, I run `diff --recursive chocolate/ vanilla/ | tee generated-dir-differences.diff` The output is attached. Is there anything else you want me to do before you accept the patch? -- -Jesse Gibbons [-- Attachment #1.2.1: Type: text/html, Size: 3898 bytes --] [-- Attachment #1.2.2: dq85HK56yxQNVrH8.jpg --] [-- Type: image/jpeg, Size: 41912 bytes --] [-- Attachment #2: generated-dir-differences.diff --] [-- Type: text/x-patch, Size: 1771 bytes --] Only in chocolate/game: audio Only in chocolate/game: cache Only in chocolate/game/gui: bar Only in chocolate/game/gui: bubble.png Only in chocolate/game/gui/button: check_foreground.png Only in chocolate/game/gui/button: check_selected_foreground.png Only in chocolate/game/gui/button: hover_background.png Only in chocolate/game/gui/button: idle_background.png Only in chocolate/game/gui/button: radio_foreground.png Only in chocolate/game/gui/button: radio_selected_foreground.png Only in chocolate/game/gui/button: slot_hover_background.png Only in chocolate/game/gui/button: slot_idle_background.png Only in chocolate/game/gui/phone: bar Only in chocolate/game/gui/phone/button: check_foreground.png Only in chocolate/game/gui/phone/button: check_selected_foreground.png Only in chocolate/game/gui/phone/button: hover_background.png Only in chocolate/game/gui/phone/button: idle_background.png Only in chocolate/game/gui/phone/button: radio_foreground.png Only in chocolate/game/gui/phone/button: radio_selected_foreground.png Only in chocolate/game/gui/phone/button: slot_hover_background.png Only in chocolate/game/gui/phone/button: slot_idle_background.png Only in chocolate/game/gui/phone: scrollbar Only in chocolate/game/gui/phone: slider Only in chocolate/game/gui: scrollbar Only in chocolate/game/gui: slider Only in chocolate/game/gui: thoughtbubble.png Only in chocolate/game: gui.rpy Only in chocolate/game: gui.rpyc Only in chocolate/game: images Only in chocolate/game: log.txt Only in chocolate/game: options.rpy Only in chocolate/game: options.rpyc Only in chocolate/game: saves Only in chocolate/game: screens.rpy Only in chocolate/game: screens.rpyc Only in chocolate/game: script.rpy Only in chocolate/game: script.rpyc Only in chocolate/game: tl ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#64925: [PATCH] gnu: renpy: fix image reference paths. [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 ` Liliana Marie Prikler 2 siblings, 0 replies; 6+ messages in thread From: Liliana Marie Prikler @ 2023-07-30 5:56 UTC (permalink / raw) To: Jesse Gibbons, 64925-done 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 ^ permalink raw reply [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 external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.