Thread: Re: [cotvnc-devel] JPEG Encoding
Project superseded by http://chicken.sourceforge.net/
Brought to you by:
smeger
From: Sean K. <ka...@ge...> - 2005-05-28 00:12:19
|
[In a message on Fri, 27 May 2005 15:28:18 PDT, Jason Harris wrote:] >It looks as though the necessary lib is included on Tiger, since >"locate jpeglib" gives me something at /usr/local/php/include/ >jpeglib.h. And the library itself seems to be at /usr/local/php/lib/ >libjpeg.a. > >But as I said, we still support Jaguar and Panther, and I don't think >it's present on at least one of those. Just checked on Jaguar, and >it's not present there. I don't currently have a Panther box to look >at. Not on Panther, either (although it's in the Java frameworks as libjpeg.jnilib). >I think that in order to support it cleanly, you'd need to grab the >source for libjpeg, compile it (being sure to compile using gcc 3.3 >so that we keep Jag compatibility) and statically link the result. >Not sure how this would work with CVS - would we commit the built >static library, or create a dependency, or what? I value the ability >to easily grab CVS and build, and don't want to lose that ability. >This is why it was never added in the first place. Most non-Mac open source that requires this lib includes the source directly in their distribution. I.e., if it were my call, I'd make a directly "libjpeg", and install the recent version of libjpeg there. Then I'd figure out how to build libjpeg from the command line (since it will already include a make file, or we can figure out how to run configure to get a "proper" build (but not install), and add a build step to the front-end of the build process to compile libjpeg from a shell script. That way, we can rest assured we have the *right* libjpeg. Just my $0.02 Sean PS When I was employed, I was a system administrator for Xerox. I've build hundreds of open source applications, porting bunches of stuff from Linux and BSD to Solaris, so if the decision is made to do this, I'll happily spend a little time getting it to build. |