[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
|
---|
| 8 | can 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">
|
---|
[d4bae4c9] | 10 | <!ENTITY mupdf-download-ftp " ">
|
---|
[96ecf052] | 11 | <!ENTITY mupdf-md5sum "3205256d78d8524d67dd2a47c7a345fa">
|
---|
| 12 | <!ENTITY mupdf-size "14 MB">
|
---|
| 13 | <!ENTITY mupdf-buildsize "145 MB">
|
---|
| 14 | <!ENTITY mupdf-time "0.4 SBU">
|
---|
[d4bae4c9] | 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 |
|
---|
[c02ea85] | 38 | &lfs78_checked;
|
---|
[d4bae4c9] | 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 |
|
---|
[bd81e201] | 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;-openjpeg21-1.patch"/>
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[d4bae4c9] | 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">
|
---|
[bd81e201] | 93 | <xref linkend="libjpeg"/>,
|
---|
| 94 | <xref linkend="openjpeg2"/>, and
|
---|
[94b9889] | 95 | <xref linkend="curl"/>
|
---|
[d4bae4c9] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 99 | <para role="optional">
|
---|
[bd81e201] | 100 | <xref linkend="openssl"/> and
|
---|
[5ff75d2] | 101 | <ulink url="http://downloads.ghostscript.com/public/jbig2dec/">jbig2dec</ulink>
|
---|
[d4bae4c9] | 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
| 105 | <para role="required">
|
---|
| 106 | <xref linkend="x-window-system"/>
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para condition="html" role="usernotes">
|
---|
| 110 | User Notes: <ulink url="&blfs-wiki;/mupdf"/>
|
---|
| 111 | </para>
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="installation">
|
---|
| 115 | <title>Installation of MuPDF</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | Install <application>MuPDF</application> by running the following
|
---|
| 119 | commands:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
[f3429309] | 122 | <screen><userinput>rm -rf thirdparty/curl &&
|
---|
[94b9889] | 123 | rm -rf thirdparty/freetype &&
|
---|
[f3429309] | 124 | rm -rf thirdparty/jpeg &&
|
---|
[bd81e201] | 125 | rm -rf thirdparty/openjpeg &&
|
---|
[f3429309] | 126 | rm -rf thirdparty/zlib &&
|
---|
[96ecf052] | 127 |
|
---|
[bd81e201] | 128 | patch -Np1 -i ../mupdf-&mupdf-version;-openjpeg21-1.patch &&
|
---|
[96ecf052] | 129 |
|
---|
[d4bae4c9] | 130 | make build=release</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | This package does not come with a test suite.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
[94b9889] | 140 | <screen role="root"><userinput>install -v -m 755 build/release/mupdf-x11-curl /usr/bin/mupdf &&
|
---|
[96ecf052] | 141 |
|
---|
[d4bae4c9] | 142 | install -v -m 644 docs/man/mupdf.1 /usr/share/man/man1/</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="content">
|
---|
| 147 | <title>Contents</title>
|
---|
| 148 |
|
---|
| 149 | <segmentedlist>
|
---|
| 150 | <segtitle>Installed Program</segtitle>
|
---|
| 151 | <segtitle>Installed Libraries</segtitle>
|
---|
| 152 | <segtitle>Installed Directories</segtitle>
|
---|
| 153 |
|
---|
| 154 | <seglistitem>
|
---|
| 155 | <seg>mupdf</seg>
|
---|
| 156 | <seg>None</seg>
|
---|
| 157 | <seg>None</seg>
|
---|
| 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="mupdf-prog">
|
---|
| 167 | <term><command>mupdf</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>
|
---|
| 170 | is a program for viewing PDF and XPS documents.
|
---|
| 171 | </para>
|
---|
| 172 | <indexterm zone="mupdf mupdf-prog">
|
---|
| 173 | <primary sortas="b-mupdf">mupdf</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 | </variablelist>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | </sect1>
|
---|