Skip to content
Snippets Groups Projects
  1. Nov 21, 2024
  2. Nov 18, 2024
  3. Nov 15, 2024
    • Simon McVittie's avatar
      populate-depot: Set filter_exclusive_priority equal to major version · 47a13f17
      Simon McVittie authored
      
      Previously we were setting `filter_exclusive_priority` to 1 for all
      "pure" (non-layered) container runtimes as per steamrt/tasks#426,
      but in fact that was an oversight. Instead, we need to set a unique
      priority for each distinct ABI (scout, soldier, sniper and so on).
      
      This is because `Properties → Compatibility → Force the use of…`
      lists all compatibility tools that have a `filter_exclusive_priority`
      equal to the one that has been set on the app/game. We don't want
      to list SLR 2.0 (soldier) for games that require the
      Steam Runtime 3 (sniper) ABI, and we don't want to list a possible
      future SLR 4 (medic) for sniper games either.
      
      We assume here that future runtimes will follow the pattern set by
      steamrt5 and have boring, pragmatic codenames. If we reach steamrt9
      (which we should start work on in around 2031, assuming we continue
      to do one Steam Runtime per Debian release) without the design having
      changed, then we will need to do some renumbering at that point.
      
      steamrt/tasks#597
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      47a13f17
  4. Nov 11, 2024
  5. Nov 06, 2024
  6. Nov 05, 2024
    • Simon McVittie's avatar
      Merge branch 'wip/smcv/dynamic-sdl' into 'main' · d797a28b
      Simon McVittie authored
      Make it easier for users on non-Debian-derived distros to set SDL_DYNAMIC_API
      
      See merge request !766
      d797a28b
    • Simon McVittie's avatar
      tests: Exercise SDL_DYNAMIC_API setup · 66b95a6a
      Simon McVittie authored
      
      steamrt/tasks#578
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      66b95a6a
    • Simon McVittie's avatar
      pv-adverb: Set SDL_DYNAMIC_API to a suitable value on request · 0f1133b3
      Simon McVittie authored
      
      It's difficult for users of non-Debian-derived distros to select the
      runtime's SDL, especially if they don't know whether the game is 32- or
      64-bit, because the expansion of `$LIB` and `$PLATFORM` varies between
      distro glibc builds.
      
      However, we can normally predict `$LIB` and `$PLATFORM` well enough to
      do the right thing programmatically. For example, if `$PLATFORM` expands
      to `i686` in 32-bit processes and `xeon-phi` in 64-bit, then we can
      create symlinks at `/tmp/XX/i686/libSDL2-2.0.so.0` and
      `/tmp/XX/xeon-phi/libSDL2-2.0.so.0`, and then set
      `SDL_DYNAMIC_API='/tmp/XX/${PLATFORM}/libSDL2-2.0.so.0'` to have the
      runtime linker dynamically select the correct word size.
      
      While I'm here, we might as well provide the same setup for SDL3.
      
      steamrt/tasks#578
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      0f1133b3
  7. Nov 01, 2024
  8. Oct 30, 2024
  9. Oct 29, 2024
  10. Oct 18, 2024
  11. Oct 17, 2024
  12. Oct 16, 2024
Loading