ImageMagick: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
Aaediwen (talk | contribs)
Moved Xwindows to an optional dependancy. Imagemagick will build and run fine without it
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
== Dependencies ==
== Dependencies ==


=== Required ===
=== Optional ===
* [[X Window System]]
* [[X Window System]]
=== Optional ===
* [[Pkg-config]]
* [[Pkg-config]]
* [[CUPS]]
* [[CUPS]]
Line 20: 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 39: Line 37:
* [[RALCGM]]
* [[RALCGM]]
* [[OpenEXR]]
* [[OpenEXR]]
* [[Ghostscript]]
* [[Ghostscript]]
* [[GhostPCL]]
* [[GhostPCL]]
Line 47: Line 44:
* [[POV-Ray]]
* [[POV-Ray]]
* [[Radiance]]
* [[Radiance]]
* [[AutoTrace]]
* [[AutoTrace]]
* [[Enscript]]
* [[Enscript]]

Latest revision as of 22: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