Add interface languages and improve themes and workspace controls for 0.1.36
This commit is contained in:
+46
-16
@@ -1,6 +1,6 @@
|
||||
# Linux readiness
|
||||
|
||||
[Developer guide](development.md)
|
||||
[Complete Ubuntu setup commands](../README.md#linux-ubuntu-2404-lts-intelamd-64-bit) · [Developer guide](development.md)
|
||||
|
||||
Linux support is experimental. Limited native validation is recorded below;
|
||||
the complete desktop and installer acceptance checks remain outstanding.
|
||||
@@ -25,24 +25,38 @@ An Intel/AMD build does not establish ARM support.
|
||||
|
||||
## 2. Prepare the Linux build environment
|
||||
|
||||
Install Node.js 24, pnpm 10, and stable Rust on the Linux box.
|
||||
Use a separate Linux checkout. Do not copy Windows `node_modules` or `src-tauri/target` folders.
|
||||
Use the [complete README setup](../README.md#linux-ubuntu-2404-lts-intelamd-64-bit) for a first Ubuntu 24.04 trial.
|
||||
It includes every tool installation command, source download, Browser preparation, and native launch.
|
||||
Close the app and press Ctrl+C before the checks below.
|
||||
Do not copy Windows `node_modules` or `src-tauri/target` folders into Linux.
|
||||
|
||||
Install the system packages for your distribution from [Tauri's Linux prerequisites](https://v2.tauri.app/start/prerequisites/#linux).
|
||||
For Ubuntu or Debian with WebKitGTK 4.1 available, use:
|
||||
The commands use the project's configured private clone address.
|
||||
Source access is required. No public source-download location is configured.
|
||||
The first build needs internet access for tools and dependencies.
|
||||
|
||||
```sh
|
||||
sudo apt update
|
||||
sudo apt install build-essential pkg-config curl wget file \
|
||||
libwebkit2gtk-4.1-dev libxdo-dev libssl-dev \
|
||||
libayatana-appindicator3-dev librsvg2-dev
|
||||
```
|
||||
### Command sources
|
||||
|
||||
These commands are an Ubuntu/Debian example, not instructions for every Linux distribution.
|
||||
The first Rust build and package build need internet access for dependencies and packaging tools.
|
||||
The setup instructions were checked against these primary sources on October 15, 2026:
|
||||
|
||||
- [Tauri Linux prerequisites](https://v2.tauri.app/start/prerequisites/#linux): native development libraries and Rust installation.
|
||||
- [Node.js downloads](https://nodejs.org/en/download) and [nvm installation](https://github.com/nvm-sh/nvm#install--update-script): Node.js 24 and its per-user installer.
|
||||
- [pnpm 10 installation](https://pnpm.io/10.x/installation#using-npm): the npm installation method.
|
||||
- [Rust installation](https://rust-lang.github.io/rustup/installation/index.html): the Rust toolchain and account environment.
|
||||
- [Ubuntu 24.04 packages](https://packages.ubuntu.com/noble/): distribution package names, including the `t64` runtime libraries.
|
||||
|
||||
Browser commands come from `browser-runtime/package.json` and its packaging and staging scripts in this repository.
|
||||
The README commands were reviewed on Windows. They were not executed on a clean Ubuntu 24.04 system.
|
||||
|
||||
## 3. Check the source and open the app
|
||||
|
||||
Load the account tools and enter the source folder before these checks:
|
||||
|
||||
```sh
|
||||
. "$HOME/.nvm/nvm.sh"
|
||||
. "$HOME/.cargo/env"
|
||||
cd "$HOME/RuneStone"
|
||||
```
|
||||
|
||||
From the Linux checkout, install the project dependencies:
|
||||
|
||||
```sh
|
||||
@@ -72,8 +86,8 @@ work around sandbox failures with `--no-sandbox` or by running RuneStone as root
|
||||
Test the Browser on the intended distro, including its user-namespace policy.
|
||||
The native host uses WebKitGTK and the Browser uses Electron; both need testing.
|
||||
|
||||
The full test suite needs the Table formulas package.
|
||||
Clone `RuneStone_TableFormulas` beside RuneStone and install its dependencies, as described in the [plugin guide](plugins.md).
|
||||
The full test suite needs the Table Formulas package.
|
||||
Clone `RuneStone_Table_Formulas` beside RuneStone and install its dependencies, as described in the [plugin guide](plugins.md).
|
||||
Then run these checks from RuneStone:
|
||||
|
||||
```sh
|
||||
@@ -155,6 +169,22 @@ Call a distribution supported only after its native tests and package checks pas
|
||||
Repeat the automated checks on a Linux runner before each Linux release.
|
||||
No Linux automation is configured yet. Add it when the build host and target distribution are known.
|
||||
|
||||
## Setup help
|
||||
|
||||
| Problem | Action |
|
||||
| --- | --- |
|
||||
| `sudo` asks for a password | Type your Ubuntu account password, then press Enter. The terminal does not show the characters. |
|
||||
| Git cannot reach `10.0.0.5` | Connect to the maintainer's network, or request a reachable clone address. |
|
||||
| Git requests a username or password | Use repository credentials from the maintainer. Source access is separate from your Ubuntu account. |
|
||||
| `destination path 'RuneStone' already exists` | Keep that folder. For an existing checkout, use the later-launch commands in the README. |
|
||||
| `node`, `pnpm`, or `cargo` is not found | Use the later-launch block to load the account environment. Check that the earlier tool installation completed. |
|
||||
| A system package cannot be found | Check your Ubuntu version with `cat /etc/os-release`. This command list targets Ubuntu 24.04. |
|
||||
| The Browser runtime is missing | From the source folder, repeat `npm ci --prefix browser-runtime`, then its `package` command and `pnpm browser:stage`. |
|
||||
| Electron reports a sandbox or user-namespace error | Keep the sandbox enabled. Report the error and Ubuntu version to the maintainer. Do not run RuneStone as root. |
|
||||
| The first build stops | Keep the first error text and failed command. Report them with your Ubuntu version and available memory/disk space. |
|
||||
|
||||
Use the [validation checks](#4-complete-the-desktop-checks) after the first launch.
|
||||
|
||||
## Validation record: 2026-10-14
|
||||
|
||||
Validated on `desk`: Ubuntu 26.04.1 LTS, x86_64, four CPUs, 7.2 GiB reported RAM,
|
||||
@@ -194,7 +224,7 @@ not prevent these smoke checks. No sandbox, security, swap, or permission workar
|
||||
was used. Existing user settings and workspaces were not used.
|
||||
|
||||
No installer or release package was produced, versions were unchanged, and nothing
|
||||
was published. Remaining work includes supplying/building `RuneStone_TableFormulas`
|
||||
was published. Remaining work includes supplying/building `RuneStone_Table_Formulas`
|
||||
and rerunning the full source suite, completing the desktop checks above, and
|
||||
validating Debian/AppImage installation and lifecycle behavior on the intended
|
||||
target distribution. These results do not establish full Linux support.
|
||||
|
||||
Reference in New Issue
Block a user