Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 559918

Summary: kde-apps/dolphin-plugins-4.14.3 disregards USE flags
Product: Gentoo Linux Reporter: Thomas Capricelli <orzel>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Capricelli 2015-09-07 21:00:20 UTC
I've just installed kde-apps/dolphin-plugins-4.14.3 with the following USE flags:

% emerge -a kde-apps/dolphin-plugins
[ebuild  N    ] kde-apps/dolphin-plugins-4.14.3  USE="git mercurial (-aqua) -bazaar -debug -subversion" 

All plugins are installed, both the actual plugin (.so file) and kde4/services desktop too:

% equery files  kde-apps/dolphin-plugins
 * Searching for dolphin-plugins in kde-apps ...
 * Contents of kde-apps/dolphin-plugins-4.14.3:
/usr
/usr/lib64
/usr/lib64/kde4
/usr/lib64/kde4/fileviewbazaarplugin.so
/usr/lib64/kde4/fileviewdropboxplugin.so
/usr/lib64/kde4/fileviewgitplugin.so
/usr/lib64/kde4/fileviewhgplugin.so
/usr/lib64/kde4/fileviewsvnplugin.so
/usr/share
/usr/share/config.kcfg
/usr/share/config.kcfg/fileviewgitpluginsettings.kcfg
/usr/share/config.kcfg/fileviewhgpluginsettings.kcfg
/usr/share/config.kcfg/fileviewsvnpluginsettings.kcfg
/usr/share/kde4
/usr/share/kde4/services
/usr/share/kde4/services/fileviewbazaarplugin.desktop
/usr/share/kde4/services/fileviewdropboxplugin.desktop
/usr/share/kde4/services/fileviewgitplugin.desktop
/usr/share/kde4/services/fileviewhgplugin.desktop
/usr/share/kde4/services/fileviewsvnplugin.desktop
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-09-08 03:46:17 UTC
The dependencies are runtime-only, so technically they should not have USE flags at all. This leaves a few options:

1. Make the vcs dependencies mandatory since the plugins are installed unconditionally

2. Implement some downstream hacks to install the various plugins conditionally

3. Remove the use flags and replace with a post-install message.

It would be worth double-checking what happens if the plugin gets activated but the vcs package is missing.
Comment 2 Andreas Sturmlechner gentoo-dev 2016-03-13 11:09:18 UTC
A fix was upstreamed and is now in dolphin-plugins-15.12.2:5 in tree.
Comment 3 Thomas Capricelli 2016-03-14 22:13:46 UTC
i can confirm, thanks!