source: pst/ps/mupdf.xml@ 316af37c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 316af37c was 316af37c, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update giflib url.
Update mupdf for build breakage.

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

  • Property mode set to 100644
File size: 7.6 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 "98adc2f430cc7900397ab50a478485c5">
12 <!ENTITY mupdf-size "53 MB">
13 <!ENTITY mupdf-buildsize "268 MB">
14 <!ENTITY mupdf-time "0.1 SBU (Using parallelism=4)">
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 &lfs83_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="freeglut"/>,
94 <xref linkend="harfbuzz"/>,
95 <!-- This no-longer gets linked in with our system libs patch
96 <xref linkend="lcms2"/>, -->
97 <xref linkend="libjpeg"/>,
98 <xref linkend="openjpeg2"/>, and
99 <xref linkend="curl"/>
100 </para>
101
102 <bridgehead renderas="sect4">Optional</bridgehead>
103 <para role="optional">
104 <xref role="runtime" linkend="xdg-utils"/> (runtime),
105 <ulink url="https://jbig2dec.com">jbig2dec</ulink>, and
106 <ulink url="https://artifex.com/mujs/">MuJS</ulink>
107 </para>
108
109 <bridgehead renderas="sect4">Required (runtime)</bridgehead>
110 <para role="required">
111 <xref role="runtime" linkend="x-window-system"/>
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
127<screen><userinput>patch -Np1 -i ../mupdf-&mupdf-version;-shared_libs-1.patch &amp;&amp;
128
129rm -rf thirdparty/curl &amp;&amp;
130rm -rf thirdparty/freetype &amp;&amp;
131rm -rf thirdparty/harfbuzz &amp;&amp;
132rm -rf thirdparty/jpeg &amp;&amp;
133rm -rf thirdparty/openjpeg &amp;&amp;
134rm -rf thirdparty/libjpeg &amp;&amp;
135rm -rf thirdparty/zlib &amp;&amp;
136
137export USE_SYSTEM_LIBS=yes &amp;&amp;
138
139make</userinput></screen>
140
141 <para>
142 This package does not come with a test suite.
143 </para>
144
145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"><userinput>USE_SYSTEM_LIBS=yes \
150make prefix=/usr \
151 build=release \
152 docdir=/usr/share/doc/mupdf-&mupdf-version; \
153 install &amp;&amp;
154
155ln -sfv mupdf-x11 /usr/bin/mupdf &amp;&amp;
156ldconfig</userinput></screen>
157
158 </sect2>
159
160 <sect2 role="commands">
161 <title>Command Explanations</title>
162
163 <para>
164 <command>ln -sfv mupdf-x11 /usr/bin/mupdf </command>:
165 This symbolic link chooses between <command>mupdf-gl</command>
166 and <command>mupdf-x11</command> when running <command>mupdf</command>.
167 </para>
168
169 </sect2>
170
171 <sect2 role="content">
172 <title>Contents</title>
173
174 <segmentedlist>
175 <segtitle>Installed Program</segtitle>
176 <segtitle>Installed Libraries</segtitle>
177 <segtitle>Installed Directories</segtitle>
178
179 <seglistitem>
180 <seg>mupdf(symlink),
181 mupdf-gl,
182 mupdf-x11, and
183 mutool
184 </seg>
185 <seg>libmupdf.so,
186 libmupdfthird.so,
187 libmupkcs7.so, and
188 libmuthreads.so
189 </seg>
190 <seg>/usr/include/mupdf,
191 /usr/share/doc/mupdf-&mupdf-version;
192 </seg>
193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <varlistentry id="mupdf-prog">
202 <term><command>mupdf</command></term>
203 <listitem>
204 <para>
205 is a program for viewing PDF, XPS, EPUB, and CBZ documents,
206 and various image formats such as PNG, JPEG, GIFF, and TIFF.
207 </para>
208 <indexterm zone="mupdf mupdf-prog">
209 <primary sortas="b-mupdf">mupdf</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="mupdf-gl">
215 <term><command>mupdf-gl</command></term>
216 <listitem>
217 <para>
218 same as <command>mupdf</command>, using an opengl renderer.
219 </para>
220 <indexterm zone="mupdf mupdf-gl">
221 <primary sortas="b-mupdf-gl">mupdf-gl</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="mupdf-x11">
227 <term><command>mupdf-x11</command></term>
228 <listitem>
229 <para>
230 same as <command>mupdf</command>, using an X Window renderer.
231 </para>
232 <indexterm zone="mupdf mupdf-x11">
233 <primary sortas="b-mupdf-x11">mupdf-x11</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="libmupdf">
239 <term><filename class="libraryfile">libmupdf.so</filename></term>
240 <listitem>
241 <para>
242 contains the mupdf API functions.
243 </para>
244 <indexterm zone="mupdf libmupdf">
245 <primary sortas="c-libmupdf">libmupdf.so</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="libmupdfthird">
251 <term><filename class="libraryfile">libmupdfthird.so</filename></term>
252 <listitem>
253 <para>
254 contains the third party libraries compiled for mudpf.
255 </para>
256 <indexterm zone="mupdf libmupdfthird">
257 <primary sortas="c-libmupdfthird">libmupdfthird.so</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 </variablelist>
263
264 </sect2>
265
266</sect1>
Note: See TracBrowser for help on using the repository browser.