does not support spec 1.5

Bug #2028312 reported by Alex Knop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktop-file-utils (Debian)
New
Unknown
desktop-file-utils (Ubuntu)
Triaged
Low
Unassigned

Bug Description

This package's code is a bit behind from the upstream code. In 2022, code was committed to support 1.5:
https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/commit/56d220dd679c7c3a8f995a41a27a7d6f3df49dea

When trying to validate .desktop files in Ubuntu that are running 1.5, I am getting errors.

I am running Ubuntu 23.04
desktop-file-utils 0.26-1ubuntu5

Revision history for this message
Alex Knop (knopper100) wrote :

error when trying trying to validate a desktop file running spec 1.5:

$ desktop-file-validate Applications/squashfs-root/org.keepassxc.KeePassXC.desktop
Applications/squashfs-root/org.keepassxc.KeePassXC.desktop: error: value "1.5" for key "Version" in group "Desktop Entry" is not a known version
Applications/squashfs-root/org.keepassxc.KeePassXC.desktop: hint: value item "Security" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: Settings, or System
Applications/squashfs-root/org.keepassxc.KeePassXC.desktop: error: file contains key "SingleMainWindow" in group "Desktop Entry", but keys extending the format should start with "X-"

Revision history for this message
Robie Basak (racb) wrote :

Thank you for the report. It would be smoothest if upstream released a version with that change. I see that is requested in https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/69

Changed in desktop-file-utils (Debian):
status: Unknown → New
Revision history for this message
Alex Knop (knopper100) wrote :

Yes, however their repository is not very active. It's going to be a waiting game. I think I will just use a rolling release distribution instead.

Changed in desktop-file-utils (Ubuntu):
importance: Undecided → Low
Revision history for this message
Alex Knop (knopper100) wrote :

@seb128 @racb
Looks like release 0.27 was pushed last week:
https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/commit/2470d73f93d02b354ecbee7c2f02a83efaae84d8

Can we have the Ubuntu package updated as well?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Yes, we will get that version in the next Ubuntu cycle

Changed in desktop-file-utils (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.