[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: When does kbuildsycoca4 run?
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2012-09-18 9:49:16
Message-ID: CA+XidOEVWBW9JxTVXxfkB+tXNUAZFUPU9eL99POtPsZemjx9xw () mail ! gmail ! com
[Download RAW message or body]

On Tue, Sep 18, 2012 at 8:17 PM, Ian Wadham <iandw.au@gmail.com> wrote:
> Hi guys,
>
> Over on the mailing list for Macports, which provides ports of
> open source software on Apple Mac OS X, we are having a
> discussion about kbuildsycoca4, its effect on ports of KDE
> libraries and applications and when and whether to run it.
>
> The other day I installed kdesdk4 on my Apple Macbook and
> tried to run Kompare, but it failed with a KMessageBox saying
> that its view part was missing.  I tried again from the command
> line and got a message suggesting I run kbuildsysoca4.  I did,
> and Kompare suddenly sprang to life.  So did another KDE app
> that has been broken for a long time on my Apple desktop.
>
> On my Linux system I have not had to run kbuildsycoca in all the
> ten years or so I have been working on KDE.  So when does KDE
> run it?  As part of the build and install process for KDE libs and apps?
> Whenever you run an app?  Whenever you start the KDE desktop?

It is run at multiple times I believe.
By kdeinit4 when starting up (not sure what constraints if any exist here)
On KDE Workspace startup (as part of launching kdeinit4 I think)
By kded4 itself if it detects changes to certain directories (maybe
limited to the Workspace, not sure again)

>
> Also it would be helpful if someone could point me to some doco
> on the *architecture* of KDE.  What background processes run?  What
> do they do?  What are the interactions between them?  What is the
> sequence of processes and events when the KDE desktop starts?
>
> Which of those processes are necessary for running KDE apps?
> Which can be omitted or "bound off" somehow if you are not running
> on a KDE desktop?

klauncher primarily provides startup of kio slaves (and launches other
applications on their behalf as well I think - kdeinit4 might handle
that though).
kded4 provides a number of crucial mini processes which are crucial to
the operation of KDE processes in certain areas (Timezone data and the
determining of an active network connection at least) although it
tends to be more crucial with a Workspace.

Not sure about kdeinit4 exactly, it does many things...

>
> I googled, of course, to find out more about kbuildsycoca4, but found
> nothing except links like this:
>
>     http://systemexplorer.net/file-database/file/kbuildsycoca4-exe
>
> Try googling with What is kbuildsycoca4?  Apparently some Windows
> people think it could be malware!  Other top hits showed widespread
> puzzlement and dismay and several broken KDE apps (on other platforms),
> such as Amarok.  It is not a good look for KDE and I think KDE's many fine
> applications deserve a better chance.
>
> BTW I did find the Techbase pages on KService.  They told me what
> SyCoCa and kbuildsycoca4 are, but did not answer the above questions.
>
> All the best, Ian W.

Regards,
Ben

>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic