Update to reflect changes in MuPDF
[llpp.git] / BUILDING
blob970ae8d1802a9336025cfe261e5b680f2f302e59
1 At the time of this writing[1] vanilla MuPDF[2] does not work (text
2 spans are somewhat fucked up), the (patched) version from
3 SumatraPDF[3]'s SVN repository[4] however works nicely (SumatraPDF's
4 SVN repository also contains all the other prerequisites (such as
5 openjpeg, jbig2dec, etc))
7 llpp also depends on OCaml[5] and lablGL[6], having a C compiler
8 wouldn't hurt either.
10 To build llpp, provided that all prereqs are already built, one should
11 invoke `sh build.sh' from the top of llpp's directory, prior to that it's
12 advisable to review build.sh so that it matches local mupdf installation
13 (or lack thereof)
15 If everything goes fine llpp binary will appear, it can be used like so:
17 $ ./llpp /path/to/some.pdf
19 [1] 22-06-10
20 [2] http://www.mupdf.com
21 [3] http://blog.kowalczyk.info/software/sumatrapdf/index.html
22 [4] http://sumatrapdf.googlecode.com/svn/trunk/mupdf [Revision: 1973]
23 [5] http://caml.inria.fr/
24 [6] http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html