From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59028) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixsOY-0001ZA-Lk for guix-patches@gnu.org; Sat, 01 Feb 2020 08:01:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixsOU-0007Os-GI for guix-patches@gnu.org; Sat, 01 Feb 2020 08:01:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60674) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixsOU-0007Of-Cj for guix-patches@gnu.org; Sat, 01 Feb 2020 08:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ixsOU-0005BV-CO for guix-patches@gnu.org; Sat, 01 Feb 2020 08:01:02 -0500 Subject: [bug#39381] [PATCH 3/3] gnu: godot: Add zenity for showing alerts. Resent-Message-ID: From: Timotej Lazar Date: Sat, 1 Feb 2020 14:00:39 +0100 Message-Id: <20200201130039.9300-3-timotej.lazar@araneo.si> In-Reply-To: <20200201130039.9300-1-timotej.lazar@araneo.si> References: <20200201130039.9300-1-timotej.lazar@araneo.si> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39381@debbugs.gnu.org Cc: Timotej Lazar * 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