source: general/genutils/imagemagick6.xml@ 5d25c92

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 5d25c92 was 5d25c92, checked in by Ken Moffat <ken@…>, 6 years ago

Bump the patch version for ImageMagick-6, previous version did not all apply.

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

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