From d1d6043d39953c76b8eb94ada3a89e22c2838dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Wed, 27 Dec 2023 06:37:54 +0300 Subject: [PATCH] appdata: Update appdata - Use appstreamcli to validate appdata - Fix some appdata issues - Mark the developer_name tag as untranslatable also deprecated - Remove useless custom Purism tags - Add vcs-browser and translate URLs - Add newly added developer > name tag - Remove duplicated translation tag --- data/com.vixalien.sticky.appdata.xml.in.in | 25 +++++++++------------- data/meson.build | 6 +++--- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/data/com.vixalien.sticky.appdata.xml.in.in b/data/com.vixalien.sticky.appdata.xml.in.in index 7976a17..d0e8adb 100644 --- a/data/com.vixalien.sticky.appdata.xml.in.in +++ b/data/com.vixalien.sticky.appdata.xml.in.in @@ -19,26 +19,26 @@ - - - https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/note.png + + https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/note.png - - https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/notes.png + https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/notes.png @app-id@.desktop https://github.com/vixalien/sticky https://github.com/vixalien/sticky/issues + https://github.com/vixalien/sticky + https://github.com/vixalien/sticky/tree/main/po https://www.buymeacoffee.com/vixalien - Angelo Verlain + + Angelo Verlain + + Angelo Verlain + hey_at_vixalien.com sticky - - workstation - mobile - 360 @@ -194,9 +194,4 @@ @app-id@.desktop - @gettext-package@ - - workstation - mobile - diff --git a/data/meson.build b/data/meson.build index e15fc9e..b4d949c 100644 --- a/data/meson.build +++ b/data/meson.build @@ -36,9 +36,9 @@ appstream_file = i18n.merge_file( install_dir: join_paths(get_option('datadir'), 'appdata') ) -appstream_util = find_program('appstream-util', required: false) -if appstream_util.found() - test('Validate appstream file', appstream_util, args: ['validate-relax', appstream_file]) +appstreamcli = find_program('appstreamcli', required: false) +if appstreamcli.found() + test('Validate appstream file', appstreamcli, args: ['validate', '--no-net', '--explain', appstream_file]) endif gsettings_conf = configuration_data()