From b5960860ab5c72fc6e06ca7d73311922d2cb5ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Thu, 18 Jul 2024 14:36:45 -0700 Subject: [PATCH] Metainfo: modernize, organize, add missing tags (#598) --- ...l.in => applications-menu.metainfo.xml.in} | 50 +++++++++++-------- data/meson.build | 10 ++-- po/extra/POTFILES | 2 +- 3 files changed, 34 insertions(+), 28 deletions(-) rename data/{applications-menu.appdata.xml.in => applications-menu.metainfo.xml.in} (89%) diff --git a/data/applications-menu.appdata.xml.in b/data/applications-menu.metainfo.xml.in similarity index 89% rename from data/applications-menu.appdata.xml.in rename to data/applications-menu.metainfo.xml.in index 652b0046d..94f761cf6 100644 --- a/data/applications-menu.appdata.xml.in +++ b/data/applications-menu.metainfo.xml.in @@ -1,11 +1,38 @@ - + io.elementary.wingpanel.applications-menu + slingshot io.elementary.wingpanel + CC0-1.0 + GPL-3.0+ + Pantheon + + preferences-desktop-applications Applications Menu Open and search for apps + + + https://raw.githubusercontent.com/elementary/applications-menu/master/data/screenshot.png + + + https://raw.githubusercontent.com/elementary/applications-menu/master/data/screenshot-dark.png + + + + https://github.com/elementary/applications-menu/issues + https://elementary.io/get-involved#funding + https://github.com/elementary/applications-menu/discussions/categories/q-a + https://elementary.io/ + https://l10n.elementary.io/projects/wingpanel/applications-menu/ + + + elementary, Inc. + + elementary + contact_at_elementary.io + @@ -76,25 +103,4 @@ - - - - https://raw.githubusercontent.com/elementary/applications-menu/master/data/screenshot.png - - - https://raw.githubusercontent.com/elementary/applications-menu/master/data/screenshot-dark.png - - - - elementary, Inc. - - https://elementary.io/ - https://github.com/elementary/applications-menu/issues - https://elementary.io/get-involved#funding - https://elementaryos.stackexchange.com/questions/tagged/applications-menu - https://l10n.elementary.io/projects/wingpanel/applications-menu/ - contact_AT_elementary.io - CC0-1.0 - elementary - GPL-3.0+ diff --git a/data/meson.build b/data/meson.build index 31e7b62d3..ad876dcf5 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,14 +1,14 @@ i18n.merge_file( - input: 'applications-menu.appdata.xml.in', - output: 'io.elementary.wingpanel.applications-menu.appdata.xml', - po_dir: join_paths(meson.source_root(), 'po', 'extra'), + input: 'applications-menu.metainfo.xml.in', + output: 'io.elementary.wingpanel.applications-menu.metainfo.xml', + po_dir: meson.source_root() / 'po' / 'extra', type: 'xml', install: true, - install_dir: join_paths(get_option('datadir'), 'metainfo'), + install_dir: datadir / 'metainfo', ) install_data( 'io.elementary.desktop.wingpanel.applications-menu.gschema.xml', - install_dir: join_paths(datadir, 'glib-2.0', 'schemas') + install_dir: datadir / 'glib-2.0' / 'schemas' ) diff --git a/po/extra/POTFILES b/po/extra/POTFILES index 525ee0af4..9e182125c 100644 --- a/po/extra/POTFILES +++ b/po/extra/POTFILES @@ -1 +1 @@ -data/applications-menu.appdata.xml.in +data/applications-menu.metainfo.xml.in