I have sucessfulyl emerged the rss_glx package after I saw some amazing screenshots. (http://rss-glx.sourceforge.net/screenshots.shtml) However I can't get the screen saver to show up in either the KDE control panel or the Gnome control panel. If I run xscreensaver-demo I just get the gnome module. I tried following the instructions in README.xscreensaver that tells you to add a number of lines to the .xscreensaver. However, xscreensaver complains about errors when I do this. I think some thing that has to do with it is the fact that rss_glx intalls files under /usr/lib/xscreensaver while xscreenserver install not only these, but also xml files in /usr/share/control-center/screensavers/. I think these XML files might be needed to have the screensavers show up in either the gnome or kde config programs. I tried mimicing a XML file for on of the rss screensavers, but it does not seem to work. Anyways the rss_glx should automatcily register the screensavers with Gnome/KDE. Reproducible: Always Steps to Reproduce: 1. 2. 3.
I've got an ebuild that fixes the kde portion of this. I've also done a version bump to 0.7.4. Still have to test it properly but I will submit it in the next day or two. I've also added the other options that rss_glx supports to the ebuild. I'm not sure totaly how gnome screensavers work but I will test this too.
Daniel, thanks for looking into it :) Please reopen this bug report when you're ready to attach the ebuild.
Created attachment 11020 [details] still contains minor bugs still contains minor bugs Sorry it's late was doing other things. Allows kde to use the screensaver. The .desktop files that specify the configuration of the screensaver use "kxsconfig" which I don't have a clue about (I've emailed the author of rss_glx without response yet). As such configuration from kde is not an option. Configuration works from xscreensaver though. openal should be added to the use.desc. I noticed at least one other ebuild that uses it (name escapes me). openal = open audio library. This still depends on the user adding the lines to the .xscreensaver config file. Gnome still not tested. If I get more time I'll play again.
Created attachment 11022 [details] changelog
Recommend keeping this masked for the time being.
reopen
kde guys and daniel, what is kxsrun and is there any reason to patch those .desktop files for KDE? btw, i assume the kde has its own screensaver daemon and doesn't use xscreensaver, right?
Finally found kxsconfig and kxsrun (didn't find them last time I looked) - they are in kdeartwork - they don't apear to be installed by default however. Still investigating. kde doesn't use xscreensaver. I was keeping it as a dependency based on that there was no way to configure the screensavers otherwise.
Created attachment 12772 [details] fixed ebuild Ok fixed made - 1. fixed comment 3 - it does configure in kde - uses /usr/{KDEDIR}/bin/kxsconfig 2. has the propper ebuild name now 3. (formatting) replaced some spaces with tabs - and removed comments 4. uses /usr/{KDEDIR}/bin kxsrun to run the screensavers - I was wrong with my earlier comment is should be installed by default with kdeartwork - it may require the opengl use flag but I didn't check. 5. xscreensavers removed from depend - probably could be moved to "use" case checks please: 1. comment to do with "if ! -x /bin/bzip2" can someone do a sanity check as to wheither to include this. rss-glx can disable linking against the bzip2 libraries if they aren't installed. I pondered that testing the /bin/bzip2 would be easier that testing all possible library locations. 2. add openal to the use flags as "uses open audio libraries (media-libs/openal)". dev-libs/crystalspace already uses it. 3. xscreensaver - options - a) move to from RDEPEND - b) add to use flags c) keep as is. 4. noticed some config windows in kde are a bit <---wide---> but they are funtional (if a bit anoying) 5. still have done no testing on GNOME - sorry guys
thanks daniel for the detailed analysis. i'm a gnome guy, so thats why i have no idea how the kde stuff works (/me pokes kde@gentoo.org). i'm going to incorporate some of the changes you made, but not all of them because i've been working on a couple of things with the ebuild already. i'll put in the patch for the KDE .desktop files because it seems reasonable, and also the 3dnow and sse useflags. but i won't put in the X useflag (i don't think it works anyway) and i'm still deciding about the openal one. it seems like only one screensaver has sound, i wonder if it is really worth it. if the kde devs want to chime in about it, please do now .. btw, i think its ${KDEDIR}/share/... rather than /usr/${KDEDIR}/share.. and you need to inherit the kde eclass. but don't worry about it now..
committed changes. daniel, could you please test the lastest rss-glx-0.7.4-r1 and see if it works for kde?
Created attachment 12808 [details, diff] ebuild diff - config path change kxsconfig required the config path to be /usr/lib/xscreensavers/config. I tried changing the config path on the command line of kxsconfig but I think it was changing generic kde config directory and as such didn't work. I hope this change doesn't break xscreensaver stuff (is that how gnome is using it?). If so I guess its more patching or symlinks (erk). Otherwise the ebuild work great. Like the ebuild you made too ;-). Well done.
so the KDE kxsrun uses the *.xml files and it looks in /usr/lib/xscreensaver/config? maybe it would be better to put a symlink from /usr/lib/xscreensaver/config to /usr/share/control-center/xscreensavers ? because xscreensaver puts all its xml configuration files there.
kxsconfig - the screensaver configurator - had the problems with the xml files not being in /usr/lib/xscreensaver/config. kxsrun was fine. Symlink sounds like a good (well easy) solution ;-).
ok .. we can finally close this one now. thanks for your help.