Skip to content

Disable GIO modules without provoking scary warnings (#32)

Simon McVittie requested to merge wip/issue32 into master
  • pressure-vessel: Disable GIO modules differently

    Now that GIO_MODULE_DIR has been backported into scout's GLib, we can disable GIO modules completely, instead of loading them but then not using them. This avoids some misleading warnings (#32 (closed)).

    This will not be completely effective on non-Debian systems until we also patch scout's GLib to make GIO_MODULE_DIR take precedence over the hard-coded legacy search path /usr/lib/gio/modules.

    The unit test for this is still in tests/pressure-vessel/utils.c for now.

  • tests: Link utils test to libsteam-runtime-tools statically

    This test exercises internal functions that shouldn't really be visible in the ABI.

  • Don't export private _srt_filter_gameoverlayrenderer

    We no longer need to, because the test is now linked statically.

  • tests: Move some tests for utility code out of pressure-vessel

    The code under test was already moved, but the tests couldn't follow until their executable was statically linked to libsteam-runtime-tools, which it now is.

  • utils: Add the ability to find our prefix when statically linked

  • bin: Link diagnostic tools to libsteam-runtime-tools statically

    This lets them access non-public API, and means there's one less thing that can go wrong. The cost is about 500K, which is much smaller than a Steam Runtime.

  • bin: Disable GIO modules


/cc @denittis

Merge request reports

Loading