GHNS & plasmapkg

Petri Damstén petri.damsten at gmail.com
Fri Oct 31 07:55:50 CET 2008


On Wednesday 29 October 2008 21:57:44 Aaron J. Seigo wrote:
> On Wednesday 29 October 2008, Petri Damstén wrote:
> > On Wednesday 29 October 2008 05:08:32 Aaron J. Seigo wrote:
> > > On Tuesday 28 October 2008, Petri Damstén wrote:
> > > > Run kbuildsyscoca4 from plasmapkg patch attached.
> > >
> > > this could probably be done via dbus and kded (faster, more reliable?)
> > >
> > > 	qdbus org.kde.kded /kbuildsycoca recreate
> > >
> > > so something like in the code:
> > >
> > > QDBusInterface dbus("org.kde.kded", "/kbuildsycoca",
> > > "org.kde.kbuildsycoca"); dbus.call(QDBus::NoBlock, "recreate");
> > >
> > > otherwise, +1 for the concept =) assuming you get it working via the
> > > above dbus interface, pls commit..
> >
> > Does not work for me like this or from qdbusviewer. I think it's because
> > I have plasma svn running on top of the kubuntu 4.1.2 and dbus calls the
> > 4.1.2 kbuildsycoca, so I can't test this. (I think KProcess works since
> > then there are correct env variables and /opt/kde-svn/bin is first in
> > path).
>
> hm.. it shouldn't matter. does qdbus not show ord.kde.kded, /kbduilsycoca
> or the recreate method? i tested it here before sending the original email,
> so it would be interesting to know why it isn't working there ...

Added a kde test user which only has kde-svn and it seems to work there, so it 
was just me & my messed up system that was wrong here :-)

Petri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081031/2ed98d69/attachment.sig 


More information about the Plasma-devel mailing list