source: general/genutils/imagemagick6.xml@ e0e5bc8

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 e0e5bc8 was e0e5bc8, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to ImageMagick-6.9.7-3

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

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