Testing a plasmoid with local installation / solved

Gregor Mi codeminister at publicstatic.de
Mon Mar 17 00:22:00 UTC 2014


SOLVED. By issuing this command...

export KDEDIRS=$DEVUSR:`kde4-config --prefix`

...the local version of the plasmoid is used. It is the third option
given by the tutorial [1], section "Testing the Applet".

Gregor

[1] http://techbase.kde.org/Development/Tutorials/Plasma/GettingStarted


On 09/03/14 22:28, Gregor Mi wrote:
> Hi,
> 
> I would like to install a (KDE4) plasmoid locally to test it with
> plasmoidviewer.
> 
> As example I use kdeplasma-addons/applets/showdesktop/ from
> https://projects.kde.org/projects/kde/kdeplasma-addons
> 
> I did the following setup
> $ cd src/kdeplasma-addons
> $ mkdir build
> $ cd build
> $ . home-kde4-env-setup # which sets DEVUSR, XDG_DATA_DIRS, PATH,
>                         # LD_LIBRARY_PATH, CMAKE_PREFIX_PATH
>   # DEVUSR is my local usr directory
> $ cmake .. -DCMAKE_INSTALL_PREFIX=$DEVUSR
> $ make install
> 
> $ plasmapkg --list | grep desktop
> lists showdesktop. This is the original (system installed) one, because
> kbuildsycoca4 was not called yet.
> 
> To make sure that the original plasmoid is not found by the next command
> I moved the file
> /usr/share/kde4/services/plasma-applet-showdesktop.desktop away.
> 
> Now:
> $ kbuildsycoca4
> $ plasmapkg --list | grep desktop
> This does NOT show the locally installed plasmoid.
> 
> So I am a little lost here. What conditions must hold so that
> kbuildsycoca4 finds the locally installed files (.desktop and .so) to
> make them available for plasmapkg?
> 
> Thanks for any hint.
> 
> Gregor
> 
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
> 


More information about the Plasma-devel mailing list