Difference between revisions of "ImageMagick"

From CBLFS
Jump to navigationJump to search
(Multilib)
(Moved Xwindows to an optional dependancy. Imagemagick will build and run fine without it)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-{{ImageMagick-Version}}.tar.bz2
+
{| style="text-align: left; background-color: AliceBlue;"
 +
 
 +
|-
 +
!Download Source:
 +
|http://downloads.sourceforge.net/imagemagick/ImageMagick-{{ImageMagick-Version}}.tar.bz2
 +
|}
 +
 
 +
----
 +
 
 +
{{Package-Introduction|ImageMagick (TM) is a package for the automated and interative manipulation of images. It supports the display and interactive manipulation of images when used with the X Window System.|http://www.imagemagick.org/script/index.php}}
  
 
== Dependencies ==
 
== Dependencies ==
  
=== Required ===
+
=== Optional ===
 
* [[X Window System]]
 
* [[X Window System]]
=== Optional ===
 
 
* [[Pkg-config]]
 
* [[Pkg-config]]
 
* [[CUPS]]
 
* [[CUPS]]
Line 11: Line 19:
 
* [[dcraw]]
 
* [[dcraw]]
 
* [[Dmalloc]]
 
* [[Dmalloc]]
* [[Electric Fence]]
+
* [[DUMA]]
 
* [[PGP]]
 
* [[PGP]]
 
* [[GnuPG]]
 
* [[GnuPG]]
 
* [[SANE]]
 
* [[SANE]]
 
* [[Wget]]
 
* [[Wget]]
 
 
* [http://www.i3a.org/i_flashpix.html FlashPIX]
 
* [http://www.i3a.org/i_flashpix.html FlashPIX]
 
* [[FreeType]]
 
* [[FreeType]]
Line 29: Line 36:
 
* [[LibXML2]]
 
* [[LibXML2]]
 
* [[RALCGM]]
 
* [[RALCGM]]
 
+
* [[OpenEXR]]
 
* [[Ghostscript]]
 
* [[Ghostscript]]
 
* [[GhostPCL]]
 
* [[GhostPCL]]
Line 37: Line 44:
 
* [[POV-Ray]]
 
* [[POV-Ray]]
 
* [[Radiance]]
 
* [[Radiance]]
 
 
* [[AutoTrace]]
 
* [[AutoTrace]]
 
* [[Enscript]]
 
* [[Enscript]]
Line 73: Line 79:
 
  mv -v /usr/bin/Magick++-config{,-32} &&
 
  mv -v /usr/bin/Magick++-config{,-32} &&
 
  mv -v /usr/bin/Wand-config{,-32} &&
 
  mv -v /usr/bin/Wand-config{,-32} &&
 +
mv -v /usr/bin/MagickCore-config{,-32} &&
 +
mv -v /usr/bin/MagickWand-config{,-32} &&
 
  unset USE_ARCH
 
  unset USE_ARCH
  
Line 93: Line 101:
 
  mv -v /usr/bin/Magick++-config{,-n32} &&
 
  mv -v /usr/bin/Magick++-config{,-n32} &&
 
  mv -v /usr/bin/Wand-config{,-n32} &&
 
  mv -v /usr/bin/Wand-config{,-n32} &&
 +
mv -v /usr/bin/MagickCore-config{,-n32} &&
 +
mv -v /usr/bin/MagickWand-config{,-n32} &&
 
  unset USE_ARCH
 
  unset USE_ARCH
  
Line 116: Line 126:
 
  mv -v /usr/bin/Wand-config{,-64} &&
 
  mv -v /usr/bin/Wand-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/Wand-config &&
 
  ln -sfv multiarch_wrapper /usr/bin/Wand-config &&
 +
mv -v /usr/bin/MagickCore-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/MagickCore-config &&
 +
mv -v /usr/bin/MagickWand-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/MagickWand-config &&
 
  unset USE_ARCH
 
  unset USE_ARCH
 +
 +
== Contents ==
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
!Installed Directories:
 +
|/usr/lib/ImageMagick-{{ImageMagick-Version2}}, /usr/share/ImageMagick-{{ImageMagick-Version2}}, /usr/include/magick, /usr/share/doc/ImageMagick-{{ImageMagick-Version2}}, /usr/include/Magick++, /usr/include/wand
 +
|-valign="top"
 +
!Installed Programs:
 +
|animate, compare, composite, conjure, convert, display, identify, import, mogrify, montage, stream, Magick-config, Magick++-config, Wand-config
 +
|-valign="top"
 +
!Installed Libraries:
 +
|libMagick.la, libWand.la, libMagick++.la
 +
|}
 +
 +
[[Category:Graphics Utilities]]

Latest revision as of 21:47, 7 September 2012

Download Source: http://downloads.sourceforge.net/imagemagick/ImageMagick-6.7.9-3.tar.bz2

Introduction to ImageMagick

ImageMagick (TM) is a package for the automated and interative manipulation of images. It supports the display and interactive manipulation of images when used with the X Window System.

Project Homepage: http://www.imagemagick.org/script/index.php

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --with-modules &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" \
./configure --prefix=/usr --with-modules &&
make

Install the package:

make install &&
mv -v /usr/bin/Magick-config{,-32} &&
mv -v /usr/bin/Magick++-config{,-32} &&
mv -v /usr/bin/Wand-config{,-32} &&
mv -v /usr/bin/MagickCore-config{,-32} &&
mv -v /usr/bin/MagickWand-config{,-32} &&
unset USE_ARCH

N32

Compile the package:

export USE_ARCH=n32 &&
sed -i "/-L/s:/lib:&32:" configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" \
./configure --prefix=/usr --libdir=/usr/lib32 \
    --with-modules &&
make

Install the package:

make install &&
mv -v /usr/bin/Magick-config{,-n32} &&
mv -v /usr/bin/Magick++-config{,-n32} &&
mv -v /usr/bin/Wand-config{,-n32} &&
mv -v /usr/bin/MagickCore-config{,-n32} &&
mv -v /usr/bin/MagickWand-config{,-n32} &&
unset USE_ARCH

64Bit

Compile the package:

export USE_ARCH=64 &&
sed -i "/-L/s:/lib:&64:" configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" \
./configure --prefix=/usr --libdir=/usr/lib64 \
    --with-modules &&
make

Install the package:

make install &&
mv -v /usr/bin/Magick-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/Magick-config &&
mv -v /usr/bin/Magick++-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/Magick++-config &&
mv -v /usr/bin/Wand-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/Wand-config &&
mv -v /usr/bin/MagickCore-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/MagickCore-config &&
mv -v /usr/bin/MagickWand-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/MagickWand-config &&
unset USE_ARCH

Contents

Installed Directories: /usr/lib/ImageMagick-6.7.9, /usr/share/ImageMagick-6.7.9, /usr/include/magick, /usr/share/doc/ImageMagick-6.7.9, /usr/include/Magick++, /usr/include/wand
Installed Programs: animate, compare, composite, conjure, convert, display, identify, import, mogrify, montage, stream, Magick-config, Magick++-config, Wand-config
Installed Libraries: libMagick.la, libWand.la, libMagick++.la