File: desktop-file.patch

package info (click to toggle)
barrage 1.0.7-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,636 kB
  • sloc: sh: 4,054; ansic: 2,780; makefile: 56
file content (42 lines) | stat: -rw-r--r-- 1,277 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Markus Koschany <apo@debian.org>
Date: Sun, 24 Jan 2021 16:13:49 +0100
Subject: desktop file

Forwarded: no
---
 Makefile.am        | 4 ++--
 Makefile.in        | 2 +-
 barrage.desktop.in | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,7 @@
 # the right way to handle it? At least it works... as long as $datadir
 # does not contain plus signs. :-)
 barrage.desktop:
-	@sed -e "s+Icon=+Icon=$(datadir)/icons/barrage48.png+" \
+	@sed -e "s+Icon=+Icon=$(datadir)/icons/hicolor/48x48/apps/barrage48.png+" \
 	< barrage.desktop.in > barrage.desktop
 
 ACLOCAL_AMFLAGS = -I m4
--- a/Makefile.in
+++ b/Makefile.in
@@ -887,7 +887,7 @@
 # the right way to handle it? At least it works... as long as $datadir
 # does not contain plus signs. :-)
 barrage.desktop:
-	@sed -e "s+Icon=+Icon=$(datadir)/icons/barrage48.png+" \
+	@sed -e "s+Icon=+Icon=$(datadir)/icons/hicolor/48x48/apps/barrage48.png+" \
 	< barrage.desktop.in > barrage.desktop
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
--- a/barrage.desktop.in
+++ b/barrage.desktop.in
@@ -5,5 +5,5 @@
 Exec=barrage
 Icon=
 Type=Application
-Categories=Game;ActionGame;
+Categories=Game;ActionGame;ArcadeGame;
 Keywords=shmup;shootemup;action;