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 | <!ENTITY mupdf-download-http "http://www.mupdf.com/downloads/mupdf-&mupdf-version;-source.tar.gz">
|
---|
8 | <!ENTITY mupdf-download-ftp " ">
|
---|
9 | <!ENTITY mupdf-md5sum "8d69db41ae9e0b6807b76bb6ed70dc2f">
|
---|
10 | <!ENTITY mupdf-size "13 MB">
|
---|
11 | <!ENTITY mupdf-buildsize "167 MB">
|
---|
12 | <!ENTITY mupdf-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="mupdf" xreflabel="mupdf-&mupdf-version;">
|
---|
16 | <?dbhtml filename="mupdf.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>MuPDF-&mupdf-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="mupdf">
|
---|
26 | <primary sortas="a-mupdf">mupdf</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to MuPDF</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>MuPDF</application> is a lightweight PDF and XPS viewer.
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs76_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (HTTP): <ulink url="&mupdf-download-http;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (FTP): <ulink url="&mupdf-download-ftp;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download MD5 sum: &mupdf-md5sum;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download size: &mupdf-size;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated disk space required: &mupdf-buildsize;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated build time: &mupdf-time;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
73 | <itemizedlist spacing="compact">
|
---|
74 | <listitem>
|
---|
75 | <para>
|
---|
76 | Recommended patch:
|
---|
77 | <ulink url="&patch-root;/mupdf-&mupdf-version;-openjpeg21-1.patch"/>
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect3">MuPDF Dependencies</bridgehead>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
85 | <para role="required">
|
---|
86 | <xref linkend="xorg7-lib"/>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
90 | <para role="recommended">
|
---|
91 | <xref linkend="libjpeg"/>,
|
---|
92 | <xref linkend="openjpeg2"/>, and
|
---|
93 | <xref linkend="curl"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
97 | <para role="optional">
|
---|
98 | <xref linkend="openssl"/> and
|
---|
99 | <ulink url="http://sourceforge.net/projects/jbig2dec/">jbig2dec</ulink>
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
103 | <para role="required">
|
---|
104 | <xref linkend="x-window-system"/>
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <para condition="html" role="usernotes">
|
---|
108 | User Notes: <ulink url="&blfs-wiki;/mupdf"/>
|
---|
109 | </para>
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2 role="installation">
|
---|
113 | <title>Installation of MuPDF</title>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | Install <application>MuPDF</application> by running the following
|
---|
117 | commands:
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <screen><userinput>rm -rf thirdparty/curl &&
|
---|
121 | rm -rf thirdparty/freetype &&
|
---|
122 | rm -rf thirdparty/jpeg &&
|
---|
123 | rm -rf thirdparty/openjpeg &&
|
---|
124 | rm -rf thirdparty/zlib &&
|
---|
125 | patch -Np1 -i ../mupdf-&mupdf-version;-openjpeg21-1.patch &&
|
---|
126 | make build=release</userinput></screen>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | This package does not come with a test suite.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <screen role="root"><userinput>install -v -m 755 build/release/mupdf-x11-curl /usr/bin/mupdf &&
|
---|
137 | install -v -m 644 docs/man/mupdf.1 /usr/share/man/man1/</userinput></screen>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | <sect2 role="content">
|
---|
142 | <title>Contents</title>
|
---|
143 |
|
---|
144 | <segmentedlist>
|
---|
145 | <segtitle>Installed Program</segtitle>
|
---|
146 | <segtitle>Installed Libraries</segtitle>
|
---|
147 | <segtitle>Installed Directories</segtitle>
|
---|
148 |
|
---|
149 | <seglistitem>
|
---|
150 | <seg>mupdf</seg>
|
---|
151 | <seg>None</seg>
|
---|
152 | <seg>None</seg>
|
---|
153 | </seglistitem>
|
---|
154 | </segmentedlist>
|
---|
155 |
|
---|
156 | <variablelist>
|
---|
157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
158 | <?dbfo list-presentation="list"?>
|
---|
159 | <?dbhtml list-presentation="table"?>
|
---|
160 |
|
---|
161 | <varlistentry id="mupdf-prog">
|
---|
162 | <term><command>mupdf</command></term>
|
---|
163 | <listitem>
|
---|
164 | <para>
|
---|
165 | is a program for viewing PDF and XPS documents.
|
---|
166 | </para>
|
---|
167 | <indexterm zone="mupdf mupdf-prog">
|
---|
168 | <primary sortas="b-mupdf">mupdf</primary>
|
---|
169 | </indexterm>
|
---|
170 | </listitem>
|
---|
171 | </varlistentry>
|
---|
172 | </variablelist>
|
---|
173 |
|
---|
174 | </sect2>
|
---|
175 |
|
---|
176 | </sect1>
|
---|