mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
7d564a1d82
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8646 af4574ff-66df-0310-9fd7-8a98e5e911e0
272 lines
10 KiB
XML
272 lines
10 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;
|
|
|
|
<!ENTITY poppler-download-http "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.gz">
|
|
<!ENTITY poppler-download-ftp " ">
|
|
<!ENTITY poppler-md5sum "a40fe96e1115f648ce4689e667743530">
|
|
<!ENTITY poppler-size "1.7 MB">
|
|
<!ENTITY poppler-buildsize "137 MB (without Qt, but including the encoding data)">
|
|
<!ENTITY poppler-time "1.3 SBU (includes building with most dependencies except Qt)">
|
|
|
|
<!ENTITY poppler-data-version "0.4.3">
|
|
<!ENTITY poppler-data-download-http "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
|
|
<!ENTITY poppler-data-md5sum "2d648047e5d0b315df1571b460ee6a96">
|
|
<!ENTITY poppler-data-size "4.0 MB">
|
|
]>
|
|
|
|
<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
|
|
<?dbhtml filename="poppler.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Poppler-&poppler-version;</title>
|
|
|
|
<indexterm zone="poppler">
|
|
<primary sortas="a-Poppler">Poppler</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Poppler</title>
|
|
|
|
<para>The <application>Poppler</application> package contains a PDF
|
|
rendering library and command line tools used to manipulate PDF files.
|
|
This is useful for providing PDF rendering functionality as a shared
|
|
library.</para>
|
|
|
|
&lfs67_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&poppler-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&poppler-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &poppler-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &poppler-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &poppler-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &poppler-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
<title>Poppler Encoding Data</title>
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&poppler-data-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &poppler-data-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &poppler-data-size;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para>The additional package consists of encoding files for use with
|
|
<application>Poppler</application>. The encoding files are optional and
|
|
<application>Poppler</application> will automatically read them if they are
|
|
present. When installed, they enable <application>Poppler</application> to
|
|
render CJK and Cyrillic properly.</para>
|
|
|
|
<bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><!-- <xref linkend="pkgconfig"/> and -->
|
|
<xref linkend="fontconfig"/></para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended"><xref linkend="libjpeg"/>, <xref linkend="cairo"/>,
|
|
<xref linkend="glib2"/>, and <ulink url="http://www.openjpeg.org">OpenJPEG</ulink>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional"><xref linkend="gtk2"/>, <xref linkend="qt"/>
|
|
<xref linkend="qt4"/>
|
|
<xref linkend="curl"/>
|
|
<xref linkend="libxml2"/>, and
|
|
<xref linkend="lcms"/></para>
|
|
|
|
<para>If you're installing <application>Poppler</application> to support
|
|
<xref linkend="kdegraphics"/>, you will need to have <xref linkend="qt"/>
|
|
installed so that the <filename class='libraryfile'>libpoppler-qt</filename>
|
|
library is built.</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/poppler"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Poppler</title>
|
|
|
|
<caution>
|
|
<para><application>Poppler</application> will overwrite command-line
|
|
utilities and man pages previously installed by the
|
|
<application>Xpdf</application> package. If you prefer to keep the
|
|
<application>Xpdf</application> versions of these files, pass the
|
|
<option>--disable-utils</option> parameter to the
|
|
<command>configure</command> command below.</para>
|
|
</caution>
|
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
--sysconfdir=/etc &&
|
|
make</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>make install &&
|
|
install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &&
|
|
install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
|
|
|
|
<para>If you downloaded the additional encoding data package, install
|
|
it by issuing the following commands:</para>
|
|
|
|
<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &&
|
|
cd poppler-data-&poppler-data-version;</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<!-- This is discouraged by the authors. There is built-in decompression
|
|
and zlib is not needed
|
|
<para><parameter>-enable-zlib</parameter>: This parameter forces the build
|
|
to link with the system-installed
|
|
<filename class='libraryfile'>libz</filename> library to enable compressed
|
|
PDF functionality.</para> -->
|
|
|
|
<para><parameter>--disable-cairo-output</parameter>: This parameter
|
|
disables building the <application>cairo</application> graphics backend.</para>
|
|
|
|
<para><parameter>--disable-poppler-glib</parameter> and
|
|
<parameter>--disable-gtk-test</parameter>: These parameters disable
|
|
building the <application>GLib</application> wrapper and
|
|
<application>GTK+</application> test program.</para>
|
|
|
|
<para><parameter>--disable-static</parameter>: Prevent static libraries
|
|
being built and installed.</para>
|
|
|
|
<para><parameter>--enable-xpdf-headers</parameter>: Install old
|
|
<application>Xpdf</application> headers required by certain programs. These
|
|
are unsupported by <application>Poppler</application>.</para>
|
|
|
|
</sect2>
|
|
|
|
<!--<sect2 role="configuration">
|
|
<title>Configuring Poppler</title>
|
|
|
|
<sect3 id="poppler-config">
|
|
<title>Config Files</title>
|
|
<para><filename>/etc/xpdfrc</filename></para>
|
|
|
|
<indexterm zone="poppler poppler-config">
|
|
<primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
|
|
</indexterm>
|
|
</sect3>
|
|
|
|
</sect2>-->
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg><xref linkend="xpdf-content"/> for the pdf* programs</seg>
|
|
<seg>libpoppler.{so,a}, libpoppler-cpp.{so,a}, libpoppler-glib.{so,a}, libpoppler-qt.{so,a}
|
|
and libpoppler-qt4.{so,a}</seg>
|
|
<seg>/usr/include/poppler, /usr/share/doc/poppler-&poppler-version;,
|
|
/usr/share/gtk-doc/html/poppler and /usr/share/poppler</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libpoppler">
|
|
<term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
|
|
<listitem>
|
|
<para>contains the API functions to render PDF files.</para>
|
|
<indexterm zone="poppler libpoppler">
|
|
<primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libpoppler-cpp">
|
|
<term><filename class='libraryfile'>libpoppler-cpp.{so,a}</filename></term>
|
|
<listitem>
|
|
<para>is a C++ backend for rendering PDF files.</para>
|
|
<indexterm zone="poppler libpoppler-cpp">
|
|
<primary sortas="c-libpoppler-cpp">libpoppler-cpp.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libpoppler-glib">
|
|
<term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
|
|
<listitem>
|
|
<para>is a wrapper library used to interface the PDF rendering
|
|
functions with <application>GTK+</application>.</para>
|
|
<indexterm zone="poppler libpoppler-glib">
|
|
<primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libpoppler-qt">
|
|
<term><filename class='libraryfile'>libpoppler-qt.{so,a}</filename></term>
|
|
<listitem>
|
|
<para>is a wrapper library used to interface the PDF rendering
|
|
functions with <application>Qt</application>.</para>
|
|
<indexterm zone="poppler libpoppler-qt">
|
|
<primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libpoppler-qt4">
|
|
<term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
|
|
<listitem>
|
|
<para>is a wrapper library used to interface the PDF rendering
|
|
functions with <application>Qt</application>-4.</para>
|
|
<indexterm zone="poppler libpoppler-qt4">
|
|
<primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|