From: Thomas K. <tk...@gi...> - 2013-01-26 22:10:00
|
Hi John! On Sat, Jan 26, 2013 at 02:04:41PM -0800, John Bowler wrote: > On Sat, Jan 26, 2013 at 1:05 PM, Thomas Klausner <tk...@gi...> wrote: > > Are any existing API calls deprecated? I.e., how much existing > > software that compiles against 1.5.4 do you think will need additional > > patches? > > Yes, there are new deprecated APIs in 1.6, they will be removed in > 1.7, and anything deprecated in 1.5 has been removed from 1.6. > However I've been running 1.6 on Gentoo for about a year now, and am > actually running 1.7 at present. The only private build I have (i.e. > the only thing I have a Gentoo overlay for to work round libpng > compilation issues) is graphicsmagick. That's only because I have to > build GraphicsMagick 1.4 and Gentoo is stuck at 1.3 for some reason. > > To find the deprectated APIs just search png.h for the string PNG_DEPRECATED. > > 1.5.13 deprecates (only) png_get_io_chunk_name > 1.6.0 removes png_get_io_chunk_name and deprecates: > png_reset_zstream (I don't believe any application uses this.) > png_info_init_3 (I don't think this can actually be used outside libpng!) > png_convert_to_rfc1123 - this may require changes for 1.7 > png_data_freer (I don't think this works in general, I don't > believe any application uses it.) > png_malloc_default (this may require changes in the future, but > I've yet to find an application that calls it.) > png_free_default (the same comment applies) > > My builds with 1.7 (which has all the above 1.6 deprecated APIs > removed) have yet to reveal any problems. Thanks for this encouraging reply :) Thomas |