John Hunter wrote:
>>  Instead of all of us going through the pain of figuring out how to build
>>  and link static libs for MPL, and PIL, and GDAL, and ???, why don't we
>>  just build against the nice Frameworks here:
>>
>>  http://www.kyngchaos.com/wiki/software:frameworks

> I read your post and perhaps I am missing the obvious, but my basic
> question is: apple provides libpng and freetype with xcode which ships
> with their computers (an optional install from their cd) and these
> work fine with MPL, so why should we require an external dependency?

I'd love it if Apple provided this stuff.

Are they static libs? What versions do they ship them with -- I don't 
have OS-X 10.5, and I don't think I have them -- maybe I need to update 
XCode.

freetype comes with X11, which is optional (though installed by default 
on 10.5).

Also, I need libjpeg for PIL, but I guess that's not an OS-X issue.

Here's the goal:

Be able to easily build and distribute binaries of MPL (and other 
packages that require require similar libs). These binaries should:

   (1) Run on any OS-X 10.4+ system (10.3.9 would be nice too) with 
python.org's 2.5 framework build.

   (2) Allow packaging up with py2app, to get packages that will run on 
any 10.4+ system.

As far as I know, the only way to do that now is to statically link 
against universal builds of all the dependencies that Apple does not 
provide on a stock 10.4 system. The problem is that there doesn't seem 
to be any standard source of Universal binaries for any of these libs 
(and the extra build flags required haven't made it into the source of 
the host projects). Also, it seems a bit silly to have a whole bunch of 
different packages all working hard to bundle in the same libs.

I just built PIL against William's Frameworks, and it was oh so easy -- 
this after spending quite a few hours trying (and not finishing) getting 
the required libs built as Universal.

We can only use Apple's libs if:
   They provide static Universal versions
or
   The dynamic libs are there on All 10.4+ OS-X boxes.

Maybe we can use more Apple libs for 10.5 only builds.

William has some good comments on this in this thread on the pythonmac list:
  - http://mail.python.org/pipermail/pythonmac-sig/2008-April/019988.html

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to