Bug 263897 - Build problem - Gwenview libjpeg version check incompatible with jpeg-turbo
Summary: Build problem - Gwenview libjpeg version check incompatible with jpeg-turbo
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 273217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-21 18:33 UTC by Jaroslav Reznik
Modified: 2012-10-19 13:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.