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.

I cannot confirm this.  kdelibs builds fine for me.


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


In /usr/include/png.h:

#if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED)
/* Use blue, green, red order for pixels. */
PNG_EXPORT(30, void, png_set_bgr, (png_structrp png_ptr));
#endif

$ grep PNG_READ_BGR_SUPPORTED -r *
libpng16/pnglibconf.h:#define PNG_READ_BGR_SUPPORTED
libpng16/png.h:#if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED) png.h:#if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED)
pnglibconf.h:#define PNG_READ_BGR_SUPPORTED

So that's defined in libpng16/pnglibconf.h and pnglibconf.h.

I think you may be missing a dependency, but I can't tell which one.

  -- Bruce
--
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