From aac51806173527477b1c8432f1f8d9c42cddd50b Mon Sep 17 00:00:00 2001 From: Lctrs Date: Mon, 22 Apr 2024 22:53:11 +0200 Subject: [PATCH] metainfo: fix recommended display length definition According to https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations-display_length, display length's value must be an integer value corresponding to logical pixels. I took `768`px as value because it corresponds to the recommended referenced size for laptops and tablets, which should match imho the previous incorrect `medium` value. This fix flathub's build as they don't allow releasing builds with invalid appdata (even if it's just a warning). Running `appstreamcli validate` do raise this warning: `W: org.musicbrainz.Picard:318: relation-display-length-value-invalid medium` currently. --- org.musicbrainz.Picard.appdata.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.musicbrainz.Picard.appdata.xml.in b/org.musicbrainz.Picard.appdata.xml.in index 78caac8883..8418fa55b3 100644 --- a/org.musicbrainz.Picard.appdata.xml.in +++ b/org.musicbrainz.Picard.appdata.xml.in @@ -76,7 +76,7 @@ keyboard pointing - medium + 768 always