Make wine-access more generic, not specifically cthulhu pathed.
This commit is contained in:
1 parent
417ee40dda
commit
ed8c8e2467
11 files changed
+58
-50
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# Wine Access
|
||||
|
||||
`wine-access` is the standalone Wine-hosted accessibility helper for Cthulhu
|
||||
and readers that implement its Wine D-Bus protocol. An Orca endpoint is
|
||||
`wine-access` is a standalone Wine-hosted accessibility helper for screen
|
||||
readers that implement its Wine D-Bus protocol. An Orca endpoint is
|
||||
available for future Orca-side integration; stock Orca does not implement
|
||||
the required Wine methods.
|
||||
|
||||
@@ -34,8 +34,8 @@ imports remain valid across reader restarts. Close and reopen applications after
|
||||
updating Wine Access to load the new hooks. `--no-dialog-reader` disables these
|
||||
hooks along with standard control reading.
|
||||
|
||||
The executable is named `cthulhu-wine-access.exe` for compatibility with the
|
||||
Cthulhu supervisor.
|
||||
The executable is named `wine-access.exe`. Its launcher, Winelib sidecar,
|
||||
and native hooks share a reader-independent installation directory.
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -60,8 +60,8 @@ provides package-managed installation and upgrades. Choose one installation
|
||||
method to avoid a local copy taking precedence over the system package.
|
||||
|
||||
The convenience script builds in `./build`. Running it as a user installs to
|
||||
`$HOME/.local/libexec/cthulhu/wine`; running it as root installs system wide to
|
||||
`/usr/libexec/cthulhu/wine`:
|
||||
`$HOME/.local/libexec/wine-access`; running it as root installs system wide to
|
||||
`/usr/libexec/wine-access`:
|
||||
|
||||
```sh
|
||||
./build.sh
|
||||
@@ -91,20 +91,26 @@ helper directory:
|
||||
That installs the helper and its Winelib sidecar as:
|
||||
|
||||
```text
|
||||
$prefix/libexec/cthulhu/wine/cthulhu-wine-access.exe
|
||||
$prefix/libexec/cthulhu/wine/cthulhu-wine-access.exe.so
|
||||
$prefix/libexec/cthulhu/wine/wine-access-menu.dll
|
||||
$prefix/libexec/cthulhu/wine/wine-access-menu32.dll
|
||||
$prefix/libexec/cthulhu/wine/wine-access-menu-host32.exe
|
||||
$prefix/libexec/wine-access/wine-access.exe
|
||||
$prefix/libexec/wine-access/wine-access.exe.so
|
||||
$prefix/libexec/wine-access/wine-access-menu.dll
|
||||
$prefix/libexec/wine-access/wine-access-menu32.dll
|
||||
$prefix/libexec/wine-access/wine-access-menu-host32.exe
|
||||
```
|
||||
|
||||
For Cthulhu, either set `CTHULHU_WINE_ACCESS_HELPER` to the installed
|
||||
executable or place it at:
|
||||
executable or install it under one of these prefixes:
|
||||
|
||||
```text
|
||||
$HOME/.local/libexec/cthulhu/wine/cthulhu-wine-access.exe
|
||||
$HOME/.local/libexec/wine-access/wine-access.exe
|
||||
/usr/local/libexec/wine-access/wine-access.exe
|
||||
/usr/libexec/wine-access/wine-access.exe
|
||||
```
|
||||
|
||||
Cthulhu checks the environment override first, then the user installation,
|
||||
`/usr/local`, `/usr`, and finally `PATH`. Its existing Cthulhu-specific user
|
||||
and system paths remain supported; avoid leaving stale user copies installed.
|
||||
|
||||
The helper is started automatically when Cthulhu detects an active Wine
|
||||
loader for the same user and prefix. It requires the selected reader service
|
||||
to be running; it exits if that service is unavailable.
|
||||
@@ -115,7 +121,7 @@ The default invocation and `--reader cthulhu` use the existing Cthulhu endpoint.
|
||||
An Orca-side integration can launch the helper in the application's Wine prefix:
|
||||
|
||||
```sh
|
||||
WINEPREFIX=/path/to/prefix /path/to/cthulhu-wine-access.exe --reader orca
|
||||
WINEPREFIX=/path/to/prefix /path/to/wine-access.exe --reader orca
|
||||
```
|
||||
|
||||
| Reader | Session bus name and interface | Object path |
|
||||
@@ -129,7 +135,7 @@ with `--reader-path` and `--reader-interface`; omitted fields retain the
|
||||
selected reader's defaults. For an extension class named `WineAccess`:
|
||||
|
||||
```sh
|
||||
WINEPREFIX=/path/to/prefix /path/to/cthulhu-wine-access.exe --reader orca \
|
||||
WINEPREFIX=/path/to/prefix /path/to/wine-access.exe --reader orca \
|
||||
--reader-path /org/gnome/Orca1/Service/WineAccess \
|
||||
--reader-interface org.gnome.Orca1.WineAccess
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user