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 2476

Summary: ksquirrel doesn't load codecs thus is unable to open any image
Product: TDE Reporter: pitriss <chytrex>
Component: non-core programsAssignee: Slávek Banko <slavek.banko>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, slavek.banko
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: amd64   
OS: Debian Wheezy   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2246    
Attachments: Fix quotes in pkgconfig file
Fix missing Qt=>TQt renaming in ui files
Fix run codecs configurator
Fix FTBFS with clang

Description pitriss 2015-07-11 15:35:02 CDT
ksquirrel is unable to load its codecs. 

When you try to open codec manager, it gets error: Malformed URL: "/opt/trinity/libs/ksquirrel-libs"

When you confirm this error, apply button often crashes codec manager.
Comment 1 Slávek Banko 2015-07-11 21:55:42 CDT
The bug is in the pkg-config file for libksquirrel. I also found that it lacking Qt => TQt renaming in .so.ui files (libksquirrel). And thirdly, there is a problem with running Codec manager using tdesu. Patches for all the problems I have prepared. I'll push them soon...
Comment 2 Slávek Banko 2015-07-11 22:09:28 CDT
Created attachment 2529 [details]
Fix quotes in pkgconfig file
Comment 3 Slávek Banko 2015-07-11 22:10:10 CDT
Created attachment 2530 [details]
Fix missing Qt=>TQt renaming in ui files
Comment 4 Slávek Banko 2015-07-11 22:11:04 CDT
Created attachment 2531 [details]
Fix run codecs configurator
Comment 5 Slávek Banko 2015-07-11 22:11:38 CDT
Created attachment 2532 [details]
Fix FTBFS with clang
Comment 6 Slávek Banko 2015-07-12 06:07:20 CDT
Ouch, I'll still have to work on a problem, because the current solution causes FTBFS on Ubuntu 10.04 (Lucid).
Comment 7 Slávek Banko 2015-07-12 11:25:24 CDT
I tested that using CFLAGS with quotation marks in pkg-config file is very problematic - escaping of quotation marks does not work reliably. One soulution causes ksquirrel FTBFS in Lucid, second solution causes FTBFS in Squeeze.

It seems that more reliable way is define parameters without additional escaped quotes and let ksquirrel to use stringify for these parameters. I'll do the patches in this way. It seems that Ksquirrel is only user of libksquirrel. So it will not require changes in other modules.
Comment 8 Slávek Banko 2015-07-12 13:48:43 CDT
It should be finally fixed! If you are using the Preliminary stable builds, you can update and verify it.
Comment 9 pitriss 2015-07-12 15:43:31 CDT
(In reply to Slávek Banko from comment #8)
> It should be finally fixed! If you are using the Preliminary stable builds,
> you can update and verify it.

Sorry I'm using stable build :(
Comment 10 Slávek Banko 2015-07-12 17:29:59 CDT
(In reply to pitriss from comment #9)
> (In reply to Slávek Banko from comment #8)
> > It should be finally fixed! If you are using the Preliminary stable builds,
> > you can update and verify it.
> 
> Sorry I'm using stable build :(

Ok, in that case we will believe that I fixed it :)