[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 " ">
|
---|
[e8c8ab1] | 11 | <!ENTITY mupdf-md5sum "fe6ef7a800d4283c6ca14b22e0e7f748">
|
---|
[50fbb48] | 12 | <!ENTITY mupdf-size "58 MB">
|
---|
| 13 | <!ENTITY mupdf-buildsize "238 MB">
|
---|
[d97e2f71] | 14 | <!ENTITY mupdf-time "0.1 SBU (Using parallelism=4)">
|
---|
[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 |
|
---|
[7ee3d2dc] | 38 | &lfs90_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:
|
---|
[90dd633] | 79 | <ulink url="&patch-root;/mupdf-&mupdf-version;-shared_libs-1.patch"/>
|
---|
[2c13ebe] | 80 | </para>
|
---|
| 81 | </listitem>
|
---|
[bd81e201] | 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[d4bae4c9] | 84 | <bridgehead renderas="sect3">MuPDF Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
| 88 | <xref linkend="xorg7-lib"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 92 | <para role="recommended">
|
---|
[2c13ebe] | 93 | <xref linkend="freeglut"/>,
|
---|
[41745476] | 94 | <xref linkend="harfbuzz"/>,
|
---|
[13c6e90] | 95 | <!-- This no-longer gets linked in with our system libs patch
|
---|
| 96 | <xref linkend="lcms2"/>, -->
|
---|
[bd81e201] | 97 | <xref linkend="libjpeg"/>,
|
---|
| 98 | <xref linkend="openjpeg2"/>, and
|
---|
[94b9889] | 99 | <xref linkend="curl"/>
|
---|
[d4bae4c9] | 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 103 | <para role="optional">
|
---|
[f5cdf41] | 104 | <xref role="runtime" linkend="xdg-utils"/> (runtime),
|
---|
[2f727d8f] | 105 | <ulink url="https://jbig2dec.com">jbig2dec</ulink>, and
|
---|
[2c13ebe] | 106 | <ulink url="https://artifex.com/mujs/">MuJS</ulink>
|
---|
[d4bae4c9] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
| 110 | <para role="required">
|
---|
[f5cdf41] | 111 | <xref role="runtime" linkend="x-window-system"/>
|
---|
[d4bae4c9] | 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <para condition="html" role="usernotes">
|
---|
| 115 | User Notes: <ulink url="&blfs-wiki;/mupdf"/>
|
---|
| 116 | </para>
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="installation">
|
---|
| 120 | <title>Installation of MuPDF</title>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
| 123 | Install <application>MuPDF</application> by running the following
|
---|
| 124 | commands:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
[aae6977] | 127 | <screen><userinput>patch -Np1 -i ../mupdf-&mupdf-version;-shared_libs-1.patch &&
|
---|
[96ecf052] | 128 |
|
---|
[6a5eaa0] | 129 | USE_SYSTEM_LIBS=yes make</userinput></screen>
|
---|
[d4bae4c9] | 130 |
|
---|
| 131 | <para>
|
---|
| 132 | This package does not come with a test suite.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
[6a5eaa0] | 139 | <screen role="root"><userinput>USE_SYSTEM_LIBS=yes \
|
---|
| 140 | make prefix=/usr \
|
---|
| 141 | build=release \
|
---|
[ff3a9a0] | 142 | docdir=/usr/share/doc/mupdf-&mupdf-version; \
|
---|
[6a5eaa0] | 143 | install &&
|
---|
[dd168618] | 144 |
|
---|
[6a5eaa0] | 145 | ln -sfv mupdf-x11 /usr/bin/mupdf &&
|
---|
[13c6e90] | 146 | ldconfig</userinput></screen>
|
---|
[ff3a9a0] | 147 |
|
---|
| 148 | </sect2>
|
---|
| 149 |
|
---|
| 150 | <sect2 role="commands">
|
---|
| 151 | <title>Command Explanations</title>
|
---|
| 152 |
|
---|
| 153 | <para>
|
---|
[d97e2f71] | 154 | <command>ln -sfv mupdf-x11 /usr/bin/mupdf </command>:
|
---|
| 155 | This symbolic link chooses between <command>mupdf-gl</command>
|
---|
| 156 | and <command>mupdf-x11</command> when running <command>mupdf</command>.
|
---|
[ff3a9a0] | 157 | </para>
|
---|
[d4bae4c9] | 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | <sect2 role="content">
|
---|
| 162 | <title>Contents</title>
|
---|
| 163 |
|
---|
| 164 | <segmentedlist>
|
---|
| 165 | <segtitle>Installed Program</segtitle>
|
---|
| 166 | <segtitle>Installed Libraries</segtitle>
|
---|
| 167 | <segtitle>Installed Directories</segtitle>
|
---|
| 168 |
|
---|
| 169 | <seglistitem>
|
---|
[90dd633] | 170 | <seg>mupdf(symlink),
|
---|
| 171 | mupdf-gl,
|
---|
| 172 | mupdf-x11, and
|
---|
| 173 | mutool
|
---|
| 174 | </seg>
|
---|
| 175 | <seg>libmupdf.so,
|
---|
| 176 | libmupdfthird.so,
|
---|
| 177 | libmupkcs7.so, and
|
---|
| 178 | libmuthreads.so
|
---|
| 179 | </seg>
|
---|
| 180 | <seg>/usr/include/mupdf,
|
---|
| 181 | /usr/share/doc/mupdf-&mupdf-version;
|
---|
| 182 | </seg>
|
---|
[d4bae4c9] | 183 | </seglistitem>
|
---|
| 184 | </segmentedlist>
|
---|
| 185 |
|
---|
| 186 | <variablelist>
|
---|
| 187 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 188 | <?dbfo list-presentation="list"?>
|
---|
| 189 | <?dbhtml list-presentation="table"?>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="mupdf-prog">
|
---|
| 192 | <term><command>mupdf</command></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>
|
---|
[ff3a9a0] | 195 | is a program for viewing PDF, XPS, EPUB, and CBZ documents,
|
---|
| 196 | and various image formats such as PNG, JPEG, GIFF, and TIFF.
|
---|
[d4bae4c9] | 197 | </para>
|
---|
| 198 | <indexterm zone="mupdf mupdf-prog">
|
---|
| 199 | <primary sortas="b-mupdf">mupdf</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
[ff3a9a0] | 203 |
|
---|
| 204 | <varlistentry id="mupdf-gl">
|
---|
| 205 | <term><command>mupdf-gl</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>
|
---|
| 208 | same as <command>mupdf</command>, using an opengl renderer.
|
---|
| 209 | </para>
|
---|
| 210 | <indexterm zone="mupdf mupdf-gl">
|
---|
| 211 | <primary sortas="b-mupdf-gl">mupdf-gl</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="mupdf-x11">
|
---|
| 217 | <term><command>mupdf-x11</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
| 220 | same as <command>mupdf</command>, using an X Window renderer.
|
---|
| 221 | </para>
|
---|
| 222 | <indexterm zone="mupdf mupdf-x11">
|
---|
| 223 | <primary sortas="b-mupdf-x11">mupdf-x11</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="libmupdf">
|
---|
| 229 | <term><filename class="libraryfile">libmupdf.so</filename></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>
|
---|
| 232 | contains the mupdf API functions.
|
---|
| 233 | </para>
|
---|
| 234 | <indexterm zone="mupdf libmupdf">
|
---|
| 235 | <primary sortas="c-libmupdf">libmupdf.so</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="libmupdfthird">
|
---|
| 241 | <term><filename class="libraryfile">libmupdfthird.so</filename></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>
|
---|
| 244 | contains the third party libraries compiled for mudpf.
|
---|
| 245 | </para>
|
---|
| 246 | <indexterm zone="mupdf libmupdfthird">
|
---|
| 247 | <primary sortas="c-libmupdfthird">libmupdfthird.so</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 |
|
---|
[d4bae4c9] | 252 | </variablelist>
|
---|
| 253 |
|
---|
| 254 | </sect2>
|
---|
| 255 |
|
---|
| 256 | </sect1>
|
---|