Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appstream complains about the image #374

Open
Carmina16 opened this issue Oct 9, 2022 · 2 comments
Open

Appstream complains about the image #374

Carmina16 opened this issue Oct 9, 2022 · 2 comments

Comments

@Carmina16
Copy link
Contributor

<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.

@babluboy
Copy link
Owner

babluboy commented Oct 9, 2022

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?

@Carmina16
Copy link
Contributor Author

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')]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants