By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2488

Summary: Build issue: tdeaddons FTBFS on RHEL 5 because SDL is not detected
Product: TDE Reporter: Francois Andriot <albator78>
Component: tdeaddonsAssignee: Francois Andriot <albator78>
Status: RESOLVED FIXED    
Severity: normal CC: albator78, bugwatch, michele.calgaro, slavek.banko
Priority: P5    
Version: R14.0.1 [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2468    
Attachments: tdeaddons : fix SDL detection

Description Francois Andriot 2015-07-28 06:07:39 CDT
Hello, on older distribution (e.g. RHEL 5), the SDL library comes without the precious "pkgconfig/sdl.pc" file.
Then, the SDL library is not detected by tdeaddons/ConfigureChecks.cmake , and the build fails.

The cmake detection should be able to fall back to detecting the SDL.h or SDL.so file when sdl.pc does not exists.

See amarok/ConfigureChecks.cmake for an example.
Comment 1 Francois Andriot 2015-07-28 06:11:12 CDT
Created attachment 2541 [details]
tdeaddons : fix SDL detection
Comment 2 Michele Calgaro 2015-07-28 17:53:55 CDT
Francois,
at first sight the patch looks good. Please hold on pushing the patch until R14.0.1 packages are fully built.
Comment 3 Slávek Banko 2015-08-30 07:37:19 CDT
Pushed to GIT in hash 19183b5d (master) and d1e0006b (r14.0.x).