[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">
|
---|
| 8 | <!ENTITY poppler-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/poppler-&poppler-version;.tar.gz">
|
---|
| 9 | <!ENTITY poppler-md5sum "beb1eea135a3c5b679a7a22d01a500c0">
|
---|
| 10 | <!ENTITY poppler-size "777 KB">
|
---|
| 11 | <!ENTITY poppler-buildsize "35.0 MB">
|
---|
| 12 | <!ENTITY poppler-time "0.8 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
|
---|
| 16 | <?dbhtml filename="poppler.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy:$</othername>
|
---|
| 20 | <date>$Date:$</date>
|
---|
| 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>
|
---|
| 61 | <para><xref linkend="pkgconfig"/>,
|
---|
| 62 | <xref linkend="libjpeg"/>,
|
---|
| 63 | <xref linkend="fontconfig"/>,
|
---|
| 64 | <xref linkend="cairo"/>,
|
---|
| 65 | <xref linkend="gtk2"/>,
|
---|
| 66 | <xref linkend="qt"/> and
|
---|
| 67 | <ulink url="http://www.trolltech.com/download/opensource.html">Qt-4.x.x</ulink></para>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2 role="installation">
|
---|
| 72 | <title>Installation of Poppler</title>
|
---|
| 73 |
|
---|
| 74 | <para>Install <application>Poppler</application> by running the following
|
---|
| 75 | commands:</para>
|
---|
| 76 |
|
---|
| 77 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc --enable-opi \
|
---|
| 78 | --disable-splash-output \
|
---|
| 79 | --disable-cairo-output \
|
---|
| 80 | --disable-poppler-glib --disable-gtk-test &&
|
---|
| 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <para>This package does not come with a test suite.</para>
|
---|
| 84 |
|
---|
| 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 86 |
|
---|
| 87 | <screen role="root"><userinput>make install &&
|
---|
| 88 | install -v -m644 -D README /usr/share/doc/poppler-&poppler-version;/README</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="commands">
|
---|
| 93 | <title>Command Explanations</title>
|
---|
| 94 |
|
---|
| 95 | <para><parameter>--enable-opi</parameter>: This parameter forces the build
|
---|
| 96 | to include support for OPI comments.</para>
|
---|
| 97 |
|
---|
| 98 | <para><parameter>--disable-splash-output</parameter>: This parameter
|
---|
| 99 | disables building the Splash graphics backend. Remove this parameter if
|
---|
| 100 | you have <application>Fontconfig</application> installed.</para>
|
---|
| 101 |
|
---|
| 102 | <para><parameter>--disable-cairo-output</parameter>: This parameter
|
---|
| 103 | disables building the <application>cairo</application> graphics backend.
|
---|
| 104 | Remove this parameter if you have <application>cairo</application>
|
---|
| 105 | installed.</para>
|
---|
| 106 |
|
---|
| 107 | <para><parameter>--disable-poppler-glib</parameter> and
|
---|
| 108 | <parameter>--disable-gtk-test</parameter>: These parameters disable
|
---|
| 109 | building the <application>GLib</application> wrapper and
|
---|
| 110 | <application>GTK+</application> test program. Remove these parameters if
|
---|
| 111 | you have <application>GTK+</application>-2 installed. Note that if you
|
---|
| 112 | plan on building <application>Evince</application>, you must build the
|
---|
| 113 | <application>GLib</application> wrapper.</para>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="configuration">
|
---|
| 118 | <title>Configuring Poppler</title>
|
---|
| 119 |
|
---|
| 120 | <sect3 id="poppler-config">
|
---|
| 121 | <title>Config Files</title>
|
---|
| 122 | <para><filename>/etc/xpdfrc</filename></para>
|
---|
| 123 |
|
---|
| 124 | <indexterm zone="poppler poppler-config">
|
---|
| 125 | <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 | </sect3>
|
---|
| 128 |
|
---|
| 129 | <sect3><title>Configuration Information</title>
|
---|
| 130 |
|
---|
| 131 | <para>No specific configuration is required.</para>
|
---|
| 132 |
|
---|
| 133 | </sect3>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <sect2 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
| 141 | <segtitle>Installed Programs</segtitle>
|
---|
| 142 | <segtitle>Installed Libraries</segtitle>
|
---|
| 143 | <segtitle>Installed Directories</segtitle>
|
---|
| 144 |
|
---|
| 145 | <seglistitem>
|
---|
| 146 | <seg>None</seg>
|
---|
| 147 | <seg>libpoppler.[so,a], libpoppler-glib.[so,a],
|
---|
| 148 | libpoppler-qt.[so,a] and libpoppler-qt4.[so,a]</seg>
|
---|
| 149 | <seg>/usr/include/poppler and
|
---|
| 150 | /usr/share/doc/poppler-&poppler-version;</seg>
|
---|
| 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
| 153 |
|
---|
| 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libpoppler">
|
---|
| 160 | <term><filename class='libraryfile'>libpoppler.[so,a]</filename></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>contains the API functions to render PDF files.</para>
|
---|
| 163 | <indexterm zone="poppler libpoppler">
|
---|
| 164 | <primary sortas="c-libpoppler">libpoppler.[so,a]</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="libpoppler-glib">
|
---|
| 170 | <term><filename class='libraryfile'>libpoppler-glib.[so,a]</filename></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 173 | functions with <application>GTK+</application>.</para>
|
---|
| 174 | <indexterm zone="poppler libpoppler-glib">
|
---|
| 175 | <primary sortas="c-libpoppler-glib">libpoppler-glib.[so,a]</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="libpoppler-qt">
|
---|
| 181 | <term><filename class='libraryfile'>libpoppler-qt.[so,a]</filename></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 184 | functions with <application>Qt</application>.</para>
|
---|
| 185 | <indexterm zone="poppler libpoppler-qt">
|
---|
| 186 | <primary sortas="c-libpoppler-qt">libpoppler-qt.[so,a]</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="libpoppler-qt4">
|
---|
| 192 | <term><filename class='libraryfile'>libpoppler-qt4.[so,a]</filename></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 195 | functions with <application>Qt</application>-4.</para>
|
---|
| 196 | <indexterm zone="poppler libpoppler-qt4">
|
---|
| 197 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.[so,a]</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | </variablelist>
|
---|
| 203 |
|
---|
| 204 | </sect2>
|
---|
| 205 |
|
---|
| 206 | </sect1>
|
---|