Skip to content
Snippets Groups Projects
  1. May 28, 2024
  2. May 20, 2024
  3. May 16, 2024
    • Simon McVittie's avatar
      utils test: Locate test data relative to executable correctly · d89d6cda
      Simon McVittie authored
      
      Because libcapsule uses non-recursive make, G_TEST_SRCDIR and
      G_TEST_BUILDDIR are set to the top-level directory of the source/build
      tree. When running the test suite "as-installed", the equivalent for
      both is `${libexecdir}/installed-tests/libcapsule`.
      
      This matters because we locate the "version 1" and "version 2" libraries
      during testing as `${builddir}/tests/version{1,2}`, which is incorrect
      (a duplicate `tests/`) if the `${builddir}` is set to the `tests`
      subdirectory rather than the top-level directory.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      d89d6cda
    • Simon McVittie's avatar
      debian: Require at least automake 1.15 · 381a4f2f
      Simon McVittie authored
      
      Steam Runtime 1 'scout' only has 1.11 as its default version, and that's
      too old for AM_TESTS_ENVIRONMENT to be respected. It does have 1.15
      available, so make sure we have at least that version one way or another.
      
      At the moment this is mitigated by the fact that scout only has GLib 2.32,
      which is too old, and we use --with-glib=auto to skip building and running
      the one test that uses GLib (utils.t) when building on scout - which
      happens to be the only test where correct handling of AM_TESTS_ENVIRONMENT
      was strictly required. However, if we backport a newer GLib into scout,
      we'll start running that test, and therefore we'll need it to work.
      
      steamrt/tasks#112
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      381a4f2f
  4. May 14, 2024
  5. May 13, 2024
  6. May 08, 2024
  7. Apr 25, 2024
    • Simon McVittie's avatar
      pv-wrap: Don't enable snapd workarounds by default · 524221e5
      Simon McVittie authored
      Since snapd 2.62, we do not need any special workarounds, and since
      https://github.com/canonical/steam-snap/pull/367
      
       Canonical's Steam snap
      app has required snapd 2.62. This change is in the stable channel as of
      2024-04-25, which means that the Steam snap app will refuse to install
      onto systems with an older snapd until the snapd has been upgraded.
      
      For now, disable the workarounds by default but keep them implemented.
      After we have a beta -> stable cycle without incident, we can delete
      their implementations.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      524221e5
    • Simon McVittie's avatar
      pressure-vessel: Update Flatpak-derived code to Flatpak 1.14.6 · 16c92148
      Simon McVittie authored
      
      Many of the changes are `#if 0`. Main changes that have a practical
      effect on steam-runtime-tools:
      
      * flatpak_exports_add_path_expose(), etc. return a GError,
        which we convert into a warning- or info-level message in the same
        way that flatpak_context_export() would. To facilitate this, add
        helper functions in pressure-vessel/exports.c.
      
      * flatpak-context.c is no longer included here, and all of the
        declarations in its header are now `#if 0`. The only parts that we
        use are the enums in the header, which are still present; the array
        `dont_mount_in_root`, which has been moved into wrap-setup.c; and
        the new `log_cannot_export_error` function, which has been moved
        into exports.c.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      16c92148
  8. Apr 24, 2024
  9. Apr 22, 2024
  10. Apr 20, 2024
  11. Apr 19, 2024
Loading