source: pst/ps/mupdf.xml@ 88499366

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.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 88499366 was ff3a9a0, checked in by Pierre Labastie <pieere@…>, 7 years ago

lxpanel-0.9.1, lxde-common-0.99.2, mupdf-1.10

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

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