1
0
mirror of https://github.com/skeeto/w64devkit.git synced 2026-10-23 06:08:56 +03:00

Upgrade to tugz 1.1.0 and add zipinfo

tugz 1.1.0 adds Info-ZIP's ZipInfo mode to unzip, selected by program
name, so zipinfo is an alias.c alias of unzip, as gunzip and zcat are
of gzip. The release also speeds up deflate and inflate, including
x86-64 SIMD paths chosen at run time; it still runs on Windows XP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Christopher Wellons
2026-10-16 15:48:33 -04:00
parent d38e1f384e
commit 457bd8071d

View File

@@ -136,8 +136,8 @@ RUN mkdir zstd \
&& tar xzf zstd-$ZSTD_VERSION.tar.gz -C zstd --strip-components=1
FROM base AS dl-tugz
ARG TUGZ_VERSION=1.0.0 \
TUGZ_SHA256=c21a61a06c1ab2ccbbf018fcbf8ec8144483021467fe65aeb7206d014b934dca
ARG TUGZ_VERSION=1.1.0 \
TUGZ_SHA256=6bc79c91236353e95148dac68223b003e9b00daa6fb1c18d699a84feaeef2b2e
WORKDIR /dl
ADD --checksum=sha256:$TUGZ_SHA256 \
https://github.com/skeeto/tugz/releases/download/v$TUGZ_VERSION/tugz-amalgams-$TUGZ_VERSION.zip ./
@@ -864,7 +864,11 @@ RUN mkdir -p /out/bin \
$ARCH-gcc -DEXE=gzip.exe -DCMD={} \
-Oz -fno-asynchronous-unwind-tables \
-Wl,--gc-sections -s -nostdlib \
-o /out/bin/{}.exe $PREFIX/src/alias.c -lkernel32
-o /out/bin/{}.exe $PREFIX/src/alias.c -lkernel32 \
&& $ARCH-gcc -DEXE=unzip.exe -DCMD=zipinfo \
-Oz -fno-asynchronous-unwind-tables \
-Wl,--gc-sections -s -nostdlib \
-o /out/bin/zipinfo.exe $PREFIX/src/alias.c -lkernel32
FROM cross AS build-ccache
COPY --from=dl-ccache /dl/ /dl/