Bugs item #3427005, was opened at 2011-10-21 12:34 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=3427005&group_id=144022
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compile-Time Group: Latest release Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: synfig code is incompatible with libpng-1.5 Initial Comment: Attempts to compile synfig-0.63.02 on linux results in failures against libpng-1.5, as the deprecated API entries from libpng-1.4 have now been removed in 1.5. Build log is attached. The primary change is that members of 'png_ptr' and 'info_ptr' cannot be accessed directly anymore. A few examples of invalid code include: mptr_png.cpp:307: float r=gamma().r_U8_to_F32((unsigned char)png_ptr->palette[row_pointers[y][x]].red); mptr_png.cpp:308: float g=gamma().g_U8_to_F32((unsigned char)png_ptr->palette[row_pointers[y][x]].green); mptr_png.cpp:309: float b=gamma().b_U8_to_F32((unsigned char)png_ptr->palette[row_pointers[y][x]].blue); mptr_png.cpp:311: if(info_ptr->valid & PNG_INFO_tRNS) mptr_png.cpp:312: a = (float)(unsigned char)png_ptr->trans[row_pointers[y][x]]*(1.0/255.0); ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2012-04-18 23:00 Message: l3zOyc <a href="http://wztgjirhkmpe.com/">wztgjirhkmpe</a>, [url=http://enyttoqwwqaj.com/]enyttoqwwqaj[/url], [link=http://sbxxcvdudfjh.com/]sbxxcvdudfjh[/link], http://mbpykgjwmwda.com/ ---------------------------------------------------------------------- Comment By: SpeckFleck () Date: 2011-10-24 11:49 Message: I created a patch. Could someone check it for correctness, test it and optimise it for elegance? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=3427005&group_id=144022 ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Synfig-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synfig-devl
