Lines Matching +full:imagemagick +full:- +full:windows
1 # Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
7 # https://imagemagick.org/script/license.php
38 my $conf = `identify -list Configure 2>$devnull` || `convert -list Configure 2>$devnull`;
51 foreach (@l) { push @libdir, $_ if (-d $_) };
62 foreach (@b) { push @bindir, $_ if (-e "$_/convert.exe" || -e "$_/identify.exe") };
66 push @i, catfile($dirpath,'include','ImageMagick');
68 push @i, catfile($dirpath,'..','include','ImageMagick');
70 push @i, catfile($dirpath,'..','..','include','ImageMagick');
72 push @i, catfile($dirpath,'..','..','..','include','ImageMagick');
73 foreach (@i) { push @incdir, $_ if (-e "$_/MagickCore/MagickCore.h") };
88 …system("dlltool -D \"$d\" -d \"$wrkdir/libMagickCore.def\" -l \"$wrkdir/libMagickCore.a\" 2>$devnu…
89 last if -s "$wrkdir/libMagickCore.a";
91 last if -s "$wrkdir/libMagickCore.a";
94 unless(@incdir && @libdir && @bindir && (-s "$wrkdir/libMagickCore.a")) {
97 # It seems that you are trying to install Perl::Magick on a MS Windows box with
98 # perl + gcc compiler (e.g. strawberry perl), however we cannot find ImageMagick
103 # 1) You need to have installed ImageMagick Windows binaries from
104 # https://imagemagick.org/script/binary-releases.php#windows
106 # 2) We only support dynamic (DLL) ImageMagick binaries
107 # note: it is not possible to mix 32/64-bit binaries of perl and ImageMagick
109 # 3) During installation select that you want to install ImageMagick's
112 # 4) You also need to have ImageMagick's directory in your PATH
116 # see instructions on ImageMagick's Binary Release webpage
123 my $inc = join ' ', map "-I\"$_\"", @incdir;
124 my $lib = join ' ', map "-L\"$_\"", @libdir;
132 my $conf = `identify -list Configure 2>$devnull` || `convert -list Configure 2>$devnull`;
151 if ( -d "t/$delegate" ) {
164 my $INC_magick = '-I../.. -I@top_srcdir@ @CPPFLAGS@ -I"' . $Config{'usrinc'} . '/ImageMagick"';
165 my $LIBS_magick = '-L../../MagickCore/.libs -lMagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@…
167 my $LDFLAGS_magick = "-L../../magick/.libs -lMagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX…
168 my $LDDLFLAGS_magick = "-L../../magick/.libs -lMagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX…
177 $LIBS_magick = "-lMagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@";
188 'ABSTRACT' => 'ImageMagick PERL Extension',
194 'AUTHOR' => 'ImageMagick Studio LLC',
203 'DEFINE' => '@LFS_CPPFLAGS@ @DEFS@', # e.g., '-DHAVE_SOMETHING'
211 # C pre-processor flags (e.g. -I & -D options)
214 # C compiler flags (e.g. -O -g)
226 # Install PerlMagick binary into ImageMagick bin directory
238 # Use same compiler as ImageMagick
243 # Set Perl installation prefix to ImageMagick installation prefix
249 ($Config{'archname'} =~ /-object$/i ? ('CAPI' => 'TRUE') : ()),
261 my $inherited = shift->SUPER::makeaperl(@_);
264 # prior to any user-specified library path so that an installed library is
269 … $inherited =~ s:MAP_LINKCMD\s.*\s*\$\(CC\):MAP_LINKCMD = \$(PERLMAINCC) -L@MAGICKCORE_PATH@: ;