[bug#33251] gnu: xonotic: Add icon and category to desktop files.

Message ID E1gIyFj-0006cC-A7@rmmprod05.runbox
State New
Headers show
Series
  • [bug#33251] gnu: xonotic: Add icon and category to desktop files.
Related show

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Pkill -9 Nov. 3, 2018, 3:54 p.m. UTC
I've updated the .desktop files for xonotic to have an icon and be put in the "Game" category.

Comments

Ludovic Courtès Nov. 4, 2018, 11:02 p.m. UTC | #1
Hello,

<pkill9@runbox.com> skribis:

> From 87978647bde7596b3a37455dd22c634e5d279098 Mon Sep 17 00:00:00 2001
> From: Pkill -9 <pkill9@runbox.com>
> Date: Sat, 3 Nov 2018 15:32:53 +0000
> Subject: [PATCH] gnu: xonotic: Add icon and category to desktop files.
>
> * gnu/packages/games.scm (xonotic): Add icon ("xonotic") and category
> ("Game") to the .desktop files for Xonotic.

Applied, thanks!

Ludo’.

Patch

From 87978647bde7596b3a37455dd22c634e5d279098 Mon Sep 17 00:00:00 2001
From: Pkill -9 <pkill9@runbox.com>
Date: Sat, 3 Nov 2018 15:32:53 +0000
Subject: [PATCH] gnu: xonotic: Add icon and category to desktop files.

* gnu/packages/games.scm (xonotic): Add icon ("xonotic") and category
("Game") to the .desktop files for Xonotic.
---
 gnu/packages/games.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 0467872..3679aa0 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5539,7 +5539,8 @@  quotation from a collection of quotes.")
                      Comment=Xonotic glx~@
                      Exec=~a/bin/xonotic-glx~@
                      TryExec=~@*~a/bin/xonotic-glx~@
-                     Icon=~@
+                     Icon=xonotic~@
+                     Categories=Game~@
                      Type=Application~%"
                            output)))
                (with-output-to-file
@@ -5551,7 +5552,8 @@  quotation from a collection of quotes.")
                      Comment=Xonotic sdl~@
                      Exec=~a/bin/xonotic-sdl~@
                      TryExec=~@*~a/bin/xonotic-sdl~@
-                     Icon=~@
+                     Icon=xonotic~@
+                     Categories=Game~@
                      Type=Application~%"
                            output)))
                (with-output-to-file
@@ -5563,7 +5565,8 @@  quotation from a collection of quotes.")
                      Comment=Xonotic~@
                      Exec=~a/bin/xonotic-glx~@
                      TryExec=~@*~a/bin/xonotic~@
-                     Icon=~@
+                     Icon=xonotic~@
+                     Categories=Game~@
                      Type=Application~%"
                            output)))
                #t)))
-- 
2.19.1