diff --git a/deps/wxWidgets/wxWidgets.cmake b/deps/wxWidgets/wxWidgets.cmake index f2e30e8a22..2f384e6cbe 100644 --- a/deps/wxWidgets/wxWidgets.cmake +++ b/deps/wxWidgets/wxWidgets.cmake @@ -45,8 +45,8 @@ orcaslicer_add_cmake_project( wxWidgets GIT_REPOSITORY "https://github.com/OrcaSlicer/Orca-deps-wxWidgets" GIT_TAG b44c39c100975a0ac0e46f937aa3f3eae5e18631 - # Not shallow: GIT_TAG is a commit, and a shallow clone fetches only the branch head, so the - # checkout fails as soon as the fork moves past it. + # A shallow clone fetches only the branch head, so checking out a pinned commit fails once the + # branch moves past it. GIT_SHALLOW OFF GIT_SUBMODULES 3rdparty/catch 3rdparty/pcre 3rdparty/libwebp DEPENDS ${PNG_PKG} ${ZLIB_PKG} ${EXPAT_PKG} ${JPEG_PKG} diff --git a/scripts/flatpak/com.orcaslicer.OrcaSlicer.yml b/scripts/flatpak/com.orcaslicer.OrcaSlicer.yml index 46ed319244..13e395b4e0 100644 --- a/scripts/flatpak/com.orcaslicer.OrcaSlicer.yml +++ b/scripts/flatpak/com.orcaslicer.OrcaSlicer.yml @@ -119,8 +119,10 @@ modules: # submodules (PCRE2, etc.) that are not included in GitHub tarballs. - type: git url: https://github.com/OrcaSlicer/Orca-deps-wxWidgets.git - branch: v3.3.2 + # flatpak-builder requires a named branch's tip to be the pinned commit, so this names no + # branch and clones in full, which git needs to check out a commit that is not a tip. commit: b44c39c100975a0ac0e46f937aa3f3eae5e18631 + disable-shallow-clone: true # OrcaSlicer C++ dependencies (built offline with pre-downloaded archives) - name: orca_deps