Built SDL2_image and _mixer static

This commit is contained in:
2022-09-30 15:49:16 -04:00
parent e2605bf6c1
commit 1dec4347e0
4473 changed files with 1964551 additions and 9 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngimage --exhaustive --list-combos --log "${srcdir}/contrib/pngsuite/"*.png

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngimage --list-combos --log "${srcdir}/contrib/pngsuite/"*.png

View File

@ -0,0 +1,54 @@
#!/bin/sh
#
# Usage:
#
# tests/pngstest gamma alpha
#
# Run ./pngstest on the PNG files in $srcdir/contrib/testpngs which have the
# given gamma and opacity:
#
# gamma: one of; linear, 1.8, sRGB, none.
# alpha: one of; opaque, tRNS, alpha, none. 'none' is equivalent to !alpha
#
# NOTE: the temporary files pngstest generates have the base name gamma-alpha to
# avoid issues with make -j
#
gamma="$1"
shift
alpha="$1"
shift
args=
LC_ALL="C" # fix glob sort order to ASCII:
for f in "${srcdir}/contrib/testpngs/"*.png
do
g=
case "$f" in
*-linear[.-]*)
test "$gamma" = "linear" && g="$f";;
*-sRGB[.-]*)
test "$gamma" = "sRGB" && g="$f";;
*-1.8[.-]*)
test "$gamma" = "1.8" && g="$f";;
*)
test "$gamma" = "none" && g="$f";;
esac
case "$g" in
"")
:;;
*-alpha[-.]*)
test "$alpha" = "alpha" && args="$args $g";;
*-tRNS[-.]*)
test "$alpha" = "tRNS" -o "$alpha" = "none" && args="$args $g";;
*)
test "$alpha" = "opaque" -o "$alpha" = "none" && args="$args $g";;
esac
done
# This only works if the arguments don't contain spaces; they don't.
exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $args

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "${srcdir}/tests/pngstest" 1.8 none

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "${srcdir}/tests/pngstest" 1.8 alpha

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "${srcdir}/tests/pngstest" linear none

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "${srcdir}/tests/pngstest" linear alpha

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "${srcdir}/tests/pngstest" none none

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "${srcdir}/tests/pngstest" none alpha

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "${srcdir}/tests/pngstest" sRGB none

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "${srcdir}/tests/pngstest" sRGB alpha

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngtest --strict ${srcdir}/pngtest.png

View File

@ -0,0 +1,13 @@
#!/bin/sh
# various crashers
# using --relaxed because some come from fuzzers that don't maintain CRC's
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badcrc.png
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badadler.png
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/bad_iCCP.png
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/empty_ancillary_chunks.png
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_*_chunk.png \
${srcdir}/contrib/testpngs/crashers/huge_*safe_to_copy.png
exec ./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_IDAT.png

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngunknown --strict default=discard IDAT=save "${srcdir}/pngtest.png"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngunknown --strict default=discard "${srcdir}/pngtest.png"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngunknown --strict default=if-safe "${srcdir}/pngtest.png"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save eXIf=save "${srcdir}/pngtest.png"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngunknown --strict sTER=if-safe "${srcdir}/pngtest.png"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngunknown --strict default=save "${srcdir}/pngtest.png"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngunknown --strict vpAg=if-safe "${srcdir}/pngtest.png"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-16-to-8

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-alpha-mode

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-background

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-alpha-mode --expand16

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-background --expand16

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-transform --expand16

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-sbit

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-threshold

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --gamma-transform

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --standard --progressive-read --interlace

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --size --progressive-read

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --standard --progressive-read

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --standard

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./pngvalid --strict --transform