glfs/pst/ps/mupdf.xml
Fernando de Oliveira f34293095b • mupdf-1.8: minor reformat.
• removing spaces from EOL, from Denis Mugnier.
• BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate
  the book. One chunck had been removed. Bruce, please check if it is
  OK, now.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16645 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-11-13 14:24:57 +00:00

182 lines
4.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!--Using archive URL, because when a new version is released, older and new
can be found there, no need to change directory -->
<!ENTITY mupdf-download-http "http://www.mupdf.com/downloads/archive/mupdf-&mupdf-version;-source.tar.gz">
<!ENTITY mupdf-download-ftp " ">
<!ENTITY mupdf-md5sum "3205256d78d8524d67dd2a47c7a345fa">
<!ENTITY mupdf-size "14 MB">
<!ENTITY mupdf-buildsize "145 MB">
<!ENTITY mupdf-time "0.4 SBU">
]>
<sect1 id="mupdf" xreflabel="mupdf-&mupdf-version;">
<?dbhtml filename="mupdf.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>MuPDF-&mupdf-version;</title>
<indexterm zone="mupdf">
<primary sortas="a-mupdf">mupdf</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to MuPDF</title>
<para>
<application>MuPDF</application> is a lightweight PDF and XPS viewer.
</para>
&lfs78_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&mupdf-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&mupdf-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &mupdf-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &mupdf-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &mupdf-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &mupdf-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Recommended patch:
<ulink url="&patch-root;/mupdf-&mupdf-version;-openjpeg21-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">MuPDF Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="xorg7-lib"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="libjpeg"/>,
<xref linkend="openjpeg2"/>, and
<xref linkend="curl"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="openssl"/> and
<ulink url="http://downloads.ghostscript.com/public/jbig2dec/">jbig2dec</ulink>
</para>
<bridgehead renderas="sect4">Required (runtime)</bridgehead>
<para role="required">
<xref linkend="x-window-system"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/mupdf"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of MuPDF</title>
<para>
Install <application>MuPDF</application> by running the following
commands:
</para>
<screen><userinput>rm -rf thirdparty/curl &amp;&amp;
rm -rf thirdparty/freetype &amp;&amp;
rm -rf thirdparty/jpeg &amp;&amp;
rm -rf thirdparty/openjpeg &amp;&amp;
rm -rf thirdparty/zlib &amp;&amp;
patch -Np1 -i ../mupdf-&mupdf-version;-openjpeg21-1.patch &amp;&amp;
make build=release</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>install -v -m 755 build/release/mupdf-x11-curl /usr/bin/mupdf &amp;&amp;
install -v -m 644 docs/man/mupdf.1 /usr/share/man/man1/</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>mupdf</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="mupdf-prog">
<term><command>mupdf</command></term>
<listitem>
<para>
is a program for viewing PDF and XPS documents.
</para>
<indexterm zone="mupdf mupdf-prog">
<primary sortas="b-mupdf">mupdf</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>