unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Timotej Lazar <timotej.lazar@araneo.si>
To: 39381@debbugs.gnu.org
Cc: Timotej Lazar <timotej.lazar@araneo.si>
Subject: [bug#39381] [PATCH 3/3] gnu: godot: Add zenity for showing alerts.
Date: Sat,  1 Feb 2020 14:00:39 +0100	[thread overview]
Message-ID: <20200201130039.9300-3-timotej.lazar@araneo.si> (raw)
In-Reply-To: <20200201130039.9300-1-timotej.lazar@araneo.si>

* gnu/packages/game-development.scm (godot)[inputs]: Add zenity.
[arguments]: Wrap godot to look for it in the store.
---
 gnu/packages/game-development.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index c9a8b922b4..6fa4fed74f 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1599,6 +1599,10 @@ games.")
                      (rename-file "godot.x11.tools.64" "godot")
                      (rename-file "godot.x11.tools.32" "godot"))
                  (install-file "godot" bin))
+               ;; Tell Godot where to find zenity for OS.alert().
+               (wrap-program (string-append bin "/godot")
+                 `("PATH" ":" prefix
+                   (,(string-append (assoc-ref %build-inputs "zenity") "/bin"))))
                #t)))
          (add-after 'install 'install-godot-desktop
            (lambda* (#:key outputs #:allow-other-keys)
@@ -1642,6 +1646,7 @@ games.")
               ("pcre2" ,pcre2)
               ("pulseaudio" ,pulseaudio)
               ("wslay" ,wslay)
+              ("zenity" ,zenity)
               ("zstd" ,zstd "lib")))
     (home-page "https://godotengine.org/")
     (synopsis "Advanced 2D and 3D game engine")
-- 
2.25.0

  parent reply	other threads:[~2020-02-01 13:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-01 12:55 [bug#39381] [PATCH 0/3] Update Godot to 3.2 Timotej Lazar
2020-02-01 13:00 ` [bug#39381] [PATCH 1/3] gnu: Add wslay Timotej Lazar
2020-02-01 13:00   ` [bug#39381] [PATCH 2/3] gnu: godot: Update to 3.2 Timotej Lazar
2020-02-01 13:00   ` Timotej Lazar [this message]
2020-02-02 21:12 ` bug#39381: [PATCH 0/3] Update Godot " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200201130039.9300-3-timotej.lazar@araneo.si \
    --to=timotej.lazar@araneo.si \
    --cc=39381@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).