Am 12.3.2012 um 11:17 schrieb Dominique Dhumieres:

>> if you have some hours time, you can (try to) build Inkscape!
>> Here are the INFO and the PATCH file that worked on PPC Leopard (10.5.8): ...
> 
> These files work for me out of the box.

I have an improved version! I changed the Leopard specific block to this:

        # To prevent Inkscape's configure to use the incompatible -fopenmp
        # switch from ImageMagick.pc which GCC 4.0 does not support
        if [ `sw_vers -productVersion | cut -f2 -d.` == 5 ] ; then
#          export IMAGEMAGICK_CFLAGS=-I%p/include/ImageMagick
           export PATH=/Developer/usr/llvm-gcc-4.2/bin:${PATH}
           export  CC=llvm-gcc-4.2
           export CXX=llvm-g++-4.2
           export CPPFLAGS="-I%p/include -H"
           export  LDFLAGS="-L%p/lib -Wl,-t"
         fi

(the last two export statements can be commented or they produce 2,000,000 
extra lines of output)

This allows to use the -fopenmp compiler switch from ImageMagick.pc, which is 
found anyway by the working OpenMP configure test. Setting the compiler(s) to 
LLVM GCC 4.2 works because Xcode 3.1 is installed and I extend PATH to contain 
the directory of the compiler binaries.

If you have a Mac with more than one core the OpenMP enabled Inkscape should 
bring some performance gain, I think. Though the rebuild might take a bit 
longer...

--
Greetings

  Pete

Atheism is a non prophet organisation.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to