KDE-wide Animation settings

Martin Graesslin mgraesslin at kde.org
Sun Jan 5 09:53:12 UTC 2014


On Sunday 05 January 2014 10:10:48 you wrote:
> On 01/05/2014 09:57 AM, Hugo Pereira Da Costa wrote:
> > On 01/05/2014 09:42 AM, Martin Graesslin wrote:
> >> On Saturday 04 January 2014 20:52:43 David Faure wrote:
> >>> On Saturday 04 January 2014 20:19:43 Hugo Pereira Da Costa wrote:
> >>>> The first problem is that with kf5, the style configuration kcm expects
> >>>> a libkstyle_oxygen_config.so *plugin* for this configuration, whereas
> >>>> it
> >>>> was "kstyle_oxygen_config.so" in kde4 times.
> >>>> 
> >>>> now, as the error message indicates: plugins should not start with
> >>>> "lib"
> >>>> and thus, oxygen still installs kstyle_oxygen_config.so only
> >>>> so that the ill-named plugin is not found, and you get the error
> >>>> dialog.
> >>>> 
> >>>> To fix,
> >>>> - either we fix the kcm by changing the looked for plugin name (by
> >>>> removing the lib prefix)
> >>> 
> >>> Yes. Why does the kcm look for a lib prefix now? Surely there's no good
> >>> reason for that, the kde4 way was fine.
> >> 
> >> it was me who ported the kcm. I didn't change anything in that regard -
> >> at
> >> least not knowingly. The only change in KCMStyle::styleSpecificConfig()
> >> was: -    KLibrary library(libname, KCMStyleFactory::componentData());
> >> +    KLibrary library(libname);
> >> 
> >> Also I think to remember that it used to work when I did the port. So I
> >> rather think it got broken by 
a3194a6010961c68da80a9a8aa97501fb637f4a1
> > 
> > This commit is the one that _removed_ the lib prefix, consistently
> > with what was done with kde4:
> > (see /usr/lib64/kde4/kstyle_oxygen_config.so, and now:
> > $KF5/lib/plugins/kf5/kstyle_oxygen_config.so
> > all consistent !)
> > 
> > as I said, this commit did break the kf5 style kcm, that (incorrectly)
> > expects a lib prefix, and is therefore the one that shows up by git
> > dissect, but I think we'd rather fix the "expect a lib prefix part"
> > rather than revert the commit.
> > 
> > Best,
> 
> mmm. My bad. In fact the current breakage is an inconsistency between
> what oxygen installs (kstyle_oxygen_config) and what it announce in
> oxygen.themerc.
> Just fixed it. Sorry for the noise. Nothing was changed indeed to the
> kstyle kcm.
perfect! Thanks for fixing.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140105/de8c7455/attachment.sig>


More information about the Kde-frameworks-devel mailing list