Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525080 - dev-util/desktop-file-utils - desktop-file-validate should not complain about missing trailing semicolons
Summary: dev-util/desktop-file-utils - desktop-file-validate should not complain about...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-11 19:16 UTC by Chris Mayo
Modified: 2016-06-22 11:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2014-10-11 19:16:42 UTC
e.g.
error: value "Network;Internet" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character

In latest version 1.1 of Desktop Entry Specification semicolon is only mandatory as a separator and for empty values:
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html#value-types

"multiple values should be separated by a semicolon and the value of the key may be optionally terminated by a semicolon. Trailing empty strings must always be terminated with a semicolon."


sys-apps/portage-2.2.8-r2
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-10-12 13:59:25 UTC
I guess this should be reported upstream.
Comment 2 Chris Mayo 2014-10-12 14:28:49 UTC
Fixed upstream back in April:
http://cgit.freedesktop.org/xdg/desktop-file-utils/commit/?id=9e279cc3fac9a7e92bf426867fa83c0c7aec5711

But no release since then.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2014-10-12 14:29:45 UTC
I guess we should do a snapshot then. ;-)
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-10-17 07:48:30 UTC
latest release deals with latest released spec, so latest spec number still dictates trailing semicolons to be a bad thing
however, it'd be good idea for portage to supress this warning if it doesn't already
Comment 5 Michael Palimaka (kensington) gentoo-dev 2016-06-22 11:55:10 UTC
This is fixed in 0.23.