[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 |
|
---|
| 7 | <!ENTITY qpdf-download-http "&sourceforge-repo;/qpdf/qpdf-&qpdf-version;.tar.gz">
|
---|
| 8 | <!ENTITY qpdf-download-ftp " ">
|
---|
[177e2f9] | 9 | <!ENTITY qpdf-md5sum "0bd15ef5eea5f628951ab456c84e78ec">
|
---|
[70bf70ba] | 10 | <!ENTITY qpdf-size "7.4 MB">
|
---|
[177e2f9] | 11 | <!ENTITY qpdf-buildsize "67 MB (76 MB, running the tests)">
|
---|
| 12 | <!ENTITY qpdf-time "0.5 SBU (plus 0.4 for the 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 |
|
---|
[b5404468] | 38 | &lfs75_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">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="pcre"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
| 83 | <xref linkend="fop"/> and
|
---|
| 84 | <xref linkend="libxslt"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <para condition="html" role="usernotes">
|
---|
| 88 | User Notes: <ulink url="&blfs-wiki;/qpdf"/>
|
---|
| 89 | </para>
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of Qpdf</title>
|
---|
| 94 |
|
---|
| 95 | <para>
|
---|
| 96 | Install <application>Qpdf</application> by running the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
[4ad93b6] | 100 | <screen><userinput>./configure --prefix=/usr \
|
---|
[17273d0] | 101 | --disable-static \
|
---|
| 102 | --docdir=/usr/share/doc/qpdf-&qpdf-version; &&
|
---|
[7b3dea39] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | To test the results, issue: <command>make check</command>.
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
[17273d0] | 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[7b3dea39] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
| 120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 121 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Library</segtitle>
|
---|
| 131 | <segtitle>Installed Directories</segtitle>
|
---|
| 132 |
|
---|
| 133 | <seglistitem>
|
---|
| 134 | <seg>
|
---|
[17273d0] | 135 | fix-qdf, qpdf, and zlib-flate
|
---|
[7b3dea39] | 136 | </seg>
|
---|
| 137 | <seg>
|
---|
| 138 | libqpdf.so
|
---|
| 139 | </seg>
|
---|
| 140 | <seg>
|
---|
| 141 | /usr/include/qpdf and
|
---|
[2967fa69] | 142 | /usr/share/doc/qpdf-&qpdf-version;
|
---|
[7b3dea39] | 143 | </seg>
|
---|
| 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
| 146 |
|
---|
| 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="fix-qdf">
|
---|
| 153 | <term><command>fix-qdf</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>
|
---|
| 156 | is used to repair PDF files in QDF form after
|
---|
| 157 | editing.
|
---|
| 158 | </para>
|
---|
| 159 | <indexterm zone="qpdf fix-qdf">
|
---|
| 160 | <primary sortas="b-fix-qdf">fix-qdf</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="qpdf-prog">
|
---|
| 166 | <term><command>qpdf</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>
|
---|
| 169 | is used to convert one PDF file to another equivalent
|
---|
| 170 | PDF file.
|
---|
| 171 | </para>
|
---|
| 172 | <indexterm zone="qpdf qpdf-prog">
|
---|
| 173 | <primary sortas="b-qpdf">qpdf</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="libqpdf">
|
---|
| 179 | <term><filename class="libraryfile">libqpdf.so</filename></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>
|
---|
| 182 | contains the <application>Qpdf</application> API functions.
|
---|
| 183 | </para>
|
---|
| 184 | <indexterm zone="qpdf libqpdf">
|
---|
| 185 | <primary sortas="c-libqpdf">libqpdf.so</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | </variablelist>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | </sect1>
|
---|