[7b3dea39] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY qpdf-download-http "&sourceforge-dl;/qpdf/qpdf-&qpdf-version;.tar.gz">
|
---|
[7b3dea39] | 8 | <!ENTITY qpdf-download-ftp " ">
|
---|
[811fcfd1] | 9 | <!ENTITY qpdf-md5sum "8c99dd6a55bbea2c0f7bceab8562631d">
|
---|
| 10 | <!ENTITY qpdf-size "6.8 MB">
|
---|
[b4b75a48] | 11 | <!ENTITY qpdf-buildsize "82 MB (with tests)">
|
---|
[811fcfd1] | 12 | <!ENTITY qpdf-time "0.6 SBU (with parallelism=4; with tests)">
|
---|
[7b3dea39] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="qpdf" xreflabel="Qpdf-&qpdf-version;">
|
---|
| 16 | <?dbhtml filename="qpdf.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Qpdf-&qpdf-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="qpdf">
|
---|
| 26 | <primary sortas="a-Qpdf">Qpdf</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Qpdf</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>Qpdf</application> package contains command-line
|
---|
| 34 | programs and library that do structural, content-preserving
|
---|
[0d7900a] | 35 | transformations on PDF files.
|
---|
[7b3dea39] | 36 | </para>
|
---|
| 37 |
|
---|
[c0f80c2] | 38 | &lfs81_checked;
|
---|
[7b3dea39] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&qpdf-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&qpdf-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &qpdf-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &qpdf-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &qpdf-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &qpdf-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Qpdf Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 77 | <para role="optional">
|
---|
| 78 | <xref linkend="fop"/> and
|
---|
| 79 | <xref linkend="libxslt"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <para condition="html" role="usernotes">
|
---|
| 83 | User Notes: <ulink url="&blfs-wiki;/qpdf"/>
|
---|
| 84 | </para>
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of Qpdf</title>
|
---|
| 89 |
|
---|
| 90 | <para>
|
---|
| 91 | Install <application>Qpdf</application> by running the following
|
---|
| 92 | commands:
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
[4ad93b6] | 95 | <screen><userinput>./configure --prefix=/usr \
|
---|
[17273d0] | 96 | --disable-static \
|
---|
| 97 | --docdir=/usr/share/doc/qpdf-&qpdf-version; &&
|
---|
[7b3dea39] | 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | <para>
|
---|
| 101 | To test the results, issue: <command>make check</command>.
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[17273d0] | 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[7b3dea39] | 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
| 115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 116 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="content">
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
| 123 | <segmentedlist>
|
---|
| 124 | <segtitle>Installed Programs</segtitle>
|
---|
| 125 | <segtitle>Installed Library</segtitle>
|
---|
| 126 | <segtitle>Installed Directories</segtitle>
|
---|
| 127 |
|
---|
| 128 | <seglistitem>
|
---|
| 129 | <seg>
|
---|
[17273d0] | 130 | fix-qdf, qpdf, and zlib-flate
|
---|
[7b3dea39] | 131 | </seg>
|
---|
| 132 | <seg>
|
---|
| 133 | libqpdf.so
|
---|
| 134 | </seg>
|
---|
| 135 | <seg>
|
---|
| 136 | /usr/include/qpdf and
|
---|
[2967fa69] | 137 | /usr/share/doc/qpdf-&qpdf-version;
|
---|
[7b3dea39] | 138 | </seg>
|
---|
| 139 | </seglistitem>
|
---|
| 140 | </segmentedlist>
|
---|
| 141 |
|
---|
| 142 | <variablelist>
|
---|
| 143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 144 | <?dbfo list-presentation="list"?>
|
---|
| 145 | <?dbhtml list-presentation="table"?>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="fix-qdf">
|
---|
| 148 | <term><command>fix-qdf</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>
|
---|
| 151 | is used to repair PDF files in QDF form after
|
---|
| 152 | editing.
|
---|
| 153 | </para>
|
---|
| 154 | <indexterm zone="qpdf fix-qdf">
|
---|
| 155 | <primary sortas="b-fix-qdf">fix-qdf</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="qpdf-prog">
|
---|
| 161 | <term><command>qpdf</command></term>
|
---|
| 162 | <listitem>
|
---|
| 163 | <para>
|
---|
| 164 | is used to convert one PDF file to another equivalent
|
---|
| 165 | PDF file.
|
---|
| 166 | </para>
|
---|
| 167 | <indexterm zone="qpdf qpdf-prog">
|
---|
| 168 | <primary sortas="b-qpdf">qpdf</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
[2a879b7c] | 173 | <varlistentry id="zlib-flate">
|
---|
| 174 | <term><command>zlib-flate</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>
|
---|
| 177 | is a raw zlib compression program.
|
---|
| 178 | </para>
|
---|
| 179 | <indexterm zone="qpdf zlib-flate">
|
---|
| 180 | <primary sortas="b-qpdf">zlib-flate</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
[7b3dea39] | 185 | <varlistentry id="libqpdf">
|
---|
| 186 | <term><filename class="libraryfile">libqpdf.so</filename></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>
|
---|
| 189 | contains the <application>Qpdf</application> API functions.
|
---|
| 190 | </para>
|
---|
| 191 | <indexterm zone="qpdf libqpdf">
|
---|
| 192 | <primary sortas="c-libqpdf">libqpdf.so</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | </variablelist>
|
---|
| 198 |
|
---|
| 199 | </sect2>
|
---|
| 200 |
|
---|
| 201 | </sect1>
|
---|