Update the build script to put the Orca extension into place.
Still need to do the symlinking yourself though.
This commit is contained in:
1 parent
044c1063d7
commit
e920543dcb
4 files changed
+213
-11
No files matched your search
+22
-5
@@ -30,8 +30,23 @@ must be installed separately; it is an optional package dependency.
|
||||
|
||||
### Manual installation
|
||||
|
||||
1. Build and install the helper as described in the main README.
|
||||
2. Copy `orca/wine_access/` to `~/.local/share/orca/extensions/`.
|
||||
1. Build and install the helper with `./build.sh` while Orca 51 or later is
|
||||
installed. The script installs the extension files under
|
||||
`$prefix/share/wine-access/orca/wine_access/` (`~/.local/share/...` for a
|
||||
user build, `/usr/share/...` for a system build) and prints the remaining
|
||||
commands. If Orca was not installed at build time, rerun `./build.sh`.
|
||||
2. Link that copy into your Orca extension directory, as in the package
|
||||
instructions above, using your installation prefix. For a user build:
|
||||
|
||||
```sh
|
||||
mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/orca/extensions"
|
||||
ln -sT "$HOME/.local/share/wine-access/orca/wine_access" \
|
||||
"${XDG_DATA_HOME:-$HOME/.local/share}/orca/extensions/wine_access"
|
||||
```
|
||||
|
||||
Copying `orca/wine_access/` from the source tree to
|
||||
`~/.local/share/orca/extensions/` also works, but the copy is not updated
|
||||
by later builds.
|
||||
3. Approve it with `orca --approve-extension wine_access` and restart Orca.
|
||||
Approval records a hash of the package; approve again after any update.
|
||||
|
||||
@@ -78,9 +93,11 @@ wine-access.exe --reader orca --reader-path /org/gnome/Orca1/Service/WineAccess
|
||||
with the program's own loader, display and bus, and
|
||||
`ORCA_WINE_ACCESS_MANAGED=1`. For Steam Play and Protontricks launches the
|
||||
loader is resolved to the game's real Proton `files/bin/wine` (Protontricks'
|
||||
proxy `WINELOADER` is bypassed) and the game's `WINEESYNC`/`WINEFSYNC` are
|
||||
forwarded so the helper joins the running server; see the main README's
|
||||
Steam section. A helper stops 10 seconds after its prefix
|
||||
proxy `WINELOADER` is bypassed), the game's `WINEESYNC`/`WINEFSYNC` are
|
||||
forwarded so the helper joins the running server, and the helper set is
|
||||
staged under the state directory because the container's wineserver cannot
|
||||
see a system `/usr/libexec` installation; see the main README's Steam
|
||||
section. A helper stops 10 seconds after its prefix
|
||||
goes idle and restarts with exponential backoff after quick failures. Helpers
|
||||
run in their own session and survive an Orca restart, so a newly loaded
|
||||
extension retires a marked helper it did not start before starting its own.
|
||||
|
||||
Reference in new issue
Block a user