source: pst/ps/mupdf.xml@ a29d9e0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a29d9e0 was a0fd5377, checked in by Ken Moffat <ken@…>, 6 years ago

biber-2.11 with tags for source texlive packages and PDF viewers.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19828 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.8 KB
Line 
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
7<!--Using archive URL, because when a new version is released, older and new
8can 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">
10 <!ENTITY mupdf-download-ftp " ">
11 <!ENTITY mupdf-md5sum "d30738f0487d2e40c921071ba74c479b">
12 <!ENTITY mupdf-size "49 MB">
13 <!ENTITY mupdf-buildsize "356 MB">
14 <!ENTITY mupdf-time "0.5 SBU">
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
38 &lfs82_checked;
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
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Recommended patch:
79 <ulink url="&patch-root;/mupdf-&mupdf-version;-consolidated_fixes-1.patch"/>
80 </para>
81 </listitem>
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>
88 </itemizedlist>
89
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">
99 <xref linkend="freeglut"/>,
100 <xref linkend="harfbuzz"/>,
101 <xref linkend="lcms2"/>,
102 <xref linkend="libjpeg"/>,
103 <xref linkend="openjpeg2"/>, and
104 <xref linkend="curl"/>
105 </para>
106
107 <bridgehead renderas="sect4">Optional</bridgehead>
108 <para role="optional">
109 <xref role="runtime" linkend="xdg-utils"/> (runtime),
110 <ulink url="http://downloads.ghostscript.com/public/jbig2dec/">jbig2dec</ulink>, and
111 <ulink url="https://artifex.com/mujs/">MuJS</ulink>
112 </para>
113
114 <bridgehead renderas="sect4">Required (runtime)</bridgehead>
115 <para role="required">
116 <xref role="runtime" linkend="x-window-system"/>
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
132<screen><userinput>rm -rf thirdparty/curl &amp;&amp;
133rm -rf thirdparty/freeglut &amp;&amp;
134rm -rf thirdparty/freetype &amp;&amp;
135rm -rf thirdparty/harfbuzz &amp;&amp;
136rm -rf thirdparty/jpeg &amp;&amp;
137rm -rf thirdparty/lcms2 &amp;&amp;
138rm -rf thirdparty/libjpeg &amp;&amp;
139rm -rf thirdparty/openjpeg &amp;&amp;
140rm -rf thirdparty/zlib &amp;&amp;
141
142patch -Np1 -i ../mupdf-&mupdf-version;-consolidated_fixes-1.patch &amp;&amp;
143patch -Np1 -i ../mupdf-&mupdf-version;-security_fix-1.patch &amp;&amp;
144
145make 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
155<screen role="root"><userinput>make prefix=/usr \
156 build=release \
157 docdir=/usr/share/doc/mupdf-&mupdf-version; \
158 install &amp;&amp;
159
160ln -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>
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>
186 <seg>mjsgen, mujstest, mupdf(symlink), mupdf-gl, mupdf-x11,
187 mupdf-x11-curl, muraster, and mutool</seg>
188 <seg>libmupdf.so, libmupdfthird.so, and libmuthreads.so</seg>
189 <seg>/usr/include/mupdf, /usr/share/doc/mupdf-&mupdf-version;</seg>
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
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
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
222 <varlistentry id="mupdf-prog">
223 <term><command>mupdf</command></term>
224 <listitem>
225 <para>
226 is a program for viewing PDF, XPS, EPUB, and CBZ documents,
227 and various image formats such as PNG, JPEG, GIFF, and TIFF.
228 </para>
229 <indexterm zone="mupdf mupdf-prog">
230 <primary sortas="b-mupdf">mupdf</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
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
322 </variablelist>
323
324 </sect2>
325
326</sect1>
Note: See TracBrowser for help on using the repository browser.