Commit graph

9 commits

Author SHA1 Message Date
Sebastian Kuzminsky
91ffc79c7b
better version check in linux build script (#9496)
Some checks failed
Build all / Build All (push) Has been cancelled
Build all / Flatpak (push) Has been cancelled
* 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
7c76bb754a
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
8cc7a8c8a3
fix: allow build on Fedora >= 40 (#7710) 2024-12-14 11:19:09 +08:00
Franz Schwartau
fac32eca7d
fix: Don't exit if libgtk is not found (#7711) 2024-12-14 11:18:13 +08:00
ElectricalBoy
0b6fc3d389
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
Robert Schiele
b18c0c76ae
support Clear Linux OS (#5652)
* support Clear Linux OS

Add some initial support for Clear Linux OS
(https://www.clearlinux.org/).
2024-06-29 12:21:29 +08:00
Dima Buzdyk
aa22b7f220
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
1807f21a34 support debian 12 2024-04-21 18:51:24 +08:00
Jamin Collins
654af8e0e4
rework of Linux build scripts (#4850)
* 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>
2024-04-11 22:11:31 +08:00