patch for runner_lock to use kxkb kpart

Andriy Rysin arysin at gmail.com
Tue Oct 9 02:01:57 BST 2007


2007/10/8, Nhuh Put <nhuh.put at web.de>:
>
>
> But besides that, KPluginFactory is completely in kdecore and creating
> some kind of custom KLightPart with it, would be really easy.
>

ok, thanks I've tried to reuse KPluginFactory and it works, just that it
complains about kxkb library being not a module (see below) and I had to
keep "lib" prefix, otherwise it would not find it. I'd like to keep keyboard
switcher lib small so I'd like to keep one library (libkdeinit4_kxkb) so I'd
appreciate if someone could tell me how to get rid of that warning without
rewriting everything again :)

Oswald, here's the third version of the patch - it's lightweight as it's not
using kpart library but uses standard KPluginFactory approach. The patch is
very small and if you could please take a look at it and hopefully approve
I'd really appreciate it. There's quite a lot of work left planned to
improve kxkb so I'd like to move to the rest of the tasks. If you approve
the approach I'll keep lockdlg in synch if kxkb api/component changes.

Also taking to accound that DBUS for keyboard switching was not met nicely
at XDG (http://lists.freedesktop.org/archives/xdg/2007-October/008867.html)
and that there'll be another layer for switching languages I'd like to get
rid of the DBUS interface some time soon (and possibly replace it with using
kxkb component providing similar API).

Thanks,
Andriy

krunner_lock(28944)/kdecore (KLibLoader) findLibraryInternal: plugins
shouldn't have a 'lib' suffix: "libkdeinit4_kxkb.so"
krunner_lock(28944)/kdecore (KLibLoader) findLibraryInternal: library
"libkdeinit4_kxkb.so" not found under 'module' but under 'lib'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071008/f7d6c9b7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockdlg_kxkb_klightpart.patch
Type: text/x-patch
Size: 3136 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071008/f7d6c9b7/attachment.bin>


More information about the kde-core-devel mailing list