On Thu, September 18, 2014 1:28 am, Christopher Gregory wrote:
> Hello,
>
>
> They have done something in this release that is not going to sit well
> for us with regards to only using stable releases for things.
>
> They have changed to using the latest version of png, namely
> 1.6.14beta01.
>
>
> How do I know this?
>
>
> Well when compiling it I got the following error 79% into the build:
>
>
> [ 79%] Building CXX object
> khtml/CMakeFiles/khtml.dir/imload/decoders/pngloader.o
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp: In
>  member function ‘void khtmlImLoad::PNGLoader::haveInfo()’:
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp:163
> :41:
> error: ‘png_set_bgr’ was not declared in this scope
> png_set_bgr   (pngReadStruct); ^
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp:171:
> 41:
> error: ‘png_set_bgr’ was not declared in this scope
> png_set_bgr   (pngReadStruct);     //BGRA ^
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp: In
> member function ‘void khtmlImLoad::PNGLoader::haveRow(unsigned int, int,
> unsigned char*)’:
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp:200
> :79:
> error: ‘png_get_bit_depth’ was not declared in this scope
> png_byte pngDepth = png_get_bit_depth(pngReadStruct, pngInfoStruct); ^
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp:203:
> 73:
> error: ‘png_progressive_combine_row’ was not declared in this scope
> png_progressive_combine_row(pngReadStruct, scanlineBuf, data); ^
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp:200:
> 22:
> warning: unused variable ‘pngDepth’ [-Wunused-variable]
> png_byte pngDepth = png_get_bit_depth(pngReadStruct, pngInfoStruct); ^
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp: In
> constructor ‘khtmlImLoad::PNGLoader::PNGLoader()’:
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp:231
> :93:
> error: ‘png_set_progressive_read_fn’ was not declared in this scope
> png_set_progressive_read_fn(pngReadStruct, 0, dispHaveInfo, dispHaveRow,
> dispHaveEnd); ^
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp: In
> member function ‘virtual int khtmlImLoad::PNGLoader::processData(uchar*,
> int)’:
> /opt/build/kdelibs/kdelibs-4.14.1/khtml/imload/decoders/pngloader.cpp:261:
> 68:
> error: ‘png_process_data’ was not declared in this scope
> png_process_data(pngReadStruct, pngInfoStruct, data, length); ^
> khtml/CMakeFiles/khtml.dir/build.make:5158: recipe for target
> 'khtml/CMakeFiles/khtml.dir/imload/decoders/pngloader.o' failed
> make[2]: *** [khtml/CMakeFiles/khtml.dir/imload/decoders/pngloader.o]
> Error 1
> CMakeFiles/Makefile2:29597: recipe for target
> 'khtml/CMakeFiles/khtml.dir/all' failed
> make[1]: *** [khtml/CMakeFiles/khtml.dir/all] Error 2
> Makefile:147: recipe for target 'all' failed
>
>
> A google search brought up nothig.  So out of curiosity to see if it
> would solve the issue, I installed the beta of libpng and then tried
> compiling kdelibs again and it went through without error.
>
> I am going to see if somehow I can make a patch for our version of png
> but I do not hold out any hopes of actually being able to achieve this.
>
>
> Regards,
>
>
> Christopher.
>
>
> --
> http://lists.linuxfromscratch.org/listinfo/blfs-dev
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
>

Well I have filed a bug report at kde asking if they could backport it to
work with the 1.6.13 version of libpng, but I do not hold out much hope
that they will actually do that.

https://bugs.kde.org/show_bug.cgi?id=339149

Regards,

Christopher.


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to