-
- Downloads
packaging: fix AppStream issues
The AppStream specification includes both a "metainfo" file format, which can be used (among other things) to provide metadata about a specific application, as well as a "catalog" file format used to provide information about the contents of a repository. This patch adds a "catalog" file for the Jami repos, which seems to be necessary in order for some graphical package management applications to be able to launch or uninstall Jami. In particular, this was an issue with GNOME Software on all the rpm-based distributions supported by Jami (Fedora, openSUSE, AlmaLinux). This patch also fixes a few minor noncompliance issues with the existing metainfo and .desktop files: - the metainfo and .desktop files were renamed so that the names' prefixes match the application's ID as defined by the <id> tag in the metainfo file (in our case "net.jami.Jami") [1]; - the <br/> tags in the metainfo file were removed (they are not supported -- metainfo files only allow a very limited number of tags, not arbitrary html [2]); the list (<ul>) and list item (<li>) tags are now used instead; - the invalid categories "Communication" and "Productivity" were removed [3, 4]. [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/ [2] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description [3] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-categories [4] https://specifications.freedesktop.org/menu-spec/latest/category-registry.html GitLab: #1842 Change-Id: I4a8bab79b6e54d02c08f509d7a9196a0a2e1541e
Showing
- CMakeLists.txt 13 additions, 3 deletionsCMakeLists.txt
- extras/data/jami.xml 153 additions, 0 deletionsextras/data/jami.xml
- extras/data/net.jami.Jami.desktop 0 additions, 0 deletionsextras/data/net.jami.Jami.desktop
- extras/data/net.jami.Jami.metainfo.xml 146 additions, 0 deletionsextras/data/net.jami.Jami.metainfo.xml
- extras/packaging/gnu-linux/Makefile 3 additions, 2 deletionsextras/packaging/gnu-linux/Makefile
- extras/packaging/gnu-linux/rules/rpm/jami.spec 15 additions, 3 deletionsextras/packaging/gnu-linux/rules/rpm/jami.spec
- extras/packaging/gnu-linux/rules/snap/jami/snapcraft.yaml 4 additions, 4 deletionsextras/packaging/gnu-linux/rules/snap/jami/snapcraft.yaml
- src/app/utils.cpp 6 additions, 6 deletionssrc/app/utils.cpp
Loading
-
mentioned in issue #1948 (closed)
-
mentioned in commit 84ac5dba
Please register or sign in to comment