Summary: | LXQt packages: package installs one or more .desktop files that do not pass validation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Mair-Keimberger (iamnr3) <mmk> |
Component: | Current packages | Assignee: | LxQt maintainers <lxqt> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ago, itumaykin+gentoo, waebbl-gentoo |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=79561 https://bugs.freedesktop.org/show_bug.cgi?id=79562 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 444206 |
Description
Michael Mair-Keimberger (iamnr3)
2014-06-01 19:21:56 UTC
That's the problem with dev-util/desktop-file-utils. Reported upstream. The spec needs updating first - the tool is just complying with it. See http://standards.freedesktop.org/menu-spec/latest/apb.html Thanks, will see, where to report the need to fix specs. (In reply to Michael Palimaka (kensington) from comment #2) > The spec needs updating first - the tool is just complying with it. See > http://standards.freedesktop.org/menu-spec/latest/apb.html Reported *** Bug 599682 has been marked as a duplicate of this bug. *** The spec has since been updated to add LXQt to the list of DEs. desktop-file-utils 0.23 (current stable and only available version in portage) contains the fix, and desktop-file-validate doesn’t report any problem with the "OnlyShowIn" value anymore. However, the "LXQt" category is still reported as an error: $ desktop-file-validate /usr/share/applications/lxqt-config-session.desktop lxqt-config-session.desktop: error: value "Settings;DesktopSettings;Qt;LXQt;" for key "Categories" in group "Desktop Entry" contains an unregistered value "LXQt"; values extending the format should start with "X-" lxqt-config-session.desktop: warning: value "Ustawienia sesji LXQt" for key "Comment[pl]" in group "Desktop Entry" looks redundant with value "Ustawienia sesji LXQt" of key "Name[pl]" lxqt-config-session.desktop: warning: value "Nastavenie rel?cie prostredia LXQt" for key "Comment[sk]" in group "Desktop Entry" looks redundant with value "Nastavenie rel?cie prostredia LXQt" of key "GenericName[sk]" *** Bug 751166 has been marked as a duplicate of this bug. *** *** Bug 739868 has been marked as a duplicate of this bug. *** *** Bug 739846 has been marked as a duplicate of this bug. *** *** Bug 739842 has been marked as a duplicate of this bug. *** *** Bug 739840 has been marked as a duplicate of this bug. *** *** Bug 739844 has been marked as a duplicate of this bug. *** From my understanding of the spec, the desktop environment should not belong into the Categories key. The LXQt value has been added to the OnlyShownIn string array show_in_registered in src/validate.c, but it's not in the registered_categories array in the same file. The latter array contains values like KDE, GNOME and XFCE, which are also part of show_in_registered, but none of the other values listed in the string array. I'd say, that LXQt should be removed from any Categories key and only added to the OnlyShownIn key. Looking at the spec, GNOME can belong to the `Categories` entry [1], this means that LXQt should also be authorized to be added there. How do we update this ? [1] https://specifications.freedesktop.org/menu-spec/latest/ar01s03.html Okay, it seems LXQt is not part of the official keywords [1] and reported to upstream about it [2] [1] https://specifications.freedesktop.org/menu-spec/latest/apas02.html [2] https://github.com/lxqt/lxqt/issues/2113 |