diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-07 16:18:53 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-13 13:52:16 +0200 |
commit | c88941abc6f0fe91a41dc35dcaa1874d4de2c429 (patch) | |
tree | 51ff32d773f80219922a0458ec76f401ba21e138 /docs/building.html | |
parent | 9c805cc9f934cd12e89014db8ad70e3191cdaf2d (diff) | |
download | mupdf-c88941abc6f0fe91a41dc35dcaa1874d4de2c429.tar.xz |
Organize docs into HTML files.
Diffstat (limited to 'docs/building.html')
-rw-r--r-- | docs/building.html | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/docs/building.html b/docs/building.html new file mode 100644 index 00000000..c6ed344d --- /dev/null +++ b/docs/building.html @@ -0,0 +1,113 @@ +<!DOCTYPE html> +<html> +<head> +<title>How to build MuPDF</title> +<link rel="stylesheet" href="style.css" type="text/css"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +</head> + +<body> + +<header> +<h1>How to build MuPDF</h1> +</header> + +<nav> +<a href="http://mupdf.com/index.html">ABOUT</a> +<a href="http://mupdf.com/news.html">NEWS</a> +<a href="index.html">DOCUMENTATION</a> +<a href="http://mupdf.com/downloads/">DOWNLOAD</a> +<a href="http://git.ghostscript.com/?p=mupdf.git;a=summary">SOURCE</a> +<a href="https://bugs.ghostscript.com/">BUGS</a> +</nav> + +<article> + +<h2>License</h2> + +<p> +MuPDF is Copyright (c) 2006-2017 Artifex Software, Inc. + +<p> +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +<p> +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +<p> +You should have received a copy of the GNU Affero General Public License along +with this program. If not, see <http://www.gnu.org/licenses/>. + +<p> +For commercial licensing, including our "Indie Dev" friendly options, +please contact sales@artifex.com. + +<h2>Download</h2> + +<p> +The latest development source is available directly from the git repository: + +<pre> +git clone --recursive git://git.ghostscript.com/mupdf.git +</pre> + +<p> +In the mupdf directory, update the third party libraries: + +<pre> +git submodule update --init +</pre> + +<h2>Compiling on Windows</h2> + +<p> +On Windows there is a Visual Studio project file in <tt>platform/win32/mupdf.vcproj</tt>. + +<h2>Compiling on Linux</h2> + +<p> +If you are compiling from source you will need several third party libraries: +freetype2, jbig2dec, libjpeg, openjpeg, and zlib. These libraries are contained +in the source archive. If you are using git, they are included as git +submodules. + +<p> +You will also need the X11 headers and libraries if you're building on Linux. +These can typically be found in the xorg-dev package. Alternatively, if you +only want the command line tools, you can build with HAVE_X11=no. + +<p> +The new OpenGL-based viewer also needs OpenGL headers and libraries. If you're +building on Linux, install the mesa-common-dev and libgl1-mesa-dev packages. +You'll also need several X11 development packages: xorg-dev, libxcursor-dev, +libxrandr-dev, and libxinerama-dev. To skip building the OpenGL viewer, build +with HAVE_GLFW=no. + +<p> +To install the viewer, command line tools, libraries, and header files on your system: + +<pre> +make prefix=/usr/local install +</pre> + +<p> +To install only the command line tools, libraries, and headers invoke make like this: + +<pre> +make HAVE_X11=no HAVE_GLFW=no prefix=/usr/local install +</pre> + +</article> + +<footer> +<a href="http://artifex.com"><img src="artifex-logo.png" align="right"></a> +Copyright © 2006-2017 Artifex Software Inc. +</footer> + +</body> +</html> |