contextview broken without plasma

Mark Kretschmann kretschmann at kde.org
Fri Feb 29 09:19:32 CET 2008


On 2/7/08, Harald Sitter <sitter.harald at gmail.com> wrote:
> When plasma isn't installed amarok2 throws out nice errors like:
>  > amarok(16344)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "Plasma/Applet"  not found
>  > amarok(16344) Plasma::Applet::loadApplet: Applet::loadApplet: offers is empty for " "context" "
>  > amarok(16344) Plasma::Corona::addContainment: loading of containment "context" failed.
>  > findServiceByDesktopPath:  not found
>
>  This is because the following files aren't installed:
>  plasma-animator.desktop
>  plasma-applet.desktop
>  plasma-dataengine.desktop
>  (plasma-runner.desktop)
>  (plasma-scriptengine.desktop)
>
>  I have kinda no idea how to properly fix this... but some wicked
>  minded solution paths:
>
>  1. somehow get amarok's libplasma to search in the amarok
>  datadir/servicetypes for these files (probably best solution)
>  2. suffix -amarok to the desktop files and install them in the default
>  KDE 4 path, I'm not exactly sure this will not cause plasma to use our
>  files though

Hm, I don't really understand why these files are not installed.
CMakeLists.txt has this:

install(FILES
    servicetypes/plasma-animator.desktop
    servicetypes/plasma-applet.desktop
    servicetypes/plasma-dataengine.desktop
    servicetypes/plasma-runner.desktop
    servicetypes/plasma-scriptengine.desktop
    DESTINATION ${SERVICETYPES_INSTALL_DIR})

-- 
Mark


More information about the Amarok-devel mailing list