From 3c3ac1a1cb1cb68982655d7b6aecfd85d779a55f Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Fri, 24 Jan 2025 06:32:53 -0800 Subject: [PATCH] flatpak: install translations in flatpak (#8066) * flatpak: install translations in flatpak Note: you also need to update flatpak config to add desired locales to flatpak environment via `flatpak config --set languages='en;ru'; flatpak update` or `flatpak --user config --set languages='en;ru'; flatpak --user update` * flatpak: mesa-20.x tarball has been moved, fix the url It's now under older-versions/20.x directory --- flatpak/io.github.softfever.OrcaSlicer.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/flatpak/io.github.softfever.OrcaSlicer.yml b/flatpak/io.github.softfever.OrcaSlicer.yml index 0eb8b86c14..c613acf425 100755 --- a/flatpak/io.github.softfever.OrcaSlicer.yml +++ b/flatpak/io.github.softfever.OrcaSlicer.yml @@ -56,7 +56,7 @@ modules: - "*.a" sources: - type: archive - url: https://archive.mesa3d.org/mesa-20.2.6.tar.xz + url: https://archive.mesa3d.org/older-versions/20.x/mesa-20.2.6.tar.xz sha256: f12ca3c6c622f11cd79ad66b4220f04514fa96f795062fe92a37339ab19885db - name: glu @@ -265,8 +265,8 @@ modules: buildsystem: simple build-commands: - | - mkdir -p build && cd build - CXXFLAGS=-std=gnu++20 cmake ../ \ + mkdir -p build + CXXFLAGS=-std=gnu++20 cmake . -B build \ -DSLIC3R_PCH=OFF \ -DSLIC3R_FHS=ON \ -DSLIC3R_GTK=3 \ @@ -278,7 +278,9 @@ modules: -DBBL_RELEASE_TO_PUBLIC=1 \ -DCMAKE_PREFIX_PATH=/app \ -DCMAKE_INSTALL_PREFIX=/app - CXXFLAGS=-std=gnu++20 cmake --build . --target install -j$FLATPAK_BUILDER_N_JOBS + CXXFLAGS=-std=gnu++20 cmake --build build --target OrcaSlicer -j$FLATPAK_BUILDER_N_JOBS + ./run_gettext.sh + CXXFLAGS=-std=gnu++20 cmake --build build --target install -j$FLATPAK_BUILDER_N_JOBS cleanup: - /include