File: improve-desktop-file.patch

package info (click to toggle)
cutecom 0.51.0-1.1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 2,280 kB
  • sloc: cpp: 4,228; python: 240; makefile: 54; sh: 9
file content (32 lines) | stat: -rw-r--r-- 966 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
Author: Pino Toscano <toscano.pino@tiscali.it>
Subject: Improve desktop file
    
    Make the desktop file compliant by removing wrong/obsolete keys, and
    adding more keys:
    - drop obsolete 'Encoding' key
    - drop 'MimeType', and 'Path' keys, as they have empty values
    - drop 'Terminal', and 'X-KDE-StartupNotify' keys, as they have the
      default values already
    - add 'Categories' key with basic categories

Date:   Wed May 12 08:44:18 2021 +0200
Origin: upstream, https://gitlab.com/cutecom/cutecom/-/commit/38e8590a23f5094a7a11202bd438fd3635788dda

diff --git a/cutecom.desktop b/cutecom.desktop
index 6ecf7ec..7dc8b2e 100644
--- a/cutecom.desktop
+++ b/cutecom.desktop
@@ -1,12 +1,8 @@
 [Desktop Entry]
-Encoding=UTF-8
 Name=CuteCom
-MimeType=
 GenericName=Serial Terminal
 Comment=A graphical serial terminal
 Exec=cutecom
 Icon=cutecom
-Path=
 Type=Application
-Terminal=0
-X-KDE-StartupNotify=false
+Categories=Qt;System;TerminalEmulator;