Commit Graph

6 Commits

Author SHA1 Message Date
Sebastian Kuzminsky
535afea314 better version check in linux build script (#9496)
* 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.
2025-06-02 23:11:19 +08:00
Dipl.-Ing. Raoul Rubien, BSc
89781de102 adds libspnav-dev dependency to linux.d/debian (#9498)
* linux.d/debian: adds libspnav-dev dependency; enables spacemouse support

* linux.d/arch: adds libspnav dependency; enables spacemouse support

* linux.d/fedora: adds libspnav-devel dependency; enables spacemouse support
2025-05-16 09:37:52 +08:00
Franz Schwartau
6b12b9e419 fix: Don't exit if libgtk is not found (#7711) 2024-12-14 11:18:13 +08:00
ElectricalBoy
add1cdc977 CI: Build with ubuntu-24.04 (#5919)
* CI: Build with ubuntu-24.04

* Use apt-get in ubuntu-24.04

* Fix step name

* Use alternate approach for detecting libwebkit2gtk version

* CI: Install libfuse2 in ubuntu-24.04

* Reduce repetitive code in workflows

Co-authored-by: Ocraftyone <Ocraftyone@users.noreply.github.com>

* CI: Install libfuse2

Runtime dependency for AppImage

* Fix filenames for nightly deployment

* Properly nest conditional

---------

Co-authored-by: Ocraftyone <Ocraftyone@users.noreply.github.com>
2024-07-01 23:44:49 +08:00
Dima Buzdyk
34bc78585b build on systems with libwebkit2gtk-4.1 (#5135)
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
2024-06-29 12:15:48 +08:00
SoftFever
37490b6f42 support debian 12 2024-04-21 18:51:24 +08:00