aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblt__ <63462729+blt-r@users.noreply.github.com>2023-02-16 03:11:49 +0400
committerGitHub <noreply@github.com>2023-02-15 15:11:49 -0800
commitda3cb6ebe4ef40e11192db79925bb5f3dd8defef (patch)
treed9c4e7b211a90b4c58ba18081fee6061b179d2f2
parentf006313e95022340b2b0ae28e8223e6e548f0826 (diff)
downloadrneovim-da3cb6ebe4ef40e11192db79925bb5f3dd8defef.tar.gz
rneovim-da3cb6ebe4ef40e11192db79925bb5f3dd8defef.tar.bz2
rneovim-da3cb6ebe4ef40e11192db79925bb5f3dd8defef.zip
dist: use valid application id in nvim.appdata.xml #22046
According to [AppStream spec](https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-id-generic), the <id> element should contain a reverse-DNS scheme: {tld}.{vendor}.{product} Since the flathub requires that, the flatpak build replaces `<id>nvim</id>` with `<id>io.neovim.nvim</id>`. That results in ID mismatch between flatpak version and version from distribution's repositories. Because of that, software stores are displaying two different neovims, instead of one neovim with options to download it either from flatpak or from distribution's repos. We can use the `<provides><id>nvim</id></provides>`, for everyone who was expecting the id to be `nvim`.
-rw-r--r--runtime/nvim.appdata.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/nvim.appdata.xml b/runtime/nvim.appdata.xml
index 7d2ea49df4..1fe672b80b 100644
--- a/runtime/nvim.appdata.xml
+++ b/runtime/nvim.appdata.xml
@@ -7,7 +7,7 @@
https://github.com/flathub/io.neovim.nvim
-->
<component type="desktop-application">
- <id>nvim</id>
+ <id>io.neovim.nvim</id>
<translation type="gettext">nvim</translation>
<project_license>Apache-2.0</project_license>
<metadata_license>CC0-1.0</metadata_license>
@@ -61,5 +61,6 @@
<url type="translate">https://github.com/neovim/neovim/tree/master/src/nvim/po</url>
<provides>
<binary>nvim</binary>
+ <id>nvim</id>
</provides>
</component>