Skip to content

Commit ca94439

Browse files
committed
Upgrade expat, fontconfig, harfbuzz, cairo
Latest fontconfig no longer requires uuid
1 parent 25ba795 commit ca94439

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

build/lin.sh

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ VERSION_ORC=0.4.28
3131
VERSION_GETTEXT=0.20.1
3232
VERSION_GDKPIXBUF=2.36.12
3333
VERSION_FREETYPE=2.10.0
34-
VERSION_EXPAT=2.2.6
35-
VERSION_UUID=2.33.2
36-
VERSION_FONTCONFIG=2.13.1
37-
VERSION_HARFBUZZ=2.4.0
34+
VERSION_EXPAT=2.2.7
35+
VERSION_FONTCONFIG=2.13.91
36+
VERSION_HARFBUZZ=2.5.2
3837
VERSION_PIXMAN=0.38.4
39-
VERSION_CAIRO=1.16.0
38+
VERSION_CAIRO=1.17.2
4039
VERSION_FRIBIDI=1.0.5
4140
VERSION_PANGO=1.42.4
4241
VERSION_CROCO=0.6.13
@@ -76,7 +75,6 @@ version_latest "gettext" "$VERSION_GETTEXT" "898"
7675
#version_latest "gdkpixbuf" "$VERSION_GDKPIXBUF" "9533" # latest version requires meson instead of autotools
7776
version_latest "freetype" "$VERSION_FREETYPE" "854"
7877
version_latest "expat" "$VERSION_EXPAT" "770"
79-
version_latest "uuid" "$VERSION_UUID" "8179"
8078
version_latest "fontconfig" "$VERSION_FONTCONFIG" "827"
8179
version_latest "harfbuzz" "$VERSION_HARFBUZZ" "1299"
8280
version_latest "pixman" "$VERSION_PIXMAN" "3648"
@@ -211,23 +209,15 @@ sed -i "s/getrandom/ignore_getrandom/g" configure # https://github.com/libexpat/
211209
--disable-dependency-tracking --without-xmlwf
212210
make install
213211

214-
mkdir ${DEPS}/uuid
215-
curl -Ls https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v$(without_patch $VERSION_UUID)/util-linux-${VERSION_UUID}.tar.xz | tar xJC ${DEPS}/uuid --strip-components=1
216-
cd ${DEPS}/uuid
217-
sed -i "s/getrandom/ignore_getrandom/g" configure
218-
./configure --host=${CHOST} --prefix=${TARGET} --enable-shared --disable-static \
219-
--disable-all-programs --enable-libuuid
220-
make install-strip
221-
222212
mkdir ${DEPS}/fontconfig
223-
curl -Ls https://www.freedesktop.org/software/fontconfig/release/fontconfig-${VERSION_FONTCONFIG}.tar.bz2 | tar xjC ${DEPS}/fontconfig --strip-components=1
213+
curl -Ls https://www.freedesktop.org/software/fontconfig/release/fontconfig-${VERSION_FONTCONFIG}.tar.xz | tar xJC ${DEPS}/fontconfig --strip-components=1
224214
cd ${DEPS}/fontconfig
225215
./configure --host=${CHOST} --prefix=${TARGET} --enable-shared --disable-static --disable-dependency-tracking \
226216
--with-expat-includes=${TARGET}/include --with-expat-lib=${TARGET}/lib --sysconfdir=/etc
227217
make install-strip
228218

229219
mkdir ${DEPS}/harfbuzz
230-
curl -Ls https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${VERSION_HARFBUZZ}.tar.bz2 | tar xjC ${DEPS}/harfbuzz --strip-components=1
220+
curl -Ls https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${VERSION_HARFBUZZ}.tar.xz | tar xJC ${DEPS}/harfbuzz --strip-components=1
231221
cd ${DEPS}/harfbuzz
232222
sed -i "s/error \"-Wunused-local-typedefs\"/ignored \"-Wunused-local-typedefs\"/" src/hb.hh
233223
./configure --host=${CHOST} --prefix=${TARGET} --enable-shared --disable-static --disable-dependency-tracking
@@ -241,7 +231,7 @@ cd ${DEPS}/pixman
241231
make install-strip
242232

243233
mkdir ${DEPS}/cairo
244-
curl -Ls http://cairographics.org/releases/cairo-${VERSION_CAIRO}.tar.xz | tar xJC ${DEPS}/cairo --strip-components=1
234+
curl -Ls http://cairographics.org/snapshots/cairo-${VERSION_CAIRO}.tar.xz | tar xJC ${DEPS}/cairo --strip-components=1
245235
cd ${DEPS}/cairo
246236
./configure --host=${CHOST} --prefix=${TARGET} --enable-shared --disable-static --disable-dependency-tracking \
247237
--disable-xlib --disable-xcb --disable-quartz --disable-win32 --disable-egl --disable-glx --disable-wgl \
@@ -326,7 +316,6 @@ printf "{\n\
326316
\"png\": \"${VERSION_PNG16}\",\n\
327317
\"svg\": \"${VERSION_SVG}\",\n\
328318
\"tiff\": \"${VERSION_TIFF}\",\n\
329-
\"uuid\": \"${VERSION_UUID}\",\n\
330319
\"vips\": \"${VERSION_VIPS}\",\n\
331320
\"webp\": \"${VERSION_WEBP}\",\n\
332321
\"xml\": \"${VERSION_XML2}\",\n\

0 commit comments

Comments
 (0)