Changeset 2511f83 for general/graphlib
- Timestamp:
- 04/12/2012 01:29:17 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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
- Children:
- bda3fb1
- Parents:
- a079e73c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/graphlib/poppler.xml
ra079e73c r2511f83 5 5 %general-entities; 6 6 7 <!ENTITY poppler-download-http "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.gz"> 7 <!ENTITY poppler-download-http 8 "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.gz"> 8 9 <!ENTITY poppler-download-ftp " "> 9 10 <!ENTITY poppler-md5sum "12658f3308597e57f3faff538cc73baf"> 10 11 <!ENTITY poppler-size "1.9 MB"> 11 <!ENTITY poppler-buildsize "28 MB (excluding the encoding data) and 112 MB (including the encoding data)"> 12 <!ENTITY poppler-time "1.3 SBU (includes building with most dependencies)"> 12 <!ENTITY poppler-buildsize "28 MB (excluding the encoding data) and 13 112 MB (including the encoding data)"> 14 <!ENTITY poppler-time "1.3 SBU (includes building with most 15 dependencies)"> 13 16 14 17 <!ENTITY poppler-data-version "0.4.5"> 15 <!ENTITY poppler-data-download-http "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz"> 18 <!ENTITY poppler-data-download-http 19 "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz"> 16 20 <!ENTITY poppler-data-md5sum "448dd7c5077570e340340706cef931aa"> 17 21 <!ENTITY poppler-data-size "4.0 MB"> … … 35 39 <title>Introduction to Poppler</title> 36 40 37 <para>The <application>Poppler</application> package contains a PDF 38 rendering library and command line tools used to manipulate PDF files. 39 This is useful for providing PDF rendering functionality as a shared 40 library.</para> 41 <para> 42 The <application>Poppler</application> package contains a PDF rendering 43 library and command line tools used to manipulate PDF files. This is 44 useful for providing PDF rendering functionality as a shared library. 45 </para> 41 46 42 47 &lfs71_checked; … … 45 50 <itemizedlist spacing="compact"> 46 51 <listitem> 47 <para>Download (HTTP): <ulink url="&poppler-download-http;"/></para> 48 </listitem> 49 <listitem> 50 <para>Download (FTP): <ulink url="&poppler-download-ftp;"/></para> 51 </listitem> 52 <listitem> 53 <para>Download MD5 sum: &poppler-md5sum;</para> 54 </listitem> 55 <listitem> 56 <para>Download size: &poppler-size;</para> 57 </listitem> 58 <listitem> 59 <para>Estimated disk space required: &poppler-buildsize;</para> 60 </listitem> 61 <listitem> 62 <para>Estimated build time: &poppler-time;</para> 52 <para> 53 Download (HTTP): <ulink url="&poppler-download-http;"/> 54 </para> 55 </listitem> 56 <listitem> 57 <para> 58 Download (FTP): <ulink url="&poppler-download-ftp;"/> 59 </para> 60 </listitem> 61 <listitem> 62 <para> 63 Download MD5 sum: &poppler-md5sum; 64 </para> 65 </listitem> 66 <listitem> 67 <para> 68 Download size: &poppler-size; 69 </para> 70 </listitem> 71 <listitem> 72 <para> 73 Estimated disk space required: &poppler-buildsize; 74 </para> 75 </listitem> 76 <listitem> 77 <para> 78 Estimated build time: &poppler-time; 79 </para> 63 80 </listitem> 64 81 </itemizedlist> … … 69 86 <title>Poppler Encoding Data</title> 70 87 <listitem> 71 <para>Download (HTTP): <ulink url="&poppler-data-download-http;"/></para> 72 </listitem> 73 <listitem> 74 <para>Download MD5 sum: &poppler-data-md5sum;</para> 75 </listitem> 76 <listitem> 77 <para>Download size: &poppler-data-size;</para> 88 <para> 89 Download (HTTP): <ulink url="&poppler-data-download-http;"/> 90 </para> 91 </listitem> 92 <listitem> 93 <para> 94 Download MD5 sum: &poppler-data-md5sum; 95 </para> 96 </listitem> 97 <listitem> 98 <para> 99 Download size: &poppler-data-size; 100 </para> 78 101 </listitem> 79 102 </itemizedlist> 80 103 81 <para>The additional package consists of encoding files for use with 82 <application>Poppler</application>. The encoding files are optional and 83 <application>Poppler</application> will automatically read them if they are 84 present. When installed, they enable <application>Poppler</application> to 85 render CJK and Cyrillic properly.</para> 104 <para> 105 The additional package consists of encoding files for use with 106 <application>Poppler</application>. The encoding files are optional and 107 <application>Poppler</application> will automatically read them if they 108 are present. When installed, they enable 109 <application>Poppler</application> to render CJK and Cyrillic properly. 110 </para> 111 112 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 113 <itemizedlist spacing="compact"> 114 <listitem> 115 <para> 116 Optional patch (if you want to use <application>Lcms 2</application>): 117 <ulink url="&patch-root;/poppler-&poppler-version;-lcms2-1.patch"/> 118 </para> 119 </listitem> 120 </itemizedlist> 86 121 87 122 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead> 88 123 89 124 <bridgehead renderas="sect4">Required</bridgehead> 90 <para role="required"><xref linkend="fontconfig"/> and 91 <xref linkend="pkgconfig"/></para> 125 <para role="required"> 126 <xref linkend="fontconfig"/> and 127 <xref linkend="pkgconfig"/> 128 </para> 92 129 93 130 <bridgehead renderas="sect4">Recommended</bridgehead> 94 <para role="recommended"><xref linkend="libjpeg"/>, <xref linkend="cairo"/> 95 and <xref linkend="openjpeg"/> 131 <para role="recommended"> 132 <xref linkend="libjpeg"/>, 133 <xref linkend="cairo"/> and 134 <xref linkend="openjpeg"/>. 96 135 </para> 97 136 98 137 <bridgehead renderas="sect4">Optional</bridgehead> 99 <para role="optional"><xref linkend="gtk2"/>, 100 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library is needed 101 for PDF support in <application>Okular</application>), 102 <xref linkend="curl"/>, 103 <xref linkend="libtiff"/>, 104 <xref linkend="libxml2"/> and 105 <xref linkend="lcms"/></para> 106 107 <para condition="html" role="usernotes">User Notes: 108 <ulink url="&blfs-wiki;/poppler"/></para> 109 138 <para role="optional"> 139 <xref linkend="curl"/>, 140 <xref linkend="gtk2"/>, 141 <xref linkend="lcms"/> or <xref linkend="lcms2"/>, 142 <xref linkend="libtiff"/>, 143 <xref linkend="libxml2"/> and 144 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library 145 is needed for PDF support in <application>Okular</application>). 146 </para> 147 148 <para condition="html" role="usernotes"> 149 User Notes: <ulink url="&blfs-wiki;/poppler"/> 150 </para> 110 151 </sect2> 111 152 … … 113 154 <title>Installation of Poppler</title> 114 155 156 <para> 157 If you have installed <xref linkend="lcms2"/> and would like 158 <application>Poppler</application> to use it, apply the 159 <application>Lcms 2</application> patch: 160 </para> 161 162 <screen><userinput>patch -p1 < ../poppler-&poppler-version;-lcms2-1.patch</userinput></screen> 163 164 <para> 165 Install <application>Poppler</application> by running the following 166 commands: 167 </para> 168 169 <!-- Xpdf is no longer in the book 115 170 <caution> 116 <para><application>Poppler</application> will overwrite command-line 117 utilities and man pages previously installed by the 118 <application>Xpdf</application> package. If you prefer to keep the 119 <application>Xpdf</application> versions of these files, pass the 120 <option>--disable-utils</option> parameter to the 121 <command>configure</command> command below.</para> 171 <para> 172 <application>Poppler</application> will overwrite command-line utilities 173 and man pages previously installed by the 174 <application>Xpdf</application> package. If you prefer to keep the 175 <application>Xpdf</application> versions of these files, pass the 176 <option>--disable-utils</option> parameter to the 177 <command>configure</command> command below. 178 </para> 122 179 </caution> 123 124 <screen><userinput>./configure --prefix=/usr \ 125 --sysconfdir=/etc\126 --disable-static&&180 --> 181 182 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \ 183 --disable-static --enable-xpdf-headers && 127 184 make</userinput></screen> 128 185 129 <para>This package does not come with a test suite.</para> 130 131 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 186 <para> 187 This package does not come with a test suite. 188 </para> 189 190 <para> 191 Now, as the <systemitem class="username">root</systemitem> user: 192 </para> 132 193 133 194 <screen role="root"><userinput>make install && … … 135 196 install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen> 136 197 137 <para>If you downloaded the additional encoding data package, install 138 it by issuing the following commands:</para> 198 <para> 199 If you downloaded the additional encoding data package, install it by 200 issuing the following commands: 201 </para> 139 202 140 203 <screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz && 141 204 cd poppler-data-&poppler-data-version;</userinput></screen> 142 205 143 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 206 <para> 207 Now, as the <systemitem class="username">root</systemitem> user: 208 </para> 144 209 145 210 <screen role="root"><userinput>make prefix=/usr install</userinput></screen> 146 147 211 </sect2> 148 212 … … 150 214 <title>Command Explanations</title> 151 215 152 <!-- This is discouraged by the authors. There is built-in decompression 153 and zlib is not needed 154 <para><parameter>-enable-zlib</parameter>: This parameter forces the build 155 to link with the system-installed 156 <filename class='libraryfile'>libz</filename> library to enable compressed 157 PDF functionality.</para> --> 158 159 <para><option>--disable-static</option>: Prevent static libraries 160 being built and installed.</para> 161 162 <para><option>--disable-cairo-output</option>: This parameter 163 disables building the <application>cairo</application> graphics backend.</para> 164 165 <para><option>--disable-poppler-glib</option>, 166 <option>--disable-poppler-qt4</option> and 167 <option>--disable-gtk-test</option>: These parameters disable 168 building the <application>GLib</application> and <application>Qt4</application> 169 wrappers and the <application>GTK+</application> test program.</para> 170 171 <para><option>--enable-xpdf-headers</option>: Install old 172 <application>Xpdf</application> headers required by certain programs (e.g. by 173 <application>Okular</application> for PDF support). These are unsupported by 174 <application>Poppler</application>.</para> 175 216 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 217 href="../../xincludes/static-libraries.xml"/> 218 219 <para> 220 <option>--enable-xpdf-headers</option>: Install some old 221 <application>Xpdf</application> headers required by certain programs (e.g. 222 <application>Okular</application>, <application>Libre Office</application> 223 and <application>Inkscape</application>). 224 </para> 225 226 <para> 227 <parameter>-enable-zlib</parameter>: This parameter makes 228 <application>Poppler</application> link with the system-installed 229 <filename class='libraryfile'>libz</filename> library to enable compressed 230 PDF functionality. 231 </para> 176 232 </sect2> 177 233 … … 185 241 186 242 <seglistitem> 187 <seg>pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml, 188 pdftoppm, pdftops, pdftotext, pdfunite and poppler-glib-demo</seg> 189 <seg>libpoppler.so, libpoppler-cpp.so, libpoppler-glib.so, 190 and libpoppler-qt4.so</seg> 191 <seg>/usr/include/poppler, /usr/share/doc/poppler-&poppler-version;, 192 /usr/share/gtk-doc/html/poppler and /usr/share/poppler</seg> 243 <seg> 244 pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml, 245 pdftoppm, pdftops, pdftotext, pdfunite and poppler-glib-demo 246 </seg> 247 <seg> 248 libpoppler.so, libpoppler-cpp.so, libpoppler-glib.so and 249 libpoppler-qt4.so 250 </seg> 251 <seg> 252 /usr/include/poppler, /usr/share/doc/poppler-&poppler-version;, 253 /usr/share/gtk-doc/html/poppler and /usr/share/poppler 254 </seg> 193 255 </seglistitem> 194 256 </segmentedlist> … … 202 264 <term><command>pdffonts</command></term> 203 265 <listitem> 204 <para>lists the fonts used in a PDF file along 205 with various information for each font.</para> 266 <para> 267 lists the fonts used in a PDF file along with various information 268 for each font. 269 </para> 206 270 <indexterm zone="poppler pdffonts"> 207 271 <primary sortas="b-pdffonts">pdffonts</primary> … … 213 277 <term><command>pdfimages</command></term> 214 278 <listitem> 215 <para>saves images from a PDF file as PPM, PBM, or JPEG files.</para> 279 <para> 280 saves images from a PDF file as PPM, PBM, or JPEG files. 281 </para> 216 282 <indexterm zone="poppler pdfimages"> 217 283 <primary sortas="b-pdfimages">pdfimages</primary> … … 223 289 <term><command>pdfinfo</command></term> 224 290 <listitem> 225 <para>prints the contents of the 'Info' dictionary (plus some 226 other useful information) from a PDF file.</para> 291 <para> 292 prints the contents of the 'Info' dictionary (plus some other useful 293 information) from a PDF file. 294 </para> 227 295 <indexterm zone="poppler pdfinfo"> 228 296 <primary sortas="b-pdfinfo">pdfinfo</primary> … … 234 302 <term><command>pdfseparate</command></term> 235 303 <listitem> 236 <para>extracts single pages from a PDF file.</para> 304 <para> 305 extracts single pages from a PDF file. 306 </para> 237 307 <indexterm zone="poppler pdfseparate"> 238 308 <primary sortas="b-pdseparate">pdfseparate</primary> … … 244 314 <term><command>pdftocairo</command></term> 245 315 <listitem> 246 <para>converts a PDF file to one of several formats (PNG, JPEG, PDF, PS, 247 EPS, SVG) using the cairo output device of the poppler library.</para> 316 <para> 317 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS, 318 EPS, SVG) using the cairo output device of the poppler library. 319 </para> 248 320 <indexterm zone="poppler pdftocairo"> 249 321 <primary sortas="b-pdftocairo">pdftocairo</primary> … … 255 327 <term><command>pdftohtml</command></term> 256 328 <listitem> 257 <para>converts a PDF file to HTML.</para> 329 <para> 330 converts a PDF file to HTML. 331 </para> 258 332 <indexterm zone="poppler pdftohtml"> 259 333 <primary sortas="b-pdftohtml">pdftohtml</primary> … … 265 339 <term><command>pdftoppm</command></term> 266 340 <listitem> 267 <para>converts PDF files to PBM, PGM and PPM formats.</para> 341 <para> 342 converts PDF files to PBM, PGM and PPM formats. 343 </para> 268 344 <indexterm zone="poppler pdftoppm"> 269 345 <primary sortas="b-pdftoppm">pdftoppm</primary> … … 275 351 <term><command>pdftops</command></term> 276 352 <listitem> 277 <para> converts PDF files to Postscript format.</para> 353 <para> 354 converts PDF files to Postscript format. 355 </para> 278 356 <indexterm zone="poppler pdftops"> 279 357 <primary sortas="b-pdftops">pdftops</primary> … … 285 363 <term><command>pdftotext</command></term> 286 364 <listitem> 287 <para>converts PDF files to plain text.</para> 365 <para> 366 converts PDF files to plain text. 367 </para> 288 368 <indexterm zone="poppler pdftotext"> 289 369 <primary sortas="b-pdftotext">pdftotext</primary> … … 295 375 <term><command>pdfunite</command></term> 296 376 <listitem> 297 <para>merges several PDF files, in the order of their occurrence on the 298 command line, to one PDF output file.</para> 377 <para> 378 merges several PDF files, in the order of their occurrence on the 379 command line, to one PDF output file. 380 </para> 299 381 <indexterm zone="poppler pdfunite"> 300 382 <primary sortas="b-pdfunite">pdfunite</primary> … … 306 388 <term><command>poppler-glib-demo</command></term> 307 389 <listitem> 308 <para>is a tool to demonstrate the API, and for use when debugging and 309 testing <application>poppler</application>.</para> 390 <para> 391 is a tool to demonstrate the API, and for use when debugging and 392 testing <application>poppler</application>. 393 </para> 310 394 <indexterm zone="poppler poppler-glib-demo"> 311 395 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary> … … 317 401 <term><filename class='libraryfile'>libpoppler.so</filename></term> 318 402 <listitem> 319 <para>contains the API functions to render PDF files.</para> 403 <para> 404 contains the API functions to render PDF files. 405 </para> 320 406 <indexterm zone="poppler libpoppler"> 321 407 <primary sortas="c-libpoppler">libpoppler.so</primary> … … 327 413 <term><filename class='libraryfile'>libpoppler-cpp.so</filename></term> 328 414 <listitem> 329 <para>is a C++ backend for rendering PDF files.</para> 415 <para> 416 is a C++ backend for rendering PDF files. 417 </para> 330 418 <indexterm zone="poppler libpoppler-cpp"> 331 419 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary> … … 337 425 <term><filename class='libraryfile'>libpoppler-glib.so</filename></term> 338 426 <listitem> 339 <para>is a wrapper library used to interface the PDF rendering 340 functions with <application>GTK+</application>.</para> 427 <para> 428 is a wrapper library used to interface the PDF rendering functions 429 with <application>GTK+</application>. 430 </para> 341 431 <indexterm zone="poppler libpoppler-glib"> 342 432 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary> … … 348 438 <term><filename class='libraryfile'>libpoppler-qt4.so</filename></term> 349 439 <listitem> 350 <para>is a wrapper library used to interface the PDF rendering 351 functions with <application>Qt</application>-4.</para> 440 <para> 441 is a wrapper library used to interface the PDF rendering functions 442 with <application>Qt</application>-4. 443 </para> 352 444 <indexterm zone="poppler libpoppler-qt4"> 353 445 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary> … … 355 447 </listitem> 356 448 </varlistentry> 357 358 449 </variablelist> 359 360 450 </sect2> 361 362 451 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.