babluboy/bookworm

Appstream complains about the image

Carmina16 opened this issue · 2 comments

<image>https://raw.githubusercontent.com/babluboy/bookworm/gh-pages/images/BookwormLibraryView.png</image>

This image contains a transparent margin that causes a validation error by appstream-util, causing the build to fail. Please crop the image or change the validation mode to validate-relax.

Thanks for the issue - can I understand where exactly do you see the issue and for which distro are you packaging? I have not compiled bookworm for the latest version of elementary OS but for the last version there was not problem with the transparent margin. If this is Fedora related then we should adopt a way for it to work on both. Where does validate-relax needs to be specified?

Any distro that ships appstream-util 0.8+ should do. Just build bookworm and run appstream-util validate <name of generated appdata.xml> . That code is called in test located at

args: ['validate', join_paths(meson.current_build_dir (), meson.project_name() + '.appdata.xml')]