Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv648
Modified Files: graphicsmagick.info Log Message: Patch the *-config.in scripts to remove crud. Index: graphicsmagick.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics/graphicsmagick.info,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- graphicsmagick.info 21 Apr 2009 11:39:40 -0000 1.4 +++ graphicsmagick.info 25 Apr 2009 02:07:14 -0000 1.5 @@ -1,6 +1,6 @@ Package: graphicsmagick Version: 1.3.5 -Revision: 2 +Revision: 3 Description: Swiss army knife of image processing DescDetail: << GraphicsMagick is the swiss army knife of image processing. Comprised @@ -53,6 +53,11 @@ SetCXXFLAGS: -Os GCC: 4.0 +PatchScript: << + perl -pi -e 's,\...@cflags\@,,; s,\...@magick_api_ldflags\@,-L%p/lib,; s,\...@magick_api_libs\@,-lGraphicsMagick,' magick/GraphicsMagick-config.in + perl -pi -e 's,\...@cxxflags\@,,; s,\...@magick_api_ldflags\@,-L%p/lib,; s,\...@magick_api_libs\@,,' Magick++/bin/GraphicsMagick++-config.in +<< + ConfigureParams: << --x-includes=/usr/X11R6/include \ --x-libraries=/usr/X11R6/lib \ @@ -61,12 +66,30 @@ --disable-static \ --enable-libtool-verbose \ --enable-magick-compat \ + --disable-openmp-slow \ --with-modules \ --with-quantum-depth=16 \ --without-perl \ --without-wmf << +CompileScript: << + #!/bin/bash -ev + # This bit enables stripping unused libs on 10.5 and later. + let version=`uname -r | cut -f 1 -d .` + if [ $version -ge 9 ]; then + export LDFLAGS="$LDFLAGS -Wl,-dead_strip_dylibs" + fi + + # This compiles with gcc-4.2, if available, which enables OpenMP support. + #if [ -x /usr/bin/gcc-4.2 ]; then + # export CC=gcc-4.2 + # export CXX=g++-4.2 + #fi + + %{default_script} +<< + InfoTest: TestScript: make check || exit 2 InstallScript: << @@ -153,7 +176,7 @@ Conflicts: imagemagick, imagemagick-nox Replaces: imagemagick, imagemagick-nox Provides: imagemagick, imagemagick-nox - Depends: %N + Depends: %N (= %v-%r) Files: << bin/animate ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs