source: general/genutils/imagemagick6.xml@ 43b178b1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.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 43b178b1 was 43b178b1, checked in by Pierre Labastie <pieere@…>, 7 years ago

X264-20170212-2245
ImageMagick-6.9.7-8, and add properties
ImageMagick-7.0.4-8, and fix short descripitions

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

  • Property mode set to 100644
File size: 16.5 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 "8">
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 "765ed15348074bc2e45acd6f890016eb">
12 <!ENTITY imagemagick6-size "8.4 MB">
13 <!ENTITY imagemagick6-buildsize "179 MB, with typical dependencies">
14 <!ENTITY imagemagick6-time "2.3 SBU - typical build (add 0.8 SBU for the validation suite)">
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 [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).
26
27 For a non-full build of 6.9.3-8 I got an actual space of 173 MB and running
28 the validation suite does not increase the net space. I recommend running
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>
55 <othername>$LastChangedBy$</othername>
56 <date>$Date$</date>
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
78 &lfs7a_checked;
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:
107 <ulink url="&patch-root;/ImageMagick-&imagemagick6-version;-&imagemagick6-patch-version;-libs_only-1.patch"/>
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"/>,
153 <xref linkend="p7zip"/> (LZMA),
154 <xref linkend="sane"/>,
155 <xref linkend="wget"/>,
156 <xref linkend="xdg-utils"/>,
157 <xref linkend="xterm2"/>,
158 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
159 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
160 <ulink url="http://www.fftw.org/">FFTW</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"/>,
180 <xref linkend="librsvg"/>,
181 <xref linkend="libtiff"/>,
182 <xref linkend="libwebp"/>,
183 <xref linkend="openjpeg2"/>,
184 <xref linkend="pango"/>,
185 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
186 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/">
187 FlashPIX (libfpx)</ulink>,
188 <ulink url="https://github.com/FLIF-hub/FLIF/releases">FLIF</ulink>,
189 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
190 <ulink url="&gnome-download-http;/libgxps/">libgxps</ulink>,
191 <ulink url="https://github.com/HOST-Oman/libraqm/">libraqm</ulink>,
192 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
193 <ulink url="http://www.openexr.com/">OpenEXR</ulink>, and
194 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
195 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.51.tar.gz">ralcgm</ulink>)
196 </para>
197
198 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
199 <para role="optional">
200 <xref linkend="dejavu-fonts"/>,
201 <xref linkend="gs"/>,
202 <xref linkend="gimp"/>,
203 <xref linkend="graphviz"/>,
204 <xref linkend="inkscape"/>,
205 <ulink url="http://www.blender.org/">Blender</ulink>,
206 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
207 <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink>,
208 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
209 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
210 <ulink url="http://www.radiance-online.org/">Radiance</ulink>
211 </para>
212
213 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
214 <para role="optional">
215 <xref linkend="enscript"/>,
216 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
217 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
218 <ulink url="http://www.lizardtech.com/downloads/category/">
219 GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package)</ulink>,
220 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
221 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
222 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
223 <ulink url="http://sk1project.org/modules.php?name=products&amp;product=uniconvertor">
224 UniConvertor</ulink>, and
225 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
226 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
227 </para>
228
229 <para condition="html" role="usernotes">User Notes:
230 <!-- share the main page -->
231 <ulink url="&blfs-wiki;/imagemagick"/></para>
232
233 </sect2>
234
235 <sect2 role="installation">
236 <title>Installation of ImageMagick-6 libraries</title>
237
238 <para>
239 Install <application>ImageMagick</application> by running the following
240 commands:
241 </para>
242
243<screen><userinput>patch -Np1 -i ../ImageMagick-&imagemagick6-version;-&imagemagick6-patch-version;-libs_only-1.patch &amp;&amp;
244./configure --prefix=/usr \
245 --sysconfdir=/etc \
246 --enable-hdri \
247 --with-modules \
248 --disable-static &amp;&amp;
249make</userinput></screen>
250
251 <para>
252 Now, as the <systemitem class="username">root</systemitem> user:
253 </para>
254
255<screen role="root"><userinput>make DOCUMENTATION_PATH=/usr/share/doc/imagemagick-&imagemagick6-version; install-libs-only</userinput></screen>
256
257 <para>
258 To test the installation, issue: <command>make check</command>. A more
259 comprehensive test is the <application>ImageMagick</application>
260 validation suite. If <command>make check</command> has not been executed,
261 run <command>make tests/validate</command> to compile it. Issue
262 <command>tests/validate 2>&amp;1 | tee validate.log</command> to run the
263 validation suite. The result summary may be obtained with <command>grep
264 "validation suite" validate.log</command>. Note that the EPS, PS, and PDF
265 tests require a working <application>Ghostscript</application>. One test
266 in 'make check' needs <quote>Helvetica</quote> from <quote>Ghostscript
267 Standard Fonts</quote>, which are optionally installed in
268 <xref linkend="gs"/> - that test, and one other, might fail, but all the
269 validation can still pass.
270 </para>
271
272 </sect2>
273
274 <sect2 role="commands">
275 <title>Command Explanations</title>
276
277 <para>
278 <command>patch -Np1 -i
279 ../ImageMagick-&imagemagick6-version;-imagemagick6_libs_only-1.patch</command>:
280 Move unversioned pkgconfig files to versioned names and provide an option to
281 only install libraries and associated files.
282 </para>
283
284 <para>
285 <parameter>--enable-hdri</parameter>: Enables building of a
286 high dynamic range version of ImageMagick.
287 </para>
288
289 <para>
290 <parameter>--with-modules</parameter>: Enables support for
291 dynamically loadable modules.
292 </para>
293
294 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
295 href="../../xincludes/static-libraries.xml"/>
296
297 <para>
298 <option>--with-gslib</option>: Enables support to use the
299 <application>Ghostscript</application> shared library.
300 </para>
301
302 <para>
303 <option>--with-rsvg</option>: Enables support to use the
304 <application>librsvg</application> library.
305 </para>
306
307 <para>
308 <option>--with-autotrace</option>: Enables support to use
309 the <application>Autotrace</application> library.
310 </para>
311
312 <para>
313 <option>--with-wmf</option>: Enables support to use the
314 <application>libwmf</application> library.
315 </para>
316
317 <para>
318 <option>--with-gvc</option>: Enables support to use
319 <application>GraphViz</application>.
320 </para>
321
322 <para>
323 <option>--with-windows-font-dir=
324 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
325 This option specifies the directory where the Windows CoreFonts are
326 installed.
327 </para>
328
329 <para>
330 <option>--with-dejavu-font-dir=
331 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
332 This option specifies the directory where the DejaVu fonts are
333 installed.
334 </para>
335
336 <para>
337 The options and parameters listed above are the only ones you should
338 have to pass to the <command>configure</command> script to activate all
339 the delegate dependencies. All other dependencies will be automatically
340 detected and utilized in the build if they are installed.
341 </para>
342
343 </sect2>
344
345 <sect2 role="content">
346 <title>Contents</title>
347
348 <segmentedlist>
349 <segtitle>Installed Programs</segtitle>
350 <segtitle>Installed Libraries</segtitle>
351 <segtitle>Installed Directories</segtitle>
352
353 <seglistitem>
354 <seg>
355 None
356 </seg>
357 <seg>
358 libMagickCore-6.Q16HDRI.so,
359 libMagickWand-6.Q16HDRI.so and
360 libMagick++-6.Q16HDRI.so
361 </seg>
362 <seg>
363 /etc/ImageMagick-6,
364 /usr/include/ImageMagick-6,
365 /usr/lib/ImageMagick-&imagemagick6-version;,
366 /usr/share/doc/ImageMagick-&imagemagick6-version;, and
367 /usr/share/ImageMagick-6
368 </seg>
369 </seglistitem>
370 </segmentedlist>
371
372 <variablelist>
373 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
374 <?dbfo list-presentation="list"?>
375 <?dbhtml list-presentation="table"?>
376
377 <varlistentry id="libMagickCore-6.Q16HDRI">
378 <term><filename class="libraryfile">libMagickCore-6.Q16HDRI.so</filename></term>
379 <listitem>
380 <para>
381 provides the C API for ImageMagick.
382 </para>
383 <indexterm zone="imagemagick6 libMagickCore-6.Q16HDRI">
384 <primary sortas="c-libMagickCore-6.Q16HDRI">libMagickCore-6.Q16HDRI.so</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="libMagickWand-6.Q16HDRI">
390 <term><filename class="libraryfile">libMagickWand-6.Q16HDRI.so</filename></term>
391 <listitem>
392 <para>
393 is the recommended C API for ImageMagick. Unlike the MagickCore API it
394 uses only a few opaque types.
395 </para>
396 <indexterm zone="imagemagick6 libMagickWand-6.Q16HDRI">
397 <primary sortas="c-libMagickWand-6.Q16HDRI">libMagickWand-6.Q16HDRI.so</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="libMagickpp-6.Q16HDRI">
403 <term><filename class="libraryfile">libMagick++-6.Q16HDRI.so</filename></term>
404 <listitem>
405 <para>
406 provides the C++ API for ImageMagick.
407 </para>
408 <indexterm zone="imagemagick6 libMagickpp-6.Q16HDRI">
409 <primary sortas="c-libMagick++-6.Q16HDRI">libMagick++-6.Q16HDRI.so</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 </variablelist>
415
416 </sect2>
417
418</sect1>
Note: See TracBrowser for help on using the repository browser.