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

Bug 748126

Summary: xfce-extra/xfce4-screensaver: add USE flag to pull in xscreensaver screensavers
Product: Gentoo Linux Reporter: Maciej S. Szmigiero <mail>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: UNCONFIRMED ---    
Severity: enhancement CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maciej S. Szmigiero 2020-10-12 22:57:08 UTC
By itself xfce-extra/xfce4-screensaver only has 4 screensavers, the rest should be provided by x11-misc/xscreensaver.

For xfce-extra/xfce4-screensaver to see these a per-screensaver .desktop file in /usr/share/applications/screensavers is needed.

The format of the required files is documented here:
https://docs.xfce.org/apps/xfce4-screensaver/faq#where_are_all_the_screensavers
These can be easily auto-generated, usually is just the path to the screensaver (or "hack" in xscreensaver terminology) followed by the "-root" command line argument.

Remaining command line arguments are automatically read from screensaver's XML description file that's already part of the x11-misc/xscreensaver package.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-13 00:47:33 UTC
Sounds more like an optfeature thing?
Comment 2 Maciej S. Szmigiero 2020-10-13 00:55:27 UTC
It could be an optfeature, however then it wouldn't be clear which package should own /usr/share/applications/screensavers/*.desktop files.

Making it an USE flag instead has an additional benefit of making the installed x11-misc/xscreensaver package automatically eligible for depclean if xfce-extra/xfce4-screensaver is removed.