Fix (linux, AppImage): Could not create default EGL display: EGL_BAD_PARAMETER

This commit is contained in:
aleksey-hoffman committed 2026-06-25 20:31:07 +03:00
1 parent 9473590dc0
commit 052156770c
4 files changed
+36 -22

No files matched your search

@@ -0,0 +1,23 @@
name: Install Linux Tauri dependencies
description: Install pinned WebKitGTK packages for reproducible Tauri Linux builds on Ubuntu 24.04.
runs:
using: composite
steps:
- name: Install apt packages
shell: bash
run: |
# Pin WebKitGTK 2.44.0-2 on Ubuntu 24.04 to avoid EGL_BAD_PARAMETER in shipped Linux binaries.
# https://github.com/audioling/audioling/issues/40
# https://github.com/OmniKee/OmniKee/blob/main/.github/workflows/release.yml
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-0=2.44.0-2 \
libwebkit2gtk-4.1-dev=2.44.0-2 \
libjavascriptcoregtk-4.1-0=2.44.0-2 \
libjavascriptcoregtk-4.1-dev=2.44.0-2 \
gir1.2-javascriptcoregtk-4.1=2.44.0-2 \
gir1.2-webkit2-4.1=2.44.0-2 \
libayatana-appindicator3-dev \
librsvg2-dev \
patchelf
+2 -4
View File
@@ -45,15 +45,13 @@ jobs:
run: npm run test
tauri-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf
uses: ./.github/actions/install-linux-tauri-deps
- name: Rust toolchain
uses: dtolnay/rust-toolchain@stable
+2 -8
View File
@@ -137,7 +137,7 @@ jobs:
- platform: windows
os: windows-latest
- platform: linux
os: ubuntu-22.04
os: ubuntu-24.04
runs-on: ${{ matrix.os }}
env:
@@ -181,13 +181,7 @@ jobs:
- name: Install Linux dependencies
if: matrix.platform == 'linux'
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
patchelf
uses: ./.github/actions/install-linux-tauri-deps
- name: Install npm dependencies
run: npm ci
+9 -10
View File
@@ -1,5 +1,5 @@
name: sigma-file-manager
base: core22
base: core24
adopt-info: build-app
summary: Modern, free, open-source file manager for Windows and Linux
description: |
@@ -50,13 +50,6 @@ plugs:
bus: session
name: org.com_sigma_file_manager_app.SingleInstance
package-repositories:
- type: apt
components: [main]
suites: [noble]
key-id: 78E1918602959B9C59103100F1831DDAFC42E99D
url: http://ppa.launchpad.net/snappy-dev/snapcraft-daily/ubuntu
parts:
build-app:
plugin: dump
@@ -65,7 +58,12 @@ parts:
- node/22/stable
- rustup/latest/stable
build-packages:
- libwebkit2gtk-4.1-dev
- libwebkit2gtk-4.1-0=2.44.0-2
- libwebkit2gtk-4.1-dev=2.44.0-2
- libjavascriptcoregtk-4.1-0=2.44.0-2
- libjavascriptcoregtk-4.1-dev=2.44.0-2
- gir1.2-javascriptcoregtk-4.1=2.44.0-2
- gir1.2-webkit2-4.1=2.44.0-2
- build-essential
- curl
- wget
@@ -76,7 +74,8 @@ parts:
- librsvg2-dev
- dpkg
stage-packages:
- libwebkit2gtk-4.1-0
- libwebkit2gtk-4.1-0=2.44.0-2
- libjavascriptcoregtk-4.1-0=2.44.0-2
- libayatana-appindicator3-1
override-pull: |
craftctl default