Skip to content

Commit dbaec6a

Browse files
authored
Drop spng from dependencies (lovell#300)
libpng, which is already included as a transitive dependency, has seen a lot of recent improvements whilst spng has sadly started to bit-rot. - Adds PNG v3 spec compliance - Allows for future possible animated PNG support - No performance impact, most CPU time is in zlib-ng - Reduces binary size by ~30KB
1 parent fc511f6 commit dbaec6a

4 files changed

Lines changed: 0 additions & 11 deletions

File tree

THIRD-PARTY-NOTICES.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ used under the terms of the following licences:
2424
| libnsgif | MIT Licence |
2525
| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |
2626
| librsvg | LGPLv3 |
27-
| libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
2827
| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |
2928
| libvips | LGPLv3 |
3029
| libwebp | New BSD License |

build/posix.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,6 @@ cd ${DEPS}/png
213213
--disable-tools --without-binconfigs --disable-unversioned-libpng-config
214214
make install-strip dist_man_MANS=
215215

216-
mkdir ${DEPS}/spng
217-
$CURL https://github.com/randy408/libspng/archive/v${VERSION_SPNG}.tar.gz | tar xzC ${DEPS}/spng --strip-components=1
218-
cd ${DEPS}/spng
219-
CFLAGS="${CFLAGS} -O3 -DSPNG_SSE=4" meson setup _build --default-library=static --buildtype=release --strip --prefix=${TARGET} ${MESON} \
220-
-Dstatic_zlib=true -Dbuild_examples=false
221-
meson install -C _build --tag devel
222-
223216
mkdir ${DEPS}/imagequant
224217
$CURL https://github.com/lovell/libimagequant/archive/v${VERSION_IMAGEQUANT}.tar.gz | tar xzC ${DEPS}/imagequant --strip-components=1
225218
cd ${DEPS}/imagequant
@@ -470,7 +463,6 @@ printf "{\n\
470463
\"png\": \"${VERSION_PNG}\",\n\
471464
\"proxy-libintl\": \"${VERSION_PROXY_LIBINTL}\",\n\
472465
\"rsvg\": \"${VERSION_RSVG}\",\n\
473-
\"spng\": \"${VERSION_SPNG}\",\n\
474466
\"tiff\": \"${VERSION_TIFF}\",\n\
475467
\"vips\": \"${VERSION_VIPS}\",\n\
476468
\"webp\": \"${VERSION_WEBP}\",\n\

check-latest-versions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ version_latest "pixman" "$VERSION_PIXMAN" "3648"
4747
version_latest "png" "$VERSION_PNG" "1705"
4848
version_latest "proxy-libintl" "$VERSION_PROXY_LIBINTL" "frida/proxy-libintl"
4949
version_latest "rsvg" "$VERSION_RSVG" "5420" "unstable"
50-
version_latest "spng" "$VERSION_SPNG" "randy408/libspng"
5150
version_latest "tiff" "$VERSION_TIFF" "1738"
5251
version_latest "vips" "$VERSION_VIPS" "5097"
5352
version_latest "webp" "$VERSION_WEBP" "1761"

versions.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ VERSION_PIXMAN=0.46.4
2020
VERSION_PNG=1.6.51
2121
VERSION_PROXY_LIBINTL=0.5
2222
VERSION_RSVG=2.61.3
23-
VERSION_SPNG=0.7.4
2423
VERSION_TIFF=4.7.1
2524
VERSION_VIPS=8.17.3
2625
VERSION_WEBP=1.6.0

0 commit comments

Comments
 (0)