source: pst/ps/xpdf.xml@ f47baef

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f47baef was f47baef, checked in by Randy McMurchy <randy@…>, 18 years ago

Updated Xpdf-3.01 to patch-level 2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5799 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.1 KB
Line 
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 xpdf-download-http "http://gd.tuwien.ac.at/publishing/xpdf/xpdf-&xpdf-version;.tar.gz">
8 <!ENTITY xpdf-download-ftp "ftp://ftp.foolabs.com/pub/xpdf/xpdf-&xpdf-version;.tar.gz">
9 <!ENTITY xpdf-md5sum "e004c69c7dddef165d768b1362b44268">
10 <!ENTITY xpdf-size "599 KB">
11 <!ENTITY xpdf-buildsize "38.1 MB">
12 <!ENTITY xpdf-time "0.4 SBU">
13]>
14
15<sect1 id="xpdf" xreflabel="Xpdf-&xpdf-version;pl2">
16 <?dbhtml filename="xpdf.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">xpdf-&xpdf-version;.tar</keyword>
23 <keyword role="ftpdir">xpdf</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>Xpdf-&xpdf-version;pl2</title>
28
29 <indexterm zone="xpdf">
30 <primary sortas="a-Xpdf">Xpdf</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Xpdf</title>
35
36 <para><application>Xpdf</application> is a viewer for Adobe's free
37 Portable Document Format (PDF) which is both fast and small and
38 comes with some useful command-line utilities.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&xpdf-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&xpdf-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &xpdf-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &xpdf-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &xpdf-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &xpdf-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing='compact'>
64 <listitem>
65 <para>Required patch: <ulink
66 url="ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.01pl2.patch"/></para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">Xpdf Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required"><xref linkend="lesstif"/></para>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional"><xref linkend="gs"/> or <xref linkend="espgs"/>
77 (just the fonts), <ulink
78 url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.1.0.tar.gz">
79 t1lib</ulink> and <ulink
80 url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of Xpdf</title>
86
87 <para>Install <application>Xpdf</application> by running the following
88 commands:</para>
89
90<screen><userinput>patch -Np1 -i ../xpdf-&xpdf-version;pl2.patch &amp;&amp;
91./configure --prefix=/usr \
92 --sysconfdir=/etc \
93 --with-freetype2-includes=/usr/include/freetype2 \
94 --enable-opi \
95 --enable-multithreaded \
96 --enable-wordlist &amp;&amp;
97make</userinput></screen>
98
99 <para>This package does not come with a test suite.</para>
100
101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
102
103<screen role="root"><userinput>make install</userinput></screen>
104
105 </sect2>
106
107 <sect2 role="commands">
108 <title>Command Explanations</title>
109
110 <para><option>--enable-a4-paper</option>: This switch must be
111 added to set DIN A4 as the standard paper format.</para>
112
113 </sect2>
114
115 <sect2 role="configuration">
116 <title>Configuring Xpdf</title>
117
118 <sect3 id="xpdf-config">
119 <title>Config Files</title>
120
121 <para><filename>/etc/xpdfrc</filename> and
122 <filename>~/.xpdfrc</filename></para>
123
124 <indexterm zone="xpdf xpdf-config">
125 <primary sortas="e-AA.xpdfrc">~/.xpdfrc</primary>
126 </indexterm>
127
128 <indexterm zone="xpdf xpdf-config">
129 <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
130 </indexterm>
131
132 </sect3>
133
134 <sect3>
135 <title>Configuration Information</title>
136
137 <para>In the <filename class='directory'>/etc</filename> directory you
138 will find a sample <filename>xpdfrc</filename> that can be either copied
139 to <filename>~/.xpdfrc</filename> or taken as an example to write your
140 own configuration file. Below you'll find a condensed version of the
141 file you may wish to build from.</para>
142
143<screen><literal># Example .xpdfrc
144displayFontT1 Times-Roman /usr/share/ghostscript/fonts/n021003l.pfb
145displayFontT1 Times-Italic /usr/share/ghostscript/fonts/n021023l.pfb
146displayFontT1 Times-Bold /usr/share/ghostscript/fonts/n021004l.pfb
147displayFontT1 Times-BoldItalic /usr/share/ghostscript/fonts/n021024l.pfb
148displayFontT1 Helvetica /usr/share/ghostscript/fonts/n019003l.pfb
149displayFontT1 Helvetica-Oblique /usr/share/ghostscript/fonts/n019023l.pfb
150displayFontT1 Helvetica-Bold /usr/share/ghostscript/fonts/n019004l.pfb
151displayFontT1 Helvetica-BoldOblique /usr/share/ghostscript/fonts/n019024l.pfb
152displayFontT1 Courier /usr/share/ghostscript/fonts/n022003l.pfb
153displayFontT1 Courier-Oblique /usr/share/ghostscript/fonts/n022023l.pfb
154displayFontT1 Courier-Bold /usr/share/ghostscript/fonts/n022004l.pfb
155displayFontT1 Courier-BoldOblique /usr/share/ghostscript/fonts/n022024l.pfb
156displayFontT1 Symbol /usr/share/ghostscript/fonts/s050000l.pfb
157displayFontT1 ZapfDingbats /usr/share/ghostscript/fonts/d050000l.pfb
158
159fontDir /usr/X11R6/lib/X11/fonts/TTF
160
161psFile "|lpr"
162psPaperSize letter
163#psPaperSize A4
164textEOL unix
165
166enableT1lib yes
167enableFreeType yes
168antialias yes
169
170urlCommand "links -g %s"</literal></screen>
171
172 </sect3>
173
174 </sect2>
175
176 <sect2 role="content">
177 <title>Contents</title>
178
179 <segmentedlist>
180 <segtitle>Installed Programs</segtitle>
181 <segtitle>Installed Libraries</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>pdffonts, pdfimages, pdfinfo, pdftoppm, pdftops, pdftotext,
186 and xpdf</seg>
187 <seg>None</seg>
188 <seg>None</seg>
189 </seglistitem>
190 </segmentedlist>
191
192 <variablelist>
193 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
196
197 <varlistentry id="pdffonts">
198 <term><command>pdffonts</command></term>
199 <listitem>
200 <para>lists the fonts used in a PDF file along
201 with various information for each font.</para>
202 <indexterm zone="xpdf pdffonts">
203 <primary sortas="b-pdffonts">pdffonts</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="pdfimages">
209 <term><command>pdfimages</command></term>
210 <listitem>
211 <para>saves images from a PDF file as PPM, PBM, or JPEG files.</para>
212 <indexterm zone="xpdf pdfimages">
213 <primary sortas="b-pdfimages">pdfimages</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="pdfinfo">
219 <term><command>pdfinfo</command></term>
220 <listitem>
221 <para>prints the contents of the 'Info' dictionary (plus some
222 other useful information) from a PDF file.</para>
223 <indexterm zone="xpdf pdfinfo">
224 <primary sortas="b-pdfinfo">pdfinfo</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="pdftoppm">
230 <term><command>pdftoppm</command></term>
231 <listitem>
232 <para>converts PDF files to PBM, PGM and PPM formats.</para>
233 <indexterm zone="xpdf pdftoppm">
234 <primary sortas="b-pdftoppm">pdftoppm</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="pdftops">
240 <term><command>pdftops</command></term>
241 <listitem>
242 <para> converts PDF files to Postscript format.</para>
243 <indexterm zone="xpdf pdftops">
244 <primary sortas="b-pdftops">pdftops</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="pdftotext">
250 <term><command>pdftotext</command></term>
251 <listitem>
252 <para>parses ASCII text from PDF files.</para>
253 <indexterm zone="xpdf pdftotext">
254 <primary sortas="b-pdftotext">pdftotext</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="xpdf-prog">
260 <term><command>xpdf</command></term>
261 <listitem>
262 <para>displays files in PDF format.</para>
263 <indexterm zone="xpdf xpdf-prog">
264 <primary sortas="b-xpdf">xpdf</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 </variablelist>
270
271 </sect2>
272
273</sect1>
Note: See TracBrowser for help on using the repository browser.