source: pst/ps/mupdf.xml@ 5431aad

11.1 11.2 11.3 12.0 12.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 5431aad was 12b6e53, checked in by Xi Ruoyao <xry111@…>, 2 years ago

mupdf: fix a typo producing bad hyperlink

  • Property mode set to 100644
File size: 8.5 KB
RevLine 
[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
8can be found there, no need to change directory -->
[c6b192c]9 <!ENTITY mupdf-download-http "https://www.mupdf.com/downloads/archive/mupdf-&mupdf-version;-source.tar.gz">
[d4bae4c9]10 <!ENTITY mupdf-download-ftp " ">
[313f9a6]11 <!ENTITY mupdf-md5sum "5b27f800ea926996f428505b93fdd1e0">
12 <!ENTITY mupdf-size "87 MB">
13 <!ENTITY mupdf-buildsize "387 MB">
[388747dd]14 <!ENTITY mupdf-time "0.2 SBU (Using parallelism=4)">
[d4bae4c9]15]>
16
17<sect1 id="mupdf" xreflabel="mupdf-&mupdf-version;">
18 <?dbhtml filename="mupdf.html"?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>MuPDF-&mupdf-version;</title>
25
26 <indexterm zone="mupdf">
27 <primary sortas="a-mupdf">mupdf</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to MuPDF</title>
32
33 <para>
34 <application>MuPDF</application> is a lightweight PDF and XPS viewer.
35 </para>
36
[da54a62]37 &lfs110a_checked;
[d4bae4c9]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&mupdf-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&mupdf-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &mupdf-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &mupdf-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &mupdf-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &mupdf-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
[313f9a6]73<!--
[4f808b6]74 <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Required patch: <ulink
79 url="&patch-root;/mupdf-&mupdf-version;-security_fix-1.patch"/>
80 </para>
81 </listitem>
82 </itemizedlist>
[313f9a6]83-->
[4f808b6]84
[d4bae4c9]85 <bridgehead renderas="sect3">MuPDF Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Required</bridgehead>
88 <para role="required">
[a4c3c48]89 <xref linkend="glu"/> and <!-- previously recommended via system freeglut -->
[d4bae4c9]90 <xref linkend="xorg7-lib"/>
91 </para>
92
93 <bridgehead renderas="sect4">Recommended</bridgehead>
94 <para role="recommended">
[7b43b6a]95 <!--<xref linkend="freeglut"/>, use of the bundled glut is preferred -->
[41745476]96 <xref linkend="harfbuzz"/>,
[13c6e90]97 <!-- This no-longer gets linked in with our system libs patch
98 <xref linkend="lcms2"/>, -->
[bd81e201]99 <xref linkend="libjpeg"/>,
100 <xref linkend="openjpeg2"/>, and
[94b9889]101 <xref linkend="curl"/>
[d4bae4c9]102 </para>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
[f5cdf41]106 <xref role="runtime" linkend="xdg-utils"/> (runtime),
[2f727d8f]107 <ulink url="https://jbig2dec.com">jbig2dec</ulink>, and
[12b6e53]108 <ulink url="https://mujs.com/">MuJS</ulink>
[d4bae4c9]109 </para>
110
111 <bridgehead renderas="sect4">Required (runtime)</bridgehead>
112 <para role="required">
[f5cdf41]113 <xref role="runtime" linkend="x-window-system"/>
[d4bae4c9]114 </para>
115
116 <para condition="html" role="usernotes">
117 User Notes: <ulink url="&blfs-wiki;/mupdf"/>
118 </para>
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of MuPDF</title>
123
[388747dd]124 <para>First, fix the Makefile to link properly with the shared library:</para>
125
126<screen><userinput>sed -i '/MU.*_EXE. :/{
[7b43b6a]127 s/\(.(MUPDF_LIB)\)\(.*\)$/\2 | \1/
[388747dd]128 N
[7b43b6a]129 s/$/ -lmupdf -L$(OUT)/
[388747dd]130 }' Makefile</userinput></screen>
131
[d4bae4c9]132 <para>
133 Install <application>MuPDF</application> by running the following
134 commands:
135 </para>
136
[388747dd]137<screen><userinput>cat &gt; user.make &lt;&lt; EOF &amp;&amp;
138USE_SYSTEM_FREETYPE := yes
139USE_SYSTEM_HARFBUZZ := yes
140USE_SYSTEM_JBIG2DEC := no
141USE_SYSTEM_JPEGXR := no # not used without HAVE_JPEGXR
142USE_SYSTEM_LCMS2 := no # need lcms2-art fork
143USE_SYSTEM_LIBJPEG := yes
144USE_SYSTEM_MUJS := no # build needs source anyways
145USE_SYSTEM_OPENJPEG := yes
146USE_SYSTEM_ZLIB := yes
147USE_SYSTEM_GLUT := no # need freeglut2-art fork
148USE_SYSTEM_CURL := yes
149USE_SYSTEM_GUMBO := no
150EOF
151
[4f808b6]152export XCFLAGS=-fPIC &amp;&amp;
153make build=release shared=yes &amp;&amp;
[388747dd]154unset XCFLAGS</userinput></screen>
[d4bae4c9]155
156 <para>
157 This package does not come with a test suite.
158 </para>
159
160 <para>
161 Now, as the <systemitem class="username">root</systemitem> user:
162 </para>
163
[388747dd]164<screen role="root"><userinput>make prefix=/usr \
165 shared=yes \
[ff3a9a0]166 docdir=/usr/share/doc/mupdf-&mupdf-version; \
[6a5eaa0]167 install &amp;&amp;
[dd168618]168
[388747dd]169chmod 755 /usr/lib/libmupdf.so &amp;&amp;
170ln -sfv mupdf-x11 /usr/bin/mupdf</userinput></screen>
[ff3a9a0]171
172 </sect2>
173
174 <sect2 role="commands">
175 <title>Command Explanations</title>
176
177 <para>
[8558044]178 <command>ln -sfv mupdf-x11 /usr/bin/mupdf </command>:
[d97e2f71]179 This symbolic link chooses between <command>mupdf-gl</command>
180 and <command>mupdf-x11</command> when running <command>mupdf</command>.
[ff3a9a0]181 </para>
[d4bae4c9]182
183 </sect2>
184
185 <sect2 role="content">
186 <title>Contents</title>
187
188 <segmentedlist>
189 <segtitle>Installed Program</segtitle>
190 <segtitle>Installed Libraries</segtitle>
191 <segtitle>Installed Directories</segtitle>
192
193 <seglistitem>
[014e63e]194 <seg>
[8558044]195 mupdf (symlink),
196 mupdf-gl,
197 mupdf-x11,
[388747dd]198 mupdf-x11-curl,
[014e63e]199 muraster, and
200 mutool
[90dd633]201 </seg>
[014e63e]202 <seg>
[388747dd]203 libmupdf.so
[90dd633]204 </seg>
[014e63e]205 <seg>
[8558044]206 /usr/include/mupdf,
[014e63e]207 /usr/share/doc/mupdf-&mupdf-version;
[90dd633]208 </seg>
[d4bae4c9]209 </seglistitem>
210 </segmentedlist>
211
212 <variablelist>
213 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
214 <?dbfo list-presentation="list"?>
215 <?dbhtml list-presentation="table"?>
216
217 <varlistentry id="mupdf-prog">
218 <term><command>mupdf</command></term>
219 <listitem>
220 <para>
[ff3a9a0]221 is a program for viewing PDF, XPS, EPUB, and CBZ documents,
[4c24eb0a]222 and various image formats such as PNG, JPEG, GIFF, and TIFF
[d4bae4c9]223 </para>
224 <indexterm zone="mupdf mupdf-prog">
225 <primary sortas="b-mupdf">mupdf</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
[ff3a9a0]229
230 <varlistentry id="mupdf-gl">
231 <term><command>mupdf-gl</command></term>
232 <listitem>
233 <para>
[4c24eb0a]234 same as <command>mupdf</command>, using an opengl renderer
[ff3a9a0]235 </para>
236 <indexterm zone="mupdf mupdf-gl">
237 <primary sortas="b-mupdf-gl">mupdf-gl</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="mupdf-x11">
243 <term><command>mupdf-x11</command></term>
244 <listitem>
245 <para>
[4c24eb0a]246 same as <command>mupdf</command>, using an X Window renderer
[ff3a9a0]247 </para>
248 <indexterm zone="mupdf mupdf-x11">
249 <primary sortas="b-mupdf-x11">mupdf-x11</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
[014e63e]254 <varlistentry id="muraster">
255 <term><command>muraster</command></term>
256 <listitem>
257 <para>
258 is a program used to perform rasterization tasks with PDF
[4c24eb0a]259 documents
[014e63e]260 </para>
261 <indexterm zone="mupdf muraster">
262 <primary sortas="b-muraster">muraster</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
[c1ee005]267 <varlistentry id="mutool">
268 <term><command>mutool</command></term>
269 <listitem>
270 <para>
271 is a program to perform various operations on PDF files, such
[4c24eb0a]272 as merging and cleaning PDF documents
[c1ee005]273 </para>
274 <indexterm zone="mupdf mutool">
275 <primary sortas="b-mutool">mutool</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
[ff3a9a0]280 <varlistentry id="libmupdf">
281 <term><filename class="libraryfile">libmupdf.so</filename></term>
282 <listitem>
283 <para>
[4c24eb0a]284 contains the mupdf API functions
[ff3a9a0]285 </para>
286 <indexterm zone="mupdf libmupdf">
287 <primary sortas="c-libmupdf">libmupdf.so</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
[d4bae4c9]292 </variablelist>
293
294 </sect2>
295
296</sect1>
Note: See TracBrowser for help on using the repository browser.