From d4e0ca5f904c5f9c93ef9175757696a7e562a536 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 11 Dec 2025 11:48:18 -0500 Subject: [PATCH] Update libpng to 1.6.53 --- .github/scripts/build_libpng.sh | 4 ++-- .github/scripts/get_win_deps.ps1 | 4 ++-- .github/scripts/mingw-w64-libpng-dev.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/scripts/build_libpng.sh b/.github/scripts/build_libpng.sh index c77a9e89..968d9894 100755 --- a/.github/scripts/build_libpng.sh +++ b/.github/scripts/build_libpng.sh @@ -1,13 +1,13 @@ #!/bin/bash set -euo pipefail -pngver=1.6.51 +pngver=1.6.53 ## Grab sources and check them curl -LOJ "http://prdownloads.sourceforge.net/libpng/libpng-$pngver.tar.xz?download" # Brew doesn't provide any sha256sum, so we're making do with `sha2` instead. -if [ "$(sha2 -q -256 libpng-$pngver.tar.xz)" != a050a892d3b4a7bb010c3a95c7301e49656d72a64f1fc709a90b8aded192bed2 ]; then +if [ "$(sha2 -q -256 libpng-$pngver.tar.xz)" != 1d3fb8ccc2932d04aa3663e22ef5ef490244370f4e568d7850165068778d98d4 ]; then sha2 -256 libpng-$pngver.tar.xz echo Checksum mismatch! Aborting. >&2 exit 1 diff --git a/.github/scripts/get_win_deps.ps1 b/.github/scripts/get_win_deps.ps1 index fd104ab6..0888cc7d 100644 --- a/.github/scripts/get_win_deps.ps1 +++ b/.github/scripts/get_win_deps.ps1 @@ -16,8 +16,8 @@ function getlibrary ([string] $URI, [string] $filename, [string] $hash, [string] } getlibrary 'https://www.zlib.net/zlib131.zip' 'zlib.zip' '72af66d44fcc14c22013b46b814d5d2514673dda3d115e64b690c1ad636e7b17' . -getlibrary 'https://github.com/pnggroup/libpng/archive/refs/tags/v1.6.51.zip' 'libpng.zip' 'd1e8544445152f5c71fc58d06067da80f3f642f268d2c3e1114a7f34fd739e32' . +getlibrary 'https://github.com/pnggroup/libpng/archive/refs/tags/v1.6.53.zip' 'libpng.zip' '9fb99118ec4523d9a9dab652ce7c2472ec76f6ccd69d1aba3ab873bb8cf84b98' . getlibrary 'https://github.com/lexxmark/winflexbison/releases/download/v2.5.25/win_flex_bison-2.5.25.zip' 'winflexbison.zip' '8d324b62be33604b2c45ad1dd34ab93d722534448f55a16ca7292de32b6ac135' install_dir Move-Item zlib-1.3.1 zlib -Move-Item libpng-1.6.51 libpng +Move-Item libpng-1.6.53 libpng diff --git a/.github/scripts/mingw-w64-libpng-dev.sh b/.github/scripts/mingw-w64-libpng-dev.sh index ccac0452..7808a465 100755 --- a/.github/scripts/mingw-w64-libpng-dev.sh +++ b/.github/scripts/mingw-w64-libpng-dev.sh @@ -1,13 +1,13 @@ #!/bin/bash set -euo pipefail -pngver=1.6.51 +pngver=1.6.53 arch="$1" ## Grab sources and check them wget http://downloads.sourceforge.net/project/libpng/libpng16/$pngver/libpng-$pngver.tar.xz -echo a050a892d3b4a7bb010c3a95c7301e49656d72a64f1fc709a90b8aded192bed2 libpng-$pngver.tar.xz | sha256sum -c - +echo 1d3fb8ccc2932d04aa3663e22ef5ef490244370f4e568d7850165068778d98d4 libpng-$pngver.tar.xz | sha256sum -c - ## Extract sources and patch them