Bugs item #3427005, was opened at 2011-10-21 19:34 Message generated for change (Tracker Item Submitted) 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); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=3427005&group_id=144022 ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Synfig-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synfig-devl
