Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 748126 - xfce-extra/xfce4-screensaver: add USE flag to pull in xscreensaver screensavers
Summary: xfce-extra/xfce4-screensaver: add USE flag to pull in xscreensaver screensavers
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-12 22:57 UTC by Maciej S. Szmigiero
Modified: 2020-10-13 00:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.