@@ -7,39 +7,51 @@ function install() {
77 MASON_PLATFORM_ID=$( mason env MASON_PLATFORM_ID)
88 if [[ ! -d ./mason_packages/${MASON_PLATFORM_ID} /${1} / ]]; then
99 mason install $1 $2
10+ # the rm here is to workaround https://github.com/mapbox/mason/issues/230
11+ rm -f ./mason_packages/.link/mason.ini
1012 mason link $1 $2
1113 fi
1214}
1315
1416ICU_VERSION=" 55.1"
1517
1618function install_mason_deps() {
19+ FAIL=0
1720 install mapnik latest &
1821 install ccache 3.2.4 &
19- install jpeg_turbo 1.4.0 libjpeg &
20- install libpng 1.6.20 libpng &
21- install libtiff 4.0.4beta libtiff &
22- install libpq 9.4.1 &
23- install sqlite 3.8.8.3 libsqlite3 &
24- install expat 2.1.0 libexpat &
25- wait
22+ install jpeg_turbo 1.5.0 libjpeg &
23+ install libpng 1.6.24 libpng &
24+ install libtiff 4.0.6 libtiff &
25+ install libpq 9.5.2 &
26+ install sqlite 3.14.1 libsqlite3 &
27+ install expat 2.2.0 libexpat &
2628 install icu ${ICU_VERSION} &
27- install proj 4.8.0 libproj &
28- install pixman 0.32.6 libpixman-1 &
29- install cairo 1.14.2 libcairo &
30- wait
31- install webp 0.4.2 libwebp &
32- install gdal 1.11.2 libgdal &
29+ install proj 4.9.2 libproj &
30+ install pixman 0.34.0 libpixman-1 &
31+ install cairo 1.14.6 libcairo &
32+ install protobuf 2.6.1 &
33+ # technically protobuf is not a mapnik core dep, but installing
34+ # here by default helps make mapnik-vector-tile builds easier
35+ install webp 0.5.1 libwebp &
36+ install gdal 2.1.1 libgdal &
3337 install boost 1.61.0 &
34- install boost_libthread 1.61.0 &
35- install boost_libpython 1.61.0 &
3638 install boost_libsystem 1.61.0 &
3739 install boost_libfilesystem 1.61.0 &
3840 install boost_libprogram_options 1.61.0 &
39- install boost_libregex 1.61.0 &
40- install freetype 2.6 libfreetype &
41- install harfbuzz 0.9.41 libharfbuzz &
42- wait
41+ install boost_libregex_icu 1.61.0 &
42+ # technically boost thread and python are not a core dep, but installing
43+ # here by default helps make python-mapnik builds easier
44+ install boost_libthread 1.61.0 &
45+ install boost_libpython 1.61.0 &
46+ install freetype 2.6.5 libfreetype &
47+ install harfbuzz 1.3.0 libharfbuzz &
48+ for job in $( jobs -p)
49+ do
50+ wait $job || let " FAIL+=1"
51+ done
52+ if [[ " $FAIL " != " 0" ]]; then
53+ exit ${FAIL}
54+ fi
4355}
4456
4557function setup_runtime_settings() {
0 commit comments