Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory vz-cvs-3.sog:/tmp/cvs-serv11746/graphics

Added Files:
        imagemagick.info imagemagick.patch lcms.info libwmf.info 
        libwmf.patch openexr.info openexr.patch 
Log Message:
to 10.7

--- NEW FILE: libwmf.info ---
Package: libwmf
Version: 0.2.8.4
Revision: 2

Source: mirror:sourceforge:wvware/%n-%v.tar.gz
Source-MD5: d1177739bf1ceb07f57421f0cee191e0

BuildDependsOnly: true
Depends: %N-shlibs (= %v-%r)

BuildDepends: <<
        glitz, cairo (>= 1.6-1), fontconfig2-dev (>= 2.4.1-1), freetype219 (>= 
2.3.5-1),
        xft2-dev, gd2, x11-dev, expat1, libjpeg8, libpng14, gtk+2-dev (>= 
2.12.0-1),
        pango1-xft2-ft219-dev (>= 1.18.4-4), pixman (>= 0.10.0-1), pkgconfig 
(>= 0.21-1),
        glib2-dev (>= 2.14.0-1), libgettext8-dev, libiconv-dev, fink (>= 
0.24.12)
<<
ConfigureParams: --mandir=%p/share/man --with-docdir=%i/share/doc/%n 
--with-fontdir=%p/lib/X11/fonts/libwmf --with-sys-gd=%p 
--with-gsfontdir=%p/share/ghostscript/fonts 
--with-gsfontmap=%p/share/ghostscript/8.13/lib/Fontmap 
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib 
--disable-dependency-tracking 
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
 FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config


PatchFile: %n.patch
PatchFile-MD5: 58a5febcc85bda2e5c8f9bd476c45485

PatchScript: <<
        %{default_script}
perl -pi.bak -e 's;io_wmf_la_LIBADD =;io_wmf_la_LIBADD = libwmflite.la;' 
src/Makefile.in
perl -pi.bak -e 's;DESTDIR =;;' fonts/Makefile.in
perl -pi.bak -e 's;fontdir = \@WMF_FONTDIR\@;fontdir = 
%i/lib/X11/fonts/libwmf;' fonts/Makefile.in
 perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
<<
CompileScript: <<
./configure %c
make
find . -name "*.la" | xargs perl -pi.bak -e 
's/^relink_command=.*/relink_command=/g'
<<

SplitOff: <<
 Package: %N-shlibs
 Depends: <<
        gd2-shlibs, x11-shlibs, expat1-shlibs, libgettext8-shlibs, 
libjpeg8-shlibs, libpng14-shlibs,
        ghostscript, gtk+2-shlibs (>= 2.12.0-1), gtk+2 (>= 2.12.0-1)
 <<
 Files: <<
        lib/libwmflite-0.2.7.0.1.dylib lib/libwmflite-0.2.7.dylib 
lib/libwmf-0.2.7.1.0.dylib
        lib/libwmf-0.2.7.dylib lib/gtk-2.0
 <<
 DocFiles: AUTHORS BUILDING COPYING CREDITS INSTALL NEWS TODO
 Shlibs: <<
  %p/lib/libwmflite-0.2.7.dylib 8.0.0 %n (>= 0.2.8.2-1)
  %p/lib/libwmf-0.2.7.dylib 9.0.0 %n (>= 0.2.8.2-1)
 <<

 PostInstScript: <<
 update-gdk-pixbuf-loaders
 <<

 PostRmScript: <<
 update-gdk-pixbuf-loaders
 <<
<<

SplitOff2: <<
 Package: %N-bin
 Depends: %N-shlibs (= %v-%r)
 Files: bin/libwmf-fontmap bin/wmf2svg bin/wmf2eps bin/wmf2fig bin/wmf2gd 
bin/wmf2x
 DocFiles: AUTHORS BUILDING COPYING CREDITS INSTALL NEWS TODO 
<<

DocFiles: AUTHORS BUILDING COPYING CREDITS INSTALL NEWS TODO

Description: Windows Metafile library
License: GPL
Maintainer: Alexander Strange <astra...@ithinksw.com>
Homepage: http://wvware.com/

--- NEW FILE: openexr.info ---
Package: openexr
Version: 1.4.0
Revision: 1023
Description: Dynamic-range image file tools
License: BSD
Maintainer: Benjamin Reed <open...@fink.racoonfink.com>

Depends: <<
        fltk-x11-shlibs,
        x11-shlibs
<<
BuildDepends: <<
        fink (>= 0.24.12-1),
        fltk-x11,
        x11-dev
<<
GCC: 4.0

Source: http://download.savannah.nongnu.org/releases/%n/%n-%va.tar.gz
Source-MD5: d0a4b9a930c766fa51561b05fb204afe
SourceDirectory: %n-%v
PatchFile: %n.patch
PatchFile-MD5: 306eef362d2e20de1cb3124fe01e1ee7
PatchScript: <<
 %{default_script}
 perl -pi -e "s|-Wno-long-double||g" configure
<<

ConfigureParams: --enable-shared=no --enable-imfexamples 
--disable-osx-universal-binaries --disable-dependency-tracking 
--with-gl-includes=/usr/X11R6/include

InstallScript: <<
        make -j1 install DESTDIR="%d"
        install -d -m 755 %i/share/doc/%N
        mv %i/share/doc/OpenEXR-%v/examples %i/share/doc/%N/
        rmdir %i/share/doc/OpenEXR-%v
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README* doc/*.pdf
SplitOff: <<
        Package: %N-dev
        Description: headers and libraries for OpenEXR development
        BuildDependsOnly: true
        Depends: %N (>= %v-%r)
        Files: <<
                include
                lib/*.a
                lib/*.la
                lib/pkgconfig
                share/aclocal
        <<
<<

Homepage: http://www.openexr.com/
DescDetail: <<
OpenEXR is a high dynamic-range (HDR) image file format
developed by Industrial Light & Magic for use in computer
imaging applications.

OpenEXR is used by ILM on all motion pictures currently
in production.  The first movies to employ OpenEXR were
Harry Potter and the Sorcerers Stone, Men in Black II,
Gangs of New York, and Signs. Since then, OpenEXR has
become ILM's main image file format.

OpenEXR's features include:

* Higher dynamic range and color precision than existing
  8- and 10-bit image file formats.
* Support for 16-bit floating-point, 32-bit floating-point,
  and 32-bit integer pixels.  The 16-bit floating-point
  format, called "half", is compatible with the half data
  type in NVIDIA's Cg graphics language and is supported
  natively on their new GeForce FX and Quadro FX 3D
  graphics solutions.
* Multiple lossless image compression algorithms.  Some of
  the included codecs can achieve 2:1 lossless compression
  ratios on images with film grain.
* Extensibility.  New compression codecs and image types
  can easily be added by extending the C++ classes
  included in the OpenEXR software distribution.  New
  image attributes (strings, vectors, integers, etc.) can
  be added to OpenEXR image headers without affecting
  backward compatibility with existing OpenEXR
  applications.
<<
DescPort: <<
Static libraries only, as dynamic are buggy (at runtime)
on OSX.
<<


--- NEW FILE: imagemagick.patch ---
--- ImageMagick-6.5.8-2/configure.orig  2009-11-28 21:53:06.000000000 +0100
+++ ImageMagick-6.5.8-2/configure       2011-03-22 13:22:20.000000000 +0900
@@ -7043,12 +7043,12 @@
 
 case "$host" in
 *darwin* | *-macos10*)
-  if test -d /opt/local ; then
+  if test -d @PREFIX@ ; then
+    CPPFLAGS="$CPPFLAGS -I@PREFIX@/include"
+    LDFLAGS="$LDFLAGS -L@PREFIX@/lib"
+  elif test -d /opt/local ; then
     CPPFLAGS="$CPPFLAGS -I/opt/local/include"
     LDFLAGS="$LDFLAGS -L/opt/local/lib"
-  elif test -d /sw ; then
-    CPPFLAGS="$CPPFLAGS -I/sw/include"
-    LDFLAGS="$LDFLAGS -L/sw/lib"
   fi
     # Check whether --enable-osx-universal-binary was given.
 if test "${enable_osx_universal_binary+set}" = set; then :
--- ImageMagick-6.5.8-2/www/advanced-unix-installation.html.orig        
2009-11-28 21:52:05.000000000 +0100
+++ ImageMagick-6.5.8-2/www/advanced-unix-installation.html     2011-03-22 
13:17:00.000000000 +0900
@@ -539,7 +539,7 @@
        <p class='crt'><span class="crtprompt"> $magick&gt; </span><span 
class='crtin'>make</span></p>    <p>Install ImageMagick:</p>
        <p class='crt'><span class="crtprompt"> $magick&gt; </span><span 
class='crtin'>sudo make install</span></p>  <p>To verify your install, type</p>
 
-  <p class='crt'><span class="crtprompt"> $magick&gt; </span><span 
class='crtin'>/opt/local/bin/identify -list font</span></p>
+  <p class='crt'><span class="crtprompt"> $magick&gt; </span><span 
class='crtin'>@PREFIX@/bin/identify -list font</span></p>
   <p>to list all the fonts ImageMagick knows about.</p>
          <p>To test the ImageMagick GUI, in a new shell, type:</p>
        <p class='crt'><span class="crtprompt"> $magick&gt; </span><span 
class='crtin'>display -display :0</span></p></div>

--- NEW FILE: openexr.patch ---

--- openexr-1.4.0/HalfTest/Makefile.in  2006-08-09 01:45:50.000000000 -0400
+++ openexr-1.4.0-patched/HalfTest/Makefile.in  2007-04-30 15:44:56.000000000 
-0400
@@ -204,7 +204,7 @@
                   testSize.h
 
 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/Half -I$(top_srcdir)/config
-LDADD = -L$(top_builddir)/Half -lHalf
+LDADD = $(top_builddir)/Half/libHalf.la
 TESTS = HalfTest
 all: all-am
 
@@ -248,7 +248,7 @@
        done
 HalfTest$(EXEEXT): $(HalfTest_OBJECTS) $(HalfTest_DEPENDENCIES) 
        @rm -f HalfTest$(EXEEXT)
-       $(CXXLINK) $(HalfTest_LDFLAGS) $(HalfTest_OBJECTS) $(HalfTest_LDADD) 
$(LIBS)
+       $(CXXLINK) $(HalfTest_LDADD) $(HalfTest_LDFLAGS) $(HalfTest_OBJECTS) 
$(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/IexTest/Makefile.in   2006-08-09 01:45:51.000000000 -0400
+++ openexr-1.4.0-patched/IexTest/Makefile.in   2007-04-30 15:45:21.000000000 
-0400
@@ -195,7 +195,7 @@
 target_alias = @target_alias@
 IexTest_SOURCES = main.cpp testBaseExc.cpp testBaseExc.h
 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/Iex -I$(top_srcdir)/config
-LDADD = -L$(top_builddir)/Iex -lIex
+LDADD = $(top_builddir)/Iex/libIex.la
 TESTS = IexTest
 all: all-am
 
@@ -239,7 +239,7 @@
        done
 IexTest$(EXEEXT): $(IexTest_OBJECTS) $(IexTest_DEPENDENCIES) 
        @rm -f IexTest$(EXEEXT)
-       $(CXXLINK) $(IexTest_LDFLAGS) $(IexTest_OBJECTS) $(IexTest_LDADD) 
$(LIBS)
+       $(CXXLINK) $(IexTest_LDADD) $(IexTest_LDFLAGS) $(IexTest_OBJECTS) 
$(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/IlmImf/Makefile.in    2006-08-09 01:45:51.000000000 -0400
+++ openexr-1.4.0-patched/IlmImf/Makefile.in    2007-04-30 14:28:50.000000000 
-0400
@@ -382,7 +382,7 @@
          rm -f "$${dir}/so_locations"; \
        done
 libIlmImf.la: $(libIlmImf_la_OBJECTS) $(libIlmImf_la_DEPENDENCIES) 
-       $(CXXLINK) -rpath $(libdir) $(libIlmImf_la_LDFLAGS) 
$(libIlmImf_la_OBJECTS) $(libIlmImf_la_LIBADD) $(LIBS)
+       $(CXXLINK) -rpath $(libdir) $(libIlmImf_la_LIBADD) 
$(libIlmImf_la_LDFLAGS) $(libIlmImf_la_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/IlmImfExamples/Makefile.in    2006-08-09 01:45:51.000000000 
-0400
+++ openexr-1.4.0-patched/IlmImfExamples/Makefile.in    2007-04-30 
15:46:22.000000000 -0400
@@ -214,10 +214,11 @@
            -I$(top_srcdir)/Half -I$(top_srcdir)/Imath \
            -I$(top_srcdir)/IlmImf -I$(top_srcdir)/config
 
-LDADD = -L$(top_builddir)/Iex -L$(top_builddir)/Half \
-       -L$(top_builddir)/Imath -L$(top_builddir)/IlmThread \
-       -L$(top_builddir)/IlmImf \
-       -lIlmImf -lIlmThread -lImath -lHalf -lIex -lz
+LDADD = $(top_builddir)/Iex/libIex.la \
+       $(top_builddir)/Half/libHalf.la \
+       $(top_builddir)/Imath/libImath.la \
+       $(top_builddir)/IlmThread/libIlmThread.la \
+       $(top_builddir)/IlmImf/libIlmImf.la
 
 imfexamples_SOURCES = main.cpp drawImage.cpp rgbaInterfaceExamples.cpp \
                      rgbaInterfaceTiledExamples.cpp \
@@ -274,7 +275,7 @@
        done
 imfexamples$(EXEEXT): $(imfexamples_OBJECTS) $(imfexamples_DEPENDENCIES) 
        @rm -f imfexamples$(EXEEXT)
-       $(CXXLINK) $(imfexamples_LDFLAGS) $(imfexamples_OBJECTS) 
$(imfexamples_LDADD) $(LIBS)
+       $(CXXLINK) $(imfexamples_LDADD) $(imfexamples_LDFLAGS) 
$(imfexamples_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/IlmImfTest/Makefile.in        2006-08-09 01:45:51.000000000 
-0400
+++ openexr-1.4.0-patched/IlmImfTest/Makefile.in        2007-04-30 
15:47:12.000000000 -0400
@@ -249,10 +249,11 @@
           -I$(top_srcdir)/Imath -I$(top_srcdir)/IlmImf \
           -I$(top_srcdir)/IlmThread -I$(top_srcdir)/config
 
-LDADD = -L$(top_builddir)/Iex -L$(top_builddir)/Half \
-       -L$(top_builddir)/Imath -L$(top_builddir)/IlmThread \
-       -L$(top_builddir)/IlmImf \
-       -lIlmImf -lIlmThread -lImath -lIex -lHalf -lz
+LDADD = $(top_builddir)/Iex/libIex.la \
+       $(top_builddir)/Half/libHalf.la \
+       $(top_builddir)/Imath/libImath.la \
+       $(top_builddir)/IlmThread/libIlmThread.la \
+       $(top_builddir)/IlmImf/libIlmImf.la -lz
 
 TESTS = IlmImfTest
 EXTRA_DIST = comp_none.exr comp_piz.exr comp_rle.exr comp_zip.exr \
@@ -302,7 +303,7 @@
        done
 IlmImfTest$(EXEEXT): $(IlmImfTest_OBJECTS) $(IlmImfTest_DEPENDENCIES) 
        @rm -f IlmImfTest$(EXEEXT)
-       $(CXXLINK) $(IlmImfTest_LDFLAGS) $(IlmImfTest_OBJECTS) 
$(IlmImfTest_LDADD) $(LIBS)
+       $(CXXLINK) $(IlmImfTest_LDADD) $(IlmImfTest_LDFLAGS) 
$(IlmImfTest_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/IlmThread/Makefile.in 2006-08-09 01:45:51.000000000 -0400
+++ openexr-1.4.0-patched/IlmThread/Makefile.in 2007-04-30 14:29:06.000000000 
-0400
@@ -290,7 +290,7 @@
          rm -f "$${dir}/so_locations"; \
        done
 libIlmThread.la: $(libIlmThread_la_OBJECTS) $(libIlmThread_la_DEPENDENCIES) 
-       $(CXXLINK) -rpath $(libdir) $(libIlmThread_la_LDFLAGS) 
$(libIlmThread_la_OBJECTS) $(libIlmThread_la_LIBADD) $(LIBS)
+       $(CXXLINK) -rpath $(libdir) $(libIlmThread_la_LIBADD) 
$(libIlmThread_la_LDFLAGS) $(libIlmThread_la_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/Imath/Makefile.in     2006-08-09 01:45:52.000000000 -0400
+++ openexr-1.4.0-patched/Imath/Makefile.in     2007-04-30 14:29:20.000000000 
-0400
@@ -298,7 +298,7 @@
          rm -f "$${dir}/so_locations"; \
        done
 libImath.la: $(libImath_la_OBJECTS) $(libImath_la_DEPENDENCIES) 
-       $(CXXLINK) -rpath $(libdir) $(libImath_la_LDFLAGS) 
$(libImath_la_OBJECTS) $(libImath_la_LIBADD) $(LIBS)
+       $(CXXLINK) -rpath $(libdir) $(libImath_la_LIBADD) 
$(libImath_la_LDFLAGS) $(libImath_la_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/ImathTest/Makefile.in 2006-08-09 01:45:52.000000000 -0400
+++ openexr-1.4.0-patched/ImathTest/Makefile.in 2007-04-30 15:47:58.000000000 
-0400
@@ -208,8 +208,9 @@
 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/Imath -I$(top_srcdir)/Iex 
-I$(top_srcdir)/Half \
           -I$(top_srcdir)/config
 
-LDADD = -L$(top_builddir)/Imath -L$(top_builddir)/Iex -L$(top_builddir)/Half \
-       -lImath -lIex -lHalf
+LDADD = $(top_builddir)/Imath/libImath.la \
+       $(top_builddir)/Iex/libIex.la \
+       $(top_builddir)/Half/libHalf.la
 
 TESTS = ImathTest
 all: all-am
@@ -254,7 +255,7 @@
        done
 ImathTest$(EXEEXT): $(ImathTest_OBJECTS) $(ImathTest_DEPENDENCIES) 
        @rm -f ImathTest$(EXEEXT)
-       $(CXXLINK) $(ImathTest_LDFLAGS) $(ImathTest_OBJECTS) $(ImathTest_LDADD) 
$(LIBS)
+       $(CXXLINK) $(ImathTest_LDADD) $(ImathTest_LDFLAGS) $(ImathTest_OBJECTS) 
$(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/OpenEXR.pc.in 2006-08-09 01:37:49.000000000 -0400
+++ openexr-1.4.0-patched/OpenEXR.pc.in 2007-04-30 16:56:00.000000000 -0400
@@ -7,5 +7,5 @@
 Name: OpenEXR
 Description: OpenEXR image library
 Version: @OPENEXR_VERSION@
-Libs: -L${libdir} -lIlmImf -lImath -lHalf -lIex -lz @PTHREAD_LIBS@
+Libs: -L${libdir} -lIlmImf -lImath -lHalf -lIex -lIlmThread -lz @PTHREAD_LIBS@
 Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}
--- openexr-1.4.0/exrdisplay/ImageView.cpp      2006-06-05 20:09:29.000000000 
-0400
+++ openexr-1.4.0-patched/exrdisplay/ImageView.cpp      2007-04-30 
14:35:44.000000000 -0400
@@ -55,8 +55,6 @@
 #endif
 #include <windows.h>
 #include <GL/gl.h>
-#elif defined HAVE_DARWIN
-#include <OpenGL/gl.h>
 #else
 #include <GL/gl.h>
 #endif
--- openexr-1.4.0/exrdisplay/ImageViewFragShader.cpp    2006-06-08 
02:11:07.000000000 -0400
+++ openexr-1.4.0-patched/exrdisplay/ImageViewFragShader.cpp    2007-04-30 
14:35:15.000000000 -0400
@@ -47,11 +47,7 @@
 #include "OpenEXRConfig.h"
 #include <ImageViewFragShader.h>
 
-#ifdef HAVE_DARWIN
-#include <OpenGL/glu.h>
-#else
 #include <GL/glu.h>
-#endif
 #define GL_GLEXT_PROTOTYPES
 #include <GL/glext.h>
 
--- openexr-1.4.0/exrdisplay/ImageViewFragShader.h      2006-06-05 
20:07:50.000000000 -0400
+++ openexr-1.4.0-patched/exrdisplay/ImageViewFragShader.h      2007-04-30 
14:35:55.000000000 -0400
@@ -49,11 +49,7 @@
 #if defined _WIN32 || defined _WIN64
 #include <windows.h>
 #endif
-#ifdef HAVE_DARWIN
-#include <OpenGL/gl.h>
-#else
 #include <GL/gl.h>
-#endif
 
 #include <string>
 
--- openexr-1.4.0/exrdisplay/Makefile.in        2006-08-09 01:45:52.000000000 
-0400
+++ openexr-1.4.0-patched/exrdisplay/Makefile.in        2007-04-30 
15:48:18.000000000 -0400
@@ -295,7 +295,7 @@
        done
 exrdisplay$(EXEEXT): $(exrdisplay_OBJECTS) $(exrdisplay_DEPENDENCIES) 
        @rm -f exrdisplay$(EXEEXT)
-       $(CXXLINK) $(exrdisplay_LDFLAGS) $(exrdisplay_OBJECTS) 
$(exrdisplay_LDADD) $(LIBS)
+       $(CXXLINK) $(exrdisplay_LDADD) $(exrdisplay_LDFLAGS) 
$(exrdisplay_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/exrenvmap/Makefile.in 2006-08-09 01:45:52.000000000 -0400
+++ openexr-1.4.0-patched/exrenvmap/Makefile.in 2007-04-30 15:48:36.000000000 
-0400
@@ -288,7 +288,7 @@
        done
 exrenvmap$(EXEEXT): $(exrenvmap_OBJECTS) $(exrenvmap_DEPENDENCIES) 
        @rm -f exrenvmap$(EXEEXT)
-       $(CXXLINK) $(exrenvmap_LDFLAGS) $(exrenvmap_OBJECTS) $(exrenvmap_LDADD) 
$(LIBS)
+       $(CXXLINK) $(exrenvmap_LDADD) $(exrenvmap_LDFLAGS) $(exrenvmap_OBJECTS) 
$(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/exrheader/Makefile.in 2006-08-09 01:45:52.000000000 -0400
+++ openexr-1.4.0-patched/exrheader/Makefile.in 2007-04-30 15:49:02.000000000 
-0400
@@ -268,7 +268,7 @@
        done
 exrheader$(EXEEXT): $(exrheader_OBJECTS) $(exrheader_DEPENDENCIES) 
        @rm -f exrheader$(EXEEXT)
-       $(CXXLINK) $(exrheader_LDFLAGS) $(exrheader_OBJECTS) $(exrheader_LDADD) 
$(LIBS)
+       $(CXXLINK) $(exrheader_LDADD) $(exrheader_LDFLAGS) $(exrheader_OBJECTS) 
$(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/exrmakepreview/Makefile.in    2006-08-09 01:45:53.000000000 
-0400
+++ openexr-1.4.0-patched/exrmakepreview/Makefile.in    2007-04-30 
15:49:16.000000000 -0400
@@ -281,7 +281,7 @@
        done
 exrmakepreview$(EXEEXT): $(exrmakepreview_OBJECTS) 
$(exrmakepreview_DEPENDENCIES) 
        @rm -f exrmakepreview$(EXEEXT)
-       $(CXXLINK) $(exrmakepreview_LDFLAGS) $(exrmakepreview_OBJECTS) 
$(exrmakepreview_LDADD) $(LIBS)
+       $(CXXLINK) $(exrmakepreview_LDADD) $(exrmakepreview_LDFLAGS) 
$(exrmakepreview_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/exrmaketiled/Makefile.in      2006-08-09 01:45:53.000000000 
-0400
+++ openexr-1.4.0-patched/exrmaketiled/Makefile.in      2007-04-30 
15:49:29.000000000 -0400
@@ -282,7 +282,7 @@
        done
 exrmaketiled$(EXEEXT): $(exrmaketiled_OBJECTS) $(exrmaketiled_DEPENDENCIES) 
        @rm -f exrmaketiled$(EXEEXT)
-       $(CXXLINK) $(exrmaketiled_LDFLAGS) $(exrmaketiled_OBJECTS) 
$(exrmaketiled_LDADD) $(LIBS)
+       $(CXXLINK) $(exrmaketiled_LDADD) $(exrmaketiled_LDFLAGS) 
$(exrmaketiled_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
--- openexr-1.4.0/exrstdattr/Makefile.in        2006-08-09 01:45:53.000000000 
-0400
+++ openexr-1.4.0-patched/exrstdattr/Makefile.in        2007-04-30 
15:58:25.000000000 -0400
@@ -268,7 +268,7 @@
        done
 exrstdattr$(EXEEXT): $(exrstdattr_OBJECTS) $(exrstdattr_DEPENDENCIES) 
        @rm -f exrstdattr$(EXEEXT)
-       $(CXXLINK) $(exrstdattr_LDFLAGS) $(exrstdattr_OBJECTS) 
$(exrstdattr_LDADD) $(LIBS)
+       $(CXXLINK) $(exrstdattr_LDADD) $(exrstdattr_LDFLAGS) 
$(exrstdattr_OBJECTS) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)

--- NEW FILE: lcms.info ---
Package: lcms
Version: 1.18
Revision: 2
Source: http://www.littlecms.com/%n-1.18a.tar.gz
Source-MD5: f4abfe1c57ea3f633c2e9d034e74e3e8
SourceDirectory: %n-%v
License: LGPL
BuildDepends: libjpeg, libtiff
Depends: %N-shlibs (= %v-%r), pkgconfig
BuildDependsOnly: true
ConfigureParams: --mandir=%i/share/man --disable-dependency-tracking
PatchScript: <<
 perl -pi.bak -e 's|(man_MANS =.*)|\1 icctrans.1|' samples/Makefile.in
 perl -pi.bak -e 's|\#if( USE)|#ifdef\1|g' include/lcms.h
<<
Docfiles: AUTHORS COPYING NEWS README.1ST 
SplitOff: <<
  Package: %N-shlibs
  Files: lib/lib%N.1.0.18.dylib lib/lib%N.1.dylib
  Shlibs: %p/lib/liblcms.1.dylib 2.0.0 %n (>= 1.11-1)
  DocFiles: <<
   AUTHORS COPYING README.1ST 
   doc/LCMSAPI.TXT doc/TUTORIAL.TXT 
   samples/icclink.c samples/wtpt.c
  <<
<<
SplitOff2: <<
  Package: %N-bin
  Depends: libjpeg-shlibs, libtiff-shlibs, %N-shlibs (= %v-%r)
  Files: bin share/man
  DocFiles: COPYING README.1ST NEWS INSTALL 
<<
Description: Free color management engine in 100K
DescDetail: <<
 Little cms intends to be a small-footprint, speed optimized color
 management engine in open source form. Since the initial release, 
 back in 1998, lcms has been continuously evolving, mostly thanks 
 to contributions done by skilled programmers, who generously donated 
 their valuable time to review the engine and the documentation. 
 For now, little cms has been ported to a big number of platforms and
 is currently used in many open source and commercial products, as well 
 as being distributed in major linux enviroments. 
<<
DescUsage: <<
 The utilities jpegicc, tifficc, icc2ps, icclink, icctrans, wtpt
 are in the splitoff package lcms-bin. These have now man pages.
 Some documentation is in the LCMSAPI.TXT and TUTORIAL.TXT files 
 in the splitoff package lcms-shlibs.
<<
Maintainer: Martin Costabel <costa...@wanadoo.fr>
Homepage: http://www.littlecms.com


--- NEW FILE: imagemagick.info ---
Info2: <<
Package: imagemagick%type_pkg[-nox]
Type: -nox .
Version: 6.5.8.10
Revision: 1
GCC: 4.0
Source: mirror:sourceforge:imagemagick/legacy/ImageMagick-6.5.8-10.tar.gz
Source-MD5: 6f9abe829e718a04720cc4f9ea4f8606
SourceDirectory: ImageMagick-6.5.8-10
PatchFile: %n.patch
PatchFile-MD5: 466d567dadf72e5fb81b175d21d0e9a3
Depends: <<
 (%type_raw[-nox] = .) %N2-shlibs (= %v-%r), 
 lcms-shlibs (>= 1.11-1), libtiff-shlibs (>= 3.6.1-3), libjasper.1-shlibs (>= 
1.900.1-1), libpng14-shlibs, libdjvulibre21-shlibs (>= 3.5.21-1003), 
libjpeg8-shlibs, 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), libjbig-shlibs,
 ghostscript | ghostscript%type_pkg[-nox],
 (%type_raw[-nox] = .) openexr,
 (%type_raw[-nox] = .) libwmf-shlibs (>= 0.2.8.4-2),
 (%type_raw[-nox] = .) x11-shlibs
<<
BuildDepends: <<
 lcms (>= 1.11-1), libtiff (>= 3.6.1-3), libjasper.1 (>= 1.900.1-1), libpng14, 
libdjvulibre21-dev (>= 3.5.21-1003), libjpeg8, 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), libjbig,
 pkgconfig (>= 0.21-1), fink (>= 0.24.12),
 (%type_raw[-nox] = .) libtool2,
 (%type_raw[-nox] = .) openexr-dev,
 (%type_raw[-nox] = .) cairo (>= 1.6-1),
 (%type_raw[-nox] = .) dbus1.3-shlibs (>= 1.2.28-2),
 (%type_raw[-nox] = .) gconf2-dev (>= 2.20.1-1),
 (%type_raw[-nox] = .) glib2-dev (>= 2.14.0-1),
 (%type_raw[-nox] = .) glitz,
 (%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-client3-dev,
 (%type_raw[-nox] = .) libavahi-common3-dev,
 (%type_raw[-nox] = .) libavahi-glib1-dev,
 (%type_raw[-nox] = .) libcroco3 (>= 0.6.0-11),
 (%type_raw[-nox] = .) libgettext8-dev,
 (%type_raw[-nox] = .) libgsf1.114-dev,
 (%type_raw[-nox] = .) librsvg2 (>= 2.20.0-1),
 (%type_raw[-nox] = .) libwmf (>= 0.2.8.4-2),
 (%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, graphicsmagick-imagemagick-compat
Replaces: imagemagick, imagemagick-nox, imagemagick10-shlibs, 
imagemagick-nox10-shlibs, imagemagick10-dev (<= 1:6.3.5-1006), 
graphicsmagick-imagemagick-compat
Provides: (%type_raw[-nox] = .) imagemagick-nox

PatchScript: <<
        sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
        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 \
 --without-fftw --without-lqr --with-jbig \
 --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 --disable-static 
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib"
     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*
 if [ "%type_raw[-nox]" == "-nox" ]; then
  /bin/rm -f %i/lib/*.la
 else
  perl -pi -e "s/dependency_libs=.*$/dependency_libs=''/" %i/lib/*.la
 fi
<<
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: %N2-shlibs
 Depends: <<
 lcms-shlibs (>= 1.11-1), libtiff-shlibs (>= 3.6.1-3), libjpeg8-shlibs, 
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, libtool2-shlibs, 
fltk-x11-shlibs (>= 1.1.7-1003)
 <<
  Files: lib/lib*.*.dylib
  Shlibs: <<
   %p/lib/libMagick++.2.dylib   3.0.0 %n (>= 6.5.7-1)
   %p/lib/libMagickWand.2.dylib 3.0.0 %n (>= 6.5.7-1)
   %p/lib/libMagickCore.2.dylib 3.0.0 %n (>= 6.5.7-1)
  <<
  DocFiles: LICENSE README.txt ChangeLog NEWS.txt
<<
SplitOff2: <<
 Package: %N2-dev
 Depends: (%type_raw[-nox] = .) %N2-shlibs (= %v-%r)
 Conflicts: imagemagick-dev, imagemagick-nox-dev, imagemagick10-dev, 
imagemagick-nox10-dev, imagemagick1-dev, imagemagick-nox1-dev, 
imagemagick2-dev, imagemagick-nox2-dev
 Replaces: imagemagick-dev, imagemagick-nox-dev, imagemagick10-dev, 
imagemagick-nox10-dev, imagemagick1-dev, imagemagick-nox1-dev, 
imagemagick2-dev, imagemagick-nox2-dev
 Files: include lib/lib*.* lib/pkgconfig %p/bin/*-config
 BuildDependsOnly: True
 DocFiles: LICENSE README.txt ChangeLog NEWS.txt
<<
SplitOff3: <<
 Package: %N2-svg
 Depends: <<
  (%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] = .) libgettext8-shlibs,
  (%type_raw[-nox] = .) libgsf1.114-shlibs,
  (%type_raw[-nox] = .) librsvg2-shlibs (>= 2.20.0-1),
  (%type_raw[-nox] = .) orbit2-shlibs (>= 2.14.10-1),
  (%type_raw[-nox] = .) pango1-xft2-ft219-shlibs (>= 1.18.4-4),
  %N (= %v-%r)
 <<
 Files: lib/ImageMagick-6.5.8/modules-Q16/coders/svg.*
 DocFiles: LICENSE README.txt ChangeLog NEWS.txt
<<
DocFiles: LICENSE README.txt ChangeLog NEWS.txt
License: BSD
Maintainer: Todai Fink Team <f...@sodan.ecc.u-tokyo.ac.jp>
Homepage: http://www.imagemagick.org/
#end of Info2
<<

--- NEW FILE: libwmf.patch ---
--- libwmf-0.2.8.3.orig/src/font.c
+++ libwmf-0.2.8.3/src/font.c
@@ -199,7 +199,7 @@
        unsigned int i = 0;
 
        while (font_data->cache[i].name)
-       {       if (strcmp (font_data->cache[i].path,entry->path) == 0) break;
+       {       if (strcmp (font_data->cache[i].name,entry->name) == 0) break;
                i++;
        }
 
@@ -422,7 +422,6 @@
 
        fontmap_data->FD.FI = 0;
 
-       if (API->flags & WMF_OPT_SYS_FONTS)
        {       if (API->flags & WMF_OPT_SYS_FONTMAP)
                {       wmf_ipa_font_map_xml 
(API,&(fontmap_data->FD),options->sys_fontmap_file);
                }
--- libwmf-0.2.8.3.orig/src/player.c
+++ libwmf-0.2.8.3/src/player.c
@@ -23,6 +23,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <string.h>
 #include <math.h>
 
@@ -132,8 +133,14 @@
                }
        }
 
-/*     P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API)-3) 
* 2 * sizeof (unsigned char));
- */    P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API)  ) 
* 2 * sizeof (unsigned char));
+       if (MAX_REC_SIZE(API) > UINT32_MAX / 2)
+       {
+               API->err = wmf_E_InsMem;
+               WMF_DEBUG (API,"bailing...");
+               return (API->err);
+       }
+
+       P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API)  ) 
* 2 * sizeof (unsigned char));
 
        if (ERR (API))
        {       WMF_DEBUG (API,"bailing...");


------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to