Skip to content

Commit f7edbe1

Browse files
committed
Temporary fix: AppImages - Wayland
The linuxdeploy gtk plugin sets the default to X11, with the comment that using Wayland causes a crash - although this comment was made some years ago Limited local testing under Wayland does not show a problem. The relevant line is patched out before the AppImage is created. The backend therefore defaults to whatever is being used.
1 parent d4babd3 commit f7edbe1

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/appimage-aarch64.yml

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
chmod +x tools/linuxdeploy-aarch64.AppImage
6666
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
6767
chmod +x linuxdeploy-plugin-gtk.sh
68+
sed -i '/GDK_BACKEND/d' linuxdeploy-plugin-gtk.sh
6869
tools/linuxdeploy-aarch64.AppImage \
6970
--desktop-file $GITHUB_WORKSPACE/AppDir/usr/share/applications/org.geeqie.Geeqie.desktop \
7071
--icon-file $GITHUB_WORKSPACE/AppDir/usr/share/pixmaps/geeqie.png \

.github/workflows/appimage-minimal-aarch64.yml

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-aarch64.AppImage \
6969
-O tools/linuxdeploy-aarch64.AppImage
7070
chmod +x tools/linuxdeploy-aarch64.AppImage
71+
sed -i '/GDK_BACKEND/d' linuxdeploy-plugin-gtk.sh
7172
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
7273
chmod +x linuxdeploy-plugin-gtk.sh
7374
tools/linuxdeploy-aarch64.AppImage \

.github/workflows/appimage-minimal-x86_64.yml

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
chmod +x linuxdeploy-x86_64.AppImage
8282
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
8383
chmod +x linuxdeploy-plugin-gtk.sh
84+
sed -i '/GDK_BACKEND/d' linuxdeploy-plugin-gtk.sh
8485
8586
- name: Build AppImage
8687
run: |

.github/workflows/appimage-x86_64.yml

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
chmod +x linuxdeploy-x86_64.AppImage
7878
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
7979
chmod +x linuxdeploy-plugin-gtk.sh
80+
sed -i '/GDK_BACKEND/d' linuxdeploy-plugin-gtk.sh
8081
8182
- name: Build AppImage
8283
run: |

0 commit comments

Comments
 (0)