Fix AppImage build and launch
Use an older version of linuxdeploy to work around a FUSE memory allocation error (see https://discuss.pixls.us/t/countdown-to-5-12/49160/6). Override the minimum CMake version when building libjxl to fix the CMake configuration error for the sjpeg dependency.
This commit is contained in:
parent
2a53427c65
commit
858558b497
3
.github/workflows/appimage.yml
vendored
3
.github/workflows/appimage.yml
vendored
@ -157,7 +157,8 @@ jobs:
|
|||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: |
|
run: |
|
||||||
echo "Downloading linuxdeploy."
|
echo "Downloading linuxdeploy."
|
||||||
curl --location 'https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage' > linuxdeploy-x86_64.AppImage
|
LINUXDEPLOY_TAG='1-alpha-20240109-1'
|
||||||
|
curl --location "https://github.com/linuxdeploy/linuxdeploy/releases/download/${LINUXDEPLOY_TAG}/linuxdeploy-x86_64.AppImage" > linuxdeploy-x86_64.AppImage
|
||||||
echo "Downloading GTK plugin for linuxdeploy."
|
echo "Downloading GTK plugin for linuxdeploy."
|
||||||
curl --location 'https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh' \
|
curl --location 'https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh' \
|
||||||
| sed 's/^\(export GTK_THEME\)/#\1/' \
|
| sed 's/^\(export GTK_THEME\)/#\1/' \
|
||||||
|
@ -25,6 +25,7 @@ build() {
|
|||||||
local _cmake_options=(
|
local _cmake_options=(
|
||||||
-B build
|
-B build
|
||||||
-S "$_pkgsrc"
|
-S "$_pkgsrc"
|
||||||
|
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DCMAKE_INSTALL_PREFIX='/usr'
|
-DCMAKE_INSTALL_PREFIX='/usr'
|
||||||
-DJPEGXL_FORCE_SYSTEM_BROTLI=ON
|
-DJPEGXL_FORCE_SYSTEM_BROTLI=ON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user