the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: imagemagick%type_pkg[-nox]
Type: -nox -nox
Version: 6.4.1
Revision: 1011
GCC: 4.0
Source: mirror:sourceforge:imagemagick/ImageMagick-%v-1.tar.gz
Source-MD5: 51c42ae5c2cad8d669e24eecaca91840
SourceDirectory: ImageMagick-%v
Depends: <<
(%type_raw[-nox] = .) %N1-shlibs (= %v-%r),
lcms-shlibs (>= 1.11-1), libtiff-shlibs (>= 3.6.1-3), libjasper.1-shlibs (>= 1.900.1-1), libpng3-shlibs (>= 1:1.2.27-1), libdjvulibre15-shlibs (>= 3.5.18-1), libjpeg-shlibs (>= 6b-5), fontconfig2-shlibs (>= 2.4.1-1), expat1-shlibs (>= 2.0.0-1), bzip2-shlibs (>= 1.0.2-2), libxml2-shlibs (>= 2.6.30-1), libiconv (>= 1.11-1), freetype219-shlibs (>= 2.3.5-1),
ghostscript | ghostscript%type_pkg[-nox], openexr,
(%type_raw[-nox] = .) cairo-shlibs (>= 1.6-1),
(%type_raw[-nox] = .) gconf2-shlibs (>= 2.20.1-1),
(%type_raw[-nox] = .) glib2-shlibs (>= 2.14.0-1),
(%type_raw[-nox] = .) gnome-vfs2-unified-shlibs (>= 1:2.15.2-1),
(%type_raw[-nox] = .) gtk+2-shlibs (>= 2.12.0-1),
(%type_raw[-nox] = .) libart2-shlibs (>= 2.3.16-3),
(%type_raw[-nox] = .) libavahi-common3-shlibs,
(%type_raw[-nox] = .) libavahi-client3-shlibs,
(%type_raw[-nox] = .) libavahi-glib1-shlibs,
(%type_raw[-nox] = .) libcroco3-shlibs (>= 0.6.0-11),
(%type_raw[-nox] = .) libgettext3-shlibs (>= 0.14-1),
(%type_raw[-nox] = .) libgsf1.114-shlibs,
(%type_raw[-nox] = .) librsvg2-shlibs (>= 2.20.0-1),
(%type_raw[-nox] = .) libwmf-shlibs (>= 0.2.8.2-1),
(%type_raw[-nox] = .) orbit2-shlibs (>= 2.14.10-1),
(%type_raw[-nox] = .) pango1-xft2-ft219-shlibs (>= 1.18.4-4),
(%type_raw[-nox] = .) x11-shlibs
<<
BuildDepends: <<
lcms (>= 1.11-1), libtiff (>= 3.6.1-3), libjasper.1 (>= 1.900.1-1), libpng3 (>= 1:1.2.27-1), libdjvulibre15-dev (>= 3.5.18-1), libjpeg (>= 6b-5), fontconfig2-dev (>= 2.4.1-1), expat1 (>= 2.0.0-1), bzip2-dev (>= 1.0.2-2), libxml2 (>= 2.6.30-1), libiconv-dev (>= 1.11-1), freetype219 (>= 2.3.5-1),
openexr-dev,
pkgconfig (>= 0.21-1),
(%type_raw[-nox] = .) avahi-dev,
(%type_raw[-nox] = .) cairo (>= 1.6-1),
(%type_raw[-nox] = .) gconf2-dev (>= 2.20.1-1),
(%type_raw[-nox] = .) glib2-dev (>= 2.14.0-1),
(%type_raw[-nox] = .) gnome-vfs2-unified-dev (>= 1:2.15.2-1),
(%type_raw[-nox] = .) gtk+2-dev (>= 2.12.0-1),
(%type_raw[-nox] = .) libart2 (>= 2.3.16-3),
(%type_raw[-nox] = .) libavahi-glib1-dev,
(%type_raw[-nox] = .) libcroco3 (>= 0.6.0-11),
(%type_raw[-nox] = .) libgettext3-dev,
(%type_raw[-nox] = .) libgsf1.114-dev,
(%type_raw[-nox] = .) librsvg2 (>= 2.20.0-1),
(%type_raw[-nox] = .) libwmf (>= 0.2.8.2-1),
(%type_raw[-nox] = .) orbit2-dev (>= 2.14.10-1),
(%type_raw[-nox] = .) pango1-xft2-ft219-dev (>= 1.18.4-4),
(%type_raw[-nox] = .) pixman (>= 0.10.0-1),
(%type_raw[-nox] = .) x11-dev,
(%type_raw[-nox] = .) xft2-dev
<<
Conflicts: imagemagick, imagemagick-nox
Replaces: imagemagick, imagemagick-nox, imagemagick10-shlibs, imagemagick-nox10-shlibs, imagemagick10-dev (<= 1:6.3.5-1006)
Provides: (%type_raw[-nox] = .) imagemagick-nox
PatchScript: perl -pi -e 's,\@OPENEXR_LIBS\@,$& -lstdc++,' Makefile.in
ConfigureParams: <<
--without-perl --mandir='${prefix}/share/man' --enable-libtool-verbose --with-bzlib --without-dps --without-fpx \
--with-gs-font-dir=%p/share/ghostscript/fonts --without-gslib --without-gvc --with-jpeg --with-lcms \
--with-magick-plus-plus --with-png --with-tiff --with-xml --with-zlib --with-djvu --with-fontconfig --enable-hdri
<<
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/pango-ft219/lib -L%p/lib/fontconfig2/lib -L%p/lib/freetype219/lib -L%p/lib
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/lib/pango-ft219/include -I%p/lib/fontconfig2/include -I%p/lib/freetype219/include -I%p/lib/freetype219/include/freetype2 -I%p/include
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/freetype219/bin:%p/lib/fontconfig2/bin:$PATH
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
if [ "%type_raw[-nox]" == "." ]; then
c="--with-x --with-rsvg"
else
c="--without-x --without-rsvg --without-wmf --disable-shared"
fi
PKG_CONFIG=%p/bin/pkg-config ac_cv_func_poll=no ./configure %c $c
make CCLD=g++
<<
Description: Image manipulation tools
InstallScript: <<
#!/bin/sh -ev
make install DESTDIR=%d
if [ "%type_raw[-nox]" == "." ]; then
perl -pi -e "s|-lXext -lSM -lICE -lX11||g" %i/lib/libMagick*la
perl -pi -e "s|-L/usr/X11R6/lib||g" %i/lib/libMagick*la
fi
perl -pi -e 's,-L%p/lib ,,g; s, -L%p/lib/freetype219/lib,,' %i/bin/*-config
/bin/rm -f %i/lib/libltdl*
<<
DescDetail: <<
ImageMagick is a robust collection of tools and libraries to read,
write, and manipulate an image in many image formats (over 68 major formats)
including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF.
With ImageMagick you can create images dynamically, making it
suitable for Web applications. You can also resize, rotate, sharpen,
color reduce, or add special effects to an image and save your
completed work in the same or a different image format.
<<
DescPackaging: <<
In version 6.3.8-1001 and later, the imagemagick-nox package no longer
builds shared libraries and no longer has a -shlibs splitoff. There is
still a -dev splitoff, in case another package wishes to link to the
static library. Moreover, imagemagick now provides imagemagick-nox, rather
than vice versa.
Also in version 6.3.8-1001 and later, we have moved the plugins directory
%p/lib/ImageMagick-%v from the -shlibs splitoff to the main package,
and for this reason, the main package must Replace older versions of the
splitoff packages.
<<
DescPort: <<
--without-perl is the correct option for building perlmagick as a
separate package (which we do).
configure has trouble finding pkg-config, so we tell it where to look.
Fink's graphviz package is very out of date, and doesn't contain the
libgvc library which imagemagick wants. (Disabled for now.)
In version >- 5.5.6-23, we get around the libpoll problem in OS X 10.3 by
fooling ./configure into thinking that poll is not present.
We take fontconfig (and hence freetype) support from fink:
1) in order to avoid x11 in the -nox version,
2) for the x11-version, because imagemagick wants
version >= 2.4.1 but Apple's X11 only supplies version 2.1.0,
If it was just for xorg, it would have been more economical
as a matter of footprint to use xorg's fontconfig and freetype.
<<
#SplitOff: <<
# Package: %N1-shlibs
# Depends: <<
# lcms-shlibs (>= 1.11-1), libtiff-shlibs (>= 3.6.1-3), libjpeg-shlibs (>= 6b-5), fontconfig2-shlibs (>= 2.4.1-1), expat1-shlibs (>= 2.0.0-1), bzip2-shlibs (>= 1.0.2-2), freetype219-shlibs (>= 2.3.5-1), x11-shlibs
# <<
# Files: lib/lib*.*.dylib
# Shlibs: <<
# %p/lib/libMagick++.1.dylib 2.0.0 %n (>= 6.3.8-1002)
# %p/lib/libMagickWand.1.dylib 2.0.0 %n (>= 6.3.8-1002)
# %p/lib/libMagickCore.1.dylib 2.0.0 %n (>= 6.3.8-1002)
# <<
# DocFiles: LICENSE README.txt ChangeLog NEWS.txt
#<<
SplitOff2: <<
Package: %N1-dev
Depends: (%type_raw[-nox] = .) %N1-shlibs (= %v-%r)
Conflicts: imagemagick-dev, imagemagick-nox-dev, imagemagick10-dev, imagemagick-nox10-dev, imagemagick1-dev, imagemagick-nox1-dev
Replaces: imagemagick-dev, imagemagick-nox-dev, imagemagick10-dev, imagemagick-nox10-dev, imagemagick1-dev, imagemagick-nox1-dev
Files: include lib/lib*.* lib/pkgconfig %p/bin/*-config
BuildDependsOnly: True
DocFiles: LICENSE README.txt ChangeLog NEWS.txt
<<
DocFiles: LICENSE README.txt ChangeLog NEWS.txt
License: BSD
Maintainer: Dave Morrison
Homepage: http://www.imagemagick.org/
#end of Info2
<<
Info2: <<
Package: imagemagick%type_pkg[-nox]
Type: -nox -nox
Version: 6.4.1
Revision: 1011
GCC: 4.0
Source: mirror:sourceforge:imagemagick/ImageMagick-%v-1.tar.gz
Source-MD5: 51c42ae5c2cad8d669e24eecaca91840
SourceDirectory: ImageMagick-%v
Depends: <<
(%type_raw[-nox] = .) %N1-shlibs (= %v-%r),
lcms-shlibs (>= 1.11-1), libtiff-shlibs (>= 3.6.1-3), libjasper.1-shlibs (>= 1.900.1-1), libpng3-shlibs (>= 1:1.2.27-1), libdjvulibre15-shlibs (>= 3.5.18-1), libjpeg-shlibs (>= 6b-5), fontconfig2-shlibs (>= 2.4.1-1), expat1-shlibs (>= 2.0.0-1), bzip2-shlibs (>= 1.0.2-2), libxml2-shlibs (>= 2.6.30-1), libiconv (>= 1.11-1), freetype219-shlibs (>= 2.3.5-1),
ghostscript | ghostscript%type_pkg[-nox], openexr,
(%type_raw[-nox] = .) cairo-shlibs (>= 1.6-1),
(%type_raw[-nox] = .) gconf2-shlibs (>= 2.20.1-1),
(%type_raw[-nox] = .) glib2-shlibs (>= 2.14.0-1),
(%type_raw[-nox] = .) gnome-vfs2-unified-shlibs (>= 1:2.15.2-1),
(%type_raw[-nox] = .) gtk+2-shlibs (>= 2.12.0-1),
(%type_raw[-nox] = .) libart2-shlibs (>= 2.3.16-3),
(%type_raw[-nox] = .) libavahi-common3-shlibs,
(%type_raw[-nox] = .) libavahi-client3-shlibs,
(%type_raw[-nox] = .) libavahi-glib1-shlibs,
(%type_raw[-nox] = .) libcroco3-shlibs (>= 0.6.0-11),
(%type_raw[-nox] = .) libgettext3-shlibs (>= 0.14-1),
(%type_raw[-nox] = .) libgsf1.114-shlibs,
(%type_raw[-nox] = .) librsvg2-shlibs (>= 2.20.0-1),
(%type_raw[-nox] = .) libwmf-shlibs (>= 0.2.8.2-1),
(%type_raw[-nox] = .) orbit2-shlibs (>= 2.14.10-1),
(%type_raw[-nox] = .) pango1-xft2-ft219-shlibs (>= 1.18.4-4),
(%type_raw[-nox] = .) x11-shlibs
<<
BuildDepends: <<
lcms (>= 1.11-1), libtiff (>= 3.6.1-3), libjasper.1 (>= 1.900.1-1), libpng3 (>= 1:1.2.27-1), libdjvulibre15-dev (>= 3.5.18-1), libjpeg (>= 6b-5), fontconfig2-dev (>= 2.4.1-1), expat1 (>= 2.0.0-1), bzip2-dev (>= 1.0.2-2), libxml2 (>= 2.6.30-1), libiconv-dev (>= 1.11-1), freetype219 (>= 2.3.5-1),
openexr-dev,
pkgconfig (>= 0.21-1),
(%type_raw[-nox] = .) avahi-dev,
(%type_raw[-nox] = .) cairo (>= 1.6-1),
(%type_raw[-nox] = .) gconf2-dev (>= 2.20.1-1),
(%type_raw[-nox] = .) glib2-dev (>= 2.14.0-1),
(%type_raw[-nox] = .) gnome-vfs2-unified-dev (>= 1:2.15.2-1),
(%type_raw[-nox] = .) gtk+2-dev (>= 2.12.0-1),
(%type_raw[-nox] = .) libart2 (>= 2.3.16-3),
(%type_raw[-nox] = .) libavahi-glib1-dev,
(%type_raw[-nox] = .) libcroco3 (>= 0.6.0-11),
(%type_raw[-nox] = .) libgettext3-dev,
(%type_raw[-nox] = .) libgsf1.114-dev,
(%type_raw[-nox] = .) librsvg2 (>= 2.20.0-1),
(%type_raw[-nox] = .) libwmf (>= 0.2.8.2-1),
(%type_raw[-nox] = .) orbit2-dev (>= 2.14.10-1),
(%type_raw[-nox] = .) pango1-xft2-ft219-dev (>= 1.18.4-4),
(%type_raw[-nox] = .) pixman (>= 0.10.0-1),
(%type_raw[-nox] = .) x11-dev,
(%type_raw[-nox] = .) xft2-dev
<<
Conflicts: imagemagick, imagemagick-nox
Replaces: imagemagick, imagemagick-nox, imagemagick10-shlibs, imagemagick-nox10-shlibs, imagemagick10-dev (<= 1:6.3.5-1006)
Provides: (%type_raw[-nox] = .) imagemagick-nox
PatchScript: perl -pi -e 's,\@OPENEXR_LIBS\@,$& -lstdc++,' Makefile.in
ConfigureParams: <<
--without-perl --mandir='${prefix}/share/man' --enable-libtool-verbose --with-bzlib --without-dps --without-fpx \
--with-gs-font-dir=%p/share/ghostscript/fonts --without-gslib --without-gvc --with-jpeg --with-lcms \
--with-magick-plus-plus --with-png --with-tiff --with-xml --with-zlib --with-djvu --with-fontconfig --enable-hdri
<<
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/pango-ft219/lib -L%p/lib/fontconfig2/lib -L%p/lib/freetype219/lib -L%p/lib
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/lib/pango-ft219/include -I%p/lib/fontconfig2/include -I%p/lib/freetype219/include -I%p/lib/freetype219/include/freetype2 -I%p/include
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/freetype219/bin:%p/lib/fontconfig2/bin:$PATH
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
if [ "%type_raw[-nox]" == "." ]; then
c="--with-x --with-rsvg"
else
c="--without-x --without-rsvg --without-wmf --disable-shared"
fi
PKG_CONFIG=%p/bin/pkg-config ac_cv_func_poll=no ./configure %c $c
make CCLD=g++
<<
Description: Image manipulation tools
InstallScript: <<
#!/bin/sh -ev
make install DESTDIR=%d
if [ "%type_raw[-nox]" == "." ]; then
perl -pi -e "s|-lXext -lSM -lICE -lX11||g" %i/lib/libMagick*la
perl -pi -e "s|-L/usr/X11R6/lib||g" %i/lib/libMagick*la
fi
perl -pi -e 's,-L%p/lib ,,g; s, -L%p/lib/freetype219/lib,,' %i/bin/*-config
/bin/rm -f %i/lib/libltdl*
<<
DescDetail: <<
ImageMagick is a robust collection of tools and libraries to read,
write, and manipulate an image in many image formats (over 68 major formats)
including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF.
With ImageMagick you can create images dynamically, making it
suitable for Web applications. You can also resize, rotate, sharpen,
color reduce, or add special effects to an image and save your
completed work in the same or a different image format.
<<
DescPackaging: <<
In version 6.3.8-1001 and later, the imagemagick-nox package no longer
builds shared libraries and no longer has a -shlibs splitoff. There is
still a -dev splitoff, in case another package wishes to link to the
static library. Moreover, imagemagick now provides imagemagick-nox, rather
than vice versa.
Also in version 6.3.8-1001 and later, we have moved the plugins directory
%p/lib/ImageMagick-%v from the -shlibs splitoff to the main package,
and for this reason, the main package must Replace older versions of the
splitoff packages.
<<
DescPort: <<
--without-perl is the correct option for building perlmagick as a
separate package (which we do).
configure has trouble finding pkg-config, so we tell it where to look.
Fink's graphviz package is very out of date, and doesn't contain the
libgvc library which imagemagick wants. (Disabled for now.)
In version >- 5.5.6-23, we get around the libpoll problem in OS X 10.3 by
fooling ./configure into thinking that poll is not present.
We take fontconfig (and hence freetype) support from fink:
1) in order to avoid x11 in the -nox version,
2) for the x11-version, because imagemagick wants
version >= 2.4.1 but Apple's X11 only supplies version 2.1.0,
If it was just for xorg, it would have been more economical
as a matter of footprint to use xorg's fontconfig and freetype.
<<
#SplitOff: <<
# Package: %N1-shlibs
# Depends: <<
# lcms-shlibs (>= 1.11-1), libtiff-shlibs (>= 3.6.1-3), libjpeg-shlibs (>= 6b-5), fontconfig2-shlibs (>= 2.4.1-1), expat1-shlibs (>= 2.0.0-1), bzip2-shlibs (>= 1.0.2-2), freetype219-shlibs (>= 2.3.5-1), x11-shlibs
# <<
# Files: lib/lib*.*.dylib
# Shlibs: <<
# %p/lib/libMagick++.1.dylib 2.0.0 %n (>= 6.3.8-1002)
# %p/lib/libMagickWand.1.dylib 2.0.0 %n (>= 6.3.8-1002)
# %p/lib/libMagickCore.1.dylib 2.0.0 %n (>= 6.3.8-1002)
# <<
# DocFiles: LICENSE README.txt ChangeLog NEWS.txt
#<<
SplitOff2: <<
Package: %N1-dev
Depends: (%type_raw[-nox] = .) %N1-shlibs (= %v-%r)
Conflicts: imagemagick-dev, imagemagick-nox-dev, imagemagick10-dev, imagemagick-nox10-dev, imagemagick1-dev, imagemagick-nox1-dev
Replaces: imagemagick-dev, imagemagick-nox-dev, imagemagick10-dev, imagemagick-nox10-dev, imagemagick1-dev, imagemagick-nox1-dev
Files: include lib/lib*.* lib/pkgconfig %p/bin/*-config
BuildDependsOnly: True
DocFiles: LICENSE README.txt ChangeLog NEWS.txt
<<
DocFiles: LICENSE README.txt ChangeLog NEWS.txt
License: BSD
Maintainer: Dave Morrison
Homepage: http://www.imagemagick.org/
#end of Info2
<<