add mupdf

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14886 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Igor Živković 2014-11-12 15:06:27 +00:00
parent 9918de7707
commit d4bae4c9d0
5 changed files with 175 additions and 2 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "11"> <!-- Always 2 digits -->
<!ENTITY day "12"> <!-- Always 2 digits -->
<!ENTITY month "11"> <!-- Always 2 digits -->
<!ENTITY year "2014">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "November 11th, &year;">
<!ENTITY releasedate "November 12th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development] -->

View File

@ -44,6 +44,16 @@
-->
<listitem>
<para>November 12th, 2014</para>
<itemizedlist>
<listitem>
<para>[igor] - Added mupdf-1.6. Fixes
<ulink url="&blfs-ticket-root;5779">#5779</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>November 11th, 2014</para>
<itemizedlist>

View File

@ -737,6 +737,7 @@
<!ENTITY psutils-version "p17">
<!ENTITY epdfview-version "0.1.8">
<!ENTITY fop-version "1.1">
<!ENTITY mupdf-version "1.6">
<!ENTITY paps-version "0.6.8">
<!-- Chapter 47 -->

161
pst/ps/mupdf.xml Normal file
View File

@ -0,0 +1,161 @@
<?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;
<!ENTITY mupdf-download-http "http://www.mupdf.com/downloads/mupdf-&mupdf-version;-source.tar.gz">
<!ENTITY mupdf-download-ftp " ">
<!ENTITY mupdf-md5sum "8d69db41ae9e0b6807b76bb6ed70dc2f">
<!ENTITY mupdf-size "13 MB">
<!ENTITY mupdf-buildsize "162 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>
&lfs76_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">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"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="https://code.google.com/p/openjpeg/">OpenJPEG-2</ulink> and
<ulink url="http://sourceforge.net/projects/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/freetype &amp;&amp;
rm -rf thirdparty/jpeg &amp;&amp;
rm -rf thirdparty/zlib &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 /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>

View File

@ -24,6 +24,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="epdfview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fop.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mupdf.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="paps.xml"/>
</chapter>