source: general/genutils/imagemagick6.xml@ 2c7493c7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2c7493c7 was b7a85cd9, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format general/genutils

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

  • Property mode set to 100644
File size: 17.2 KB
Line 
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 imagemagick6-patch-version "93">
8
9 <!ENTITY imagemagick6-download-http "https://www.imagemagick.org/download/releases/ImageMagick-&imagemagick6-version;-&imagemagick6-patch-version;.tar.xz">
10 <!ENTITY imagemagick6-download-ftp "ftp://ftp.imagemagick.org/pub/ImageMagick/releases/ImageMagick-&imagemagick6-version;-&imagemagick6-patch-version;.tar.xz">
11 <!ENTITY imagemagick6-md5sum "ddbb2bed4145e3f7b0ff6c105ddbf612">
12 <!ENTITY imagemagick6-size "8.7 MB">
13 <!ENTITY imagemagick6-buildsize "158 MB, with typical dependencies (add 40 MB for tests)">
14 <!ENTITY imagemagick6-time "0.9 SBU (Using parallelism=4; add 1.9 SBU for tests)">
15]>
16
17<!-- Editors: It is highly unlikely that the buildsize (disk space used) will
18 be less than the figure shown above. Unless you have installed *all* the
19 delegate dependencies, you will see a smaller buildsize, but what is
20 currently listed above is the space one would require if all the
21 dependencies available in the book are installed.
22
23 [bdubbs 2019-92-09] Reduced SBU and disk space for libraries only.
24
25 [bdubbs 2918-08-26] I upddated the above stats slightly for 8.3. All BLFS
26 dependencies were installed except gimp and texlive. Note that at this
27 writing the only packagges in the book that use this are gimp and
28 inkscape.
29
30 [pierre 2017-02-14]] For a build of 6.9.7-8 with dependencies available in
31 the book, but with the configure command as below, I got 179 MB (2.3 SBU)
32 (and 472 KB (0.8 SBU) for the validation suite).
33
34 For a non-full build of 6.9.3-8 I got an actual space of 173 MB and running
35 the validation suite does not increase the net space. I recommend running
36 that instead of check (after the install)!
37
38 Following comments preserved from when we did a full install of -6.
39
40 Marked as 'typical' because nobody builds ALL the optional extras [ken]
41
42 [bdubbs] I do; at least the internal ones. I still got only 200 MB.
43
44 Saved the "full" 450MB as a comment - feel free to update this iff you
45 do build all dependencies, it's probably a lot bigger now.
46
47 [bdubbs] Just removed it. I don't think it adds anything.
48
49 Also, please look over the output from the configure command for any
50 additional dependencies that need to be listed, as ImageMagick is
51 constantly adding additional features and dependencies.
52
53 For those of us who touch this infrequently:
54 DPS/dpsXclient is from apple so not relevant to linux builds
55 GVC is part of Graphviz and documented in the explanations
56 LQR is Liquid Rescale
57
58 -->
59
60<sect1 id="imagemagick6" xreflabel="ImageMagick-&imagemagick6-version;-&imagemagick6-patch-version; libraries">
61 <?dbhtml filename="imagemagick6.html"?>
62
63 <sect1info>
64 <othername>$LastChangedBy$</othername>
65 <date>$Date$</date>
66 </sect1info>
67
68 <title>ImageMagick-&imagemagick6-version;-&imagemagick6-patch-version;</title>
69
70 <indexterm zone="imagemagick6">
71 <primary sortas="a-ImageMagick-6 libraries">ImageMagick-6 libraries</primary>
72 </indexterm>
73
74 <sect2 role="package">
75 <title>Introduction to ImageMagick-6 libraries</title>
76
77 <para>
78 <application>ImageMagick</application> underwent many changes in its
79 libraries between versions 6 and 7. Most packages in BLFS which use
80 <application>ImageMagick</application> can use version 7, but for the
81 others this page will install only the libraries, headers and general
82 documentation (not programs, manpages, perl modules), and it will
83 rename the unversioned pkgconfig files so that they do not overwrite the
84 same-named files from version 7.
85 </para>
86
87 &lfs91_checked;
88
89 <bridgehead renderas="sect3">Package Information</bridgehead>
90 <itemizedlist spacing="compact">
91 <listitem>
92 <para>
93 Download (HTTP): <ulink url="&imagemagick6-download-http;"/>
94 </para>
95 </listitem>
96 <listitem>
97 <para>
98 Download (FTP): <ulink url="&imagemagick6-download-ftp;"/>
99 </para>
100 </listitem>
101 <listitem>
102 <para>
103 Download MD5 sum: &imagemagick6-md5sum;
104 </para>
105 </listitem>
106 <listitem>
107 <para>
108 Download size: &imagemagick6-size;
109 </para>
110 </listitem>
111 <listitem>
112 <para>
113 Estimated disk space required: &imagemagick6-buildsize;
114 </para>
115 </listitem>
116 <listitem>
117 <para>
118 Estimated build time: &imagemagick6-time;
119 </para>
120 </listitem>
121 </itemizedlist>
122
123 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
124 <itemizedlist spacing="compact">
125 <listitem>
126 <para>
127 Required patch:
128 <ulink url="&patch-root;/ImageMagick-&imagemagick6-version;-&imagemagick6-patch-version;-libs_only-1.patch"/>
129 </para>
130 </listitem>
131 </itemizedlist>
132
133 <note>
134 <para>
135 The <application>ImageMagick</application> source releases are updated
136 frequently and the version shown above may no longer be available from
137 the download locations. You can download a more recent version and use
138 the existing BLFS instructions to install it. Chances are that it will
139 work just fine, but this has not been tested by the BLFS team. If the
140 package version shown above is not available from the locations shown
141 above, or from the <filename class='directory'>legacy/</filename>
142 directory at <literal>ftp.ImageMagick.org/pub/ImageMagick</literal> you
143 can download it from the BLFS package server at Oregon State University:
144 <ulink url="ftp://ftp.osuosl.org/pub/blfs/conglomeration/ImageMagick/"/>.
145 </para>
146 </note>
147
148 <bridgehead renderas="sect3">ImageMagick-6 Dependencies</bridgehead>
149
150 <bridgehead renderas="sect4">Recommended</bridgehead>
151 <para role="recommended">
152 <xref linkend="xorg7-lib"/>
153 </para>
154
155 <para>
156 The optional dependencies listed below should be installed if you need
157 support for the specific format or the conversion tool the dependency
158 provides. Many of the dependencies' capabilities and uses are described in
159 the <quote>MAGICK DELEGATES</quote> section of the
160 <filename>README.txt</filename> file located in the source tree.
161 Additional information about the dependencies can be found in the
162 <filename>Install-unix.txt</filename> file located in the source tree as
163 well as issuing the <command>./configure --help</command> command. A
164 summary of this information, as well as some additional notes can be
165 viewed on-line at <ulink
166 url="http://www.imagemagick.org/script/advanced-unix-installation.php"/>.
167 </para>
168
169 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
170 <para role="optional">
171 <xref linkend="cups"/>,
172 <xref linkend="curl"/>,
173 <xref linkend="ffmpeg"/>,
174 <xref linkend="fftw"/>,
175 <xref linkend="p7zip"/> (LZMA),
176 <xref linkend="sane"/>,
177 <xref linkend="wget"/>,
178 <xref linkend="xdg-utils"/>,
179 <xref linkend="xterm2"/>,
180 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
181 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
182 <ulink url="http://www.openpgp.org/about/">PGP</ulink> or
183 <xref linkend="gnupg2"/>
184 (you'll have to do some hacking to use <application>GnuPG</application>),
185 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates">Profiles</ulink>,
186 and
187 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (for raw formats
188 listed in
189 <ulink url="http://imagemagick.org/script/formats.php">
190 http://www.imagemagick.org/www/formats.html</ulink>)
191 </para>
192
193 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
194 <para role="optional">
195 <xref linkend="jasper"/>,
196 <xref role="nodep" linkend="lcms"/> or
197 <xref linkend="lcms2"/>,
198 <xref linkend="libexif"/>,
199 <xref linkend="libgxps"/>,
200 <xref linkend="libjpeg"/>,
201 <xref linkend="libpng"/>,
202 <xref linkend="libraw"/> (RAW_R),
203 <xref linkend="librsvg"/>,
204 <xref linkend="libtiff"/>,
205 <xref linkend="libwebp"/>,
206 <xref linkend="openjpeg2"/>,
207 <xref linkend="pango"/>,
208 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
209 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/">
210 FlashPIX (libfpx)</ulink>,
211 <ulink url="https://github.com/FLIF-hub/FLIF/releases">FLIF</ulink>,
212 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
213 <!-- <ulink url="&gnome-download-http;/libgxps/">libgxps</ulink>, -->
214 <ulink url="https://github.com/HOST-Oman/libraqm/">libraqm</ulink>,
215 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
216 <ulink url="http://www.openexr.com/">OpenEXR</ulink>, and
217 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
218 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.51.tar.gz">ralcgm</ulink>)
219 </para>
220
221 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
222 <para role="optional">
223 <xref linkend="dejavu-fonts"/>,
224 <xref linkend="gs"/>,
225 <xref linkend="gimp"/>,
226 <xref linkend="graphviz"/>,
227 <xref linkend="inkscape"/>,
228 <ulink url="http://www.blender.org/">Blender</ulink>,
229 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
230 <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink>,
231 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
232 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
233 <ulink url="http://www.radiance-online.org/">Radiance</ulink>
234 </para>
235
236 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
237 <para role="optional">
238 <xref linkend="enscript"/>,
239 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
240 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
241 <ulink url="http://www.lizardtech.com/downloads/category/">
242 GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package)</ulink>,
243 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
244 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
245 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
246 <ulink url="http://sk1project.org/modules.php?name=products&amp;product=uniconvertor">
247 UniConvertor</ulink>, and
248 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
249 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
250 </para>
251
252 <para condition="html" role="usernotes">User Notes:
253 <!-- share the main page -->
254 <ulink url="&blfs-wiki;/imagemagick"/></para>
255
256 </sect2>
257
258 <sect2 role="installation">
259 <title>Installation of ImageMagick-6 libraries</title>
260
261 <para>
262 Install <application>ImageMagick</application> by running the following
263 commands:
264 </para>
265
266<screen><userinput>patch -Np1 -i ../ImageMagick-&imagemagick6-version;-&imagemagick6-patch-version;-libs_only-1.patch &amp;&amp;
267autoreconf -fi &amp;&amp;
268./configure --prefix=/usr \
269 --sysconfdir=/etc \
270 --enable-hdri \
271 --with-modules \
272 --disable-static &amp;&amp;
273make</userinput></screen>
274
275 <para>
276 Now, as the <systemitem class="username">root</systemitem> user:
277 </para>
278
279<screen role="root"><userinput>make DOCUMENTATION_PATH=/usr/share/doc/imagemagick-&imagemagick6-version; install-libs-only</userinput></screen>
280
281 <para>
282 To test the installation, issue: <command>make check</command>.
283 <!-- in 6.9.9-9 make check runs tests-validate-* A more
284 comprehensive test is the <application>ImageMagick</application>
285 validation suite. If <command>make check</command> has not been executed,
286 run <command>make tests/validate</command> to compile it. Issue
287 <command>tests/validate 2>&amp;1 | tee validate.log</command> to run the
288 validation suite. The result summary may be obtained with <command>grep
289 "validation suite" validate.log</command>.--> Note that the EPS, PS, and PDF
290 tests require a working <application>Ghostscript</application>. One test
291 in 'make check' needs <quote>Helvetica</quote> from <quote>Ghostscript
292 Standard Fonts</quote>, which are optionally installed in
293 <xref linkend="gs"/> - that test, and one other, might fail, but all the
294 validation can still pass.
295 </para>
296
297 </sect2>
298
299 <sect2 role="commands">
300 <title>Command Explanations</title>
301
302 <para>
303 <command>patch -Np1 -i
304 ../ImageMagick-&imagemagick6-version;-imagemagick6_libs_only-1.patch</command>:
305 Move unversioned pkgconfig files to versioned names and provide an option to
306 only install libraries and associated files.
307 </para>
308
309 <para>
310 <parameter>--enable-hdri</parameter>: Enables building of a
311 high dynamic range version of ImageMagick.
312 </para>
313
314 <para>
315 <parameter>--with-modules</parameter>: Enables support for
316 dynamically loadable modules.
317 </para>
318
319 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
320 href="../../xincludes/static-libraries.xml"/>
321
322 <para>
323 <option>--with-gslib</option>: Enables support to use the
324 <application>Ghostscript</application> shared library.
325 </para>
326
327 <para>
328 <option>--with-rsvg</option>: Enables support to use the
329 <application>librsvg</application> library.
330 </para>
331
332 <para>
333 <option>--with-autotrace</option>: Enables support to use
334 the <application>Autotrace</application> library.
335 </para>
336
337 <para>
338 <option>--with-wmf</option>: Enables support to use the
339 <application>libwmf</application> library.
340 </para>
341
342 <para>
343 <option>--with-gvc</option>: Enables support to use
344 <application>GraphViz</application>.
345 </para>
346
347 <para>
348 <option>--with-windows-font-dir=
349 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
350 This option specifies the directory where the Windows CoreFonts are
351 installed.
352 </para>
353
354 <para>
355 <option>--with-dejavu-font-dir=
356 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
357 This option specifies the directory where the DejaVu fonts are
358 installed.
359 </para>
360
361 <para>
362 The options and parameters listed above are the only ones you should
363 have to pass to the <command>configure</command> script to activate all
364 the delegate dependencies. All other dependencies will be automatically
365 detected and utilized in the build if they are installed.
366 </para>
367
368 </sect2>
369
370 <sect2 role="content">
371 <title>Contents</title>
372
373 <segmentedlist>
374 <segtitle>Installed Programs</segtitle>
375 <segtitle>Installed Libraries</segtitle>
376 <segtitle>Installed Directories</segtitle>
377
378 <seglistitem>
379 <seg>
380 None
381 </seg>
382 <seg>
383 libMagickCore-6.Q16HDRI.so,
384 libMagickWand-6.Q16HDRI.so and
385 libMagick++-6.Q16HDRI.so
386 </seg>
387 <seg>
388 /etc/ImageMagick-6,
389 /usr/include/ImageMagick-6,
390 /usr/lib/ImageMagick-&imagemagick6-version;,
391 /usr/share/doc/ImageMagick-&imagemagick6-version;, and
392 /usr/share/ImageMagick-6
393 </seg>
394 </seglistitem>
395 </segmentedlist>
396
397 <variablelist>
398 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
399 <?dbfo list-presentation="list"?>
400 <?dbhtml list-presentation="table"?>
401
402 <varlistentry id="libMagickCore-6.Q16HDRI">
403 <term><filename class="libraryfile">libMagickCore-6.Q16HDRI.so</filename></term>
404 <listitem>
405 <para>
406 provides the C API for ImageMagick.
407 </para>
408 <indexterm zone="imagemagick6 libMagickCore-6.Q16HDRI">
409 <primary sortas="c-libMagickCore-6.Q16HDRI">libMagickCore-6.Q16HDRI.so</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 <varlistentry id="libMagickWand-6.Q16HDRI">
415 <term><filename class="libraryfile">libMagickWand-6.Q16HDRI.so</filename></term>
416 <listitem>
417 <para>
418 is the recommended C API for ImageMagick. Unlike the MagickCore API it
419 uses only a few opaque types.
420 </para>
421 <indexterm zone="imagemagick6 libMagickWand-6.Q16HDRI">
422 <primary sortas="c-libMagickWand-6.Q16HDRI">libMagickWand-6.Q16HDRI.so</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="libMagickpp-6.Q16HDRI">
428 <term><filename class="libraryfile">libMagick++-6.Q16HDRI.so</filename></term>
429 <listitem>
430 <para>
431 provides the C++ API for ImageMagick.
432 </para>
433 <indexterm zone="imagemagick6 libMagickpp-6.Q16HDRI">
434 <primary sortas="c-libMagick++-6.Q16HDRI">libMagick++-6.Q16HDRI.so</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 </variablelist>
440
441 </sect2>
442
443</sect1>
Note: See TracBrowser for help on using the repository browser.