Skip to content

Fixing Invalid desktop categories "Multimedia" into "AudioVideo;Audio"

Onuralp SEZER requested to merge osezer/krecorder:master into master

Hello, I'm building this package for Fedora and in my check list I have "fail" because of invalid category in "desktop" file so in order to pass the test, it needs to be "AudioVideo;Audio" or "X-Multimedia" in order to pass the validation test.

Source: https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry

Validate result;

  • desktop-file-validate /home/osezer/rpmbuild/BUILDROOT/krecorder-21.05-1.fc34.x86_64/usr/share/applications/org.kde.krecorder.desktop /home/osezer/rpmbuild/BUILDROOT/krecorder-21.05-1.fc34.x86_64/usr/share/applications/org.kde.krecorder.desktop: error: value "Multimedia;Qt;KDE;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Multimedia"; values extending the format should start with "X-" /home/osezer/rpmbuild/BUILDROOT/krecorder-21.05-1.fc34.x86_64/usr/share/applications/org.kde.krecorder.desktop: hint: value "Multimedia;Qt;KDE;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu error: Bad exit status from /var/tmp/rpm-tmp.d7wOlQ (%check)

Thank you.

Merge request reports