Difference between revisions of "ImageMagick"

From CBLFS
Jump to navigationJump to search
(Multilib)
Line 149: Line 149:
 
|libMagick.la, libWand.la, libMagick++.la
 
|libMagick.la, libWand.la, libMagick++.la
 
|}
 
|}
 +
 +
[[Category:Graphics Utilities]]

Revision as of 15:05, 19 March 2009

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

Required

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