Opened 10 years ago
Last modified 10 years ago
#11952 closed enhancement
Patch to add Keywords to josm{,-latest}.desktop + validation fixes — at Version 1
| Reported by: | sebastic | Owned by: | bastiK |
|---|---|---|---|
| Priority: | normal | Milestone: | 15.10 |
| Component: | Ubuntu package | Version: | |
| Keywords: | Linux desktop | Cc: |
Description (last modified by )
The lintian QA tool reports a desktop-entry-lacks-keywords-entry issue when desktop entries don't contain the Keywords key or when it does not contain any keywords not already present in the "Name" or "GenericName" entries as documented in the lintian tag description.
The attached patch adds the Keywords entry for both tested & latest, and also fixes the following issues reported by the desktop-file-validate utility:
linux/tested/usr/share/applications/josm.desktop: error: (will be fatal in the future): value "josm.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
linux/tested/usr/share/applications/josm.desktop: error: value "application/x-osm+xml;application/x-gpx+xml" for string list key "MimeType" in group "Desktop Entry" does not have a semicolon (';') as trailing character
linux/tested/usr/share/applications/josm.desktop: error: value "Education;Geoscience;Maps" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character
linux/tested/usr/share/applications/josm.desktop: error: value "OpenStreetMap;OSM" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
linux/latest/usr/share/applications/josm-latest.desktop: error: (will be fatal in the future): value "josm-latest.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
linux/latest/usr/share/applications/josm-latest.desktop: error: value "application/x-osm+xml;application/x-gpx+xml" for string list key "MimeType" in group "Desktop Entry" does not have a semicolon (';') as trailing character
linux/latest/usr/share/applications/josm-latest.desktop: error: value "Education;Geoscience;Maps" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character
linux/latest/usr/share/applications/josm-latest.desktop: error: value "OpenStreetMap;OSM" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
Change History (2)
by , 10 years ago
| Attachment: | josm-desktop-keywords+validation-fixes.patch added |
|---|
comment:1 by , 10 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | Patch to add Keywords to josm{,-latest}.desktop → Patch to add Keywords to josm{,-latest}.desktop + validation fixes |
Note:
See TracTickets
for help on using tickets.


