* better version check in linux build script
Running `BuildLinux.sh` on Debian Trixie (and probably on other platforms)
results in this warning:
```
$ sudo ./BuildLinux.sh -u
./linux.d/debian: line 32: [: ==: unary operator expected
./linux.d/debian: line 32: [: ==: unary operator expected
...
```
The script is looking for the `VERSION_ID` variable
in `/etc/os-release`, but that variable is optional (see
https://www.linux.org/docs/man5/os-release.html) and is not present in
my install of Debian Trixie. The script handles the missing variable
incorrectly, resulting in the above warning.
This commit fixes the version check to be more tolerant and IMO clearer.
Tested on Ubuntu 22.04, 24.04, and Debian Trixie.
Linux distros started removing libwebkit2gtk-4.0 libriry from their
repos. Ubuntu Noble (24.04) is one of them.
Modify debian/ubuntu deps to install libwebkit2gtk-4.1 if
no libwebkit2gtk-4.0 available
* rework of Linux build scripts
* change to ninja build system
* distribution specific logic broken out
* n/9 progress entries make no sense, removing
* {}'ing all variables
* sorting help output
* sorting package lists
* project doesn't use submodules, removing logic
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
* drop gtk-2
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
* further refinements of BuildLinux.sh
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
---------
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>