steam-runtime-tools (0.20220726.1) UNRELEASED; urgency=medium

  * s-r-launch-client, s-r-launcher-service improvements:
    - s-r-launch-client now defaults to --directory="" (inherit directory
      from server) unless talking to Flatpak services (steamrt/tasks#145)
    - s-r-launch-client automatically overrides $TERM if stdin, stdout or
      stderr is a terminal, unless disabled with --inherit-env=TERM
    - s-r-launch-client defaults to running a shell if no command
      is specified
    - Add s-r-launch-client -c COMMAND, a CLI shortcut for
      s-r-launch-client ... -- sh -c COMMAND
    - Add s-r-launch-client --inherit-env[-matching]=VAR
    - Add s-r-launch-client --env-fd=FD
    - Deprecate s-r-l-s --socket[-directory]
    - Documentation improvements
  * tests: More strict machine-readable TAP output
  * tests: Avoid s-r-launch-client altering controlling terminal settings

 -- Simon McVittie <smcv@collabora.com>  Fri, 29 Jul 2022 10:34:35 +0100

steam-runtime-tools (0.20220726.0) steamrt; urgency=medium

  * s-r-launch-client, s-r-launcher-service improvements:
    - Add s-r-launcher-interface-0, a simplified interface for compat
      tools such as SteamLinuxRuntime and Proton to enable debugging
      commands.
    - Use a pseudo-terminal to bridge terminals into the container.
      This allows debugging processes inside the container to take the
      pseudo-terminal as their controlling terminal, which is enough to
      run an interactive shell with full job control. (steamrt/tasks#125)
  * build: Prefer to send Meson test logs to a log file
  * docs: Documentation updates

 -- Simon McVittie <smcv@collabora.com>  Tue, 26 Jul 2022 15:20:15 +0100

steam-runtime-tools (0.20220725.1) steamrt; urgency=medium

  [ Simon McVittie ]
  * pressure-vessel: Fix a regression when launching Steam games when
    an exported filesystem path, or an ancestor or parent of an exported
    filesystem path, is an absolute symbolic link
    (Resolves: ValveSoftware/steam-runtime#516, #517, #518)
  * pressure-vessel: Improve debug logging when exporting host system
    directories to the container
  * pv-runtime: Add a log message to clarify why we are hiding the original
    version of Vulkan layers' JSON manifests (see
    ValveSoftware/steam-runtime#511)
  * build: Update option syntax for gtk_doc and man options
  * build: Update populate-depot.py from SteamLinuxRuntime scripts

  [ Ludovico de Nittis ]
  * system-info: Report whether each VA-API driver is for libva.so.1
    or libva.so.2
  * system-info: Refactoring

  [ Ryan Houdek, Ludovico de Nittis, Simon McVittie ]
  * pressure-vessel: Improve correctness of FEX-Emu host architecture
    detection

 -- Simon McVittie <smcv@collabora.com>  Mon, 25 Jul 2022 14:51:29 +0100

steam-runtime-tools (0.20220624.0) steamrt; urgency=medium

  [ Simon McVittie ]
  * pressure-vessel: Update libcapsule to v0.20220623.0
    - Implement DT_RUNPATH for dependency search, fixing Vulkan layers
      with non-trivial dependencies (notably MangoHud) on NixOS
      (ValveSoftware/steam-runtime#511)
  * pv-runtime: Pad numeric prefixes if necessary.
    Otherwise, we could end up loading drivers or layers in an unexpected
    order, with the layer numbered 10 loaded before the layer numbered 2.
  * pressure-vessel: Override log handler for pressure-vessel log domain.
    This fixes a regression that resulted in PRESSURE_VESSEL_VERBOSE and
    STEAM_LINUX_RUNTIME_VERBOSE only being partially effective.
  * pv-runtime: Improve debug output
  * pv-runtime: Only prepend /usr to expected glibc gconv directory if it
    starts with /lib
  * .reuse/dep5: Update

  [ Ludovico de Nittis ]
  * API documentation: Remove "not optional" annotations

 -- Simon McVittie <smcv@collabora.com>  Fri, 24 Jun 2022 10:58:48 +0100

steam-runtime-tools (0.20220620.0) steamrt; urgency=medium

  * pressure-vessel improvements:
    - Compatibility with Solus glibc patches (steam-runtime#510)
    - Compatibility with FEX-Emu x86 emulation on ARM
      (steam-runtime-tools#81)
  * s-r-launch-client improvements:
    - Add --list option
    - Improve compatibility with s-r-launcher-service --replace
    - Exit 0 if Terminate() succeeds
    - Clarify documentation
  * s-r-launcher-service improvements:
    - Don't exit while we are still managing any processes
    - Add --[no-]stop-on-name-loss option. --stop-on-name-loss is still
      the default, but this might change. (steamrt/tasks#128)
    - Fail if initial acquisition of bus names fails, unless
      --no-stop-on-name-loss was given
    - Add --[no-]stop-on-exit option. --stop-on-exit is still
      the default. (steamrt/tasks#127)
    - Add --exec-fallback option (steamrt/tasks#129)
    - Allow taking more than one D-Bus name
    - Add --session, which chooses a D-Bus name automatically
    - Fix terminating non-process-group-leader processes
    - Provide $MAINPID to debug processes (steamrt/tasks#126)
  * tests: Reliability fixes

 -- Simon McVittie <smcv@collabora.com>  Mon, 20 Jun 2022 12:03:49 +0100

steam-runtime-tools (0.20220601.0) steamrt; urgency=medium

  [ Simon McVittie ]
  * system-info: Work around diagnostic tools failing in a Snap app
  * system-info: Show Snap app as a container
  * system-info: Detect several virtual machine managers, hypervisors and
    emulators (via CPUID 0x40000000 or /sys/class/dmi/id)
  * pressure-vessel: Speed up detection of host graphics drivers,
    particularly Mesa DRI and VA-API
  * pressure-vessel: Refactoring
  * pressure-vessel: Update bubblewrap subproject to 0.6.2
  * Update libglnx subproject
  * tests: Add test coverage for x86 CPU feature identification
  * build: Use Meson feature options for gtk-doc, GObject-Introspection,
    man pages

  [ Ludovico de Nittis ]
  * system-info: Indicate Vulkan "portability drivers", a new flag in
    recent versions indicating drivers implementing an API subset
  * system-info: Refactoring
  * Remove unnecessary REUSE license info for subprojects.
    Please see the subprojects' own license info instead.

 -- Simon McVittie <smcv@collabora.com>  Wed, 01 Jun 2022 17:58:13 +0100

steam-runtime-tools (0.20220420.0) steamrt; urgency=medium

  * system-info: Don't consider a symlink /run/host -> .. to be a container.
    In particular, Toolbx 0.0.99.3 sets up this situation.
    (steamrt/steam-runtime-tools!427)
  * s-r-launch-client: Rename from pv-launch and move it to bin/
  * s-r-launcher-service: Rename from pv-launcher and move it to bin/
  * s-r-launcher-service: Add the ability to wrap an arbitrary command
    (steamrt/steam-runtime-tools!428)
  * bin: Add steam-runtime-launch-options script.
    This is an experimental replacement for, and generalization of,
    PRESSURE_VESSEL_WRAP_GUI=1. When it is included in a scout runtime
    shipped with Steam, it will allow developers and testers to swap
    between runtimes by setting the Steam launch options for a game to:
        steam-runtime-launch-options -- %command%
  * build: Consistently include libglnx header as "libglnx.h"
  * build: Exclude generated code from gtk-doc documentation
  * pressure-vessel, s-r-launch-client, s-r-launcher-service: Refactoring

 -- Simon McVittie <smcv@collabora.com>  Wed, 20 Apr 2022 18:08:40 +0100

steam-runtime-tools (0.20220315.0) steamrt; urgency=medium

  * pressure-vessel: Refactoring
  * pv-runtime: Only consider locale paths if they are directories
  * pv-runtime: Try to import list of PCI IDs into container.
    MangoHud wants this, to be able to display the name of a graphics card
    from its PCI ID. (Resolves: steam-runtime-tools#85)
  * system-info: Diagnose variables added in Vulkan-Loader 1.3.207
  * pressure-vessel: Set both VK_DRIVER_FILES and VK_ICD_FILENAMES,
    for better compatibility with Vulkan-Loader 1.3.207
  * graphics: Respect VK_DRIVER_FILES, VK_ADD_DRIVER_FILES, VK_ADD_LAYER_PATH
    for better compatibility with Vulkan-Loader 1.3.207.
    Note that we are assuming the semantics that are planned for 1.3.208,
    where VK_DRIVER_FILES overrides VK_ADD_DRIVER_FILES.
    (Resolves: steamrt/tasks#95)
  * pressure-vessel: Resync Flatpak-derived code with Flatpak 1.12.7
  * build: Silence a Meson future-compatibility warning

 -- Simon McVittie <smcv@collabora.com>  Tue, 15 Mar 2022 14:31:51 +0000

steam-runtime-tools (0.20220311.0) steamrt; urgency=medium

  * pressure-vessel: Warn if we have to fall back to copying.
    pressure-vessel is designed to use hard-links when preparing the
    container runtime, and we rely on them to get fast startup and not waste
    disk space. (steam-runtime#495)
  * pressure-vessel: Don't copy extended attributes.
    This can fail if we're copying from e.g. btrfs to tmpfs.
    (steam-runtime#495)
  * pressure-vessel: Treat libXNVCtrl as part of graphics stack.
    MangoHUD uses this to get performance information for older NVIDIA
    hardware via the NV-CONTROL X extension.
    This is not technically part of the NVIDIA driver (it's part of the
    nvidia-settings open-source module), and there's no guarantee that
    NVIDIA users will have it installed at all, but we're probably more
    likely to get a version compatible with the user's GPU and drivers if
    we prefer to take it from the same place as the actual driver.
    (steam-runtime-tools#82)
  * pressure-vessel: Update bubblewrap subproject to v0.6.1
  * pressure-vessel: Update code taken from Flatpak
    - Cope with WAYLAND_DISPLAY being an absolute path
  * Update libglnx subproject
    - Better compatibility with eCryptFS and maybe ZFS (GNOME/libglnx#3)
    - REUSE: Drop .reuse/dep5 stanza for libglnx, no longer needed.
      libglnx itself is now REUSE-compliant.
  * Documentation updates
    - Add documents introducing the LDLP and container Steam Runtimes
    - Document some of the assumptions made by the Steam Runtime
    - Developer mode is available in releases now
    - Add a cross-reference to SDK documentation

 -- Simon McVittie <smcv@collabora.com>  Fri, 11 Mar 2022 16:03:22 +0000

steam-runtime-tools (0.20220131.0) steamrt; urgency=medium

  * pressure-vessel: Handle X11 over local abstract or TCP sockets
    (steam-runtime#486)
  * pressure-vessel: Allow remapping Xauthority entries for remote or
    forwarded X11 (related to steam-runtime#486)
  * pressure-vessel: Interpret tcp: addresses for PulseAudio
  * pressure-vessel: Update Flatpak-based code to Flatpak 1.12.4
    - Support more variations of PulseAudio server strings
  * pressure-vessel: Expose systemd journal sockets inside container
  * urlopen: Improve error handling
  * urlopen: Allow steam.pipe to be tried either before or after x-d-p
  * Use steam-runtime-tools log domain for non-pressure-vessel CLI tools
  * urlopen, steam-remote: Optionally log to the systemd Journal

 -- Simon McVittie <smcv@collabora.com>  Mon, 31 Jan 2022 13:00:06 +0000

steam-runtime-tools (0.20220119.0) steamrt; urgency=medium

  * graphics: Add support for enumerating EGL external platforms.
    These are used by the NVIDIA proprietary driver for integration with
    non-X11 display technologies such as Wayland and gbm.
  * pressure-vessel: Collect EGL external platforms from graphics stack.
    This should allow the NVIDIA proprietary EGL driver to operate on Wayland,
    if it is a sufficiently new version.
  * graphics: Refactoring

 -- Simon McVittie <smcv@collabora.com>  Wed, 19 Jan 2022 11:35:32 +0000

steam-runtime-tools (0.20220111.0) steamrt; urgency=medium

  * graphics: Load ICDs and layers to match Vulkan-Loader >= 1.2.198
  * graphics: Improve Vulkan-Loader reference URLs
  * tests: Expand timeout for test-locale-gen.sh.
    This can take more than 60s on heavily loaded autobuilders.

 -- Simon McVittie <smcv@collabora.com>  Tue, 11 Jan 2022 14:02:44 +0000

steam-runtime-tools (0.20220107.0) steamrt; urgency=medium

  * pressure-vessel: Make /gnu/store available read-only, if it exists.
    This is necessary but not sufficient for Guix support; the rest of
    the necessary setup (notably a glibc configured to read /etc/ld.so.cache)
    is provided by the FHS-style container that Guix uses to run Steam.
    (steam-runtime-tools!406, steam-runtime#478)
  * build: Fix build with Vulkan 1.1 headers, in particular on
    Steam Runtime 1½ 'heavy' (steam-runtime-tools!407)
  * build: Fix GObject-Introspection build by separating public headers
  * Fix some GObject-Introspection warnings
  * API documentation fixes
  * pv-adverb: Fix regression in generation of required locales
    (steam-runtime-tools!408)

 -- Simon McVittie <smcv@collabora.com>  Fri, 07 Jan 2022 11:58:26 +0000

steam-runtime-tools (0.20211207.0) steamrt; urgency=medium

  [ Simon McVittie ]
  * build: Include our own copy of wflinfo, depending on libwaffle 1.6.
    This was the last remaining third-party executable used for our
    diagnostic checks that needed its packaging to be forked to build a
    multiarch-qualified version. If we avoid needing that, then we can use
    dependencies from an ordinary Linux distribution, making development
    outside a Steam Runtime environment easier.
  * pressure-vessel: Reduce size of relocatable binary package
  * pv-adverb: Improve error-checking
  * pv-launch: Use headers from Flatpak 1.12.2 for many constants
  * system-info: Improve Vulkan driver version reporting
    (steam-runtime-tools#79, steamrt/tasks#45)
    - Stop reporting an incorrect version number for Nvidia proprietary
    - Use the driverInfo field for the version number if possible,
      so we can report specific mesa-git commits if available
    - Report the VkDriverID that identifies a specific driver, if known
  * tests: Coding style adjustments
  * tests: Fix mypy warnings
  * pressure-vessel: Refactoring
  * check-vulkan: Refactoring

  [ Simon McVittie, Ludovico de Nittis ]
  * Improve ability to build for non-x86_64 architectures

  [ Ludovico de Nittis ]
  * d/rules: Remove unused vulkaninfo symlink
  * build-relocatable-install: Remove unused ld.so value

 -- Simon McVittie <smcv@collabora.com>  Tue, 07 Dec 2021 16:15:56 +0000

steam-runtime-tools (0.20211027.0) steamrt; urgency=medium

  [ Simon McVittie ]
  * pv-runtime: Improve support for locating data associated with host
    libraries
    - In particular take drirc.d from OS, even if using Mesa in a
      non-standard location (Resolves: steam-runtime-tools#77)
  * graphics: Improve support for Vulkan layers in a Flatpak environment
  * pv-wrap: Add --devel option for "developer mode"
    - Mount /sys read/write so developers can access debugfs, event tracing
      or similar facilities, if allowed by filesystem permissions on host
    - Don't detach from standard input (like --terminal=tty)
    - More developer-mode tweaks are likely to be added in future versions
  * pv-wrap: Update messages that refer to Flatpak versions
    - Users of 1.11.x should upgrade to at least 1.12.1 to fix an unrelated
      security issue in Flatpak
  * pressure-vessel, system-info: Fix various minor memory leaks
  * helpers: Translate check-gl from C++ into C
  * library: Move most JSON report parsing to its own translation unit
  * check-xdg-portal: Avoid a crash if no interfaces can be found
  * pv-runtime: Refactoring
  * Build system improvements
  * Unit test improvements
  * Avoid functions deprecated in GLib 2.70
  * Add some game-developer-oriented documentation
    (Resolves: steamrt/tasks#6)
  * Update shared code from Flatpak 1.12.2

  [ Ludovico de Nittis ]
  * Update libcapsule to 0.20211026.0
    - Fix dependency resolution with host glibc <= 2.33 and
      container runtime glibc >= 2.34
      (libcapsule!49, Resolves: steamrt/tasks#13)
  * pv-runtime: Use correct ld.so from graphics stack provider
  * graphics: Respect graphics-stack provider sysroot (if not the host)
    when loading graphics libraries
  * Add proof-of-concept support for non-x86 architectures.
    Steam is x86-specific, but the majority of steam-runtime-tools is
    architecture-agnostic; make it work on aarch64 (e.g. Raspberry Pi 4)
    to get an idea of how much work is required to support each new
    architecture.
  * graphics: Refactoring
  * Build system improvements
  * Unit test improvements
  * Create an issue template

 -- Simon McVittie <smcv@collabora.com>  Wed, 27 Oct 2021 19:36:25 +0100

steam-runtime-tools (0.20210906.2) steamrt; urgency=medium

  [ Ludovico de Nittis ]
  * Update libcapsule to 0.20210906.0
    - Improve forward compatibility with glibc 2.34

 -- Simon McVittie <smcv@collabora.com>  Mon, 06 Sep 2021 17:43:10 +0100

steam-runtime-tools (0.20210906.1) steamrt; urgency=medium

  * debian: Build-Depend on libcap-dev, for bubblewrap

 -- Simon McVittie <smcv@collabora.com>  Mon, 06 Sep 2021 15:36:04 +0100

steam-runtime-tools (0.20210906.0) steamrt; urgency=medium

  [ Simon McVittie ]
  * pv-wrap: Use $PRESSURE_VESSEL_BWRAP in preference to $BWRAP
  * pv-wrap: Use local copy of bwrap in preference to system copy.
    The system copy might be older and less featureful, or might be
    unnecessarily setuid, so let's try to use a version that is under our
    control. If it works, great. If not, we can try a system copy, which
    we might have to use anyway (for example on Debian 10, RHEL 7 or
    SteamOS 2).
  * pv-wrap: Build and use our own copy of bubblewrap 0.5.0.
    This is considerably newer than the backport we have in scout, and
    includes fixes relevant to pressure-vessel, particularly for users of
    case-insensitive filesystems.
    (Resolves: steam-runtime-tools#47, steam-runtime#326, T30017)
  * pv-wrap: Log an info message if bwrap is setuid.
    A setuid-root version of bwrap cannot use all of its features, so this
    is useful information.
  * graphics: Accept Vulkan layer manifests up to version 1.2.0.
    Version 1.2.0 added some new fields, but nothing critical for our
    purposes. (Resolves: steam-runtime#457)

  [ Ludovico de Nittis ]
  * check-va-api: Do not stop if one decoding profile fails.
    This improves detection of working VA-API on Intel. (T27513)
  * Import host's icons and cursors into the container
    (Resolves: steam-runtime#311, T29983)

 -- Simon McVittie <smcv@collabora.com>  Mon, 06 Sep 2021 14:24:36 +0100

steam-runtime-tools (0.20210820.0) steamrt; urgency=medium

  * debian: Split steam-runtime-tools-minimal package.
    We don't want to include all of steam-runtime-tools-bin in heavy,
    because that drags in json-glib, waffle and other libraries not
    historically included in heavy, and we're trying to make heavy as light
    as possible (perhaps ironically, given its name and its use to support
    a 100M+ browser engine).
  * debian: Change misleading suite name in changelog.
    We use the same source code across all Steam Runtime branches for this
    particular package.
  * tests: Update populate-depot.py from SteamLinuxRuntime v0.20210806.0
  * tests: Don't make populate-depot.py guess what we mean
  * build-aux: Remove redundant COPYING file
  * build-aux: Move sysroot convenience scripts to here

 -- Simon McVittie <smcv@collabora.com>  Fri, 20 Aug 2021 17:48:44 +0100

steam-runtime-tools (0.20210809.1) scout; urgency=medium

  * Rebuild with fixed version number and CI pipeline

 -- Simon McVittie <smcv@collabora.com>  Mon, 09 Aug 2021 17:25:34 +0100

steam-runtime-tools (0.20210809.0) scout; urgency=medium

  * pv-runtime: Try to create /sbin/ldconfig.real if using host glibc.
    This fixes a regression for Ubuntu and older versions of Debian.
    (Resolves: T29764)
  * pv-adverb: If we cannot regenerate ld.so.cache, fall back to
    pre-0.20210806.0 behaviour
  * pv-adverb: Expand error message if we cannot regenerate ld.so cache

 -- Simon McVittie <smcv@collabora.com>  Mon, 09 Aug 2021 16:43:21 +0100

steam-runtime-tools (0.20210806.0) scout; urgency=medium

  [ Ludovico de Nittis, Simon McVittie ]
  * pv-runtime: Generate a new /etc/ld.so.cache with our overridden
    libraries. This means we can now run games that clear the
    LD_LIBRARY_PATH, such as Dead Cells, Evoland Legendary Edition and
    Shenzhen I/O. (Resolves: steam-runtime#224, steam-runtime#268, T14481)

  [ Simon McVittie ]
  * pressure-vessel: Take ldd, etc. from provider if we are using its glibc,
    for better compatibility with newer glibc in host OSs like Arch Linux
    (Resolves: T29581)
  * pressure-vessel: Improve handling of LD_PRELOAD and LD_AUDIT modules.
    Modules that are not a literal, absolute filename are now supported
    as far as possible. In particular, this handles two common configurations
    for MangoHud: the convenience build script and binary builds provided by
    upstream, and the layout used in the Debian packaging.
    (Resolves: steam-runtime#435, T29490)
  * pv-launch: Show more explanatory message if Flatpak is using setuid
    bwrap. In particular, this should help users of recent Flatpak
    on Gentoo.
  * pv-unruntime: Handle LD_PRELOAD with spaces correctly.
    Unlike LD_AUDIT, LD_PRELOAD items are separated by either colon or
    space delimiters.
  * pv-wrap: Generalize SHARED_LIBRARY_GUARD_CONFIG handling to cope with
    the case where the variable is already set, or points to a file in
    /usr or /lib*
  * pressure-vessel: Update flatpak-exports from Flatpak
  * Update libcapsule subproject to v0.20210728.0
  * pressure-vessel: Refactor handling of LD_PRELOAD and LD_AUDIT modules
  * pv-wrap, pv-launcher: Set a reasonable RLIMIT_NOFILE to avoid
    problems with select().
    (Resolves: T29726; related to steam-for-linux#7970)
  * tests: Improve pressure-vessel test coverage

  [ Ludovico de Nittis ]
  * pv-runtime: Delete overridden libraries from the correct "mesa" path
    to improve robustness
  * pressure-vessel: Remove support for STEAM_COMPAT_FLAGS=search-cwd.
    This is now handled by run.sh from the LD_LIBRARY_PATH runtime, with a
    fallback implementation in the "Steam Linux Runtime" compat tool
    (versions >= 0.20210806.33) until we can get the run.sh change into a
    General Availability version of Steam.

 -- Simon McVittie <smcv@collabora.com>  Fri, 06 Aug 2021 17:51:39 +0100

steam-runtime-tools (0.20210722.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * pv-runtime: Share /usr/share/nvidia with container if NVIDIA driver
    is used (steam-runtime-tools#73, T29292)
  * pressure-vessel: Adjust LD_PRELOAD to reduce misleading ELF warnings
    (steam-runtime-tools#33, T28950)

  [ Simon McVittie ]
  * pv-runtime: Fix startup regression on NixOS (steam-runtime#431)
  * pressure-vessel: Remove the concept of "locking" environment variables.
    This complexity is no longer necessary with the simplified compat-tool
    interface in the current stable version of Steam.
  * pv-wrap: Optionally try to run games in a systemd scope
  * Add licensing information in REUSE format
  * CI/test improvements

 -- Simon McVittie <smcv@collabora.com>  Thu, 22 Jul 2021 17:39:53 +0100

steam-runtime-tools (0.20210630.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * pv-wrap: Make Nvidia Vulkan ray-tracing more likely to work.
    Run nvidia-modprobe with the -c=0 option to make sure /dev/nvidia-uvm
    gets created.
  * steam-runtime-identify-library-abi: New executable to identify the
    ABI of shared libraries.

 -- Simon McVittie <smcv@collabora.com>  Wed, 30 Jun 2021 12:26:40 +0100

steam-runtime-tools (0.20210617.1) scout; urgency=medium

  [ Simon McVittie ]
  * pressure-vessel: Fix compatibility with Ubuntu 14.04 and other older
    non-systemd Debian derivatives
  * pressure-vessel: Improve compatibility with other mtree implementations
  * tests: Update populate-depot.py from SteamLinuxRuntime v0.20210608.0
  * CI: Improve configuration
  * docs: Document the Steam compatibility tool interface.
    This is based on testing with Steam beta 1623823138 and older versions,
    and is not necessarily authoritative.

  [ Ludovico de Nittis ]
  * pressure-vessel: Address various build warnings

 -- Simon McVittie <smcv@collabora.com>  Thu, 17 Jun 2021 19:03:58 +0100

steam-runtime-tools (0.20210608.3) scout; urgency=medium

  * Rebuild with adjusted CI settings

 -- Simon McVittie <smcv@collabora.com>  Tue, 08 Jun 2021 16:43:27 +0100

steam-runtime-tools (0.20210608.0) scout; urgency=medium

  [ Simon McVittie ]
  * pressure-vessel: Build capsule-capture-libs from a bundled copy of
    libcapsule, currently v0.20210114.0.
    This reduces the number of components required to get a pressure-vessel
    build: now all we need is the multiarch-prefixed wflinfo, and some
    common shared libraries. (s-r-t!311)
  * system-info: Make STEAM_RUNTIME take precedence over os-release.
    If we're running the scout runtime inside a soldier container
    (scout_layered_slim beta branch, T18668) then we want to be reporting
    facts about the scout runtime.
  * system-info: Show /overrides even if in scout runtime.
    This is helpful if we're stacking the scout runtime onto the soldier
    runtime (T18668): both pinned_libs_* and overrides are relevant there.
  * CI: Upload a pressure-vessel binary release for each tag (T28526)

  [ Ludovico de Nittis ]
  * system-info: Use a more compact output for overrides and pinned
    libraries.
    Most of the information in `find -ls` output is not particularly
    interesting for debugging, so just log the list of files, whether each
    one is a directory, and the targets of symlinks. Replace the paths
    to the home directory and the LD_LIBRARY_PATH Steam Runtime with
    $HOME and $STEAM_RUNTIME respectively, to make things more concise.
    (s-r-t!315, Resolves: T28240)
  * pv-wrap: Adjust Flatpak libshared-library-guard configuration path
    (T27444)

 -- Simon McVittie <smcv@collabora.com>  Tue, 08 Jun 2021 16:06:58 +0100

steam-runtime-tools (0.20210518.0) scout; urgency=medium

  * system-info: List /overrides/ correctly in recent SteamLinuxRuntime.
    When pressure-vessel operates in --copy-runtime mode, /overrides is a
    symlink to /usr/lib/pressure-vessel/overrides. "find /overrides -ls"
    is useless here: it just lists the symlink, rather than traversing the
    directory hierarchy.
  * pv-wrap: Share Pipewire socket with container if available
  * pv-runtime: Refactoring
  * resolve-in-sysroot: Correct misleading error messages
  * resolve-in-sysroot: Correctly bail out if a non-directory is found

 -- Simon McVittie <smcv@collabora.com>  Tue, 18 May 2021 11:22:07 +0100

steam-runtime-tools (0.20210430.0) scout; urgency=medium

  [ Simon McVittie ]
  * pressure-vessel: Performance improvements, especially on systems with
    slow I/O performance
    - Enumerate host system graphics drivers in parallel with other
      required setup
    - Speed up startup with cold cache by skipping unnecessary checks
    - Speed up --copy-runtime mode by not opening shared libraries
      with libelf
  * pressure-vessel: Add a new runtime format with unpacked files
    accompanied by a mtree(5) manifest. This is more space-efficient than
    deploying a tarball, and speeds up setup when running under Flatpak.
    1.11.x subsandboxing. (Resolves: T27912)
  * pv-wrap: Auto-detect Flatpak 1.11.x (T27612)
  * pv-wrap: Suggest an appropriate `flatpak override` command if needed
  * pv-wrap: Remove support for escaping from a Flatpak container.
    We did this as a very early prototype, but it never fully worked, and
    required configuring Flatpak specially to allow Steam to escape from the
    sandbox (which obviously undermines Flatpak's intended sandboxing).
  * pv-runtime: Fix some misleading log messages and comments
  * pressure-vessel: Remove unnecessary bundled copies of vainfo and
    vulkaninfo
  * tests: Update populate-depot.py from SteamLinuxRuntime.
    Adjust invocation as required.
  * Refactoring

  [ Ludovico de Nittis ]
  * system-info: Try to detect the expansion of $LIB and $PLATFORM (T27436)
  * system-info: Detect Flatpak version (T27635)
  * pressure-vessel: Undo SDL_VIDEODRIVER=wayland if running in scout.
    The SDL in scout is too old for this to work.
    (steam-runtime#232, steam-runtime#396, T27777)
  * pressure-vessel: Show a warning if $PLATFORM cannot be detected.
    This would break our ability to set up VDPAU drivers.
  * Refactoring

 -- Simon McVittie <smcv@collabora.com>  Fri, 30 Apr 2021 16:45:15 +0100

steam-runtime-tools (0.20210415.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * pressure-vessel: Show a warning when attempting to bind /usr/* dirs
    (Helps: #30)
  * pv-runtime: Improve experimental Flatpak sub-sandboxing support
    (Fixes: T27437, T27438, T27442, T27443)
  * pv-launch: Fix typo in --help

  [ Simon McVittie ]
  * pv-runtime: Don't set PulseAudio as default if it was not found,
    fixing a regression in 0.20210317.0 on systems that use plain ALSA
    (Helps: steam-runtime#344, steam-runtime#384)
  * pv-runtime: Improve experimental Flatpak sub-sandboxing support
  * Update libglnx
  * pressure-vessel: Don't try to change file ownership when copying a tree

 -- Simon McVittie <smcv@collabora.com>  Thu, 15 Apr 2021 20:25:04 +0100

steam-runtime-tools (0.20210331.0) scout; urgency=medium

  [ Simon McVittie ]
  * Fix handling of libraries with non-ASCII paths
    - pressure-vessel: Fix a crash if a Vulkan ICD or layer is in a
      directory with a non-ASCII name
    - system-info: Show details of libraries in non-ASCII locations
      correctly
    (Resolves: steam-runtime#385, steam-runtime-tools#69)
  * system-info: Force environment variables into UTF-8

  [ Ludovico de Nittis ]
  * pressure-vessel: Use a tmpfs home directory when unsharing the home
    directory and running non-interactively. (Resolves: steam-runtime#66)
  * steam-runtime-steam-remote: Add a stub steam executable.
    This tries to communicate with the running Steam client and pass
    command-line options to it, and is suitable for placing in a container's
    PATH as 'steam'. (Helps: T27035)
  * steam-runtime-urlopen: Add a more Steam-centric URL-opening helper,
    command-line-compatible with xdg-open.
    This handles steam: and steamlink: URLs by passing them to the running
    Steam client, even if it is not the default handler for those URLs,
    and makes it possible to open http and https URLs via Steam if
    xdg-desktop-portal is not available. (Helps: T27036)

 -- Simon McVittie <smcv@collabora.com>  Wed, 31 Mar 2021 16:59:04 +0100

steam-runtime-tools (0.20210317.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * pressure-vessel: Create symlinks for non-canonical SONAMES
    such as libbz2.so.1
    (Resolves: T26816; helps: steam-runtime#246)
  * pressure-vessel: Set PulseAudio as the default ALSA driver if available.
    (Resolves: steam-runtime-tools#65; helps: steam-runtime#371)
  * pv-runtime: Use "/usr/share" as a fallback library data directory,
    for better support for e.g. Exherbo (Resolves: steam-runtime-tools#68)
  * pv-runtime: Try Exherbo's locale dirs as a fallback
    (partially addresses: steam-runtime-tools#67)
  * tests: Test ability to unshare the home directory

  [ Simon McVittie ]
  * pressure-vessel: Fix Proton setup commands in locales that use a
    decimal comma, such as de_DE (helps: steam-runtime#381)
  * pv-runtime: Avoid a spurious warning on first use
  * pv-wrap: Fix a regression in the experimental Flatpak sub-sandboxing
    code path with newer SteamLinuxRuntime wrapper scripts

 -- Simon McVittie <smcv@collabora.com>  Wed, 17 Mar 2021 19:17:08 +0000

steam-runtime-tools (0.20210312.0) scout; urgency=medium

  * pressure-vessel: Fix a regression when using a game-specific home
    directory. Mount points appeared in the wrong order, resulting in
    the game-specific home covering up directories that should have been
    shared, such as ~/.steam (Resolves: #63)
  * pressure-vessel: Fix a regression when not using any runtime

 -- Simon McVittie <smcv@collabora.com>  Fri, 12 Mar 2021 19:19:42 +0000

steam-runtime-tools (0.20210305.0) scout; urgency=medium

  [ Simon McVittie ]
  * pressure-vessel: Fix processing of Vulkan ICDs/layers outside /usr
    where the library_path in the JSON manifest is just a SONAME
    (Resolves: steam-runtime#366)
  * pressure-vessel: Fix regressions when graphics provider is set to empty
  * pressure-vessel: Default to using graphics drivers from the current
    execution environment, not necessarily the host
    (Resolves: steam-runtime#367)
  * pressure-vessel: Cope with /var/tmp (or /var) being a symlink
    (Resolves: steam-runtime#368)
  * pv-wrap: Make PROTON_LOG_DIR available in the container
    (Resolves: steam-runtime#369)
  * pressure-vessel: Never set XDG_DATA_DIRS to just our override directory.
    Default to /usr/local/share:/usr/share as per the specification.
  * pressure-vessel: Mask Vulkan layers in home directory or other non-/usr
    paths. This avoids the Steam fossilize and overlay layers being
    duplicated in the container's search path. (Resolves: T26160)
  * pressure-vessel: Accept runtime with or without ./files at top level
  * pv-launch: Sync minor improvements from flatpak-xdg-utils
  * pv-launch: Use unset-env option for subsandbox API >= v5.
    This was added in Flatpak 1.10.0.
  * pressure-vessel: Improve diagnostics for various error conditions
  * pressure-vessel: Generalize --copy-runtime-into into --variable-dir
  * pressure-vessel: Fix locking behaviour in variable directory
  * pressure-vessel: Add support for unpacking runtimes from an archive.
    This previously had to be done by the SteamLinuxRuntime shell scripts.
  * pressure-vessel: Automatically enable --copy-runtime if running
    under Flatpak
  * pressure-vessel: Make sure Debian-based runtimes will look in
    /lib/terminfo, fixing the PRESSURE_VESSEL_SHELL=instead xterm's
    behaviour when not running on a Debian derivative
  * pressure-vessel: Treat LD_AUDIT the same as LD_PRELOAD, as another step
    towards Flatpak support
  * pressure-vessel: Put apt-style severity prefixes on messages
  * pressure-vessel: Add experimental code path for Flatpak sub-sandboxing.
    This requires branches of Flatpak that have not yet been reviewed or
    merged, so it isn't expected to work yet. Only pressure-vessel or
    Flatpak developers should enable this.
  * pressure-vessel: Make /run/bumblebee.socket visible in container.
    This is sometimes helpful for Primus/Bumblebee setups, although we
    recommend PRIME render offloading (DRI_PRIME=1 for Mesa or
    __NV_PRIME_RENDER_OFFLOAD=1 for NVIDIA) as a more reliable way to manage
    multiple GPUs. (Helps: steam-runtime#372)
  * debian: Make symlinks in RPATH point to libraries by SONAME.
    This makes the steam-runtime-system-info in the LD_LIBRARY_PATH
    Steam Runtime work more reliably across GLib upgrades.
  * Refactoring

  [ Ludovico de Nittis ]
  * pressure-vessel: Respect search-cwd flag in STEAM_COMPAT_FLAGS.
    This should fix games like Shadowrun Returns that assume their
    installation directory is in the LD_LIBRARY_PATH.
    (Resolves: steam-runtime#371, steam-runtime-tools#46)
  * pressure-vessel: Run nvidia-modprobe -u before entering the container
    if needed, to load nvidia_uvm.ko for Vulkan ray-tracing support
    (Resolves: steam-runtime-tools#59)
  * pressure-vessel: Update flatpak-run to the latest upstream version.
    This includes a fix to propagate the X11 cookies that have an address
    equal to XAUTHLOCALHOSTNAME, fixing X11 authentication on some openSUSE
    systems (Resolves: steam-runtime-tools#53)
  * runtime: Bind the drirc settings from the provider
    (Resolves: steam-runtime-tools#60)
  * pressure-vessel: Improve library binding speed
  * pv-adverb: Remove unused locales temporary directories
    (Resolves: steam-runtime-tools#56)
  * system-info: Report duplicate Vulkan ICDs/layers as an issue.
    This helps us to detect misconfigured host systems, and also helps to
    detect regressions where we duplicate ICDs/layers in the pressure-vessel
    container that were not duplicates on the host. (Resolves: T26156)
  * system-info: Add ability to set multiarch tuples to inspect
    (Resolves: steam-runtime-tools#58)
  * pressure-vessel: Mount systemd-resolved varlink socket if available
    (Resolves: steam-runtime-tools#61)
  * pressure-vessel: Include Vulkan shaders required by the included
    diagnostic tool (Resolves: steam-runtime-tools#62)
  * system-info: Parse Vulkan layers from a report in the right order
  * tests: Programmatically generate more mock sysroots instead of including
    them in the source release (Resolves: T26709)
  * Refactoring

 -- Simon McVittie <smcv@collabora.com>  Fri, 05 Mar 2021 11:08:01 +0000

steam-runtime-tools (0.20210203.0) scout; urgency=medium

  * pressure-vessel: Revert improvements to speed of container setup.
    This optimization caused some Vulkan layers and ICDs to appear more
    than once in the container, which makes some games hang.
    (Maybe resolves: steam-runtime#361, steam-runtime#362, steam-runtime#363)
  * system-info: Log environment variables used by various Vulkan layers

 -- Simon McVittie <smcv@collabora.com>  Wed, 03 Feb 2021 16:33:56 +0000

steam-runtime-tools (0.20210201.0) scout; urgency=medium

  [ Simon McVittie ]
  * pressure-vessel: Make graphics stack provider's /etc/amd available
    in the container.
    This is needed for at least one of the AMD-maintained graphics stacks:
    AMDVLK (open-source) and/or AMDGPU-PRO (proprietary).
    (Resolves: steam-runtime#313)
  * pressure-vessel: Make host's /etc available for reference in
    /run/host/etc inside the container (also graphics stack provider's /etc
    in /run/gfx/etc, if different)
  * pressure-vessel: Make /var/tmp available in the container
  * system-info: Show various environment variables that influence
    components that we are interested in:
    - the Steam client
    - SDL
    - Wine/Proton
    - PulseAudio clients
    - ALSA clients
  * check-vulkan: Fix compilation on Steam Runtime 1½ 'heavy'.
    heavy is still on Vulkan loader v1.1.73, which doesn't know
    VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT.
  * tests: Fix unit test failure if environment variables like DRI_PRIME
    are set

  [ Ludovico de Nittis ]
  * pressure-vessel: Improve speed of container setup by combining multiple
    calls to capsule-capture-libs
  * system-info: Show machine-readable info for each Vulkan PhysicalDevice
    (each GPU/driver combination, plus software rendering if available).
    This should help us to see what is going wrong in multi-GPU scenarios.
    (Helps: steam-runtime#312, steam-runtime#341, steam-runtime#352;
    maybe also steam-runtime#340)

 -- Simon McVittie <smcv@collabora.com>  Mon, 01 Feb 2021 19:03:26 +0000

steam-runtime-tools (0.20210126.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * pressure-vessel: Fix a crash when environment variables carried over
    from the host are not in the expected encoding
    - In particular this fixes a crash when a game's installation directory
      contains the trademark symbol. (Resolves: #52, steam-runtime#349)
  * system-info: Fix a crash in some unlikely error cases
  * system-info: Refactoring
  * check-vulkan: Avoid a possible crash
  * check-vulkan: Convert from C++ to C
  * check-vulkan: List all Vulkan GPUs
  * check-vulkan: Improve error messages

  [ Simon McVittie ]
  * system-info: Log more influential environment variables
  * system-info: Add support for reading /run/host/container-manager
  * system-info: Add support for detecting Podman
  * system-info: Print diagnostic messages as arrays of lines
  * system-info: Temporarily print details of all GPUs as diagnostic
    messages, until we support printing them in a machine-readable way

 -- Simon McVittie <smcv@collabora.com>  Tue, 26 Jan 2021 13:22:50 +0000

steam-runtime-tools (0.20210114.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * pressure-vessel: Fix loading of ICDs and Vulkan layers that are
    referenced by a bare SONAME (Resolves: #49)
    - In particular this fixes the Mesa device selection layer
  * pressure-vessel: Improve handling of LD_PRELOAD

  [ Simon McVittie ]
  * pressure-vessel: Find PulseAudio socket on systems that do not use
    XDG_RUNTIME_DIR (Resolves: #51, steam-runtime#343)
  * pressure-vessel: Further refactoring towards being able to run from
    inside Flatpak
  * pressure-vessel: Create symlinks for various distros' ld.so.cache
    equivalents, improving ability to run on Clear Linux and Exherbo
    (partially addresses steam-runtime#345, steam-runtime#230)
  * pv-wrap: *Really* don't assume container's env is in the PATH,
    again for Exherbo (partially addresses steam-runtime#230).
  * pressure-vessel: Implement the container indicator from systemd's
    CONTAINER_INTERFACE ($container and /run/host/container-manager)
  * test-ui: Look for runtimes in PRESSURE_VESSEL_VARIABLE_DIR.
    Future versions of SteamLinuxRuntime will use this to move the
    non-Steampipe-managed runtimes into a var/ subdirectory.

 -- Simon McVittie <smcv@collabora.com>  Thu, 14 Jan 2021 14:29:37 +0000

steam-runtime-tools (0.20210105.0) scout; urgency=medium

  [ Simon McVittie ]
  * pv-wrap: Make graphics drivers outside $HOME available, if used
    (Resolves: #29, steam-runtime#313)
  * pv-wrap: Refactor collection of DRI drivers so we use all the search
    paths that SrtGraphics knows about
    - Also look for Mesa DRI drivers in ${libdir}/xorg/modules/dri,
      used on Slackware (Resolves: steam-runtime#318)
  * pv-wrap: Don't assume container's env is in the PATH.
    Some OS distributions, notably Exherbo, don't put /usr/bin in their
    PATH. This means we can't safely use their PATH to invoke standard tools
    inside the container. (Partially addresses steam-runtime#230)
  * pv-wrap: Always disable gtk3-nocsd.
    This module interposes in front of g_object_get(), and is known to cause
    crashes, even in programs that use GObject but not GTK.
    (Resolves: steam-runtime#286)
  * pv-wrap: Cope with /tmp being a symlink.
    If /tmp is a symlink in the current execution environment, then when
    we ask bwrap to bind-mount /tmp/pressure-vessel-wrap.XXXXXX/overrides
    over itself, it will try to create the parent directory /tmp, and fail
    because there's a symlink in the way. Canonicalize the path and use that
    instead. Partially addresses steam-runtime#321 (symlinks "above" the home
    directory have the same problem, but are harder to fix).
  * Improve diagnostic tools bundled with relocatable pressure-vessel:
    - Don't wrap steam-runtime-system-info, so it can find its helpers
    - Include vulkaninfo and wflinfo in relocatable installs
  * pv-wrap: Remove --host-fallback option.
    We are not going to be able to do this from within Flatpak, and it is
    unsuitable for running runtimes other than Steam Runtime 1 'scout',
    for which the LD_LIBRARY_PATH runtime mostly already works.
    If we need an automatic fallback to running on the host for scout games,
    we can do that better by running `pressure-vessel-wrap --test`.
  * pressure-vessel: Speed up execution of short-lived subprocesses.
    In particular, if the soft limit on open file descriptors is very large
    (formerly recommended for Proton "esync", although the current
    recommendation is to set a small soft limit and a large hard limit)
    this can speed up pressure-vessel by as much as 90%. In more normal
    configurations it can still save 10%. (Resolves: steam-runtime#323)
  * pressure-vessel: Stop running bwrap --help, no longer needed.
  * pv-wrap: Log pressure-vessel version on startup.
    This serves two purposes: it gives us a timestamp for when
    pressure-vessel started, and it puts the version number in the log.
  * Preparatory work for being able to run inside Flatpak:
    - system-info: Look in both /overrides and /usr/lib/p-v/overrides
    - pv-wrap: In Flatpak, use pv-launch to run commands on the host
    - pv-wrap: Remap $HOME for Flatpak correctly
    - pv-wrap: In Flatpak, put game in same userns/pidns as Steam if possible
    - pv-launch: Add the ability to unset environment variables when using
      Flatpak APIs on the host
    - Lots of refactoring in PvRuntime
  * THIRD-PARTY.md: Add more licenses for steam-runtime-tools
  * THIRD-PARTY.md: Point to git repo for steam-runtime-tools source
  * THIRD-PARTY.md: Point to scout images for third-party library source

  [ Ludovico de Nittis ]
  * system-info: Diagnose STEAM_COMPAT_CLIENT_INSTALL_PATH mismatch
    (Resolves: #41)
  * runtime: correctly handle ICD for different ABI even without subdirs
    (Resolves: #45)
  * graphics: Do not load JSON ICDs multiple times from the same directory
    (Resolves: #48; partially addresses steam-runtime#336)
  * Refactor logging
  * Add PRESSURE_VESSEL_LOG_INFO and PRESSURE_VESSEL_LOG_WITH_TIMESTAMP
    environment variables
  * pressure-vessel: Start to use the "info" log level

 -- Simon McVittie <smcv@collabora.com>  Tue, 05 Jan 2021 18:12:58 +0000

steam-runtime-tools (0.20201203.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * pressure-vessel: Cope with Vulkan meta-layers and handle them specially,
    fixing an assertion failure (Resolves: steam-runtime#306)
  * pressure-vessel: Add option to disable the import of Vulkan layers.
    Users experiencing problems with Vulkan layers can disable their
    inclusion in the container with environment variable
    PRESSURE_VESSEL_IMPORT_VULKAN_LAYERS=0. (Resolves: steam-runtime-tools#37)
  * pressure-vessel: Do not dlopen layers if it isn't necessary.
    This makes it more likely that we can share the same JSON manifest
    for all word-sizes, working around some overzealous deduplication
    in the Vulkan loader. (Partially addresses: steam-runtime-tools#39)
  * diagnostic tools: Try more VA-API code paths, so that the check can pass
    on Intel GPUs (Resolves: steam-runtime-tools#24)

  [ Simon McVittie ]
  * pressure-vessel: Fix VDPAU driver loading when using newer glibc on
    post-Haswell CPUs
  * pressure-vessel: Improve correctness of PRESSURE_VESSEL_COPY_RUNTIME_INTO
    by removing more conflicting libraries
  * input-device test: Add more test data

 -- Simon McVittie <smcv@collabora.com>  Thu, 03 Dec 2020 18:20:30 +0000

steam-runtime-tools (0.20201124.0) scout; urgency=medium

  [ Simon McVittie ]
  * runtime: Expand libqual into an array of multilib directories.
    This is a step towards searching all the necessary places for unusual
    distributions like Exherbo (see steam-runtime#230), and gives us
    an obvious extension point for adding more multilib directories.
  * runtime: Don't issue warnings when unable to delete from runtime copy
  * pressure-vessel-unruntime: Don't assume bash is at /bin/bash.
    Apparently NixOS puts it somewhere else.
  * pressure-vessel: Fix a wrong assertion that prevented running the
    container with libraries from the host system instead of a runtime.
    Steam never does this, but it's occasionally useful for debugging.
  * pressure-vessel: Make /nix available read-only, if it exists.
    This is necessary (but not sufficient!) for NixOS support.
  * pressure-vessel: Make sure ~/.steam is available in the container,
    even if it's a symbolic link (steam-runtime#291)
  * pressure-vessel-wrap: Add environment variables to share filesystems
  * pressure-vessel: Make STEAM_EXTRA_COMPAT_TOOLS_PATHS available
    (partially addresses steam-runtime#302)
  * input-device: Add a new API for input device enumeration and monitoring.
    This can list and inspect input devices using libudev or directly, and
    is potentially a basis for a future input device portal (see
    steam-runtime-tools#11).
  * system-info: Detect whether the expected runtime linker is present.
    On operating systems with unusual path layouts, such as Exherbo and
    NixOS, the de facto standard path for the runtime linker is not
    necessarily present for all architectures.
    (Of course, if the x86_64 runtime linker is not present, we won't
    normally be able to run steam-runtime-system-info either, but at least
    users of such operating systems can compile it from source code if they
    need to provide diagnostics.)
  * bin: Add new steam-runtime-input-monitor diagnostic tool
  * bin, pressure-vessel: Disable GIO modules differently.
    This avoids some misleading warnings (steam-runtime-tools#32).
  * bin: Link diagnostic tools to libsteam-runtime-tools statically
  * lib: Don't export private _srt_filter_gameoverlayrenderer
  * tests: Link utils test to libsteam-runtime-tools statically
  * tests: Move some tests for utility code out of pressure-vessel
  * utils: Add the ability to find our prefix when statically linked
  * build: Fix dependencies on generated headers
  * build: Compile using gcc-4.8 on scout
  * debian: Allow building with only libcapsule-tools-relocatable installed
  * tests: Generate sysroots for each test, instead of per-build

  [ Ludovico de Nittis ]
  * pressure-vessel: Make the original environment available
  * pressure-vessel: Treat LD_LIBRARY_PATH as system libraries.
    At this stage we expect to have `LD_LIBRARY_PATH` set to the
    `SYSTEM_LD_LIBRARY_PATH` of `steam.sh`.
    This means that we should treat the `LD_LIBRARY_PATH` entries as
    OS-level search path too.
  * pressure-vessel-unruntime: Support PRESSURE_VESSEL_APP_LD_LIBRARY_PATH
  * pressure-vessel: Add support for Vulkan layers.
    When we use the provider graphics stack we also try to collect the
    available Vulkan layers, similarly to what we already do for ICDs.
    (T24365, T24347, T24348)
  * pressure-vessel: use the new libcapsule "--remap-link-prefix" option.
    Using the new "--remap-link-prefix" option we can now avoid breaking
    symlinks not available under `/run/host`, such as Vulkan layers or
    drivers in the home directory or in /opt. (steam-runtime-tools#29)
  * pressure-vessel: Include host's fonts in the newly built container.
    Soldier and Scout include a limited set of fonts that doesn't cover all
    use cases. For example it is missing the necessary glyphs for Asian
    languages. For this change to be effective, the container also needs an
    updated steamrt-container-host-compat package.
    (steam-runtime#289, T24559)
  * system-info: Diagnose implicit and explicit Vulkan layers
  * system-info: Add helper to check for xdg-desktop-portal
  * system-info: Detect Primus graphics driver

 -- Simon McVittie <smcv@collabora.com>  Tue, 24 Nov 2020 19:18:06 +0000

steam-runtime-tools (0.20201022.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * wrap: Set all the env vars before building the locking list.
    This ensures pressure-vessel picks up the correct DISPLAY and XAUTHORITY
    to work in situations where the X11 server does not listen on an
    abstract socket, such as recent GNOME in Wayland mode.
    (steam-runtime-tools#26, Proton#4270)
  * Add support for Arch Linux /etc/locale.gen. (steam-runtime-tools#5)
  * system-info: Return the correct value if the assertion fails

 -- Simon McVittie <smcv@collabora.com>  Thu, 22 Oct 2020 10:09:01 +0100

steam-runtime-tools (0.20201007.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * wrap: Do not lock LD_PRELOAD, so that games run in session mode get the
    Steam Overlay (steam-runtime-tools#21)
  * launch: Close the file descriptors after being forwarded
  * CI: Avoid partial upgrades
  * Diagnostic tools: include STEAMSCRIPT and STEAMSCRIPT_VERSION.
    These provide details of the Steam bootstrapper script. (T22352)

  [ Simon McVittie ]
  * launch: Add support for communicating with Flatpak services
  * adverb: Don't "pile up" errors if we cannot exec generate-locales
  * adverb, launch, launcher: Store original environment
  * flatpak-run: Make this more similar to Flatpak's version
  * tests: Allow more time for test-locale-gen.sh

 -- Simon McVittie <smcv@collabora.com>  Wed, 07 Oct 2020 16:25:00 +0100

steam-runtime-tools (0.20201002.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Reapply "runtime: Set STEAM_RUNTIME=/ if running in scout".
    This will reassure some games, particularly those ported by Feral
    Interactive, that they are running in the right environment.
    Last time we tried this, it broke GTK in scout, but since then we have
    fixed the custom search path patches in various libraries to cope.
    (Resolves: pressure-vessel#8; maybe also: steam-runtime#202,
    steam-runtime#249)
  * wrap, launcher: Add an environment variable locking system.
    If we want to pass all the possible variables that a user might have set
    in the environment, then we need a mechanism to lock the variables that
    pressure-vessel is editing (e.g. LIBGL_DRIVERS_PATH), variables that we
    want to keep unset because will be wrong in the new container (e.g.
    FLATPAK_ID) and variables that should inherit their value from the host
    system (e.g. DISPLAY).
    (Part of steam-runtime-tools#17)
  * wrap: Save original environ before potentially altering it
  * launcher: add support for unsetting environment variables
  * json-glib-compat.h: Use the correct cleanup function for JsonArray
  * fake-home.c: Do not shadow the possible global declaration of dirname

  [ Simon McVittie ]
  * launcher: Always set PWD to the command's actual working directory,
    ignoring "locked" variables
  * build: Link libglnx into steam-runtime-tools library.
    This changes the effective license of the library from MIT/X11 to LGPL,
    and will let us make more use of libglnx in future to make the library
    more reliable.
    - graphics, tests: Start to use g_autofree
  * libsrt: Explicitly control symbol visibility
  * libsrt: Move non-public utility functions to internal header
  * libsrt: Start moving pressure-vessel utilities into the library
  * flatpak-bwrap: Update from Flatpak 1.8.2
    gcc 10 correctly diagnoses that if there are 0 bytes of arguments, we'll
    allocate no bytes, leaving no space for this (unnecessary) '\0'.
  * graphics: Fix a minor memory leak
  * graphics: Canonicalize relative filenames before prepending sysroot
  * graphics: Fix shadowing
  * system-info: Open sysroot as a file descriptor
  * system-info: Resolve container flag-files via sysroot
  * system-info: Always pass around a non-NULL environment block
  * README: Add more information about pressure-vessel
  * tests: Parse and re-serialize expected JSON output.
    This avoids test failure when using json-glib 1.6.x, which pretty-prints
    empty arrays and empty objects differently.
  * tests: Consolidate test-helper libraries
  * Fix various gtk-doc warnings

 -- Simon McVittie <smcv@collabora.com>  Fri, 02 Oct 2020 13:53:34 +0100

steam-runtime-tools (0.20200914.0) scout; urgency=medium

  [ Simon McVittie ]
  * Combine steam-runtime-tools with pressure-vessel (T22909)
  * inspect-library: Refactoring
  * CI improvements

  [ Ludovico de Nittis ]
  * steam: Do not report an issue if the Flatpak version of Steam is the
    default URI handler
  * wrap: Propagate even unchanged environment variables if running
    in Flatpak

 -- Simon McVittie <smcv@collabora.com>  Mon, 14 Sep 2020 17:17:04 +0100

pressure-vessel (0.20200909.0) scout; urgency=medium

  * Revert "runtime: Set STEAM_RUNTIME=/ if running in scout".
    Setting STEAM_RUNTIME=/ causes configuration changes in libraries like
    Pango and GTK, which break module loading when not in the
    LD_LIBRARY_PATH Steam Runtime. We will need to update those libraries'
    search paths before we can do this.
    (Reopens: pressure-vessel#8, steam-runtime#202, steam-runtime#249)

 -- Simon McVittie <smcv@collabora.com>  Wed, 09 Sep 2020 18:51:19 +0100

pressure-vessel (0.20200908.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Initial support for escaping from a Flatpak app to run games.
    Due to Flatpak limitations, this prototype only works when the Flatpak
    sandbox security has been completely disabled. Future development in both
    Flatpak and pressure-vessel will be required to be able to launch games
    in individual containers while keeping a security boundary between Steam
    and the host system. (Resolves: T22373, T22371)
  * CI: Run tests/containers.py

  [ Simon McVittie ]
  * runtime: Carry out the /usr merge when copying sysroots
    (Resolves: pressure-vessel#3, T22126)
  * wrap: Don't populate environment of FlatpakBwrap that will be merged
    (Resolves: T23422)
  * wrap: Use FlatpakExports to make host paths available in container.
    This gives us access to the same tricks that Flatpak uses to get host
    paths into the container in a more robust way: in particular, it sorts
    paths to put parent before child, and exports symbolic links as symbolic
    links plus a separate mount point for the target (which we previously
    did for the subdirectories of ~/.steam, but nowhere else).
    (Resolves: pressure-vessel#2, pressure-vessel#18; part of T22908)
  * various commands: Print exit status immediately before exiting
  * various commands: Include process ID in output.
    When we have more than one layer of adverbs, this provides a way to
    tell which one we are.
  * wrap, adverb: Move "wrap with xterm" code into the adverb.
    This means the launching scripts for the "session" mode, which use
    pv-launch to run the main game command in a previously-set-up pv-launcher
    environment, can direct pv-adverb to run an interactive shell instead of
    or in addition to the actual game.
    (Part of steamlinuxruntime#2)
  * wrap: Always mount /tmp from host for now.
    SteamHTMLSurface and SteamVR use this as a rendezvous directory for
    IPC. (Resolves: pressure-vessel#10)
  * wrap: Parse app ID from $STEAM_COMPAT_APP_ID
  * wrap: Parse several environment variables for paths to mount.
    When combined with a Steam update, this should resolve a lot of issues
    involving paths outside the current working directory.
    (Resolves: pressure-vessel#4, pressure-vessel#11, pressure-vessel#12,
    steam-runtime#217, steam-runtime#236, steam-runtime#257)
  * wrap, adverb, launcher: Add ability to pass fds through to the command
    (Resolves: pressure-vessel#6)
  * runtime: Load basic NSS plugins along with host system glibc,
    fixing username resolution in soldier container on Arch Linux.
    This might also resolve steam-runtime#226, steam-runtime#264,
    steam-runtime#258, steam-runtime#192, steam-runtime#262,
    steam-runtime#227.
  * runtime: Set STEAM_RUNTIME=/ if running in scout
    (Resolves: pressure-vessel#8, and maybe steam-runtime#202,
    steam-runtime#249)
  * Improve automated tests

 -- Simon McVittie <smcv@collabora.com>  Tue, 08 Sep 2020 18:30:07 +0100

pressure-vessel (0.20200819.0) scout; urgency=medium

  * adverb, wrap: Add --terminate-timeout, --terminate-idle-timeout options.
    This will let us clean up background processes when sharing a container
    between multiple commands using -launcher and -launch.
  * adverb, wrap: Implement --exit-with-parent.
    -wrap eventually replaces itself with bubblewrap. If the bubblewrap
    process is killed, we want the adverb command to be terminated, passing
    the termination signal on to its own child process.
  * adverb: When sent a common fatal signal, try to pass it on to the child
  * launch, launcher: Allow terminating commands after a "main" command exits.
    This can be used when launching Proton games, which consist of zero or
    more setup commands, which may launch background processes, followed by
    launching the game itself.
  * wrap: Don't set up X11, etc. until after --filesystem.
    If we want to be able to use --filesystem=/tmp, then we can't set up
    the X11 socket until after we're finished with that.
  * launch: Improve error handling for forwarding signals
  * launch: Fix program name in logging
  * runtime: Always provide adverb at /run/pressure-vessel/pv-from-host
  * glib-backports: Redo backported Unix fd source in terms of a new GSource
  * Remove -unruntime-test-ui.
    We have a straightforward environment-variable-based way to select this.
  * Remove unruntime-scout.
    The SteamLinuxRuntime depot has a better implementation of this.
  * man: Improve documentation
  * CI fixes

 -- Simon McVittie <smcv@collabora.com>  Wed, 19 Aug 2020 16:33:45 +0100

pressure-vessel (0.20200805.0) scout; urgency=medium

  [ Simon McVittie ]
  * wrap: Bind-mount /run/host/os-release if available.
    Recent versions of Flatpak and systemd-nspawn can mount the host's
    os-release at /run/host/os-release, even if the rest of the host's
    /etc and /usr are not exposed to the container. For feature parity
    we should try to do the same.
  * runtime: Fix logic for whether to mount over an executable.
    When using a scout sysroot with a newer-than-scout host, we were not
    overwriting locale(1) and localedef(1) with the host copy, causing
    mismatches.
    Resolves: T22877
  * wrap: Add a minimal implementation of --filesystem.
    This is like `flatpak run --filesystem`, but for now much, much simpler;
    callers are responsible for not giving us paths that will be a problem.
    However, it's enough to bind-mount subdirectories of /tmp, which is
    what we need if we want to use them as IPC rendezvous points.
  * launcher: Add ability to run multiple commands in one container.
    See the new pressure-vessel-launcher(1) man page for details.
    We need this for Proton games, where running a game takes several
    steps. At the moment each step is its own container, which means
    they can't share locks, IPC sockets and other state.
    Partially resolves: T22770
  * all: Consistently work around glib!490 like Flatpak does
  * adverb, wrap: Don't interfere with child process's stdin, stdout
  * adverb, wrap: Pass verbosity down to adverb
  * adverb, wrap: Share pv_boolean_environment()

  [ Ludovico de Nittis ]
  * gitlab-ci: Re-enable artifacts upload.
    By increasing the CI upload limit we should be able to store the
    pressure-vessel artifacts.
  * Move locale generation to pressure-vessel-adverb
    pressure-vessel-with-lock has been renamed to pressure-vessel-adverb
    because now it has more capabilities than just taking a lock.
    This change should help the environments that are not able to normally
    run `bwrap`, like if we are in a Docker container or in a Flatpak app.
  * Test that --generate-locales is in the bwrap arguments when expected
  * tests/containers.py: Remove duplicated code

 -- Simon McVittie <smcv@collabora.com>  Wed, 05 Aug 2020 18:51:16 +0100

pressure-vessel (0.20200709.0) scout; urgency=medium

  * d/control: Fix wrong dependencies.
    I'd only intended to bump the version on the libcapsule dependency,
    not the steam-runtime-tools dependency.
  * runtime: Remove hwcaps subdirectories when looking for gconv modules.
    tests/containers.py was failing on SteamOS 2 'brewmaster' with the
    libc6-i686 package installed, because that package contains an
    optimized i686 glibc in /lib/i386-linux-gnu/i686/cmov/libc.so.6, which
    is used in preference to the baseline i586 glibc in
    /lib/i386-linux-gnu/libc.so.6. There are no corresponding optimized
    gconv modules, only /usr/lib/i386-linux-gnu/gconv/*.
  * tests: Add support for basic testing on a soldier container.
    For the moment, this is basically scout with fewer guarantees: we
    can't assume whether the host glibc is newer (like Arch Linux or
    Ubuntu 20.04) or older (like SteamOS 2 'brewmaster'). (T22544)
  * tests: Run s-r-s-i on host with LD_BIND_NOW=1.
    If we allow lazy binding, we can succeed in loading a GIO module from
    the host (which depends on a newer GObject than the one bundled with
    pressure-vessel), then find that a symbol reference fails at the time
    that we try to actually use it. Make it fail early, instead.
    In particular, this is helpful on SteamOS 2 'brewmaster'.
  * tests: Ignore inability to load libOSMesa.so.8.
    This is included in prerelease versions of SteamRT 2 'soldier',
    but because it uses the post-gcc-5 C++ ABI of libLLVM-7.so.1, it's
    incompatible with versions of libLLVM-7.so.1 that were compiled to be
    compatible with the gcc 4 C++ ABI, and in particular the one in
    SteamOS 2 'brewmaster'.
    This and the previous commit are sufficient to make tests/containers.py
    pass on SteamOS 2 'brewmaster', if we also configure libxcb.so.1 to
    be chosen by counting symbols (T22538) and libgcc_s.so.1 to be chosen
    by counting verdefs (T16561).

 -- Simon McVittie <smcv@collabora.com>  Thu, 09 Jul 2020 11:43:09 +0100

pressure-vessel (0.20200708.0) scout; urgency=medium

  * unruntime, wrap: Add a way to disable all interactivity.
    This is desirable if we are running something other than the main game,
    for example steam-runtime-system-info or various preparatory steps
    involved in running Proton.
  * wrap: Import Steam compat tool data. (T22360)
    This is necessary for Steam "compat tools" such as Proton.
    STEAM_COMPAT_DATA_PATH points to data associated with the current
    (compat tool, game) pair, for example the ${WINEPREFIX}.
    STEAM_COMPAT_TOOL_PATH doesn't exist yet, but I'm assuming that it will
    be set by some later version of the Steam client to point to Proton
    itself.
    STEAM_COMPAT_CLIENT_INSTALL_PATH points to the Steam installation. This
    is hopefully in the home directory, so hopefully we bind-mount it anyway;
    but if we don't, we should.
  * runtime: Add arguments to the right bwrap invocation.
    When we're entering the container to generate locales, we need to
    bind-mount the staging area for /overrides in *that* bwrap invocation,
    not add it as a bind-mount to the bwrap invocation that will actually
    run the game. (T22534)
  * runtime: Factor out beginning of capsule-capture-libs command-line.
    This doesn't currently include the --dest because that varies - it's
    usually arch->libdir_on_host, but not always.
  * runtime: Pass --library-knowledge to capsule-capture-libs if possible.
    For runtimes that support it, this gives us a way to override library
    comparisons. In particular, we can make sure libgcc_s.so.1 is compared
    by its version-definitions and symbols. (T16561, T16562)
  * run-in-sysroot: Copy host /etc/passwd, /etc/group.
    Otherwise, any test that refers to the username or home directory will
    fail with a warning. Prior to GLib 2.35.9 (in particular, in GLib 2.32)
    this happens in g_get_any_init_do(), which is also called to get the
    TMPDIR, so any test that wants to create a temporary directory will
    fail like this.

 -- Simon McVittie <smcv@collabora.com>  Wed, 08 Jul 2020 18:43:05 +0100

pressure-vessel (0.20200624.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Bind VDPAU drivers.
    If available, and newer, we bind VDPAU drivers from the host system.
  * Bind VA-API drivers and loaders.
    If available, and newer, we bind VA-API drivers and loaders from the
    host system.
  * runtime: handle merged-/usr host OS with non merged-/usr container.
    Prioritize "/usr/" over "/lib/" if it is available to avoid issues when
    we use a non merged-/usr container with a host system that is
    merged-/usr. (T22125)

  [ Simon McVittie ]
  * Update libglnx subproject from upstream
  * runtime: Look for ldconfig in /sbin, /usr/sbin.
    If we are on an OS where /sbin is not normally in unprivileged users'
    PATHs (for example Debian), we won't find ldconfig in PATH and will
    need to try harder.
  * runtime: Reset PATH in the container.
    The PATH from outside the container doesn't really make sense inside
    the container, because the directory hierarchy could be totally different
    (particularly on unusual host systems like GoboLinux and Exherbo).
    Resetting it also makes sure we don't pick up local installations in
    ~/bin or ~/.local/bin, which could have dependencies that are
    unsatisfied in the container.
    Conversely, the PATH from the host might not include everything we need
    in the container.
  * runtime: Don't critical if we were unable to lock the runtime
  * runtime: Add an option to skip generating missing locales.
    This is one of the slower parts of the whole process, and not all
    games (or automated tests) even need it.
  * runtime: Factor out a struct to hold architecture-specific details
  * runtime: Save a bwrap invocation and a shell by not using globbing
  * runtime: Sort DRI "search path" more carefully.
    As noted in the comment, the order matters.
  * runtime: Access runtime without using bwrap if possible
  * runtime: Optionally copy the runtime, and bind-mount the copy.
    This is good for two reasons. In a Flatpak runtime, we will not be able
    to do tricks with arbitrary bind-mounts; if we want the host library
    stack, we will have to rewrite the mutable copy of the runtime to
    replace container libraries with symlinks into /run/host. Also, when
    not in a Flatpak runtime, having a mutable copy of the immutable runtime
    gives developers a chance to edit the runtime to inject workarounds or
    things they're testing. (T18688, T22035)
  * bwrap: When we bind /usr, also bind /etc/ld.so.conf*
    We'll need those if we want to run ldconfig.
  * wrap: Add the ability to unshare the pid namespace.
    We can use this to test whether it can be done without breaking Steam
    (currently it cannot, unless you unload the gameoverlayrenderer.so
    module).
  * wrap: Really fail on invalid --env-if-host argument
  * locale-gen: Add --output-dir option
  * wrap-interactive: Fix display of pressure-vessel-wrap's name
  * wrap-interactive: Print exit status before --shell=after
  * wrap-interactive: Print exit status before "Enter to continue" prompt
  * utils: Preserve permissions when copying, and fall back to reflink or
    copy if hard link fails
  * scripts: Assert that we have the desired Python version.
    We require Python 3.5 (backports exist in both Steam Runtime 1 'scout'
    and Steam Runtime 1½ 'heavy'), except for scripts that are meant to run
    on test machines or non-developer Steam users' machines, which require
    Python 3.4 (SteamOS 2, Debian 8, Ubuntu 14.04).
  * build: Only instantiate libglnx subproject once
  * build: Disable optional features of steam-runtime-tools subproject
  * build: Disable -Wunused-local-typedefs globally
  * build: Centralize dependency checking
  * build: Convert parts of pressure-vessel into a static library
  * build: Split into subdirectories
  * tests: Improve coverage
  * test-ui: Fix pyflakes warning for unnecessary blank line
  * tests/relocatable-install.py: Silence a mypy warning
  * sysroot: Add a way to mount more directories rw.
    This will make it easier to install a new pressure-vessel build into a
    relocatable directory hierarchy for testing.
  * CI: Enable man pages for devel build
  * CI: Move artifacts adjacent to the job that would produce them
  * CI: Consistently indent with 4 spaces

 -- Simon McVittie <smcv@collabora.com>  Wed, 24 Jun 2020 19:05:13 +0100

pressure-vessel (0.20200331.0) scout; urgency=medium

  [ Jeremy Whiting ]
  * Add --test command line argument to pressure-vessel-wrap.
    When --test is used, check for bubblewrap executable and return
    0 if found, 1 otherwise.

  [ Ludovico de Nittis ]
  * Bind the host's ldconfig, gconv modules, locale(1) if we already use
    libc from the host
  * wrap: mount /usr/share/libdrm if using host libdrm
  * README: update scout download URL
  * README: fix scout SDK package name

  [ Simon McVittie ]
  * wrap: Remount API filesystems when operating without a runtime
  * test-ui: Do some expectation-management.
    We don't want users who discover this test UI to think that everything
    is going to work as-is.
  * test-ui: Always offer to unshare home, with a clearer UI.
    Rephrase it so that in the UI, unsharing the home directory looks like
    the active choice ("separate home directory"), with the shared home
    directory as the passive/default choice.
  * test-ui: Clarify what the "no runtime" choice means
  * test-ui: Rename "runtime" to "container runtime"
    When we start dealing with LD_LIBRARY_PATH runtimes too, the difference
    will become significant.
  * test-ui: Show the version number of pressure-vessel-wrap
  * bwrap: Don't create a /libexec symlink
  * wrap: Resync some code borrowed from Flatpak with their version
  * wrap: Correct some wait-status / exit status confusion
  * wrap: Debug-log the bwrap executable if --test succeeds
  * CONTRIBUTING.md: Add notes on what it's OK to depend on
  * build: Automatically use python3.5 if available.
    Steam Runtime 1 'scout' has python3.5 as a non-default Python 3 version,
    and python3.2 as default.
  * utils: Add a method to copy a directory tree using hard links.
    This will let us duplicate a runtime and edit it in-place.
  * runtime: Factor out a PvRuntime object
  * runtime: Add an off-switch for the host graphics stack.
    In practice we always want the host graphics stack, but maybe this
    will be useful when debugging.
  * runtime: Combine multiple runs of capsule-capture-libs into one
  * README: Document a wrong assumption
  * Build as a native package again.
    Now that deb-build-snapshot supports a Build-Suffix option in
    debian/git-version-gen.control, we don't need to worry about whether
    the version number will be less than a previous version that had a +srt
    suffix added by the Open Build Service.

 -- Simon McVittie <smcv@collabora.com>  Tue, 31 Mar 2020 20:39:16 +0100

pressure-vessel (0.20200108.0-0+steamrt1.1) scout; urgency=medium

  * wrap: Don't pass --lock-file to bwrap.
    This is redundant with us passing the fd to be held by
    pressure-vessel-with-lock, and it causes bwrap to produce the wrong
    exit status (see https://github.com/containers/bubblewrap/issues/336
    and https://github.com/containers/bubblewrap/pull/325).
  * bwrap-lock: Add support for OFD locks.
    On Linux >= 3.15, this allows us to pass a lock fd to a child process
    across bwrap's fork-and-exec the way we were already trying to, and
    have it actually work.
  * wrap: Tell child process to take out its own lock if necessary.
    Non-OFD locks don't propagate across fork(), and bwrap needs to clone()
    itself (which behaves like fork() in this respect) to separate itself
    into a parent outside the container and a child inside the container.
    This change adds a weak dependency on Linux 3.15. If we run on an older
    version, everything should still *work*, but there will be a short
    period of time during which we have already decided to use the runtime,
    but it is not locked (and in particular not protected from deletion).

 -- Simon McVittie <smcv@collabora.com>  Wed, 08 Jan 2020 15:34:14 +0000

pressure-vessel (0.20191216.0-0+steamrt1.1) scout; urgency=medium

  * wrap: Mount pressure-vessel on /run/pressure-vessel if using runtime.
    This avoids relying on the directory containing pressure-vessel being
    being below either the current working directory, or the default
    Steam library in $(realpath ~/.steam/steam).
    (Closes: ValveSoftware/steam-runtime#204)
  * ci: Do a build with AddressSanitizer and UndefinedBehaviourSanitizer

 -- Simon McVittie <smcv@collabora.com>  Mon, 16 Dec 2019 14:15:29 +0000

pressure-vessel (0.20191115.0-0+steamrt1.1) scout; urgency=medium

  * wrap: Add API for a bubblewrap-compatible fcntl lock
  * wrap: Take out a lock on the container's runtime for the duration
  * with-lock: Add a utility to do things while holding a lock
  * wrap: Use with-lock to hold the lock until all children have exited
  * wrap: Print environment variables quoted as intended
  * Go back to non-native versioning.
    Versioning pressure-vessel as a native package interacts poorly with
    the combination of the Open Build Service pseudo-binNMU suffix and the
    deb-build-snapshot tool used for prereleases:
    0.20190927.0+7+g1234567+srt1 is less than 0.20190927.0+srt1, so
    0.20190927.0 would wrongly be preferred over the prerelease at commit
    1234567, 7 commits later than 0.20190927.0.
  * Update libglnx, applying a fixed version of libglnx!14
  * build: Enable and fix many compiler warnings
  * debian: Make compiler warnings into errors for unreleased builds
  * gitlab-ci: Make compiler warnings into errors
  * wrap: Make GOptionEntry flags clearer
  * wrap: Print version number as YAML

 -- Simon McVittie <smcv@collabora.com>  Fri, 15 Nov 2019 19:03:20 +0000

pressure-vessel (0.20191112.1) scout; urgency=medium

  * Revert inclusion of libglnx!14.
    It accidentally depended on a newer GLib version.

 -- Simon McVittie <smcv@collabora.com>  Tue, 12 Nov 2019 13:52:17 +0000

pressure-vessel (0.20191112.0) scout; urgency=medium

  * ci: Add build-dependencies of steam-runtime-tools subproject
  * wrap: Don't bind-mount ~/.steam/steambeta etc. if they don't exist
  * wrap: Fix logic for whether Steam Runtime is passed through
  * Update libglnx subproject, including merge requests libglnx!13 and
    libglnx!14

 -- Simon McVittie <smcv@collabora.com>  Tue, 12 Nov 2019 13:32:32 +0000

pressure-vessel (0.20190927.0) scout; urgency=medium

  * wrap: Include all known NVIDIA libraries, except for libnvidia-gtk*

 -- Simon McVittie <smcv@collabora.com>  Fri, 27 Sep 2019 18:40:56 +0100

pressure-vessel (0.20190926.0) scout; urgency=medium

  * test-ui: Respect a few of the same environment variables as -wrap
  * wrap: Pull in EGL and Vulkan ICDs from the host system
    - Add steam-runtime-tools library dependency
  * Various CI improvements

 -- Simon McVittie <smcv@collabora.com>  Thu, 26 Sep 2019 14:55:03 +0100

pressure-vessel (0.20190912.0) scout; urgency=medium

  * Refactor pressure-vessel-wrap
  * wrap: Fail with an error if no architectures work
  * wrap: Only bind-mount host /usr/lib/locale once
  * wrap: If using host libc.so.6, also pick up host libidn2.so.0
  * wrap: Use a new pressure-vessel-locale-gen to set up locales
  * d/copyright: Remove duplication

 -- Simon McVittie <smcv@collabora.com>  Thu, 12 Sep 2019 14:54:47 +0100

pressure-vessel (0.20190823.0) scout; urgency=medium

  * Switch to "native" packaging format
  * wrap: Add PRESSURE_VESSEL_RUNTIME, which can force use of a runtime
  * wrap: Add an option to find the runtime relative to a base path
  * wrap: Add $PRESSURE_VESSEL_SHELL as default for --shell-*
  * wrap: Add $PRESSURE_VESSEL_TERMINAL and --terminal
  * wrap: Add environment variables for more options
  * wrap: When using --unshare-home, replace symlinks in ~/.steam with
    up-to-date values
  * wrap: Make --share-home take precedence over --home
  * wrap: Skip architecture setup for architectures the runtime can't run.
    This means we can use amd64-only or i386-only runtimes.

 -- Simon McVittie <smcv@collabora.com>  Fri, 23 Aug 2019 16:44:05 +0100

pressure-vessel (0.20190822.0-0+steamrt1.1) scout; urgency=medium

  * pressure-vessel-unruntime-scout: Add a shortcut way to select the
    scout runtime

 -- Simon McVittie <smcv@collabora.com>  Thu, 22 Aug 2019 15:46:36 +0100

pressure-vessel (0.20190820.0-0+steamrt1.1) scout; urgency=medium

  * Move Gitlab-CI setup into debian directory
  * Improve build-relocatable-install

 -- Simon McVittie <smcv@collabora.com>  Tue, 20 Aug 2019 18:44:27 +0100

pressure-vessel (0.20190819.0-0+steamrt1.1) scout; urgency=medium

  * Initial package

 -- Simon McVittie <smcv@collabora.com>  Mon, 19 Aug 2019 16:19:18 +0100

steam-runtime-tools (0.20200908.1) scout; urgency=medium

  * Correct version number
  * Update symbols file

 -- Simon McVittie <smcv@collabora.com>  Tue, 08 Sep 2020 18:52:28 +0100

steam-runtime-tools (0.20200908.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * inspect-library: print the real SONAME of the given library.
    This information could be used to correctly handle libraries like
    libldap that sometimes is just an alias for libldap_r.

  [ Simon McVittie ]
  * system-info: Don't confuse graphics issues with library issues.
    Previously, when we check for and find graphics issues, we'd set bits
    in the library issues bitfield instead. Only users of the C API will
    notice this, because this information doesn't end up in the JSON.
  * library: Distinguish between requested name and SONAME.
    In rare cases, like libldap-2.4 and libcurl in scout, they can differ.
  * os: Look at /run/host/os-release if we are inspecting a container.
    Recent versions of Flatpak and systemd-nspawn can mount the host's
    os-release at /run/host/os-release, even if the rest of the host's
    /etc and /usr are not exposed to the container.
  * graphics: Fix use-after-free in a debug message.
    Diagnosed by scan-build during CI.
  * CI fixes

 -- Simon McVittie <smcv@collabora.com>  Tue, 08 Sep 2020 18:17:44 +0100

steam-runtime-tools (0.20200624.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Add automated graphics verification for VDPAU
  * Add automated graphics verification for VA-API
  * Add a function to return the absolute path to "ubuntu12_32" directory.
    We already stored the path to "ubuntu12_32" but this information wasn't
    in the public API or the JSON report.
  * Add missing "x11/vaapi" to the s-r-s-i report
  * Add ability to load info from JSON output report (T16565)

 -- Simon McVittie <smcv@collabora.com>  Wed, 24 Jun 2020 19:04:53 +0100

steam-runtime-tools (0.20200415.0) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Diagnose problems with "steam:" URL handler
    (implements: T20052; diagnoses: steam-for-linux#6942)
  * Create a new srt_system_info_get_steam_details function
  * tests: Generate mock sysroots programmatically (fixes: T20177)
  * Enumerate VDPAU drivers from LD_LIBRARY_PATH and system library
    search path (implements: T19545)
  * Avoid warnings when a graphics check returns empty JSON
  * Check for required CPU features.
    Check if the CPU supports the features we are interested in.
    Right now they are: SSE3 (pni), x86_64 (lm) and CMPXCHG16B (cx16).
    (implements: T20489; diagnoses: steam-for-linux#5164,
    steam-for-linux#6812, steam-for-linux#6795, steam-for-linux#4196)
  * Add check-requirements preflight check.
    With check-requirements we can do a preflight check and ensure that the
    Steam client requirements are met. (implements: T20491)

  [ Simon McVittie ]
  * tests: Factor out the directory containing mock sysroots
  * tests: Add a script to generate the mock sysroots
  * Build as a native package

 -- Simon McVittie <smcv@collabora.com>  Wed, 15 Apr 2020 13:21:10 +0100

steam-runtime-tools (0.20200331.1-0+steamrt1.1) scout; urgency=medium

  * Fix version number
  * Update symbols file

 -- Simon McVittie <smcv@collabora.com>  Tue, 31 Mar 2020 21:00:28 +0100

steam-runtime-tools (0.20200331.0-0+steamrt1.1) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Add srt_vdpau_driver_resolve_library_path, etc. methods.
    The corresponding _get_library_path methods might return a relative
    path, so add a way to go from that to an absolute path.
  * Refactor vdpau tests into a single function
  * Add a special Mesa DRIs search path to cover Ubuntu 16.04.
    Ubuntu 16.04 is older than GLVND and it places Mesa loaders in
    ${libdir}/mesa and the DRIs in ${libdir}/dri.

  [ Simon McVittie ]
  * inspect-library: Ignore symbols like LIBATOMIC_1.0@LIBATOMIC_1.0.
    I had hoped that dlsym() and dlvsym() would find these special symbols,
    but in fact they don't. To check for ABI compatibility we need to look
    for specific symbols, like __atomic_load_1@LIBATOMIC_1.0.
  * build: Disable gtk-doc by default.
    This lets us do self-hosting releases from SteamRT 1 'scout'.
  * Document the minimum meson version.
    The Steam Runtime has a backport of meson 0.49.0, originally from Debian
    stretch-backports, which is the oldest thing we'll even try to support.

 -- Simon McVittie <smcv@collabora.com>  Tue, 31 Mar 2020 20:40:41 +0100

steam-runtime-tools (0.20200306.0-0+steamrt1.1) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Enumerate VDPAU drivers
  * Enumerate GLX ICDs
  * Log driver-selection environment variables
  * Add check-vdpau helper
  * Add check-va-api helper
  * meson: remove redundant Wall and Wextra flags
  * Move indirect_strcmp0 to utils
  * Move rm_rf to utils.c

  [ Simon McVittie ]
  * system-info: Add basic container detection
  * build: Belatedly update version number in meson.build
  * Fail build if version number in meson.build hasn't been updated
  * system-info: Make SRT_DRIVER_FLAGS_NONE the absence of flags
  * system-info: Add an undocumented --ignore-extra-drivers option
  * .gitignore: Ignore several common Meson build directories
  * build: Use a loop to reduce repetition when compiling shaders
  * tests: Use loops to build mock helpers
  * bin: Generalize jsonify_enum()
  * bin: Factor out jsonify_os_release
  * system-info: Make sysroot a first-class member of the object
  * Combine common code for dealing with graphics modules

  [ Jeremy Whiting ]
  * If wflinfo or check-gl fails, run a second time with
    LIBGL_DEBUG=verbose set

 -- Simon McVittie <smcv@collabora.com>  Fri, 06 Mar 2020 17:05:23 +0000

steam-runtime-tools (0.20200109.0-0+steamrt1.1) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Enumerate Mesa DRI and VA-API drivers.
    Previously we were listing only ICDs (graphics drivers).
    With this commit we are now able to get a more complete vision of the
    running system listing also Mesa DRI and VA-API drivers.

  [ Simon McVittie ]
  * Consistently call _srt_check_not_setuid() before looking at the
    environment
  * build: Consistently sort dependencies in stack order

 -- Simon McVittie <smcv@collabora.com>  Thu, 09 Jan 2020 17:44:02 +0000

steam-runtime-tools (0.20200108.0-0+steamrt1.1) scout; urgency=medium

  * SrtSystemInfo: Document that we need SIGCHLD
  * Unblock signals when spawning subprocesses, and in s-r-s-i.
    This avoids a coreutils limitation in versions [8.27, 8.29), which
    unfortunately includes Ubuntu 18.04: timeout(1) relied on SIGCHLD not
    being blocked, but did not unblock it themselves.
  * utils: Don't consider exit status 255 to be signal 127
  * tests: Use common include directories
  * s-r-s-i: Really add --version option
  * utils: Always call _srt_check_not_setuid from constructor
  * tests: Check error indicator before checking boolean result

 -- Simon McVittie <smcv@collabora.com>  Wed, 08 Jan 2020 17:45:02 +0000

steam-runtime-tools (0.20191209.0-0+steamrt1.1) scout; urgency=medium

  [ Jeremy Whiting ]
  * Use timeout(1) when checking libraries
  * Add exit_status and terminating_signal to SrtGraphics and SrtLibrary.
    If helper fails, times out or is killed we now report its exit status
    and terminating signal, if any.
  * Add and use srt_enum_value_to_nick to make string formatting for
    enum/flags types less repetitive

  [ Simon McVittie ]
  * tests: Assert that test_missing_arch gives a useful diagnostic

 -- Simon McVittie <smcv@collabora.com>  Mon, 09 Dec 2019 15:21:20 +0000

steam-runtime-tools (0.20191205.0-0+steamrt1.1) scout; urgency=medium

  * Move symbolic links to dependencies to new
    libsteam-runtime-tools-0-relocatable-libs, and add Build-Conflicts on it.
    Since steam-runtime-tools was made relocatable in c3a06cce, its build
    would fail with the Steam Runtime 1 'scout' version of dpkg if it is
    already installed system-wide.
  * debian: Add missing symbols file entries from 0.20191120.0
  * Remove trailing whitespace from source code

 -- Simon McVittie <smcv@collabora.com>  Thu, 05 Dec 2019 14:49:22 +0000

steam-runtime-tools (0.20191120.0-0+steamrt1.1) scout; urgency=medium

  [ Jeremy Whiting ]
  * Check whether GLX drivers can actually draw to an X11 window.
    This provides a more thorough test than wflinfo.
  * Check whether Vulkan drivers can actually draw to an X11 window.
    This provides a more thorough test than vulkaninfo.
  * Fix reporting of timeouts in JSON

  [ Simon McVittie ]
  * Build selected executables with a RPATH.
    This allows a copy of steam-runtime-system-info bundled in the
    LD_LIBRARY_PATH Steam Runtime to find the copies of
    libsteam-runtime-tools and libjson-glib in the same Runtime.
  * Look for wflinfo, vulkaninfo and libraries adjacent to
    libsteam-runtime-tools
  * Use g++-4.8 if default g++ is older
  * Build shaders using glslangValidator
  * Fix many compiler warnings
  * check-vulkan: Add basic command-line parsing with --help
  * Add --version argument to most executables
  * check-vulkan: Optionally make the window visible
  * Look for -check-vulkan in default helpers path, not in PATH
  * check-vulkan: Look for shaders in the correct place when installed
  * Add build-dependencies for check-gl

  [ Ludovico de Nittis ]
  * Add support for libraries with hidden dependencies
  * Detect GLX and EGL graphics library vendor (either GLVND,
    legacy non-GLVND Mesa, legacy non-GLVND NVIDIA, or other non-GLVND)

 -- Simon McVittie <smcv@collabora.com>  Wed, 20 Nov 2019 14:44:45 +0000

steam-runtime-tools (0.20191024.0-0+steamrt1.1) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Fix gtk-doc warnings about missing parameters
  * Add runtime content check for "overrides" and pinned libraries

  [ Simon McVittie ]
  * COPYING: Remove obsolete reference to GPL code, which was removed
    a while ago

 -- Simon McVittie <smcv@collabora.com>  Thu, 24 Oct 2019 16:05:21 +0100

steam-runtime-tools (0.20190926.1-0+steamrt1.1) scout; urgency=medium

  * tests: Replace SRT_TEST_ICD_SYSROOT with SRT_TEST_SYSROOT
  * Add minimal OS information from os-release(5)
  * Add support for ID_LIKE os-release(5) field
  * runtime: Use os-release(5) to detect Steam Runtime container/chroot

 -- Simon McVittie <smcv@collabora.com>  Thu, 26 Sep 2019 15:52:32 +0100

steam-runtime-tools (0.20190926.0-0+steamrt1.2) scout; urgency=medium

  * d/control: Add missing -dev dependency on libjson-glib-dev

 -- Simon McVittie <smcv@collabora.com>  Thu, 26 Sep 2019 14:51:55 +0100

steam-runtime-tools (0.20190926.0-0+steamrt1.1) scout; urgency=medium

  [ Ludovico de Nittis ]
  * locale: fix leaked SrtLocale

  [ Simon McVittie ]
  * graphics, library: Capture stderr from the checks
    and include it in their JSON output
  * locale: Check for the necessary files to generate more locales.
    This issue flag is known to appear on Arch Linux and its derivatives,
    which don't normally install /usr/share/i18n/SUPPORTED.
  * Generate autocleanup functions if GLib (or libglnx) supports it.
    This is not directly useful in steam-runtime-tools because we only
    require an older GLib, but is useful when reused in pressure-vessel.
  * Add some missing precondition checks
  * Assert we are not setuid before looking at the environment
  * graphics: Add EGL and Vulkan ICD enumeration
  * Distinguish between the Steam installation (root) and data paths.
    We had previously mixed these up: it isn't particularly obvious since
    they are usually the same. See the documentation for details.

 -- Simon McVittie <smcv@collabora.com>  Thu, 26 Sep 2019 13:34:01 +0100

steam-runtime-tools (0.20190909.0-0+steamrt1.2) scout; urgency=medium

  [ Simon McVittie ]
  * Add checks for locales and locale-related issues

  [ Jeremy Whiting ]
  * When executing graphics helpers use timeout command to kill if needed.

  [ Simon McVittie ]
  * graphics: Add precondition checks on enum arguments
  * graphics: Diagnose impossible window system, rendering interface
  * graphics: Only allow EGL_X11 with a GL-based rendering interface
  * graphics: Diagnose combination of GLX with non-GL as programming error
  * Fix numeric values in comments
  * Document SRT_GRAPHICS_ISSUES_TIMEOUT
  * Improve diagnostics if graphics timeout tests fail

  [ Jeremy Whiting ]
  * Add calling vulkaninfo to get vulkan device and version.
  * Add mock-good-vulkaninfo and mock-bad-vulkaninfo.

  [ Simon McVittie ]
  * d/.gitignore: Update for addition of steam-runtime-tools-bin
  * Speed up tests by telling the graphics check to time out sooner
  * graphics: Don't free a const version_string
  * Add a man page documenting steam-runtime-system-info

 -- Jeremy Whiting <jeremy.whiting@collabora.com>  Mon, 09 Sep 2019 11:17:49 -0600

steam-runtime-tools (0.20190822.0-0+steamrt1.1) scout; urgency=medium

  [ Jeremy Whiting ]
  * Add SrtGraphics wrapper to check for GL, GLES support
  * Remove check-gl and check-gles since we changed to using wflinfo

  [ Simon McVittie ]
  * Minor bug fixes in SrtGraphics
  * helpers: Depend on waffle-utils-multiarch
  * CI: Add a build that uses clang, scan-build, ASan and UBSan

 -- Simon McVittie <smcv@collabora.com>  Thu, 22 Aug 2019 18:50:26 +0100

steam-runtime-tools (0.20190820.1-0+steamrt1.1) scout; urgency=medium

  * Fix version number in meson.build

 -- Simon McVittie <smcv@collabora.com>  Tue, 20 Aug 2019 19:25:55 +0100

steam-runtime-tools (0.20190820.0-0+steamrt1.1) scout; urgency=medium

  [ Simon McVittie ]
  * runtime: Avoid shadowing POSIX environ
  * runtime: Fix buffer underrun if version.txt is empty

  [ Ludovico de Nittis ]
  * fake-home: Fix memory leaks
  * Filter */gameoverlayrenderer.so from LD_PRELOAD

 -- Simon McVittie <smcv@collabora.com>  Tue, 20 Aug 2019 19:19:49 +0100

steam-runtime-tools (0.20190816.0-0+steamrt1.1) scout; urgency=medium

  [ Simon McVittie ]
  * inspect-library: Don't produce malformed JSON if the ABI is not known
  * library: Guard against not knowing missing or misversioned symbols
  * library: Set UNKNOWN_EXPECTATIONS issue if we lack a symbols file
  * bin: Check for shared libraries even if we don't know what to expect
  * system-info: Look for expectations in /usr/lib/steamrt by default
  * Add some mechanisms to facilitate design-for-test

  [ Ludovico de Nittis ]
  * Add checks for problems with the Steam Installation and the Runtime

 -- Simon McVittie <smcv@collabora.com>  Fri, 16 Aug 2019 12:38:22 +0100

steam-runtime-tools (0.20190806.0-0+steamrt1.1) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Enhance examples/system-info.c to show libraries and uinput capabilities
  * Add C argument `-D_GNU_SOURCE` for the whole project

  [ Simon McVittie ]
  * system-info: Avoid g_debug() interfering with machine-readable stdout
  * system-info: Move from examples/ to bin/ and install in its own package

 -- Simon McVittie <smcv@collabora.com>  Tue, 06 Aug 2019 17:47:36 +0100

steam-runtime-tools (0.20190802.0-0+steamrt1.1) scout; urgency=medium

  [ Simon McVittie ]
  * SrtSystemInfo: Document (lack of) thread-safety
  * Improve documentation

  [ Ludovico de Nittis ]
  * Add libraries check to SrtSystemInfo

 -- Simon McVittie <smcv@collabora.com>  Fri, 02 Aug 2019 13:49:46 +0100

steam-runtime-tools (0.20190801.0-0+steamrt1.1) scout; urgency=medium

  [ Ludovico de Nittis ]
  * Add inspect-library helper and wrapper

  [ Simon McVittie ]
  * Add a skeleton for SrtLibrary, representing a shared library
  * Add symbolic constants for the i386 and x86_64 ABIs
  * Locate libsteam-runtime-tools with dladdr1(), not by iterating link map
  * _srt_get_helpers_path: Adjust mapping from ${libdir} to ${prefix}
  * Add a script to wrap tests with valgrind
  * Don't build gtk-doc documentation if gtk-doc is too old
  * Install enums.h below ${includedir} as intended
  * Add missing enums.h to <steam-runtime-tools/steam-runtime-tools.h>
  * build: Ensure that enums.[ch] are generated before compiling examples
  * _srt_get_helpers_path: If in /lib, assume helpers are in /usr/libexec
  * test-utils: Add some missing test assertions etc.
  * d/tests: Log debug messages
  * d/tests: Mark gnome-desktop-testing to be skipped if not installable
  * debian: Enable Gitlab-CI
  * utils: Ensure that g_type_init() gets called
  * build: Allow C99 constructs
  * build: Disable -Wunused-local-typedefs
  * inspect-library: Treat "-" as meaning stdin
  * inspect-library: Add simple command-line parsing
  * inspect-library: Make memory management more obvious
  * inspect-library: Reuse a buffer between iterations
  * inspect-library: Allow just a symbol on a line, with no @
  * inspect-library: Add support for consuming deb-symbols(5) files
  * Add a skeleton for SrtSystemInfo

 -- Simon McVittie <smcv@collabora.com>  Thu, 01 Aug 2019 18:54:13 +0100

steam-runtime-tools (0.20190717.0-0+collabora1) upstream; urgency=medium

  * Initial release

 -- Simon McVittie <smcv@collabora.com>  Wed, 17 Jul 2019 12:59:02 +0100