#1032973 "XyGrib Desktop" desktop file contains the deprecated category 'Application' and have some other mistakes.

Package:
xygrib
Source:
xygrib
Description:
Weather data visualization, GRIB file viewer
Submitter:
Joerg Schiermeier
Date:
2023-03-15 00:42:04 UTC
Severity:
normal
#1032973#5
Date:
2023-03-15 00:30:16 UTC
From:
To:
Hello!

The desktop file for Linux (/usr/share/applications/xygrib.desktop) inside the Debian package is missing the basic category 'Science' (or 'Education') and the additional categories 'Application' is invalid/deprecated. This categories should be changed in the next version.
Please see the documentation about desktop files here:
<https://standards.freedesktop.org/menu-spec/latest/apas02.html>

The tool 'desktop-file-validate' gave me this output:

$ desktop-file-validate /usr/share/applications/xygrib.desktop
/usr/share/applications/xygrib.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
/usr/share/applications/xygrib.desktop: error: (will be fatal in the future): value "xygrib.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/xygrib.desktop: hint: value item "Geoscience" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: Education, or Science
/usr/share/applications/xygrib.desktop: hint: value "Geoscience;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu

You may what to check also if the desktop file is valid with the command 'desktop-file-validate' from the Debian package 'desktop-file-utils'.

Because this is a tool for weather it may be a good idea to use the main category 'Science' before 'Education'.

- --
Yours sincerely
Joerg Schiermeier



- -- System Information:
Debian Release: bookworm/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8), LANGUAGE=de:en_GB:es
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init

Versions of packages xygrib depends on:
ii  fonts-liberation     1:1.07.4-11
ii  libbz2-1.0           1.0.8-5+b1
ii  libc6                2.36-8
ii  libgcc-s1            12.2.0-14
ii  libopenjp2-7         2.5.0-1+b1
ii  libpng16-16          1.6.39-2
ii  libproj25            9.1.1-1+b1
ii  libqt5core5a         5.15.8+dfsg-3
ii  libqt5gui5           5.15.8+dfsg-3
ii  libqt5network5       5.15.8+dfsg-3
ii  libqt5printsupport5  5.15.8+dfsg-3
ii  libqt5widgets5       5.15.8+dfsg-3
ii  libstdc++6           12.2.0-14
ii  xygrib-maps          1.2.6.1-2
ii  zlib1g               1:1.2.13.dfsg-1

xygrib recommends no packages.

xygrib suggests no packages.

- -- no debconf information
iQIzBAEBCAAdFiEERMHJSMoKBiNrvtXJodFQ9YsO8GMFAmQREYUACgkQodFQ9YsO
8GMC1g//XVp42/tWZo05KCYzot8HCTh8RDNvDExDYkv3xfnTviGewNN2436aX/P7
xlfwo8NkCUYA2W3xVxoIlxkPeOHtAKz+yvOnBf7TEAkJPY2cWYJxPfxmmzIX7nm/
aMj0ePxDHtoWXsrFhVpU9+LRlTgFcCfQUkDZO/hQ9i3vVN4A7o9Z/nhuXKrMlOOq
Dni+yDjkGkWiaYVcLfII2dU7JaOqS3mwxaYyXte2TSetTwbXv9MI5YZsmZsCYnp4
SVJzHfj+f2FGELOVsMWbWJCyW9YSkseOMrnFeXFXs9dBMcZ5lcIM1BhgeIufA81q
nTMD97ssnRfDVgSm+h9kDtTtMlNT7UoQEUfkoi/E4WQWhwU6n367rlXxv7lw48Um
oMl9rIp9Sg17BAMSkWFHFciHk12dS1qVcCJ6xGWi0KQ/QneakiRdhSdNfrHuwHM/
7poceLmKrXdlj0m4lvHHfC1WGhFC4MMGNcrU4BaCZ8PnGYhLPatBY4tbHbSkMuCj
u8+36Kh1ygTl5xbMdzZqI9I6UUmVyzETH8tNxjSO6czy2SdK1x2ExDpunxZbXb5p
bABihK6bHrMfJHP/KCpk+seXbuFA9c2IYFFHOMdT61M6a0hZdsCe73fWA1TyPIuV
Ca4ztR2RB9u3Aw45AAMGucT5IAsJbFWtyDZqWTA6L6EPJhPLOmY=
=E4bd
-----END PGP SIGNATURE-----