Update msys2 and patches.

This commit is contained in:
John Preston 2024-07-17 14:03:36 +02:00
parent 08ec9e6bfd
commit 28a6aa45b9
3 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@ FROM builder AS patches
RUN git init patches \
&& cd patches \
&& git remote add origin {{ GIT }}/desktop-app/patches.git \
&& git fetch --depth=1 origin 20a7c5ffd8265fc6e45203ea2536f7b1965be19a \
&& git fetch --depth=1 origin 6898f0d215f249917c076f00d3fc954a43f35e6a \
&& git reset --hard FETCH_HEAD \
&& rm -rf .git

View file

@ -457,7 +457,7 @@ if customRunCommand:
stage('patches', """
git clone https://github.com/desktop-app/patches.git
cd patches
git checkout 514332f808
git checkout 6898f0d215
""")
stage('msys64', """
@ -468,12 +468,12 @@ win:
SET CHERE_INVOKING=enabled_from_arguments
SET MSYS2_PATH_TYPE=inherit
powershell -Command "iwr -OutFile ./msys64.exe https://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20221028.sfx.exe"
powershell -Command "iwr -OutFile ./msys64.exe https://github.com/msys2/msys2-installer/releases/download/2024-05-07/msys2-base-x86_64-20240507.sfx.exe"
msys64.exe
del msys64.exe
bash -c "pacman-key --init; pacman-key --populate; pacman -Syu --noconfirm"
pacman -Syu --noconfirm mingw-w64-x86_64-perl mingw-w64-x86_64-nasm mingw-w64-x86_64-yasm mingw-w64-x86_64-ninja
pacman -Syu --noconfirm mingw-w64-x86_64-perl mingw-w64-x86_64-nasm mingw-w64-x86_64-yasm mingw-w64-x86_64-ninja msys/make diffutils pkg-config
SET PATH=%PATH_BACKUP_%
""", 'ThirdParty')

View file

@ -165,7 +165,7 @@ parts:
patches:
source: https://github.com/desktop-app/patches.git
source-depth: 1
source-commit: 20a7c5ffd8265fc6e45203ea2536f7b1965be19a
source-commit: 6898f0d215f249917c076f00d3fc954a43f35e6a
plugin: dump
override-pull: |
craftctl default