Skip to content
Snippets Groups Projects
Commit 9de77242 authored by Simon McVittie's avatar Simon McVittie
Browse files

Remove unruntime-scout


The SteamLinuxRuntime depot has a better implementation of this.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent abecb159
Branches
Tags
No related merge requests found
......@@ -309,39 +309,9 @@ Instructions for testing
You can also choose to use the host system `/usr` directly.
* For a more production-ready version without the test UI, set the launch
options to:
"LaunchOptions" "~/.steam/steam/steamapps/common/SteamLinuxRuntime/pressure-vessel/bin/pressure-vessel-unruntime-scout -- %command%"
This mode does not require Python 3, PyGI, GTK or a normal
window manager, and is probably more suitable for Big Picture mode.
It assumes this directory layout:
```
SteamLinuxRuntime
\- pressure-vessel
\- bin
\- pressure-vessel-unruntime-scout (etc.)
\- scout
\- files
\- metadata
```
Or for more flexibility, use
"LaunchOptions" "~/.steam/steam/steamapps/common/SteamLinuxRuntime/pressure-vessel/bin/pressure-vessel-unruntime -- %command%"
and then add more options just before the `--` as desired.
This mode does not require Python 3, PyGI, GTK or a normal
window manager, and is probably more suitable for Big Picture mode.
* The default runtime for `pressure-vessel-unruntime` is the host system,
with the `LD_LIBRARY_PATH` Steam Runtime overlaid onto it.
You can specify a runtime with the `--runtime` option:
`pressure-vessel-unruntime-scout` is just a shortcut for using
`pressure-vessel-unruntime --runtime DIR/../../scout/files` where *DIR*
is the directory containing `pressure-vessel-unruntime-scout` itself.
You can specify a runtime with the `--runtime` option.
The runtime can be any of these:
......
......@@ -104,7 +104,6 @@ SCRIPTS = [
'pressure-vessel-locale-gen',
'pressure-vessel-test-ui',
'pressure-vessel-unruntime',
'pressure-vessel-unruntime-scout',
]
EXECUTABLES = [
'pressure-vessel-adverb',
......
......@@ -185,7 +185,6 @@ scripts = [
'pressure-vessel-locale-gen',
'pressure-vessel-test-ui',
'pressure-vessel-unruntime',
'pressure-vessel-unruntime-scout',
]
foreach script : scripts
......
#!/bin/sh
# pressure-vessel-scout — undo the Steam Runtime's environment and use
# scout, assuming the layout of the SteamLinuxRuntime depot.
#
# Copyright © 2019 Collabora Ltd.
#
# SPDX-License-Identifier: MIT
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
set -eu
me="$(readlink -f "$0")"
here="${me%/*}"
me="${me##*/}"
export PRESSURE_VESSEL_RUNTIME_BASE="${here}/../.."
export PRESSURE_VESSEL_RUNTIME="scout/files"
exec "$here/pressure-vessel-unruntime" "$@"
# vim:set sw=4 sts=4 et:
......@@ -36,7 +36,6 @@ cd "$G_TEST_SRCDIR/.."
n=0
for shell_script in \
./pressure-vessel-unruntime \
./pressure-vessel-unruntime-scout \
./pressure-vessel-locale-gen \
./tests/*.sh \
; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment