]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 3 Feb 2010 17:05:25 +0000 (17:05 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 3 Feb 2010 17:05:25 +0000 (17:05 +0000)
Magick++/bin/Magick++-config
PerlMagick/Makefile.PL
config/configure.xml
libtool
magick/Magick-config
magick/blob.c
magick/constitute.c
magick/image.c
magick/version.h
wand/Wand-config
www/favicon.ico [new file with mode: 0644]

index 66966a54a59a423864b276f09dde3cbf76fec3e5..e1f76f15cd225c15dd8ede54eb472fe4b01adcc5 100755 (executable)
@@ -52,7 +52,7 @@ while test $# -gt 0; do
       echo '-I/usr/local/include/ImageMagick'
       ;;
     --ldflags)
-      echo '-L/usr/local/lib -Wl,--as-needed'
+      echo '-L/usr/local/lib '
       ;;
     --libs)
       echo "-L${libdir} -lMagick++ -lMagickWand -lMagickCore -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -ldjvulibre -lfftw3 -lfontconfig -lwmflite -lXext -lXt -lSM -lICE -lX11 -lbz2 -pthread -lrsvg-2 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread -lltdl"
index 628980ef830fe0d64ec278c26868cfd077db0ab8..1a5cc571f907477e41fdc76e72d3c7537b154ac4 100644 (file)
@@ -140,9 +140,9 @@ foreach $delegate (qw/bzlib djvu fftw fontconfig freetype jpeg jng jp2 lcms mpeg
 # defaults for LIBS & INC & CCFLAGS params that we later pass to Writemakefile
 my $INC_magick = '-I../ -I.. -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/libxml2 -I"' . $Config{'usrinc'} . '/ImageMagick"';
 my $LIBS_magick = '-L../magick/.libs -lMagickCore -lperl -lm';
-my $CCFLAGS_magick = "$Config{'ccflags'} -fopenmp -O3 -g -Wall -W -pthread";
-my $LDFLAGS_magick   = "-L../magick/.libs -lMagickCore $Config{'ldflags'} -Wl,--as-needed";
-my $LDDLFLAGS_magick = "-L../magick/.libs -lMagickCore $Config{'lddlflags'} -Wl,--as-needed";
+my $CCFLAGS_magick = "$Config{'ccflags'} -fopenmp -g -O2 -Wall -W -pthread";
+my $LDFLAGS_magick   = "-L../magick/.libs -lMagickCore $Config{'ldflags'} ";
+my $LDDLFLAGS_magick = "-L../magick/.libs -lMagickCore $Config{'lddlflags'} ";
 
 if (($^O eq 'MSWin32') && ($Config{cc} =~ /gcc/)) {
   my($Ipaths, $Lpaths) = AutodetectWin32gcc();
index e7e81e9e9f24bd75b8a0cf008f1ac0820c58219e..613bf9db34e509827e8dd2cc7299e95a5bc66132 100644 (file)
@@ -9,21 +9,21 @@
   <configure name="NAME" value="ImageMagick"/>
   <configure name="LIB_VERSION" value="0x659"/>
   <configure name="LIB_VERSION_NUMBER" value="6,5,9,2"/>
-  <configure name="RELEASE_DATE" value="2010-02-01"/>
-  <configure name="CONFIGURE" value="./configure  'CFLAGS=-O3 -g' 'LDFLAGS=-Wl,--as-needed'"/>
+  <configure name="RELEASE_DATE" value="2010-02-03"/>
+  <configure name="CONFIGURE" value="./configure "/>
   <configure name="PREFIX" value="/usr/local"/>
   <configure name="EXEC-PREFIX" value="/usr/local"/>
   <configure name="VERSION" value="6.5.9"/>
   <configure name="CC" value="gcc -std=gnu99"/>
-  <configure name="CFLAGS" value="-fopenmp -O3 -g -Wall -W -pthread"/>
+  <configure name="CFLAGS" value="-fopenmp -g -O2 -Wall -W -pthread"/>
   <configure name="CPPFLAGS" value="-I/usr/local/include/ImageMagick"/>
   <configure name="PCFLAGS" value="-fopenmp"/>
   <configure name="DEFS" value="-DHAVE_CONFIG_H"/>
-  <configure name="LDFLAGS" value="-L/usr/local/lib -Wl,--as-needed"/>
+  <configure name="LDFLAGS" value="-L/usr/local/lib "/>
   <configure name="LIBS" value="-lMagickCore -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -ldjvulibre -lfftw3 -lfontconfig -lwmflite -lXext -lXt -lSM -lICE -lX11 -lbz2 -pthread -lrsvg-2 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread -lltdl"/>
   <configure name="CXX" value="g++"/>
   <configure name="CXXFLAGS" value="-g -O2 -Wall -W -pthread"/>
-  <configure name="DISTCHECK_CONFIG_FLAGS" value="'CFLAGS=-O3 -g' 'LDFLAGS=-Wl,--as-needed' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath="/>
+  <configure name="DISTCHECK_CONFIG_FLAGS" value="--disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath="/>
   <configure name="HOST" value="x86_64-unknown-linux-gnu"/>
   <configure name="DELEGATES" value="bzlib djvu fftw fontconfig freetype jpeg jng jp2 lcms mpeg png rsvg tiff x11 xml wmf zlib"/>
   <configure name="COPYRIGHT" value="Copyright (C) 1999-2010 ImageMagick Studio LLC"/>
diff --git a/libtool b/libtool
index 230f1c36d506503c795ac3bb9d08e497b47ad647..245667e2cbb13ab82ca30f2c4a54dfb66952b450 100755 (executable)
--- a/libtool
+++ b/libtool
@@ -138,7 +138,7 @@ old_postuninstall_cmds=""
 LTCC="gcc -std=gnu99"
 
 # LTCC compiler flags.
-LTCFLAGS="-fopenmp -O3 -g -Wall -W -pthread"
+LTCFLAGS="-fopenmp -g -O2 -Wall -W -pthread"
 
 # Take the output of nm and produce a listing of raw symbols and C names.
 global_symbol_pipe="sed -n -e 's/^.*[   ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[       ][      ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'"
index 2132b9ad0cebdc9a845c1522ba2971f2870dcce9..92915ca2b4327a23387885790aac10487c03cf9b 100755 (executable)
@@ -49,7 +49,7 @@ while test $# -gt 0; do
       echo '-I/usr/local/include/ImageMagick'
       ;;
     --ldflags)
-      echo '-L/usr/local/lib -Wl,--as-needed'
+      echo '-L/usr/local/lib '
       ;;
     --libs)
       echo "-L${libdir} -lMagickCore -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -ldjvulibre -lfftw3 -lfontconfig -lwmflite -lXext -lXt -lSM -lICE -lX11 -lbz2 -pthread -lrsvg-2 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread -lltdl"
index 9d8cccc2b9a9fa0f8f9860db9ebd7390553bbdb7..7e19c6a47de4e85ac36af32c914785b84747085b 100644 (file)
@@ -2323,35 +2323,38 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info,
 #endif
   if (*type == 'w')
     {
-      /*
-        Form filename for multi-part images.
-      */
-      (void) InterpretImageFilename(image_info,image,image->filename,(int)
-        image->scene,filename);
+      (void) CopyMagickString(filename,image->filename,MaxTextExtent);
       if (image_info->adjoin == MagickFalse)
-        if ((image->previous != (Image *) NULL) ||
-            (GetNextImageInList(image) != (Image *) NULL))
-          {
-            if (LocaleCompare(filename,image->filename) == 0)
-              {
-                char
-                  extension[MaxTextExtent],
-                  path[MaxTextExtent];
-
-                GetPathComponent(image->filename,RootPath,path);
-                GetPathComponent(image->filename,ExtensionPath,extension);
-                if (*extension == '\0')
-                  (void) FormatMagickString(filename,MaxTextExtent,"%s-%lu",
-                    path,image->scene);
-                else
-                  (void) FormatMagickString(filename,MaxTextExtent,"%s-%lu.%s",
-                    path,image->scene,extension);
-              }
-          }
-      (void) CopyMagickString(image->filename,filename,MaxTextExtent);
+        {
+          /*
+            Form filename for multi-part images.
+          */
+          (void) InterpretImageFilename(image_info,image,image->filename,(int)
+            image->scene,filename);
+          if ((image->previous != (Image *) NULL) ||
+              (GetNextImageInList(image) != (Image *) NULL))
+            {
+              if (LocaleCompare(filename,image->filename) == 0)
+                {
+                  char
+                    extension[MaxTextExtent],
+                    path[MaxTextExtent];
+
+                  GetPathComponent(image->filename,RootPath,path);
+                  GetPathComponent(image->filename,ExtensionPath,extension);
+                  if (*extension == '\0')
+                    (void) FormatMagickString(filename,MaxTextExtent,"%s-%lu",
+                      path,image->scene);
+                  else
+                    (void) FormatMagickString(filename,MaxTextExtent,
+                      "%s-%lu.%s",path,image->scene,extension);
+                }
+            }
+          (void) CopyMagickString(image->filename,filename,MaxTextExtent);
 #if defined(macintosh)
-      SetApplicationType(filename,image_info->magick,'8BIM');
+          SetApplicationType(filename,image_info->magick,'8BIM');
 #endif
+        }
     }
 #if defined(MAGICKCORE_ZLIB_DELEGATE)
   if (((strlen(filename) > 2) &&
index 948bf5ebe7627dd86cda3067d2bea4c1b2411bc6..39c98c49492f289543e180be2e06bc6cd3a6c921 100644 (file)
@@ -1099,6 +1099,10 @@ MagickExport MagickBooleanType WriteImage(const ImageInfo *image_info,
               (void) AcquireUniqueFilename(image->filename);
               temporary=MagickTrue;
             }
+          else
+            if (image_info->adjoin == MagickFalse)
+              (void) CopyMagickString(image->filename,image_info->filename,
+                MaxTextExtent);
           (void) CloseBlob(image);
         }
     }
index a96af7a2aac0cf8d4e7db9fb9ff5d9d850d058d4..07d7e39e793b23ed5a67be32470cdbb6b21421d7 100644 (file)
@@ -3253,11 +3253,14 @@ MagickExport MagickBooleanType SetImageInfo(ImageInfo *image_info,
       /*
         Rectify multi-image file support.
       */
-      (void) InterpretImageFilename(image_info,(Image *) NULL,
-        image_info->filename,(int) image_info->scene,filename);
-      if ((LocaleCompare(filename,image_info->filename) != 0) &&
-          (strchr(filename,'%') == (char *) NULL))
-        image_info->adjoin=MagickFalse;
+      if (image_info->adjoin != MagickFalse)
+        {
+          (void) InterpretImageFilename(image_info,(Image *) NULL,
+            image_info->filename,(int) image_info->scene,filename);
+          if ((LocaleCompare(filename,image_info->filename) != 0) &&
+              (strchr(filename,'%') == (char *) NULL))
+            image_info->adjoin=MagickFalse;
+        }
       magick_info=GetMagickInfo(magic,exception);
       if (magick_info != (const MagickInfo *) NULL)
         if (GetMagickAdjoin(magick_info) == MagickFalse)
index 86f75f08a4e4975855619cc2a062a29b25b7100a..87587b13bf88e70e26e09c8b0f8e6ded3b005e78 100644 (file)
@@ -32,7 +32,7 @@ extern "C" {
 #define MagickLibVersionNumber  3,0,0
 #define MagickLibAddendum  "-2"
 #define MagickLibInterface  3
-#define MagickReleaseDate  "2010-02-01"
+#define MagickReleaseDate  "2010-02-03"
 #define MagickChangeDate   "20100127"
 #define MagickAuthoritativeURL  "http://www.imagemagick.org"
 #define MagickHomeURL  "file:///usr/local/share/doc/ImageMagick-6.5.9/index.html"
index 245cafd498a551cacfa5cd95dafe2f9493188895..0420f5816614baaab1ef3b09fd5a53ed330309ce 100755 (executable)
@@ -49,7 +49,7 @@ while test $# -gt 0; do
       echo '-I/usr/local/include/ImageMagick'
       ;;
     --ldflags)
-      echo '-L/usr/local/lib -Wl,--as-needed'
+      echo '-L/usr/local/lib '
       ;;
     --libs)
       echo "-L${libdir} -lMagickWand -lMagickCore -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -ldjvulibre -lfftw3 -lfontconfig -lwmflite -lXext -lXt -lSM -lICE -lX11 -lbz2 -pthread -lrsvg-2 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread -lltdl"
diff --git a/www/favicon.ico b/www/favicon.ico
new file mode 100644 (file)
index 0000000..e0062e3
Binary files /dev/null and b/www/favicon.ico differ