Marius Bakke writes: > Christopher Baines writes: > >> Marius Bakke writes: >> >>> Hi Chris, >>> >>> Christopher Baines writes: >>> >>>> Christopher Baines writes: >>>> >>>>> Incorporate some changes from nixpkgs to the gobject-introspection package >>>>> patches. This is motivated by looking at issues with libsoup and lollypop. >>>>> This changes means that the share/gir-1.0/Soup-2.4.gir file within libsoup >>>>> references libsoup-2.4.so.1 with an absolute filename, whereas previously, the >>>>> filename wasn't absolute. >>>>> >>>>> * gnu/packages/patches/gobject-introspection-absolute-shlib-path.patch: >>>>> Incorporate changes from nixpkgs. >>>>> --- >>>>> ...ct-introspection-absolute-shlib-path.patch | 141 +++++++++++++++++- >>>>> 1 file changed, 137 insertions(+), 4 deletions(-) >>>>> >>>> >>>> I've pushed this as [1] to core-updates now, as I wanted to get it in >>>> before the freeze. >>> >>> Thank you for addressing this. IIUC previously lollypop failed to >>> retain a reference to libsoup-2.4.so.1, whereas with this patch it does? >> >> Not quite... I think lollypop was reading the typelib in libsoup, but >> the shared library was just referenced by filename, not the absolute >> filename, and I think this was causing issues when trying to use libsoup >> from lollypop. > > I see, thanks for explaining. In Guix, we usually resolve these > situations by native-search-paths, do you know if gobject-introspection > supports looking up the 'share/gir-1.0' directory from an environment > variable (similar to how GI_TYPELIB_PATH works today)? However... Errh, ignore this, I need to study the GObject stuff one of these days... Do you think you'll have time to update the patch within the coming days? The only important part is the NIX_STORE bits; the rest can be dealt with later. TIA!