From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:59569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWGGC-00079b-Gz for guix-patches@gnu.org; Thu, 30 May 2019 04:18:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWGGB-0003qR-DF for guix-patches@gnu.org; Thu, 30 May 2019 04:18:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47169) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWGGB-0003qH-9g for guix-patches@gnu.org; Thu, 30 May 2019 04:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWGGB-0006kZ-4A for guix-patches@gnu.org; Thu, 30 May 2019 04:18:03 -0400 Subject: [bug#36000] [PATCH 3/4] gnu: tome4: Use make-desktop-entry-file. Resent-Message-ID: From: Pierre Neidhardt Date: Thu, 30 May 2019 10:17:27 +0200 Message-Id: <20190530081728.27140-2-mail@ambrevar.xyz> In-Reply-To: <20190530081728.27140-1-mail@ambrevar.xyz> References: <20190530081728.27140-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: 36000@debbugs.gnu.org * gnu/packages/games.scm (tome4)[arguments]: Do it. --- gnu/packages/games.scm | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 4fdc9b01e6..af875435d6 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5035,19 +5035,13 @@ Crowther & Woods, its original authors, in 1995. It has been known as (copy-recursively "game" (string-append data "/game")) ;; launcher (mkdir-p applications) - (with-output-to-file (string-append applications "/" - ,name ".desktop") - (lambda () - (display - (string-append - "[Desktop Entry] -Name=ToME4 -Comment=" ,synopsis "\n" -"Exec=" ,name "\n" -"Icon=" icon "\n" -"Terminal=false -Type=Application -Categories=Game;RolePlaying;\n"))))) + (make-desktop-entry-file + (string-append applications "/" ,name ".desktop") + #:name "ToME4" + #:comment ,synopsis + #:exec ,name + #:icon icon + #:categories '("Game" "RolePlaying"))) #t))))) (home-page "https://te4.org") (description "Tales of Maj’Eyal (ToME) RPG, featuring tactical turn-based -- 2.21.0