desktop: Rename appdata to metainfo
The latter is preferred nowadays and is used by other GNOME projects
This commit is contained in:
parent
91e87a6d1b
commit
81f9bc9146
3 changed files with 10 additions and 10 deletions
|
|
@ -48,18 +48,18 @@ foreach desktop_file: desktop_output
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
#
|
#
|
||||||
# Appdata file
|
# Metainfo file
|
||||||
#
|
#
|
||||||
|
|
||||||
appdata_file = 'org.gnome.Geary.appdata.xml'
|
metainfo_file = 'org.gnome.Geary.metainfo.xml'
|
||||||
|
|
||||||
appdata_merged = i18n.merge_file(
|
metainfo_merged = i18n.merge_file(
|
||||||
input: configure_file(
|
input: configure_file(
|
||||||
input: appdata_file + '.in.in',
|
input: metainfo_file + '.in.in',
|
||||||
output: appdata_file + '.in',
|
output: metainfo_file + '.in',
|
||||||
configuration: desktop_conf
|
configuration: desktop_conf
|
||||||
),
|
),
|
||||||
output: '@0@.appdata.xml'.format(geary_id),
|
output: '@0@.metainfo.xml'.format(geary_id),
|
||||||
type: 'xml',
|
type: 'xml',
|
||||||
po_dir: po_dir,
|
po_dir: po_dir,
|
||||||
install: true,
|
install: true,
|
||||||
|
|
@ -68,13 +68,13 @@ appdata_merged = i18n.merge_file(
|
||||||
|
|
||||||
if appstreamcli.found()
|
if appstreamcli.found()
|
||||||
test(
|
test(
|
||||||
appdata_file + '-validate',
|
metainfo_file + '-validate',
|
||||||
appstreamcli,
|
appstreamcli,
|
||||||
args: [
|
args: [
|
||||||
'validate', '--no-net', '--explain', appdata_merged.full_path()
|
'validate', '--no-net', '--explain', metainfo_merged.full_path()
|
||||||
],
|
],
|
||||||
depends: [
|
depends: [
|
||||||
appdata_merged,
|
metainfo_merged,
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
# Please keep this file sorted alphabetically.
|
# Please keep this file sorted alphabetically.
|
||||||
desktop/geary-attach.contract.desktop.in
|
desktop/geary-attach.contract.desktop.in
|
||||||
desktop/geary-autostart.desktop.in.in
|
desktop/geary-autostart.desktop.in.in
|
||||||
desktop/org.gnome.Geary.appdata.xml.in.in
|
|
||||||
desktop/org.gnome.Geary.desktop.in.in
|
desktop/org.gnome.Geary.desktop.in.in
|
||||||
desktop/org.gnome.Geary.gschema.xml
|
desktop/org.gnome.Geary.gschema.xml
|
||||||
|
desktop/org.gnome.Geary.metainfo.xml.in.in
|
||||||
src/client/accounts/accounts-editor.vala
|
src/client/accounts/accounts-editor.vala
|
||||||
src/client/accounts/accounts-editor-add-pane.vala
|
src/client/accounts/accounts-editor-add-pane.vala
|
||||||
src/client/accounts/accounts-editor-edit-pane.vala
|
src/client/accounts/accounts-editor-edit-pane.vala
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue