From de93cc3d08c50b4f7b18bff5fd3350ec807feace Mon Sep 17 00:00:00 2001 From: Carl George Date: Thu, 27 Jul 2023 15:04:10 -0500 Subject: [PATCH] Validate appdata file with nonet flag By default, appstream-util checks if URLs listed in the appdata file are resolvable. Tuba's appdata file includes screenshot URLs. Most Linux distro build environments do not allow outbound network connections. Without a network connection, the validation fails. Fedora recommends using the `--nonet` flag to skip that part. https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage --- data/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/meson.build b/data/meson.build index 1a1c6a728..26b240fe0 100644 --- a/data/meson.build +++ b/data/meson.build @@ -55,6 +55,6 @@ if appstream_util.found() test( 'Validate appstream file', appstream_util, - args: ['validate-relax', appstream_file], + args: ['validate-relax', '--nonet', appstream_file], ) endif