Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795570 - dev-util/desktop-file-utils .desktop version 1.5 triggers QA warning
Summary: dev-util/desktop-file-utils .desktop version 1.5 triggers QA warning
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: PullRequest
: 799818 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-06-12 10:07 UTC by Simon
Modified: 2022-03-20 01:07 UTC (History)
4 users (show)

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 Simon 2021-06-12 10:07:49 UTC
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
Comment 1 Ionen Wolkens gentoo-dev 2021-06-12 11:25:46 UTC
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.
Comment 2 Simon 2021-06-12 19:30:45 UTC
@Ionen Thanks! I wasn't aware of that.
I've created an upstream bugreport https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/59
Comment 3 Arfrever Frehtes Taifersar Arahesis 2021-07-02 07:55:29 UTC
*** Bug 799818 has been marked as a duplicate of this bug. ***
Comment 4 Simon 2022-02-21 12:37:59 UTC
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?
Comment 5 Larry the Git Cow gentoo-dev 2022-03-20 01:07:08 UTC
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(+)