[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 |
|
---|
[eb1089d] | 7 | <!ENTITY qpdf-download-http "https://github.com/qpdf/qpdf/releases/download/release-qpdf-&qpdf-version;/qpdf-&qpdf-version;.tar.gz">
|
---|
[7b3dea39] | 8 | <!ENTITY qpdf-download-ftp " ">
|
---|
[0a0ad3a] | 9 | <!ENTITY qpdf-md5sum "bb1f94f7de4f98c0b5bbc0786d3be1ef">
|
---|
[dce78fa] | 10 | <!ENTITY qpdf-size "18 MB">
|
---|
[0a0ad3a] | 11 | <!ENTITY qpdf-buildsize "232 MB (add 46 MB for tests)">
|
---|
| 12 | <!ENTITY qpdf-time "0.5 SBU (using parallelism=4; add 0.8 SBU for tests)">
|
---|
[7b3dea39] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="qpdf" xreflabel="Qpdf-&qpdf-version;">
|
---|
| 16 | <?dbhtml filename="qpdf.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Qpdf-&qpdf-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="qpdf">
|
---|
| 25 | <primary sortas="a-Qpdf">Qpdf</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Qpdf</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>Qpdf</application> package contains command-line
|
---|
[d514a90] | 33 | programs and a library that does structural, content-preserving
|
---|
[0d7900a] | 34 | transformations on PDF files.
|
---|
[7b3dea39] | 35 | </para>
|
---|
| 36 |
|
---|
[da54a62] | 37 | &lfs110a_checked;
|
---|
[7b3dea39] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&qpdf-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&qpdf-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &qpdf-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &qpdf-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &qpdf-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &qpdf-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Qpdf Dependencies</bridgehead>
|
---|
| 74 |
|
---|
[82e07e67] | 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="libjpeg"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[7b3dea39] | 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 81 | <para role="optional">
|
---|
[d514a90] | 82 | <xref linkend="fop"/>,
|
---|
| 83 | <xref linkend="gnutls"/>, and
|
---|
[7b3dea39] | 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>.
|
---|
[8558044] | 107 | <!--Three tests are known to fail due to minor differences in
|
---|
[7c9ae62] | 108 | expected output.-->
|
---|
[7b3dea39] | 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
[17273d0] | 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[7b3dea39] | 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
| 122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 123 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
| 131 | <segtitle>Installed Programs</segtitle>
|
---|
| 132 | <segtitle>Installed Library</segtitle>
|
---|
| 133 | <segtitle>Installed Directories</segtitle>
|
---|
| 134 |
|
---|
| 135 | <seglistitem>
|
---|
| 136 | <seg>
|
---|
[17273d0] | 137 | fix-qdf, qpdf, and zlib-flate
|
---|
[7b3dea39] | 138 | </seg>
|
---|
| 139 | <seg>
|
---|
| 140 | libqpdf.so
|
---|
| 141 | </seg>
|
---|
| 142 | <seg>
|
---|
| 143 | /usr/include/qpdf and
|
---|
[2967fa69] | 144 | /usr/share/doc/qpdf-&qpdf-version;
|
---|
[7b3dea39] | 145 | </seg>
|
---|
| 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
| 148 |
|
---|
| 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="fix-qdf">
|
---|
| 155 | <term><command>fix-qdf</command></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>
|
---|
| 158 | is used to repair PDF files in QDF form after
|
---|
[4c24eb0a] | 159 | editing
|
---|
[7b3dea39] | 160 | </para>
|
---|
| 161 | <indexterm zone="qpdf fix-qdf">
|
---|
| 162 | <primary sortas="b-fix-qdf">fix-qdf</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="qpdf-prog">
|
---|
| 168 | <term><command>qpdf</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>
|
---|
| 171 | is used to convert one PDF file to another equivalent
|
---|
[4c24eb0a] | 172 | PDF file
|
---|
[7b3dea39] | 173 | </para>
|
---|
| 174 | <indexterm zone="qpdf qpdf-prog">
|
---|
| 175 | <primary sortas="b-qpdf">qpdf</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
[2a879b7c] | 180 | <varlistentry id="zlib-flate">
|
---|
| 181 | <term><command>zlib-flate</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>
|
---|
[4c24eb0a] | 184 | is a raw zlib compression program
|
---|
[2a879b7c] | 185 | </para>
|
---|
| 186 | <indexterm zone="qpdf zlib-flate">
|
---|
| 187 | <primary sortas="b-qpdf">zlib-flate</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
[7b3dea39] | 192 | <varlistentry id="libqpdf">
|
---|
| 193 | <term><filename class="libraryfile">libqpdf.so</filename></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>
|
---|
[4c24eb0a] | 196 | contains the <application>Qpdf</application> API functions
|
---|
[7b3dea39] | 197 | </para>
|
---|
| 198 | <indexterm zone="qpdf libqpdf">
|
---|
| 199 | <primary sortas="c-libqpdf">libqpdf.so</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | </variablelist>
|
---|
| 205 |
|
---|
| 206 | </sect2>
|
---|
| 207 |
|
---|
| 208 | </sect1>
|
---|