| Summary: | Build issue: xine-artsplugin FTBFS with newer xine API | ||
|---|---|---|---|
| Product: | TDE | Reporter: | L0ner <sh4dou> |
| Component: | tdemultimedia | Assignee: | Calvin Morrison <mutantturkey> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | bugwatch, darrella, ktbz.aoneshot.eliddell |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | gcc (GCC) 4.6.2 20120120 | TDE Version String: | 3.5.13 |
| Application Version: | Application Name: | xine-artsplugin | |
| Attachments: |
reenables xine-artsplugin compilation.
artsd log when tried to play audio file in artsplay using xine-artsplugin Update patch with preprocessor checks |
||
|
Description
L0ner
2012-02-02 10:34:13 CST
Created attachment 316 [details]
reenables xine-artsplugin compilation.
Created attachment 317 [details]
artsd log when tried to play audio file in artsplay using xine-artsplugin
Okay so this might only affect Arch at this point, but itll hit everyone else when their distro hits the broken API Looking into it Okay so this might only affect Arch at this point, but itll hit everyone else when their distro hits the broken API Looking into it The bes thing would be to include some sort of version check. In qt3 there are statements like "#if PNG_LIBPNG_VER_MAJOR>1" to check the libpng version. Those are preprocessor statements. Maybe something similiar would do the trick. ie: #if XINE_VERSON<"version that breaks API" use_older_api(); #else use_never_aip(); #endif That would enable usage of the code with both older and never xine api. When we (Gentoo) had problems with xine while compiling kaffeine, the watershed version turned out to be xine-lib 1.2.0—it and everything after it caused breakage, but earlier versions (1.1.19, 1.1.20) worked fine. So 1.2.0 is probably our "version that breaks API" and the one that needs to be checked for changes. Created attachment 567 [details]
Update patch with preprocessor checks
I'm attaching an updated patch for tdemultimedia. The patch uses preprocessor checks and therefore should work for xine-libs on both sides of the change.
I do not have a system with xine-libs > 1.1.19. Therefore I can only test that the patch works with that version.
Please test!
Patch pushed to GIT in hash 15b9ce53. Resolved. Thanks for the patch! |