source: general/genutils/imagemagick6.xml@ b7547d4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn elogind 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 b7547d4 was da0ec4ec, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Fix some patch urls

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

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