[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>
|
---|
[caa1fce] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">poppler-&poppler-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">poppler</keyword>
|
---|
[caa1fce] | 24 | </keywordset>
|
---|
[5474306] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>Poppler-&poppler-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="poppler">
|
---|
| 30 | <primary sortas="a-Poppler">Poppler</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to Poppler</title>
|
---|
| 35 |
|
---|
| 36 | <para>The <application>Poppler</application> package contains a PDF
|
---|
| 37 | rendering library. This is useful for providing PDF rendering
|
---|
| 38 | functionality as a shared library.</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&poppler-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&poppler-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &poppler-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &poppler-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &poppler-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &poppler-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[caa1fce] | 65 | <para role="optional"><xref linkend="pkgconfig"/>,
|
---|
[5474306] | 66 | <xref linkend="libjpeg"/>,
|
---|
| 67 | <xref linkend="fontconfig"/>,
|
---|
| 68 | <xref linkend="cairo"/>,
|
---|
| 69 | <xref linkend="gtk2"/>,
|
---|
[9fd515e8] | 70 | <xref linkend="qt"/>, and
|
---|
[5474306] | 71 | <ulink url="http://www.trolltech.com/download/opensource.html">Qt-4.x.x</ulink></para>
|
---|
| 72 |
|
---|
[f379151] | 73 | <para>If you're installing <application>Poppler</application> to support
|
---|
| 74 | <xref linkend="kdegraphics"/>, you will need to have <xref linkend="qt"/>
|
---|
| 75 | installed so that the <filename class='libraryfile'>libpoppler-qt</filename>
|
---|
| 76 | library is built.</para>
|
---|
| 77 |
|
---|
[1039de3] | 78 | <para condition="html" role="usernotes">User Notes:
|
---|
| 79 | <ulink url="&blfs-wiki;/poppler"/></para>
|
---|
| 80 |
|
---|
[5474306] | 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of Poppler</title>
|
---|
| 85 |
|
---|
| 86 | <para>Install <application>Poppler</application> by running the following
|
---|
| 87 | commands:</para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc --enable-opi \
|
---|
| 90 | --disable-splash-output \
|
---|
| 91 | --disable-cairo-output \
|
---|
| 92 | --disable-poppler-glib --disable-gtk-test &&
|
---|
| 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>This package does not come with a test suite.</para>
|
---|
| 96 |
|
---|
| 97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 |
|
---|
| 99 | <screen role="root"><userinput>make install &&
|
---|
| 100 | install -v -m644 -D README /usr/share/doc/poppler-&poppler-version;/README</userinput></screen>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="commands">
|
---|
| 105 | <title>Command Explanations</title>
|
---|
| 106 |
|
---|
| 107 | <para><parameter>--enable-opi</parameter>: This parameter forces the build
|
---|
| 108 | to include support for OPI comments.</para>
|
---|
| 109 |
|
---|
| 110 | <para><parameter>--disable-splash-output</parameter>: This parameter
|
---|
| 111 | disables building the Splash graphics backend. Remove this parameter if
|
---|
| 112 | you have <application>Fontconfig</application> installed.</para>
|
---|
| 113 |
|
---|
| 114 | <para><parameter>--disable-cairo-output</parameter>: This parameter
|
---|
| 115 | disables building the <application>cairo</application> graphics backend.
|
---|
| 116 | Remove this parameter if you have <application>cairo</application>
|
---|
| 117 | installed.</para>
|
---|
| 118 |
|
---|
| 119 | <para><parameter>--disable-poppler-glib</parameter> and
|
---|
| 120 | <parameter>--disable-gtk-test</parameter>: These parameters disable
|
---|
| 121 | building the <application>GLib</application> wrapper and
|
---|
| 122 | <application>GTK+</application> test program. Remove these parameters if
|
---|
| 123 | you have <application>GTK+</application>-2 installed. Note that if you
|
---|
[3ca3085] | 124 | plan on building <xref linkend="evince"/>, you must build the
|
---|
[5474306] | 125 | <application>GLib</application> wrapper.</para>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="configuration">
|
---|
| 130 | <title>Configuring Poppler</title>
|
---|
| 131 |
|
---|
| 132 | <sect3 id="poppler-config">
|
---|
| 133 | <title>Config Files</title>
|
---|
| 134 | <para><filename>/etc/xpdfrc</filename></para>
|
---|
| 135 |
|
---|
| 136 | <indexterm zone="poppler poppler-config">
|
---|
| 137 | <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </sect3>
|
---|
| 140 |
|
---|
| 141 | <sect3><title>Configuration Information</title>
|
---|
| 142 |
|
---|
| 143 | <para>No specific configuration is required.</para>
|
---|
| 144 |
|
---|
| 145 | </sect3>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
| 154 | <segtitle>Installed Libraries</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
| 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>None</seg>
|
---|
[1039de3] | 159 | <seg>libpoppler.{so,a}, libpoppler-glib.{so,a},
|
---|
| 160 | libpoppler-qt.{so,a} and libpoppler-qt4.{so,a}</seg>
|
---|
[5474306] | 161 | <seg>/usr/include/poppler and
|
---|
| 162 | /usr/share/doc/poppler-&poppler-version;</seg>
|
---|
| 163 | </seglistitem>
|
---|
| 164 | </segmentedlist>
|
---|
| 165 |
|
---|
| 166 | <variablelist>
|
---|
| 167 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 168 | <?dbfo list-presentation="list"?>
|
---|
| 169 | <?dbhtml list-presentation="table"?>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="libpoppler">
|
---|
[1039de3] | 172 | <term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
|
---|
[5474306] | 173 | <listitem>
|
---|
| 174 | <para>contains the API functions to render PDF files.</para>
|
---|
| 175 | <indexterm zone="poppler libpoppler">
|
---|
[1039de3] | 176 | <primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
|
---|
[5474306] | 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="libpoppler-glib">
|
---|
[1039de3] | 182 | <term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
|
---|
[5474306] | 183 | <listitem>
|
---|
| 184 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 185 | functions with <application>GTK+</application>.</para>
|
---|
| 186 | <indexterm zone="poppler libpoppler-glib">
|
---|
[1039de3] | 187 | <primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
|
---|
[5474306] | 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | <varlistentry id="libpoppler-qt">
|
---|
[1039de3] | 193 | <term><filename class='libraryfile'>libpoppler-qt.{so,a}</filename></term>
|
---|
[5474306] | 194 | <listitem>
|
---|
| 195 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 196 | functions with <application>Qt</application>.</para>
|
---|
| 197 | <indexterm zone="poppler libpoppler-qt">
|
---|
[1039de3] | 198 | <primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
|
---|
[5474306] | 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
| 203 | <varlistentry id="libpoppler-qt4">
|
---|
[1039de3] | 204 | <term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
|
---|
[5474306] | 205 | <listitem>
|
---|
| 206 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 207 | functions with <application>Qt</application>-4.</para>
|
---|
| 208 | <indexterm zone="poppler libpoppler-qt4">
|
---|
[1039de3] | 209 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
|
---|
[5474306] | 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
| 214 | </variablelist>
|
---|
| 215 |
|
---|
| 216 | </sect2>
|
---|
| 217 |
|
---|
| 218 | </sect1>
|
---|