This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
1
[PATCH thumbdrives v2] install appdata to metainfo
from https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location :
Upstream projects can ship one or more metainfo files in /usr/share/
metainfo/%{id}.metainfo.xml,
---
apparently reading is hard- the filename gets renamed too.
data/meson.build | 6 +++---
...appdata.xml.in => nl.brixit.Thumbdrives.metainfo.xml.in} | 0
2 files changed, 3 insertions(+), 3 deletions(-)
rename data/{nl.brixit.Thumbdrives.appdata.xml.in => nl.brixit.Thumbdrives.metainfo.xml.in} (100%)
diff --git a/data/meson.build b/data/meson.build
index 4fc61d1..75f3af5 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -15,11 +15,11 @@ if desktop_utils.found()
endif
appstream_file = i18n.merge_file(
- input: 'nl.brixit.Thumbdrives.appdata.xml.in',
- output: 'nl.brixit.Thumbdrives.appdata.xml',
+ input: 'nl.brixit.Thumbdrives.metainfo.xml.in',
+ output: 'nl.brixit.Thumbdrives.metainfo.xml',
po_dir: '../po',
install: true,
- install_dir: join_paths(get_option('datadir'), 'appdata')
+ install_dir: join_paths(get_option('datadir'), 'metainfo')
)
appstream_util = find_program('appstream-util', required: false)
diff --git a/data/nl.brixit.Thumbdrives.appdata.xml.in b/data/nl.brixit.Thumbdrives.metainfo.xml.in
similarity index 100%
rename from data/nl.brixit.Thumbdrives.appdata.xml.in
rename to data/nl.brixit.Thumbdrives.metainfo.xml.in
--
2.39.1
Thanks, applied :)
On 2/13/23 17:14, psykose wrote:
> from https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location :
>
> Upstream projects can ship one or more metainfo files in /usr/share/
> metainfo/%{id}.metainfo.xml,
> ---
>
> apparently reading is hard- the filename gets renamed too.
>
> data/meson.build | 6 +++---
> ...appdata.xml.in => nl.brixit.Thumbdrives.metainfo.xml.in} | 0
> 2 files changed, 3 insertions(+), 3 deletions(-)
> rename data/{nl.brixit.Thumbdrives.appdata.xml.in => nl.brixit.Thumbdrives.metainfo.xml.in} (100%)
>
> diff --git a/data/meson.build b/data/meson.build
> index 4fc61d1..75f3af5 100644
> --- a/data/meson.build
> +++ b/data/meson.build
> @@ -15,11 +15,11 @@ if desktop_utils.found()
> endif
>
> appstream_file = i18n.merge_file(
> - input: 'nl.brixit.Thumbdrives.appdata.xml.in',
> - output: 'nl.brixit.Thumbdrives.appdata.xml',
> + input: 'nl.brixit.Thumbdrives.metainfo.xml.in',
> + output: 'nl.brixit.Thumbdrives.metainfo.xml',
> po_dir: '../po',
> install: true,
> - install_dir: join_paths(get_option('datadir'), 'appdata')
> + install_dir: join_paths(get_option('datadir'), 'metainfo')
> )
>
> appstream_util = find_program('appstream-util', required: false)
> diff --git a/data/nl.brixit.Thumbdrives.appdata.xml.in b/data/nl.brixit.Thumbdrives.metainfo.xml.in
> similarity index 100%
> rename from data/nl.brixit.Thumbdrives.appdata.xml.in
> rename to data/nl.brixit.Thumbdrives.metainfo.xml.in