[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to provide AppStream data by upstream?



Hello,

imagine an upstream project providing an AppStream data file (foobar.metainfo.xml) and it is a full qualified Python project using state of the art build system (pyproject.toml, setuptools or something similiar, src-layout).

Should the foobar.metainfo.xml file be a part of the upstream build process (e.g. as custom build step in setuptools)? Or shouldn't that file be involved in the upstreams Python-native build process? Does distro maintainers (you) recognize the existance of such files and you take care yourself via an exceptional magic debian-build-rule that this file is part of the deb-package and installed into /usr/share/metainfo/ ?

What is your preferet way?

The location /usr/share/metainfo is specified by freedesktop.org and should be the same on all distros. But their might be exceptions.

The question is who is responsible for locating that xml file into the correct place? How can decide what the correct place is?

Thanks
Christian


Reply to: