The current version of the freedesktop specification is 1.5 but when using this value in a .desktop file a QA warning is shown saying * QA Notice: This package installs one or more .desktop files that do not * pass validation. * * /usr/share/applications/com.bitwig.BitwigStudio.desktop: error: value "1.5" for key "Version" in group "Desktop Entry" is not a known version * See https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html for more info. Reproducible: Always
This is not handled by eclasses, portage calls desktop-file-validate from desktop-file-utils. $ desktop-file-validate test.desktop test.desktop: error: value "1.5" for key "Version" in group "Desktop Entry" is not a known version Believe you should report this to desktop-file-utils upstream instead.
@Ionen Thanks! I wasn't aware of that. I've created an upstream bugreport https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/59
*** Bug 799818 has been marked as a duplicate of this bug. ***
This should be fixed by https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/merge_requests/11 I guess we'll need to wait for a new release of desktop-file-utils now?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a0c2d365814007808d3971c62f2bad834eb8cb4 commit 9a0c2d365814007808d3971c62f2bad834eb8cb4 Author: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> AuthorDate: 2022-03-19 17:18:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-20 01:00:42 +0000 dev-util/desktop-file-utils: Backport support for spec 1.5 Add patch from upstream to enable support for version 1.5 of the Desktop Entry Specification. Also bump EAPI and fix HOMEPAGE. Upstream patch: https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/merge_requests/11 Closes: https://bugs.gentoo.org/795570 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> Closes: https://github.com/gentoo/gentoo/pull/24670 Signed-off-by: Sam James <sam@gentoo.org> .../desktop-file-utils-0.26-r2.ebuild | 50 ++++++++++++ ...sktop-file-utils-0.26-support-version-1.5.patch | 88 ++++++++++++++++++++++ 2 files changed, 138 insertions(+)