Script to build "hard dependencies" automatically
[llpp.git] / BUILDING
blob8c6defaac50e1e8cb5e9ce821c8187daa9e8eea9
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 "the easy way" one can invoke `sh buildall.sh' which
11 will first attempt to fetch openjpeg, jbig2dec and SumatraPDF's
12 version of mupdf and build them then, if everything goes fine it will
13 proceed building llpp itself. Note that OCaml and LablGL should still
14 be installed separately.
16 To build llpp, provided that all prereqs are already built, one should
17 invoke `sh build.sh' from the top of llpp's directory, prior to that it's
18 advisable to review build.sh so that it matches local mupdf installation
19 (or lack thereof)
21 If everything goes fine llpp binary will appear, it can be used like so:
23 $ ./llpp /path/to/some.pdf
25 [1] 22-06-10
26 [2] http://www.mupdf.com
27 [3] http://blog.kowalczyk.info/software/sumatrapdf/index.html
28 [4] http://sumatrapdf.googlecode.com/svn/trunk/mupdf [Revision: 1973]
29 [5] http://caml.inria.fr/
30 [6] http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html