Bug 263897

Summary: Build problem - Gwenview libjpeg version check incompatible with jpeg-turbo
Product: [Applications] gwenview Reporter: Jaroslav Reznik <jreznik>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaroslav Reznik 2011-01-21 18:33:37 UTC
Version:           unspecified (using KDE 4.5.95) 
OS:                Linux

Gwenview tries to guess libjpeg version from jpeglib.h #define JPEG_LIB_VERSION. In latest jpeg-turbo (1.0.90 as found in Fedora Rawhide) code this version definition was moved to jconfig.h. Please consider different way to check libjpeg version (probably using cpp or compiling a test app would be safer than the other hacks used here).

Reproducible: Always

Steps to Reproduce:
1. try to build gwenview with libjpeg-turbo

Actual Results:  
Build fails, version string contains the whole jpeglib.h

Expected Results:  
Correct version is picked up and gwenview builds.
Comment 1 Aurelien Gateau 2011-05-27 23:49:16 UTC
*** Bug 273217 has been marked as a duplicate of this bug. ***
Comment 2 Aurelien Gateau 2011-05-27 23:50:46 UTC
This should be fixed in master.