* [bug#62902] [PATCH 0/3] Fixing laby.
@ 2023-04-17 9:52 Ivana Drazovic
2023-04-19 19:53 ` [bug#62902] [PATCH 1/3] gnu: laby: Use new package style Ivana Drazovic
2023-05-11 12:48 ` bug#62902: [PATCH 0/3] Fixing laby Ludovic Courtès
0 siblings, 2 replies; 3+ messages in thread
From: Ivana Drazovic @ 2023-04-17 9:52 UTC (permalink / raw)
To: 62902; +Cc: Ivana Drazovic
These patches make laby work properly again.
Ivana Drazovic (3):
gnu: laby: Use new package style.
gnu: laby: Make laby function in pure environments.
gnu: laby: Add patch for being able to execute game code.
gnu/local.mk | 2 +
gnu/packages/games.scm | 48 +++++++++++++------
.../laby-use-tmpdir-from-runtime.patch | 39 +++++++++++++++
3 files changed, 74 insertions(+), 15 deletions(-)
create mode 100644 gnu/packages/patches/laby-use-tmpdir-from-runtime.patch
base-commit: c9af27d4ca733b20f09019f1465d3e5fdc1ec724
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#62902] [PATCH 1/3] gnu: laby: Use new package style.
2023-04-17 9:52 [bug#62902] [PATCH 0/3] Fixing laby Ivana Drazovic
@ 2023-04-19 19:53 ` Ivana Drazovic
2023-05-11 12:48 ` bug#62902: [PATCH 0/3] Fixing laby Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ivana Drazovic @ 2023-04-19 19:53 UTC (permalink / raw)
To: 62902; +Cc: Ivana Drazovic, Florian Pelz
* gnu/packages/games.scm (laby)[arguments]: Use gexps.
Use "this-package-input" to locate package input.
Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
---
gnu/packages/games.scm | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5825b8d936..6a404d7712 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -75,6 +75,8 @@
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Hendursaga <hendursaga@aol.com>
;;; Copyright © 2022 Parnikkapore <poomklao@yahoo.com>
+;;; Copyright © 2023 Florian Pelz <pelzflorian@pelzflorian.de>
+;;; Copyright © 2023 Ivana Drazovic <iv.dra@hotmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5777,17 +5779,17 @@ (define-public laby
(inputs
(list lablgtk3 ocaml-lablgtk3-sourceview3 ocaml ocaml-findlib ocamlbuild))
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-before 'build 'set-library-path
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((lablgtk (assoc-ref inputs "lablgtk")))
- (setenv "LD_LIBRARY_PATH"
- (string-append lablgtk "/lib/ocaml/stublibs"))))))
- #:tests? #f ; no 'check' target
- #:make-flags
- (list (string-append "PREFIX=" (assoc-ref %outputs "out")) "all")))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'set-library-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((lablgtk #$(this-package-input "lablgtk")))
+ (setenv "LD_LIBRARY_PATH"
+ (string-append lablgtk "/lib/ocaml/stublibs"))))))
+ #:tests? #f ; no 'check' target
+ #:make-flags
+ #~(list (string-append "PREFIX=" #$output) "all")))
(home-page "https://sgimenez.github.io/laby/")
(synopsis "Programming game")
(description "Learn programming, playing with ants and spider webs ;-)
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#62902: [PATCH 0/3] Fixing laby.
2023-04-17 9:52 [bug#62902] [PATCH 0/3] Fixing laby Ivana Drazovic
2023-04-19 19:53 ` [bug#62902] [PATCH 1/3] gnu: laby: Use new package style Ivana Drazovic
@ 2023-05-11 12:48 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-05-11 12:48 UTC (permalink / raw)
To: Ivana Drazovic; +Cc: 62902-done
Hi,
Ivana Drazovic <iv.dra@hotmail.com> skribis:
> gnu: laby: Use new package style.
> gnu: laby: Make laby function in pure environments.
> gnu: laby: Add patch for being able to execute game code.
Finally applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-11 12:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-17 9:52 [bug#62902] [PATCH 0/3] Fixing laby Ivana Drazovic
2023-04-19 19:53 ` [bug#62902] [PATCH 1/3] gnu: laby: Use new package style Ivana Drazovic
2023-05-11 12:48 ` bug#62902: [PATCH 0/3] Fixing laby Ludovic Courtès
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).