Open hmaarrfk opened 1 year ago
I think maybe the current setup has what it needs? The libgirepository
package doesn't have a run-export setting, but the g-ir-host-tools
package has a run requirement on libgirepository
, as does the gobject-introspection
metapackage. Packages that are building with the gobject-introspection system will be depending on the host-tools subpackage in their host build, so that should introduce the dependency on the shared library at runtime. ... I think? Is there a specific issue that prompted this question?
I'm not sure that totally works. Users will have to manually add libgirepository
to their run requirements.
The run_export
guarantees that any addition to a host
requirement is reflected as the appropriate runtime requirement (with correct pinnings).
Well, I don't see any harm in adding a run-export in the libgirepository
subpackage spec. Do you think that'd cover things?
Can you show me an example of a package that uses this feedstock with cross compilation. I'm having a hard time with it for libvips. It can help me answer your question better.
It seems that there are 2 use cases:
Looking through the logs of pango and poppler, it seems that they only use the tools, and not the dynamic library at runtime.
libvips on the otherhand seems to need the library. It may be that libgirepository
needs to run_export
itself.
Hmm, yeah, if a package is providing binding data so that scripting languages can interact with it, I don't think it should need the library at runtime. That should only come in if a package is actually loading bindings and interacting with them. But regardless of all that, I have trouble seeing how a run_export
in libgirepository
would be wrong.
Hmm, yeah, if a package is providing binding data so that scripting languages can interact with it, I don't think it should need the library at runtime. That should only come in if a package is actually loading bindings and interacting with them. But regardless of all that, I have trouble seeing how a
run_export
inlibgirepository
would be wrong.
I agree, it seems correct that a package building against libgirepository
surgically would benefit from a run_export
. I just don't think we've encountered such a package until now.
Yeah I was kinda wondering the same about why it wasn't an error before. I just don't think anybody actually linked against libgirepository, the two packageds mentioned by pkgw don't list it as being used.
Comment:
Thank you the advise.