From 640a30a25baf6f16573dbfd81360c16b4cef0a6a Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Wed, 15 Apr 2026 13:37:20 -0500 Subject: [PATCH] Deps: Don't remove downloaded files while building That way we don't need to redownload if a deps build fails partway though and is restarted --- .github/workflows/scripts/linux/build-dependencies-qt.sh | 2 +- .github/workflows/scripts/linux/build-dependencies-runner.sh | 2 +- .github/workflows/scripts/macos/build-dependencies-universal.sh | 2 +- .github/workflows/scripts/macos/build-dependencies.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scripts/linux/build-dependencies-qt.sh b/.github/workflows/scripts/linux/build-dependencies-qt.sh index ae69041795..d4686d2448 100755 --- a/.github/workflows/scripts/linux/build-dependencies-qt.sh +++ b/.github/workflows/scripts/linux/build-dependencies-qt.sh @@ -152,7 +152,7 @@ cd .. echo "Building libpng..." rm -fr "libpng-$LIBPNG" tar xf "libpng-$LIBPNG.tar.xz" -gunzip -d -f "libpng-$LIBPNG-apng.patch.gz" +gzip -kd -f "libpng-$LIBPNG-apng.patch.gz" cd "libpng-$LIBPNG" patch -p1 < "../libpng-$LIBPNG-apng.patch" cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$INSTALLDIR" -DCMAKE_INSTALL_PREFIX="$INSTALLDIR" -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=ON -DPNG_TESTS=OFF -DPNG_STATIC=OFF -DPNG_SHARED=ON -DPNG_TOOLS=OFF -B build -G Ninja diff --git a/.github/workflows/scripts/linux/build-dependencies-runner.sh b/.github/workflows/scripts/linux/build-dependencies-runner.sh index 22938c6ffc..e2d90ebcf8 100755 --- a/.github/workflows/scripts/linux/build-dependencies-runner.sh +++ b/.github/workflows/scripts/linux/build-dependencies-runner.sh @@ -87,7 +87,7 @@ cd .. echo "Building libpng..." rm -fr "libpng-$LIBPNG" tar xf "libpng-$LIBPNG.tar.xz" -gunzip -d -f "libpng-$LIBPNG-apng.patch.gz" +gzip -kd -f "libpng-$LIBPNG-apng.patch.gz" cd "libpng-$LIBPNG" patch -p1 < "../libpng-$LIBPNG-apng.patch" cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$INSTALLDIR" -DCMAKE_INSTALL_PREFIX="$INSTALLDIR" -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=ON -DPNG_TESTS=OFF -DPNG_STATIC=OFF -DPNG_SHARED=ON -DPNG_TOOLS=OFF -B build -G Ninja diff --git a/.github/workflows/scripts/macos/build-dependencies-universal.sh b/.github/workflows/scripts/macos/build-dependencies-universal.sh index a969b12d56..e5feda56ff 100755 --- a/.github/workflows/scripts/macos/build-dependencies-universal.sh +++ b/.github/workflows/scripts/macos/build-dependencies-universal.sh @@ -218,7 +218,7 @@ cd .. echo "Installing libpng..." rm -fr "libpng-$LIBPNG" tar xf "libpng-$LIBPNG.tar.xz" -gunzip -d -f "libpng-$LIBPNG-apng.patch.gz" +gzip -kd -f "libpng-$LIBPNG-apng.patch.gz" cd "libpng-$LIBPNG" patch -p1 < "../libpng-$LIBPNG-apng.patch" cmake "${CMAKE_COMMON[@]}" "$CMAKE_ARCH_X64" -DBUILD_SHARED_LIBS=ON -DPNG_TESTS=OFF -DPNG_FRAMEWORK=OFF -B build diff --git a/.github/workflows/scripts/macos/build-dependencies.sh b/.github/workflows/scripts/macos/build-dependencies.sh index 64d71d93c6..3fc0121440 100755 --- a/.github/workflows/scripts/macos/build-dependencies.sh +++ b/.github/workflows/scripts/macos/build-dependencies.sh @@ -170,7 +170,7 @@ cd .. echo "Installing libpng..." rm -fr "libpng-$LIBPNG" tar xf "libpng-$LIBPNG.tar.xz" -gunzip -d -f "libpng-$LIBPNG-apng.patch.gz" +gzip -kd -f "libpng-$LIBPNG-apng.patch.gz" cd "libpng-$LIBPNG" patch -p1 < "../libpng-$LIBPNG-apng.patch" cmake "${CMAKE_COMMON[@]}" -DBUILD_SHARED_LIBS=ON -DPNG_TESTS=OFF -DPNG_FRAMEWORK=OFF -B build