- remove comment about missing dependencies: they are either not used by
the current configuration (krb5 with system postgresql or nasm with
system libjpeg) or were made to be used in this update (poppler)
- use system fontforge to build opens___.ttf
- use system ucpp as preprocessor
- use system python3-lxml in the build process
- use system poppler and libxml2
- remove outdated libtommath from distfiles
- use vsed everywhere (and remove outdated stuff)
- be explicit about bundling fonts
- use make_build_target instead of make_build_args (more semantically correct)
- patch so build can run in CI
We need `chmod -R` to be able to cleanup after Go packages, but it's
unnecessary in most other cases. By only running it when the first `rm
-rf` fails, we optimize for the most common case and get a tiny speedup
for this build step.
This was deleted in b393370212, but was
still necessary. Without it, qemu in user mode has the wrong return
value for mremap, which leads to infinite looping in some
situations (afaik only with musl). This could be observed with
qemu-user-static when crossbuilding webkit2gtk for armv*-musl, where
strace(1) showed infinite looping:
mremap(0x6525a000, 4096, 8192, 0^C) = -1 ENOMEM (Out of memory)
The command being used was:
/usr/bin/qemu-arm-static -L /usr/arm-linux-musleabihf -E LD_LIBRARY_PATH=/usr/arm-linux-musleabihf/usr/lib:.libs: /builddir/webkitgtk-2.32.1/build/Source/WebKit/tmp-introspecth0go8pvu/WebKit2-4.0 --introspect-dump=/builddir/webkitgtk-2.32.1/build/Source/WebKit/tmp-introspecth0go8pvu/functions.txt,/builddir/webkitgtk-2.32.1/build/Source/WebKit/tmp-introspecth0go8pvu/dump.xml