[cairo] Not using libpng on OSX
Travis Griggs
tgriggs at cincom.com
Thu Sep 11 23:16:49 PDT 2008
Attached is a patch, which makes an OS X build not need libpng, but
instead use the CoreFoundation services provided by OSX. It's a new
file, and a change to the Makefile.sources (ideally, this second
should be made conditional). I also go in to my Makefile after
configure'ing, and whitewash any libpng references and cairo-png.c
references, so I'm sure it builds/links without them.
The tests all run and don't completely melt down. I think we always
have a decent amount of failures on OSX to begin with.
I guess the next thing I need to do is figure out how to wire it into
the Makefile.am stuff. Any help/hints/etc appreciated. If I can figure
that out, I'll try to submit the more complete patch. But I figured
I'd post this much, in the event, I'm unable to make much traction
with this other part. Or in the event it's better done by someone else
anyway.
BTW, thanks much to numerous IRCers for all the help with this.
--
Travis Griggs
Objologist
For every adage, there is an equal and contrary un-adage
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-quartz-png.patch
Type: application/octet-stream
Size: 14014 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080911/fad8693a/attachment-0001.obj
-------------- next part --------------
More information about the cairo
mailing list