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

List:       kde-multimedia
Subject:    Re: kaiman !?
From:       Martin Vogt <mvogt () rhrk ! uni-kl ! de>
Date:       2000-11-11 7:11:04
[Download RAW message or body]

On Fri, Nov 10, 2000 at 09:14:37PM +0100, Stefan Westerfeld wrote:
>    Hi!
> 
> On Thu, Nov 09, 2000 at 09:03:51PM +0100, Martin Vogt wrote:
> > today I installed Mandrake 7.2.
> > 
> > Why does kaiman scan the whole /usr/lib directory?
> > Or is it artsd?
> > 
> > For each start of kaiman (artsd not running) it takes about
> > one minute!
> 
> Probably it is due to kdelibs/arts/mcop/trader_impl.cc - it scans recursively
> for .mcopclass files in the directory where the extensions are stored in.
> The code works great, if KDE is installed with a seperated directory (for 
> instance /usr/local/kde-2.0/lib), but on systems where the KDE libdir is
> /usr/lib it's not good.
>
What about: all .mcopclass files are stored in

$KDEDIR/lib/mcopclass ?

One directory where the .mcopclass files are stored.
xmms has fixed directories too, where the plugins should
go.(input/output,..)

The thing with recusive scanning is even worse on Mandrake 7.2.
In fact kaiman (or artsbuilder, which I found out later) 
never would start in Mandrake 7.2 because 
they have "backreferences" in /usr/lib.

In /usr/lib/mecury they have int2s -> ../mercury
and this leads to an endlees loop in the scanning.

> Which probably means that on most distributions it is a problem, and it sounds
> like we should fix it ASAP, probably even in KDE2.0.1.
>
> However, I currently see no fix without breaking KDE2.0 compatibility, if
> this is the ability that each application that installs and runs under KDE2.0
> shall install and run unmodified under KDE2.0.1, KDE2.1, ...
>

Hm, if the only application which scans for .mcopfiles is
artsd itsself then we have no problem with this!
             
If we define a common directory where the .mcopfiles go,
we need to fix arts and artspluggy maybe artsbuilder
and that should be all.
(simple change in Makefile.am.)

Maybe I forgot something?

Martin


_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia

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

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