the xstatus module for hibernate-script, when configured to use gnome or kde, depends the appropriate dialog-displaying apps being installed.
This is not reflected in the ebuild, and can result in unexpected behaviours for users that decide to use those features without the full Gnome/KDE suite installed.
Created attachment 136106 [details, diff]
RDEPEND on zenity of USE=gnome
This patch for hibernate-script-1.97-r1.ebuild adds RDEPEND on zenity if USE=gnome is set.
The counterpart for KDE is not included as I am not familiar with it, and do not have the appropriate apps installed.
As I replied in bug#198962:
Well, this would be difficult... As you may select by configuration to use
whatever N different utilities... I cannot make all dependency of
hibernate-script... I tried to add gnome USE flag now, this suggests adding KDE
USE flag too, which in turn fbsplash, then you pull some utilities of gnome
even if you use OSD, and we have a lot of different scriptlets that requires
even more utilities if used. So the simplest way is to install the utilities
you actually use.
In that case, can we improve the elog to be slightly more explicit about what packages are needed for which feature? I run a xfce4 system with USE=gnome set to use certain specific gnome tools, but was caught by surprise when hibernate-script would fail with xstatus set to gnome as zenity was not pulled in.
In anycase, I'm closing this. Thanks.
Added some comments in common.conf.