[d4bae4c9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[f59ac4f] | 7 | <!--Using archive URL, because when a new version is released, older and new
|
---|
| 8 | can be found there, no need to change directory -->
|
---|
| 9 | <!ENTITY mupdf-download-http "http://www.mupdf.com/downloads/archive/mupdf-&mupdf-version;-source.tar.gz">
|
---|
[d4bae4c9] | 10 | <!ENTITY mupdf-download-ftp " ">
|
---|
[06d0c710] | 11 | <!ENTITY mupdf-md5sum "d30738f0487d2e40c921071ba74c479b">
|
---|
| 12 | <!ENTITY mupdf-size "49 MB">
|
---|
[2c13ebe] | 13 | <!ENTITY mupdf-buildsize "356 MB">
|
---|
| 14 | <!ENTITY mupdf-time "0.5 SBU">
|
---|
[d4bae4c9] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="mupdf" xreflabel="mupdf-&mupdf-version;">
|
---|
| 18 | <?dbhtml filename="mupdf.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>MuPDF-&mupdf-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="mupdf">
|
---|
| 28 | <primary sortas="a-mupdf">mupdf</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to MuPDF</title>
|
---|
| 33 |
|
---|
| 34 | <para>
|
---|
| 35 | <application>MuPDF</application> is a lightweight PDF and XPS viewer.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[a0fd5377] | 38 | &lfs82_checked;
|
---|
[d4bae4c9] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&mupdf-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&mupdf-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &mupdf-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &mupdf-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &mupdf-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &mupdf-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[bd81e201] | 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Recommended patch:
|
---|
[06d0c710] | 79 | <ulink url="&patch-root;/mupdf-&mupdf-version;-consolidated_fixes-1.patch"/>
|
---|
[dd168618] | 80 | </para>
|
---|
| 81 | </listitem>
|
---|
[2c13ebe] | 82 | <listitem>
|
---|
| 83 | <para>
|
---|
| 84 | Recommended patch (security fix):
|
---|
| 85 | <ulink url="&patch-root;/mupdf-&mupdf-version;-security_fix-1.patch"/>
|
---|
| 86 | </para>
|
---|
| 87 | </listitem>
|
---|
[bd81e201] | 88 | </itemizedlist>
|
---|
| 89 |
|
---|
[d4bae4c9] | 90 | <bridgehead renderas="sect3">MuPDF Dependencies</bridgehead>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 93 | <para role="required">
|
---|
| 94 | <xref linkend="xorg7-lib"/>
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 98 | <para role="recommended">
|
---|
[2c13ebe] | 99 | <xref linkend="freeglut"/>,
|
---|
[41745476] | 100 | <xref linkend="harfbuzz"/>,
|
---|
[2c13ebe] | 101 | <xref linkend="lcms2"/>,
|
---|
[bd81e201] | 102 | <xref linkend="libjpeg"/>,
|
---|
| 103 | <xref linkend="openjpeg2"/>, and
|
---|
[94b9889] | 104 | <xref linkend="curl"/>
|
---|
[d4bae4c9] | 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 108 | <para role="optional">
|
---|
[f5cdf41] | 109 | <xref role="runtime" linkend="xdg-utils"/> (runtime),
|
---|
[2c13ebe] | 110 | <ulink url="http://downloads.ghostscript.com/public/jbig2dec/">jbig2dec</ulink>, and
|
---|
| 111 | <ulink url="https://artifex.com/mujs/">MuJS</ulink>
|
---|
[d4bae4c9] | 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
| 115 | <para role="required">
|
---|
[f5cdf41] | 116 | <xref role="runtime" linkend="x-window-system"/>
|
---|
[d4bae4c9] | 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <para condition="html" role="usernotes">
|
---|
| 120 | User Notes: <ulink url="&blfs-wiki;/mupdf"/>
|
---|
| 121 | </para>
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="installation">
|
---|
| 125 | <title>Installation of MuPDF</title>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | Install <application>MuPDF</application> by running the following
|
---|
| 129 | commands:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[f3429309] | 132 | <screen><userinput>rm -rf thirdparty/curl &&
|
---|
[2c13ebe] | 133 | rm -rf thirdparty/freeglut &&
|
---|
[94b9889] | 134 | rm -rf thirdparty/freetype &&
|
---|
[41745476] | 135 | rm -rf thirdparty/harfbuzz &&
|
---|
[f3429309] | 136 | rm -rf thirdparty/jpeg &&
|
---|
[2c13ebe] | 137 | rm -rf thirdparty/lcms2 &&
|
---|
[dd168618] | 138 | rm -rf thirdparty/libjpeg &&
|
---|
[bd81e201] | 139 | rm -rf thirdparty/openjpeg &&
|
---|
[f3429309] | 140 | rm -rf thirdparty/zlib &&
|
---|
[96ecf052] | 141 |
|
---|
[06d0c710] | 142 | patch -Np1 -i ../mupdf-&mupdf-version;-consolidated_fixes-1.patch &&
|
---|
[2c13ebe] | 143 | patch -Np1 -i ../mupdf-&mupdf-version;-security_fix-1.patch &&
|
---|
[96ecf052] | 144 |
|
---|
[d4bae4c9] | 145 | make build=release</userinput></screen>
|
---|
| 146 |
|
---|
| 147 | <para>
|
---|
| 148 | This package does not come with a test suite.
|
---|
| 149 | </para>
|
---|
| 150 |
|
---|
| 151 | <para>
|
---|
| 152 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
[ff3a9a0] | 155 | <screen role="root"><userinput>make prefix=/usr \
|
---|
| 156 | build=release \
|
---|
| 157 | docdir=/usr/share/doc/mupdf-&mupdf-version; \
|
---|
| 158 | install &&
|
---|
[dd168618] | 159 |
|
---|
[ff3a9a0] | 160 | ln -sfv mupdf-x11-curl /usr/bin/mupdf</userinput></screen>
|
---|
| 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | <sect2 role="commands">
|
---|
| 165 | <title>Command Explanations</title>
|
---|
| 166 |
|
---|
| 167 | <para>
|
---|
| 168 | <command>ln -sfv mupdf-x11-curl /usr/bin/mupdf </command>: Three
|
---|
| 169 | <command>mupdf</command> executables are installed:
|
---|
| 170 | <command>mupdf-gl</command>, <command>mupdf-x11</command>, and
|
---|
| 171 | <command>mupdf-x11-curl</command>. This symbolic link allows to choose
|
---|
| 172 | which one is used when running <command>mupdf</command>.
|
---|
| 173 | </para>
|
---|
[d4bae4c9] | 174 |
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | <sect2 role="content">
|
---|
| 178 | <title>Contents</title>
|
---|
| 179 |
|
---|
| 180 | <segmentedlist>
|
---|
| 181 | <segtitle>Installed Program</segtitle>
|
---|
| 182 | <segtitle>Installed Libraries</segtitle>
|
---|
| 183 | <segtitle>Installed Directories</segtitle>
|
---|
| 184 |
|
---|
| 185 | <seglistitem>
|
---|
[2c13ebe] | 186 | <seg>mjsgen, mujstest, mupdf(symlink), mupdf-gl, mupdf-x11,
|
---|
| 187 | mupdf-x11-curl, muraster, and mutool</seg>
|
---|
[dd168618] | 188 | <seg>libmupdf.so, libmupdfthird.so, and libmuthreads.so</seg>
|
---|
[ff3a9a0] | 189 | <seg>/usr/include/mupdf, /usr/share/doc/mupdf-&mupdf-version;</seg>
|
---|
[d4bae4c9] | 190 | </seglistitem>
|
---|
| 191 | </segmentedlist>
|
---|
| 192 |
|
---|
| 193 | <variablelist>
|
---|
| 194 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 195 | <?dbfo list-presentation="list"?>
|
---|
| 196 | <?dbhtml list-presentation="table"?>
|
---|
| 197 |
|
---|
[2c13ebe] | 198 | <varlistentry id="mjsgen">
|
---|
| 199 | <term><command>mjsgen</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>
|
---|
| 202 | is a test program for generating mjs files from pdf ones.
|
---|
| 203 | </para>
|
---|
| 204 | <indexterm zone="mupdf mjsgen">
|
---|
| 205 | <primary sortas="b-mjsgen">mjsgen</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
[ff3a9a0] | 210 | <varlistentry id="mujstest">
|
---|
| 211 | <term><command>mujstest</command></term>
|
---|
| 212 | <listitem>
|
---|
| 213 | <para>
|
---|
| 214 | is a test program for mupdf + javascript
|
---|
| 215 | </para>
|
---|
| 216 | <indexterm zone="mupdf mujstest">
|
---|
| 217 | <primary sortas="b-mujstest">mujstest</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
[d4bae4c9] | 222 | <varlistentry id="mupdf-prog">
|
---|
| 223 | <term><command>mupdf</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>
|
---|
[ff3a9a0] | 226 | is a program for viewing PDF, XPS, EPUB, and CBZ documents,
|
---|
| 227 | and various image formats such as PNG, JPEG, GIFF, and TIFF.
|
---|
[d4bae4c9] | 228 | </para>
|
---|
| 229 | <indexterm zone="mupdf mupdf-prog">
|
---|
| 230 | <primary sortas="b-mupdf">mupdf</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
[ff3a9a0] | 234 |
|
---|
| 235 | <varlistentry id="mupdf-gl">
|
---|
| 236 | <term><command>mupdf-gl</command></term>
|
---|
| 237 | <listitem>
|
---|
| 238 | <para>
|
---|
| 239 | same as <command>mupdf</command>, using an opengl renderer.
|
---|
| 240 | </para>
|
---|
| 241 | <indexterm zone="mupdf mupdf-gl">
|
---|
| 242 | <primary sortas="b-mupdf-gl">mupdf-gl</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
| 247 | <varlistentry id="mupdf-x11">
|
---|
| 248 | <term><command>mupdf-x11</command></term>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>
|
---|
| 251 | same as <command>mupdf</command>, using an X Window renderer.
|
---|
| 252 | </para>
|
---|
| 253 | <indexterm zone="mupdf mupdf-x11">
|
---|
| 254 | <primary sortas="b-mupdf-x11">mupdf-x11</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
| 259 | <varlistentry id="mupdf-x11-curl">
|
---|
| 260 | <term><command>mupdf-x11-curl</command></term>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>
|
---|
| 263 | same as <command>mupdf</command>, using an X Window renderer,
|
---|
| 264 | with the capability of rendering web pages, using an
|
---|
| 265 | <quote>http://...</quote> url.
|
---|
| 266 | </para>
|
---|
| 267 | <indexterm zone="mupdf mupdf-x11-curl">
|
---|
| 268 | <primary sortas="b-mupdf-x11-curl">mupdf-x11-curl</primary>
|
---|
| 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
| 273 | <varlistentry id="muraster">
|
---|
| 274 | <term><command>muraster</command></term>
|
---|
| 275 | <listitem>
|
---|
| 276 | <para>
|
---|
| 277 | transforms files in one of the formats displayable by mupdf into
|
---|
| 278 | a graphic file.
|
---|
| 279 | </para>
|
---|
| 280 | <indexterm zone="mupdf muraster">
|
---|
| 281 | <primary sortas="b-muraster">muraster</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
| 286 | <varlistentry id="mutool">
|
---|
| 287 | <term><command>mutool</command></term>
|
---|
| 288 | <listitem>
|
---|
| 289 | <para>
|
---|
| 290 | deals with document files in various manners.
|
---|
| 291 | </para>
|
---|
| 292 | <indexterm zone="mupdf mutool">
|
---|
| 293 | <primary sortas="b-mutool">mutool</primary>
|
---|
| 294 | </indexterm>
|
---|
| 295 | </listitem>
|
---|
| 296 | </varlistentry>
|
---|
| 297 |
|
---|
| 298 | <varlistentry id="libmupdf">
|
---|
| 299 | <term><filename class="libraryfile">libmupdf.so</filename></term>
|
---|
| 300 | <listitem>
|
---|
| 301 | <para>
|
---|
| 302 | contains the mupdf API functions.
|
---|
| 303 | </para>
|
---|
| 304 | <indexterm zone="mupdf libmupdf">
|
---|
| 305 | <primary sortas="c-libmupdf">libmupdf.so</primary>
|
---|
| 306 | </indexterm>
|
---|
| 307 | </listitem>
|
---|
| 308 | </varlistentry>
|
---|
| 309 |
|
---|
| 310 | <varlistentry id="libmupdfthird">
|
---|
| 311 | <term><filename class="libraryfile">libmupdfthird.so</filename></term>
|
---|
| 312 | <listitem>
|
---|
| 313 | <para>
|
---|
| 314 | contains the third party libraries compiled for mudpf.
|
---|
| 315 | </para>
|
---|
| 316 | <indexterm zone="mupdf libmupdfthird">
|
---|
| 317 | <primary sortas="c-libmupdfthird">libmupdfthird.so</primary>
|
---|
| 318 | </indexterm>
|
---|
| 319 | </listitem>
|
---|
| 320 | </varlistentry>
|
---|
| 321 |
|
---|
[d4bae4c9] | 322 | </variablelist>
|
---|
| 323 |
|
---|
| 324 | </sect2>
|
---|
| 325 |
|
---|
| 326 | </sect1>
|
---|