extragear/multimedia/amarok/src/collection [POSSIBLY UNSAFE]

Big O illogical1 at gmail.com
Thu Aug 7 23:48:11 CEST 2008


I think this might fix an issue on the mac where a) a kde app has been  
launch for the first time or b) amarok crashed.
The issue being fixed is the mimetype information being created (or  
completed) providing icons, ability to playback certain filetypes  
(like mp3) and perhaps more. I can't actually test this though. Anyone  
else with a mac feeling up to the challenge?

On Aug 6, 2008, at 11:06 PM, Jeff Mitchell wrote:

> SVN commit 843354 by mitchell:
>
> Do a noincremental kbuildsycoca4, as otherwise it is entirely  
> possible it won't be complete enough to fix the issue.
>
>
> M  +2 -2      CollectionManager.cpp   [POSSIBLY UNSAFE:  
> KRun::runCommand]
>
>
> --- trunk/extragear/multimedia/amarok/src/collection/ 
> CollectionManager.cpp #843353:843354
> @@ -111,7 +111,7 @@
>     //This code was in enginecontroller originally, it now ends up  
> here.
>     if( plugins.count() == 0 )
>     {
> -        KRun::runCommand( "kbuildsycoca4", 0 );
> +        KRun::runCommand( "kbuildsycoca4 --noincremental", 0 );
>
>         KMessageBox::error( 0, i18n(
>                 "<p>Amarok could not find any collection plugins. "
> @@ -121,7 +121,7 @@
>                 "$ cd /path/to/amarok/source-code/<br>"
>                 "$ su -c \"make uninstall\"<br>"
>                 "$ ./configure --prefix=`kde-config --prefix` && su - 
> c \"make install\"<br>"
> -                "$ kbuildsycoca4<br>"
> +                "$ kbuildsycoca4 --noincremental<br>"
>                 "$ amarok</pre>"
>                 "More information can be found in the README file.  
> For further assistance join us at #amarok on irc.freenode.net.</ 
> p>" ) );
>         // don't use QApplication::exit, as the eventloop may not  
> have started yet



More information about the Amarok-devel mailing list