Skip to content

Commit

Permalink
Temporary fix: AppImages - Wayland
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
caclark committed Dec 31, 2024
1 parent d4babd3 commit f7edbe1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/appimage-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
chmod +x tools/linuxdeploy-aarch64.AppImage
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
chmod +x linuxdeploy-plugin-gtk.sh
sed -i '/GDK_BACKEND/d' linuxdeploy-plugin-gtk.sh
tools/linuxdeploy-aarch64.AppImage \
--desktop-file $GITHUB_WORKSPACE/AppDir/usr/share/applications/org.geeqie.Geeqie.desktop \
--icon-file $GITHUB_WORKSPACE/AppDir/usr/share/pixmaps/geeqie.png \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/appimage-minimal-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-aarch64.AppImage \
-O tools/linuxdeploy-aarch64.AppImage
chmod +x tools/linuxdeploy-aarch64.AppImage
sed -i '/GDK_BACKEND/d' linuxdeploy-plugin-gtk.sh
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
chmod +x linuxdeploy-plugin-gtk.sh
tools/linuxdeploy-aarch64.AppImage \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/appimage-minimal-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
chmod +x linuxdeploy-x86_64.AppImage
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
chmod +x linuxdeploy-plugin-gtk.sh
sed -i '/GDK_BACKEND/d' linuxdeploy-plugin-gtk.sh
- name: Build AppImage
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/appimage-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
chmod +x linuxdeploy-x86_64.AppImage
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
chmod +x linuxdeploy-plugin-gtk.sh
sed -i '/GDK_BACKEND/d' linuxdeploy-plugin-gtk.sh
- name: Build AppImage
run: |
Expand Down

0 comments on commit f7edbe1

Please sign in to comment.