fixing build on BE arches. Tracked down by George Koehler who proposed
an alternative simpler patch (but I'd prefer this one which is closer
to the changes made for LE).
- mupdf-gl now requires building with javascript support, so is no longer
available in the default flavour (which has js disabled). If you use mupdf-gl
you will need to switch to the js flavour (pkg_delete mupdf; pkg_add mupdf--js).
- drop the patch to convert to shared libraries, the build process of
mupdf is a headache and changes rather often, so this patch is getting in
the way too much. unfortunately this bloats the packages somewhat...
libGL/libxshmfence tries to create "/tmp/shmfd-XXXXXX" files in some
cases (not seen here but reported by mikeb). just drop the pledge
from mupdf-gl completely because I can't hope to evaluate the codepaths
taken in mesa on various video hardware to come up with a reliable one.
allocators to do this locking too. However mupdf tries to manually align things
in a way that doesn't match what openjpeg does, which we noticed when frees
were segfaulting because the addresses didn't match up.
In the case of the openjpeg port it's relying on malloc(3)'s guarantee
"The allocated space is suitably aligned (after possible pointer coercion)
for storage of any type of object" so patch mupdf to do the same.
Fixes crash noticed by jca@ in https://www.broadband-forum.org/technical/download/TR-177.pdf
- many fixes and improvements to EPUB support
- mudraw moves to the multi-purpose mutool binary
- add new OpenGL-based viewer, mupdf-gl
- add an optional flavour to enable the javascript support (wasn't
on by default before in our package, and still isn't)
this port didn't build on static-only arch anyway). Unsupported upstream
(http://bugs.ghostscript.com/show_bug.cgi?id=691887#c1) but the patch is
easy to maintain, and there's a clear benefit:
$ stat -f "%Z %N" mupdf*
25262988 mupdf-1.4.tgz
4619258 mupdf-1.4p0.tgz
here as cURL is a fairly common package).
Earlier version without cURL support ok rpe@, additional tests on various
arch from brett@, Florian Stinglmayr and Donovan Watteau (who also reminded
me about a change of name for mubusy needed in DESCR).