[5474306] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY poppler-download-http "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.gz">
|
---|
[9fd515e8] | 8 | <!ENTITY poppler-download-ftp " ">
|
---|
| 9 | <!ENTITY poppler-md5sum "2bb1c75aa3f9c42f0ba48b5492e6d32c">
|
---|
| 10 | <!ENTITY poppler-size "783 KB">
|
---|
| 11 | <!ENTITY poppler-buildsize "35.3 MB">
|
---|
| 12 | <!ENTITY poppler-time "0.9 SBU">
|
---|
[5474306] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
|
---|
| 16 | <?dbhtml filename="poppler.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[3ca3085] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[5474306] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Poppler-&poppler-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="poppler">
|
---|
| 26 | <primary sortas="a-Poppler">Poppler</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Poppler</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Poppler</application> package contains a PDF
|
---|
| 33 | rendering library. This is useful for providing PDF rendering
|
---|
| 34 | functionality as a shared library.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&poppler-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&poppler-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &poppler-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &poppler-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &poppler-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &poppler-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[caa1fce] | 61 | <para role="optional"><xref linkend="pkgconfig"/>,
|
---|
[5474306] | 62 | <xref linkend="libjpeg"/>,
|
---|
| 63 | <xref linkend="fontconfig"/>,
|
---|
| 64 | <xref linkend="cairo"/>,
|
---|
| 65 | <xref linkend="gtk2"/>,
|
---|
[9fd515e8] | 66 | <xref linkend="qt"/>, and
|
---|
[5474306] | 67 | <ulink url="http://www.trolltech.com/download/opensource.html">Qt-4.x.x</ulink></para>
|
---|
| 68 |
|
---|
[f379151] | 69 | <para>If you're installing <application>Poppler</application> to support
|
---|
| 70 | <xref linkend="kdegraphics"/>, you will need to have <xref linkend="qt"/>
|
---|
| 71 | installed so that the <filename class='libraryfile'>libpoppler-qt</filename>
|
---|
| 72 | library is built.</para>
|
---|
| 73 |
|
---|
[1039de3] | 74 | <para condition="html" role="usernotes">User Notes:
|
---|
| 75 | <ulink url="&blfs-wiki;/poppler"/></para>
|
---|
| 76 |
|
---|
[5474306] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of Poppler</title>
|
---|
| 81 |
|
---|
[1ad729f] | 82 | <note>
|
---|
| 83 | <para>If you are installing a version of
|
---|
| 84 | <application>Poppler</application> >= 5.1 to support an installation
|
---|
| 85 | of <xref linkend="evince"/>, note that command-line utilities and man
|
---|
| 86 | pages are installed which will overwrite these same files installed by
|
---|
| 87 | the <application>Xpdf</application> package. If you'd prefer to keep the
|
---|
| 88 | <application>Xpdf</application> versions of these files, use the
|
---|
| 89 | <option>--bindir=</option> and <option>--mandir=</option> parameters
|
---|
| 90 | passed to the <command>configure</command> script to install these files
|
---|
| 91 | to a safe location (e.g., <envar>$HOME</envar> or
|
---|
| 92 | <filename class='directory'>/tmp</filename>. An alternative method to
|
---|
| 93 | not overwrite the command-line utilities is to use the
|
---|
| 94 | <option>--disable-utils</option> parameter.</para>
|
---|
| 95 | </note>
|
---|
| 96 |
|
---|
[5474306] | 97 | <para>Install <application>Poppler</application> by running the following
|
---|
| 98 | commands:</para>
|
---|
| 99 |
|
---|
[1ad729f] | 100 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
| 101 | --enable-opi \
|
---|
| 102 | --enable-zlib \
|
---|
[5474306] | 103 | --disable-splash-output \
|
---|
| 104 | --disable-cairo-output \
|
---|
| 105 | --disable-poppler-glib --disable-gtk-test &&
|
---|
| 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | <para>This package does not come with a test suite.</para>
|
---|
| 109 |
|
---|
| 110 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 111 |
|
---|
| 112 | <screen role="root"><userinput>make install &&
|
---|
| 113 | install -v -m644 -D README /usr/share/doc/poppler-&poppler-version;/README</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
| 120 | <para><parameter>--enable-opi</parameter>: This parameter forces the build
|
---|
| 121 | to include support for OPI comments.</para>
|
---|
| 122 |
|
---|
[1ad729f] | 123 | <para><parameter>--enable-zlib</parameter>: This parameter forces the build
|
---|
| 124 | to link with the system-installed
|
---|
| 125 | <filename class='libraryfile'>libz</filename> library to enable compressed
|
---|
| 126 | PDF functionality.</para>
|
---|
| 127 |
|
---|
[5474306] | 128 | <para><parameter>--disable-splash-output</parameter>: This parameter
|
---|
| 129 | disables building the Splash graphics backend. Remove this parameter if
|
---|
| 130 | you have <application>Fontconfig</application> installed.</para>
|
---|
| 131 |
|
---|
| 132 | <para><parameter>--disable-cairo-output</parameter>: This parameter
|
---|
| 133 | disables building the <application>cairo</application> graphics backend.
|
---|
| 134 | Remove this parameter if you have <application>cairo</application>
|
---|
| 135 | installed.</para>
|
---|
| 136 |
|
---|
| 137 | <para><parameter>--disable-poppler-glib</parameter> and
|
---|
| 138 | <parameter>--disable-gtk-test</parameter>: These parameters disable
|
---|
| 139 | building the <application>GLib</application> wrapper and
|
---|
| 140 | <application>GTK+</application> test program. Remove these parameters if
|
---|
| 141 | you have <application>GTK+</application>-2 installed. Note that if you
|
---|
[3ca3085] | 142 | plan on building <xref linkend="evince"/>, you must build the
|
---|
[5474306] | 143 | <application>GLib</application> wrapper.</para>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="configuration">
|
---|
| 148 | <title>Configuring Poppler</title>
|
---|
| 149 |
|
---|
| 150 | <sect3 id="poppler-config">
|
---|
| 151 | <title>Config Files</title>
|
---|
| 152 | <para><filename>/etc/xpdfrc</filename></para>
|
---|
| 153 |
|
---|
| 154 | <indexterm zone="poppler poppler-config">
|
---|
| 155 | <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </sect3>
|
---|
| 158 |
|
---|
[1ad729f] | 159 | <!-- <sect3><title>Configuration Information</title>
|
---|
[5474306] | 160 |
|
---|
| 161 | <para>No specific configuration is required.</para>
|
---|
| 162 |
|
---|
[1ad729f] | 163 | </sect3> -->
|
---|
[5474306] | 164 |
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | <sect2 role="content">
|
---|
| 168 | <title>Contents</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
| 171 | <segtitle>Installed Programs</segtitle>
|
---|
| 172 | <segtitle>Installed Libraries</segtitle>
|
---|
| 173 | <segtitle>Installed Directories</segtitle>
|
---|
| 174 |
|
---|
| 175 | <seglistitem>
|
---|
| 176 | <seg>None</seg>
|
---|
[1039de3] | 177 | <seg>libpoppler.{so,a}, libpoppler-glib.{so,a},
|
---|
| 178 | libpoppler-qt.{so,a} and libpoppler-qt4.{so,a}</seg>
|
---|
[5474306] | 179 | <seg>/usr/include/poppler and
|
---|
| 180 | /usr/share/doc/poppler-&poppler-version;</seg>
|
---|
| 181 | </seglistitem>
|
---|
| 182 | </segmentedlist>
|
---|
| 183 |
|
---|
| 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
| 187 | <?dbhtml list-presentation="table"?>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="libpoppler">
|
---|
[1039de3] | 190 | <term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
|
---|
[5474306] | 191 | <listitem>
|
---|
| 192 | <para>contains the API functions to render PDF files.</para>
|
---|
| 193 | <indexterm zone="poppler libpoppler">
|
---|
[1039de3] | 194 | <primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
|
---|
[5474306] | 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="libpoppler-glib">
|
---|
[1039de3] | 200 | <term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
|
---|
[5474306] | 201 | <listitem>
|
---|
| 202 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 203 | functions with <application>GTK+</application>.</para>
|
---|
| 204 | <indexterm zone="poppler libpoppler-glib">
|
---|
[1039de3] | 205 | <primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
|
---|
[5474306] | 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="libpoppler-qt">
|
---|
[1039de3] | 211 | <term><filename class='libraryfile'>libpoppler-qt.{so,a}</filename></term>
|
---|
[5474306] | 212 | <listitem>
|
---|
| 213 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 214 | functions with <application>Qt</application>.</para>
|
---|
| 215 | <indexterm zone="poppler libpoppler-qt">
|
---|
[1039de3] | 216 | <primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
|
---|
[5474306] | 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="libpoppler-qt4">
|
---|
[1039de3] | 222 | <term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
|
---|
[5474306] | 223 | <listitem>
|
---|
| 224 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 225 | functions with <application>Qt</application>-4.</para>
|
---|
| 226 | <indexterm zone="poppler libpoppler-qt4">
|
---|
[1039de3] | 227 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
|
---|
[5474306] | 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | </variablelist>
|
---|
| 233 |
|
---|
| 234 | </sect2>
|
---|
| 235 |
|
---|
| 236 | </sect1>
|
---|