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

aravis-tools: Correct appstream metainfo description and file name #932

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

cmarmo
Copy link
Contributor

@cmarmo cmarmo commented Sep 3, 2024

Dear aravis maintainers,

this pull request fixes a bug reported during debian packaging, applying the patch offered by @petterreinholdtsen.
It corrects appstream metainfo validation errors, adding missing <p> to description and making sure file name match ID.
Also it uses the new metainfo.xml ending replacing the obsolete appdata.xml ending.

Thanks for considering it.

Copy link
Contributor

@EmmanuelP EmmanuelP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Chiara,

Thanks for the pull request.

The appdata filename change should keep the api version, and the component ID should be fixed to include it.

@@ -4,7 +4,7 @@ appdata_conf = configuration_data()
appdata_conf.set ('ARAVIS_API_VERSION', aravis_api_version)

configure_file (input: files('org.aravis.viewer.appdata.xml.in'),
output: 'org.aravis.viewer-@[email protected].xml'.format (aravis_api_version),
output: 'org.aravis.viewer.metainfo.xml'.format (aravis_api_version),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different aravis series are supposed to be installable in parallel. This change breaks this possibility.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood!
The last commit should have fixed this issue, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope... I have to modify the id tag too... :) coming soon...

@EmmanuelP EmmanuelP merged commit f6e4000 into AravisProject:main Sep 3, 2024
5 checks passed
@EmmanuelP
Copy link
Contributor

Thanks Chiara.

This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants