Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79811 - [firefox] Add proper AppStream metadata

Attached to Project: Arch Linux
Opened by Miika (miika) - Thursday, 28 September 2023, 21:12 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:26 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently, if you search for Firefox in an AppStream-based store like KDE Discover or GNOME Software, you get two separate results (flatpak and native package).
This is because the flatpak includes proper appstream metadata, but the native package has only minimal metadata generated automatically from the .desktop file.
The respective appstream identifiers are "org.mozilla.firefox" and "firefox.desktop".

This can be fixed by installing the proper metadata to "/usr/share/metainfo/org.mozilla.firefox.metainfo.xml". The file can be copied almost directly from "taskcluster/docker/firefox-flatpak/org.mozilla.firefox.appdata.xml.in", modifying only the <launchable> field and app version.

Another fix would be to rename the .desktop file to org.mozilla.firefox.desktop, which would cause the generated appstream id to be correct. Having the .desktop file in reverse DNS format is also recommended by the xdg desktop-entry-spec (https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html)

I'm not entirely sure if this is an Arch or upstream issue, since Arch is responsible for installing the .desktop file, and other distros like Fedora also install the appstream metadata. There's also a pull request for Debian to do the same (https://salsa.debian.org/mozilla-team/firefox/-/merge_requests/5), and an upstream bugzilla report (https://bugzilla.mozilla.org/show_bug.cgi?id=1851524).
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:26 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/firefox/issues/3

Loading...