@@ -24,7 +24,7 @@ VERSION_GSF=1.14.46
24
24
VERSION_EXIF=0.6.21
25
25
VERSION_LCMS2=2.9
26
26
VERSION_JPEG=2.0.2
27
- VERSION_PNG16=1.6.34
27
+ VERSION_PNG16=1.6.37
28
28
VERSION_WEBP=1.0.2
29
29
VERSION_TIFF=4.0.10
30
30
VERSION_ORC=0.4.28
@@ -54,7 +54,7 @@ without_patch() {
54
54
# Check for newer versions
55
55
ALL_AT_VERSION_LATEST=true
56
56
version_latest () {
57
- VERSION_LATEST=$( curl -s https://release-monitoring.org/api/project/$3 | jq -r ' .version ' | tr -d v )
57
+ VERSION_LATEST=$( curl -s https://release-monitoring.org/api/project/$3 | jq -r ' .versions[] ' | grep -E -m1 ' ^[0-9]+(.[0-9]+)*$ ' )
58
58
if [ " $VERSION_LATEST " != " $2 " ]; then
59
59
ALL_AT_VERSION_LATEST=false
60
60
echo " $1 version $2 has been superseded by $VERSION_LATEST "
@@ -68,15 +68,15 @@ version_latest "gsf" "$VERSION_GSF" "1980"
68
68
version_latest " exif" " $VERSION_EXIF " " 1607"
69
69
version_latest " lcms2" " $VERSION_LCMS2 " " 9815"
70
70
version_latest " jpeg" " $VERSION_JPEG " " 1648"
71
- version_latest " png" " $VERSION_PNG16 " " 15294 "
71
+ version_latest " png" " $VERSION_PNG16 " " 1705 "
72
72
version_latest " webp" " $VERSION_WEBP " " 1761"
73
73
version_latest " tiff" " $VERSION_TIFF " " 13521"
74
74
version_latest " orc" " $VERSION_ORC " " 2573"
75
75
version_latest " gettext" " $VERSION_GETTEXT " " 898"
76
76
# version_latest "gdkpixbuf" "$VERSION_GDKPIXBUF" "9533" # latest version requires meson instead of autotools
77
77
version_latest " freetype" " $VERSION_FREETYPE " " 854"
78
78
version_latest " expat" " $VERSION_EXPAT " " 770"
79
- # version_latest "uuid" "$VERSION_UUID" "8179" # latest version in release monitoring is release candidate
79
+ version_latest " uuid" " $VERSION_UUID " " 8179"
80
80
version_latest " fontconfig" " $VERSION_FONTCONFIG " " 827"
81
81
version_latest " harfbuzz" " $VERSION_HARFBUZZ " " 1299"
82
82
version_latest " pixman" " $VERSION_PIXMAN " " 3648"
@@ -303,7 +303,7 @@ rm -rf pkgconfig .libs *.la libvipsCC*
303
303
304
304
# Create JSON file of version numbers
305
305
cd ${TARGET}
306
- echo " {\n\
306
+ printf " {\n\
307
307
\" cairo\" : \" ${VERSION_CAIRO} \" ,\n\
308
308
\" croco\" : \" ${VERSION_CROCO} \" ,\n\
309
309
\" exif\" : \" ${VERSION_EXIF} \" ,\n\
@@ -333,7 +333,7 @@ echo "{\n\
333
333
\" zlib\" : \" ${VERSION_ZLIB} \" \n\
334
334
}" > versions.json
335
335
336
- echo " \" ${PLATFORM} \" " > platform.json
336
+ printf " \" ${PLATFORM} \" " > platform.json
337
337
338
338
# Create .tar.gz
339
339
tar czf /packaging/libvips-${VERSION_VIPS} -${PLATFORM} .tar.gz include lib * .json
0 commit comments