source: pst/ps/mupdf.xml@ 94b42903

10.0 10.1 11.0 11.1 11.2 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 94b42903 was 94b42903, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Archive openssl-1.1.x. Moved to LFS.
Update to v4l-utils-1.14.2.
Update to vlc-3.0.0.

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

  • Property mode set to 100644
File size: 9.1 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 "334 MB">
14 <!ENTITY mupdf-time "0.6 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 &lfs81_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 </itemizedlist>
83
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">
93 <xref linkend="harfbuzz"/>,
94 <xref linkend="libjpeg"/>,
95 <xref linkend="openjpeg2"/>, and
96 <xref linkend="curl"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <xref role="runtime" linkend="xdg-utils"/> (runtime),
102 <ulink url="http://www.glfw.org/">GLFW</ulink>, and
103 <ulink url="http://downloads.ghostscript.com/public/jbig2dec/">jbig2dec</ulink>
104 </para>
105
106 <bridgehead renderas="sect4">Required (runtime)</bridgehead>
107 <para role="required">
108 <xref role="runtime" linkend="x-window-system"/>
109 </para>
110
111 <para condition="html" role="usernotes">
112 User Notes: <ulink url="&blfs-wiki;/mupdf"/>
113 </para>
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of MuPDF</title>
118
119 <para>
120 Install <application>MuPDF</application> by running the following
121 commands:
122 </para>
123
124<screen><userinput>rm -rf thirdparty/curl &amp;&amp;
125rm -rf thirdparty/freetype &amp;&amp;
126rm -rf thirdparty/harfbuzz &amp;&amp;
127rm -rf thirdparty/jpeg &amp;&amp;
128rm -rf thirdparty/libjpeg &amp;&amp;
129rm -rf thirdparty/openjpeg &amp;&amp;
130rm -rf thirdparty/zlib &amp;&amp;
131
132patch -Np1 -i ../mupdf-&mupdf-version;-consolidated_fixes-1.patch &amp;&amp;
133
134make build=release</userinput></screen>
135
136 <para>
137 This package does not come with a test suite.
138 </para>
139
140 <para>
141 Now, as the <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"><userinput>make prefix=/usr \
145 build=release \
146 docdir=/usr/share/doc/mupdf-&mupdf-version; \
147 install &amp;&amp;
148
149ln -sfv mupdf-x11-curl /usr/bin/mupdf</userinput></screen>
150
151 </sect2>
152
153 <sect2 role="commands">
154 <title>Command Explanations</title>
155
156 <para>
157 <command>ln -sfv mupdf-x11-curl /usr/bin/mupdf </command>: Three
158 <command>mupdf</command> executables are installed:
159 <command>mupdf-gl</command>, <command>mupdf-x11</command>, and
160 <command>mupdf-x11-curl</command>. This symbolic link allows to choose
161 which one is used when running <command>mupdf</command>.
162 </para>
163
164 </sect2>
165
166 <sect2 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
170 <segtitle>Installed Program</segtitle>
171 <segtitle>Installed Libraries</segtitle>
172 <segtitle>Installed Directories</segtitle>
173
174 <seglistitem>
175 <seg>mujstest, mupdf(symlink), mupdf-gl, mupdf-x11, mupdf-x11-curl,
176 muraster, mutool</seg>
177 <seg>libmupdf.so, libmupdfthird.so, and libmuthreads.so</seg>
178 <seg>/usr/include/mupdf, /usr/share/doc/mupdf-&mupdf-version;</seg>
179 </seglistitem>
180 </segmentedlist>
181
182 <variablelist>
183 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
184 <?dbfo list-presentation="list"?>
185 <?dbhtml list-presentation="table"?>
186
187 <varlistentry id="mujstest">
188 <term><command>mujstest</command></term>
189 <listitem>
190 <para>
191 is a test program for mupdf + javascript
192 </para>
193 <indexterm zone="mupdf mujstest">
194 <primary sortas="b-mujstest">mujstest</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="mupdf-prog">
200 <term><command>mupdf</command></term>
201 <listitem>
202 <para>
203 is a program for viewing PDF, XPS, EPUB, and CBZ documents,
204 and various image formats such as PNG, JPEG, GIFF, and TIFF.
205 </para>
206 <indexterm zone="mupdf mupdf-prog">
207 <primary sortas="b-mupdf">mupdf</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="mupdf-gl">
213 <term><command>mupdf-gl</command></term>
214 <listitem>
215 <para>
216 same as <command>mupdf</command>, using an opengl renderer.
217 </para>
218 <indexterm zone="mupdf mupdf-gl">
219 <primary sortas="b-mupdf-gl">mupdf-gl</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="mupdf-x11">
225 <term><command>mupdf-x11</command></term>
226 <listitem>
227 <para>
228 same as <command>mupdf</command>, using an X Window renderer.
229 </para>
230 <indexterm zone="mupdf mupdf-x11">
231 <primary sortas="b-mupdf-x11">mupdf-x11</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="mupdf-x11-curl">
237 <term><command>mupdf-x11-curl</command></term>
238 <listitem>
239 <para>
240 same as <command>mupdf</command>, using an X Window renderer,
241 with the capability of rendering web pages, using an
242 <quote>http://...</quote> url.
243 </para>
244 <indexterm zone="mupdf mupdf-x11-curl">
245 <primary sortas="b-mupdf-x11-curl">mupdf-x11-curl</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="muraster">
251 <term><command>muraster</command></term>
252 <listitem>
253 <para>
254 transforms files in one of the formats displayable by mupdf into
255 a graphic file.
256 </para>
257 <indexterm zone="mupdf muraster">
258 <primary sortas="b-muraster">muraster</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="mutool">
264 <term><command>mutool</command></term>
265 <listitem>
266 <para>
267 deals with document files in various manners.
268 </para>
269 <indexterm zone="mupdf mutool">
270 <primary sortas="b-mutool">mutool</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="libmupdf">
276 <term><filename class="libraryfile">libmupdf.so</filename></term>
277 <listitem>
278 <para>
279 contains the mupdf API functions.
280 </para>
281 <indexterm zone="mupdf libmupdf">
282 <primary sortas="c-libmupdf">libmupdf.so</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="libmupdfthird">
288 <term><filename class="libraryfile">libmupdfthird.so</filename></term>
289 <listitem>
290 <para>
291 contains the third party libraries compiled for mudpf.
292 </para>
293 <indexterm zone="mupdf libmupdfthird">
294 <primary sortas="c-libmupdfthird">libmupdfthird.so</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 </variablelist>
300
301 </sect2>
302
303</sect1>
Note: See TracBrowser for help on using the repository browser.