Update to poppler-0.18.2, except for users of kdegraphics.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9720 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2012-03-16 21:34:41 +00:00
parent ce9d22aa7e
commit a5dfefb236
6 changed files with 385 additions and 61 deletions

View File

@ -265,7 +265,8 @@ $Date$
<!ENTITY libexif-version "0.6.20">
<!ENTITY exiv2-version "0.22">
<!ENTITY fribidi-version "0.19.2">
<!ENTITY poppler-version "0.14.4">
<!ENTITY poppler-014-version "0.14.4">
<!ENTITY poppler-version "0.18.2">
<!ENTITY jasper-version "1.900.1">
<!ENTITY pixman-version "0.24.0">
<!ENTITY clutter-version "1.8.2">

View File

@ -36,6 +36,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libexif.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="exiv2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fribidi.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="poppler-014.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="poppler.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="jasper.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pixman.xml"/>

View File

@ -0,0 +1,231 @@
<?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-014-download-http "http://poppler.freedesktop.org/poppler-&poppler-014-version;.tar.gz">
<!ENTITY poppler-014-download-ftp " ">
<!ENTITY poppler-014-md5sum "a40fe96e1115f648ce4689e667743530">
<!ENTITY poppler-014-size "1.7 MB">
<!-- these figures were for 6.7 with "most dependencies except Qt - that probably meant
without qt4, so leaving as best estimate -->
<!ENTITY poppler-014-buildsize "137 MB">
<!ENTITY poppler-014-time "1.3 SBU">
]>
<sect1 id="poppler-014" xreflabel="Poppler-&poppler-014-version;">
<?dbhtml filename="poppler-014.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Poppler-&poppler-014-version;</title>
<indexterm zone="poppler-014">
<primary sortas="a-Poppler-014">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>
<para>This old version is usable by <xref linkend="kdegraphics"/>. If you are not
building that package, please use <xref linkend="poppler"/>. The two versions of
<application>poppler</application> install similar programs, libraries, and
pkgconfig files.</para>
&lfs67_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&poppler-014-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&poppler-014-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &poppler-014-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &poppler-014-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &poppler-014-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &poppler-014-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="fontconfig"/>,
<xref linkend="pkgconfig"/>, and
<xref linkend="qt"/> (so that the
<filename class='libraryfile'>libpoppler-qt</filename> library is built.</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended"><xref linkend="libjpeg"/>, <xref linkend="cairo"/>,
and <ulink url="http://www.openjpeg.org">OpenJPEG</ulink>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="gtk2"/>,
<xref linkend="qt4"/>,
<xref linkend="curl"/>,
<xref linkend="libxml2"/>, and
<xref linkend="lcms"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/poppler-014"/></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 &amp;&amp;
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 &amp;&amp;
install -v -m755 -d /usr/share/doc/poppler-&poppler-014-version; &amp;&amp;
install -v -m644 README* /usr/share/doc/poppler-&poppler-014-version;</userinput></screen>
<para>If you wish to download and install the optional encoding files to
render CJK and Cyrillic properly, please follow the instructions for the Additional
Encoding Data on the <xref linkend="poppler"/> page - this version of
<application>poppler</application> will automatically read them if they are
present when it runs.</para>
</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="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-014">
<term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
<listitem>
<para>contains the API functions to render PDF files.</para>
<indexterm zone="poppler-014 libpoppler-014">
<primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpoppler-014-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-014 libpoppler-014-cpp">
<primary sortas="c-libpoppler-cpp">libpoppler-cpp.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpoppler-014-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-014 libpoppler-014-glib">
<primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpoppler-014-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-014 libpoppler-014-qt">
<primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpoppler-014-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-014 libpoppler-014-qt4">
<primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -6,14 +6,14 @@
<!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-md5sum "38616927823ef01937aab26872e957e4">
<!ENTITY poppler-size "1.9 MB">
<!ENTITY poppler-buildsize "112 MB (including the encoding data)">
<!ENTITY poppler-time "1.2 SBU (includes building with most dependencies)">
<!ENTITY poppler-data-version "0.4.3">
<!ENTITY poppler-data-version "0.4.5">
<!ENTITY poppler-data-download-http "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
<!ENTITY poppler-data-md5sum "2d648047e5d0b315df1571b460ee6a96">
<!ENTITY poppler-data-md5sum "448dd7c5077570e340340706cef931aa">
<!ENTITY poppler-data-size "4.0 MB">
]>
@ -39,7 +39,7 @@
This is useful for providing PDF rendering functionality as a shared
library.</para>
&lfs67_checked;
&lfs71_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -96,17 +96,13 @@
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="gtk2"/>, <xref linkend="qt"/>
<para role="optional"><xref linkend="gtk2"/>,
<xref linkend="qt4"/>
<xref linkend="curl"/>
<xref linkend="libtiff"/>,
<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>
@ -125,7 +121,7 @@
</caution>
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc &amp;&amp;
--sysconfdir=/etc --disable-static &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
@ -158,37 +154,24 @@ cd poppler-data-&poppler-data-version;</userinput></screen>
<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
<para><option>--disable-cairo-output</option>: This parameter
disables building the <application>cairo</application> graphics backend.</para>
<para><option>--disable-poppler-glib</option>,
<option>--disable-poppler-qt4</option> and
<option>--disable-gtk-test</option>: These parameters disable
building the <application>GLib</application> and <application>qt4</application>
wrappers and the <application>GTK+</application> test program.</para>
<para><option>--enable-xpdf-headers</option>: 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>
@ -198,9 +181,10 @@ cd poppler-data-&poppler-data-version;</userinput></screen>
<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>pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml,
pdftoppm, pdftops, pdftotext, pdfunite, poppler-glib-demo</seg>
<seg>libpoppler.so, libpoppler-cpp.so, libpoppler-glib.so,
and libpoppler-qt4.so</seg>
<seg>/usr/include/poppler, /usr/share/doc/poppler-&poppler-version;,
/usr/share/gtk-doc/html/poppler and /usr/share/poppler</seg>
</seglistitem>
@ -211,55 +195,159 @@ cd poppler-data-&poppler-data-version;</userinput></screen>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="pdffonts-poppler">
<term><command>pdffonts</command></term>
<listitem>
<para>lists the fonts used in a PDF file along
with various information for each font.</para>
<indexterm zone="poppler pdffonts">
<primary sortas="b-pdffonts">pdffonts</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdfimages-poppler">
<term><command>pdfimages</command></term>
<listitem>
<para>saves images from a PDF file as PPM, PBM, or JPEG files.</para>
<indexterm zone="poppler pdfimages">
<primary sortas="b-pdfimages">pdfimages</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdfinfo-poppler">
<term><command>pdfinfo</command></term>
<listitem>
<para>prints the contents of the 'Info' dictionary (plus some
other useful information) from a PDF file.</para>
<indexterm zone="poppler pdfinfo">
<primary sortas="b-pdfinfo">pdfinfo</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdfseparate">
<term><command>pdfseparate</command></term>
<listitem>
<para>extracts single pages from a PDF file.</para>
<indexterm zone="poppler pdfseparate">
<primary sortas="b-pdseparate">pdfseparate</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdftocairo">
<term><command>pdftocairo</command></term>
<listitem>
<para>converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
EPS, SVG) using the cairo output device of the poppler library.</para>
<indexterm zone="poppler pdftocairo">
<primary sortas="b-pdftocairo">pdftocairo</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdftohtml">
<term><command>pdftohtml</command></term>
<listitem>
<para>converts a PDF file to HTML.</para>
<indexterm zone="poppler pdftohtml">
<primary sortas="b-pdftohtml">pdftohtml</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdftoppm-poppler">
<term><command>pdftoppm</command></term>
<listitem>
<para>converts PDF files to PBM, PGM and PPM formats.</para>
<indexterm zone="poppler pdftoppm">
<primary sortas="b-pdftoppm">pdftoppm</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdftops-poppler">
<term><command>pdftops</command></term>
<listitem>
<para> converts PDF files to Postscript format.</para>
<indexterm zone="poppler pdftops">
<primary sortas="b-pdftops">pdftops</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdftotext-poppler">
<term><command>pdftotext</command></term>
<listitem>
<para>converts PDF files to plain text.</para>
<indexterm zone="poppler pdftotext">
<primary sortas="b-pdftotext">pdftotext</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdfunite">
<term><command>pdfunite</command></term>
<listitem>
<para>merges several PDF files, in the order of their occurrence on the
command line, to one PDF output file.</para>
<indexterm zone="poppler pdfunite">
<primary sortas="b-pdfunite">pdfunite</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="poppler-glib-demo">
<term><command>poppler-glib-demo</command></term>
<listitem>
<para>is a tool to demonstrate the API, and for use when debugging and
testing <application>poppler</application>.</para>
<indexterm zone="poppler poppler-glib-demo">
<primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpoppler">
<term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
<term><filename class='libraryfile'>libpoppler.so</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>
<primary sortas="c-libpoppler">libpoppler.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpoppler-cpp">
<term><filename class='libraryfile'>libpoppler-cpp.{so,a}</filename></term>
<term><filename class='libraryfile'>libpoppler-cpp.so</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>
<primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpoppler-glib">
<term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
<term><filename class='libraryfile'>libpoppler-glib.so</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>
<primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpoppler-qt4">
<term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
<term><filename class='libraryfile'>libpoppler-qt4.so</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>
<primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
</indexterm>
</listitem>
</varlistentry>

View File

@ -50,6 +50,9 @@
<listitem>
<para>[abenton] - Gtk+ 3.2.4.</para>
</listitem>
<listitem>
<para>[ken] - Poppler-0.18.2.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -90,7 +90,7 @@
(not recommended: obsolete, abandoned upstream,
needed only for the <command>kuickshow</command> image viewer,
<xref linkend="lcms"/>,
<xref linkend="poppler"/>
<xref linkend="poppler-014"/>
(<filename class='libraryfile'>libpoppler-qt.so</filename> must have
been built),
<xref linkend="sane"/>,