source: general/graphlib/qpdf.xml@ 414324c5

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since 414324c5 was ab4fdfc, checked in by Pierre Labastie <pierre.labastie@…>, 4 months ago

Change all xml decl to encoding=utf-8

  • Property mode set to 100644
File size: 5.6 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[7b3dea39]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
[0d883a2]7 <!ENTITY qpdf-download-http "https://github.com/qpdf/qpdf/releases/download/v&qpdf-version;/qpdf-&qpdf-version;.tar.gz">
[7b3dea39]8 <!ENTITY qpdf-download-ftp " ">
[436461d]9 <!ENTITY qpdf-md5sum "aec6ad628203411cd04fbb7e145ecc72">
[dce78fa]10 <!ENTITY qpdf-size "18 MB">
[436461d]11 <!ENTITY qpdf-buildsize "256 MB (add 1 MB for tests)">
[9b1d3dd]12 <!ENTITY qpdf-time "0.5 SBU (using parallelism=4; add 0.5 SBU for tests)">
[7b3dea39]13]>
14
15<sect1 id="qpdf" xreflabel="Qpdf-&qpdf-version;">
16 <?dbhtml filename="qpdf.html"?>
17
18
19 <title>Qpdf-&qpdf-version;</title>
20
21 <indexterm zone="qpdf">
22 <primary sortas="a-Qpdf">Qpdf</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Qpdf</title>
27
28 <para>
29 The <application>Qpdf</application> package contains command-line
[d514a90]30 programs and a library that does structural, content-preserving
[0d7900a]31 transformations on PDF files.
[7b3dea39]32 </para>
33
[fc561d1]34 &lfs120_checked;
[7b3dea39]35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&qpdf-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&qpdf-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &qpdf-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &qpdf-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &qpdf-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &qpdf-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">Qpdf Dependencies</bridgehead>
71
[82e07e67]72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="libjpeg"/>
75 </para>
76
[7b3dea39]77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
[ab9126d1]79 <xref linkend="gs"/>,
80 <xref linkend="gnutls"/>,
81 <xref linkend="libtiff"/>,
82 <xref linkend="sphinx"/> with <xref linkend="sphinx_rtd_theme"/>, and
83 <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
[7b3dea39]84 </para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of Qpdf</title>
90
91 <para>
92 Install <application>Qpdf</application> by running the following
93 commands:
94 </para>
95
[9d9e7a6]96<screen><userinput>mkdir build &amp;&amp;
97cd build &amp;&amp;
98
99cmake -DCMAKE_INSTALL_PREFIX=/usr \
100 -DCMAKE_BUILD_TYPE=Release \
101 -DBUILD_STATIC_LIBS=OFF \
[80adfe6]102 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/qpdf-&qpdf-version; \
[9d9e7a6]103 .. &amp;&amp;
[7b3dea39]104make</userinput></screen>
105
106 <para>
[9d9e7a6]107 To test the results, issue: <command>ctest</command>.
[7b3dea39]108 </para>
109
110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
113
[17273d0]114<screen role="root"><userinput>make install</userinput></screen>
[7b3dea39]115
116 </sect2>
[9d9e7a6]117<!--
[7b3dea39]118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
122 href="../../xincludes/static-libraries.xml"/>
123
124 </sect2>
[9d9e7a6]125-->
[7b3dea39]126 <sect2 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
130 <segtitle>Installed Programs</segtitle>
131 <segtitle>Installed Library</segtitle>
132 <segtitle>Installed Directories</segtitle>
133
134 <seglistitem>
135 <seg>
[17273d0]136 fix-qdf, qpdf, and zlib-flate
[7b3dea39]137 </seg>
138 <seg>
139 libqpdf.so
140 </seg>
141 <seg>
[9d9e7a6]142 /usr/lib/cmake/qpdf,
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>
Note: See TracBrowser for help on using the repository browser.