Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18675 - rss_glx screensavers do not show up in Gnome or KDE
Summary: rss_glx screensavers do not show up in Gnome or KDE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-03 01:02 UTC by John Ottander
Modified: 2003-06-12 16:19 UTC (History)
4 users (show)

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


Attachments
still contains minor bugs (rss_glx-0.7.4.ebuild,1.96 KB, text/x-ebuild)
2003-04-22 21:28 UTC, Daniel Black (RETIRED)
Details
changelog (ChangeLog,1.39 KB, text/plain)
2003-04-22 22:19 UTC, Daniel Black (RETIRED)
Details
fixed ebuild (rss-glx-0.7.4.ebuild,1.52 KB, text/x-ebuild)
2003-06-04 03:54 UTC, Daniel Black (RETIRED)
Details
ebuild diff - config path change (rss-glx-0.7.4-r1-r2.diff,446 bytes, patch)
2003-06-04 20:07 UTC, Daniel Black (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Ottander 2003-04-03 01:02:46 UTC
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.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2003-04-04 09:34:39 UTC
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. 
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-06 04:58:42 UTC
Daniel, thanks for looking into it :)  Please reopen this bug report when you're ready to attach the ebuild.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2003-04-22 21:28:24 UTC
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.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2003-04-22 22:19:47 UTC
Created attachment 11022 [details]
changelog
Comment 5 Daniel Black (RETIRED) gentoo-dev 2003-04-22 22:21:58 UTC
Recommend keeping this masked for the time being. 
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-05-15 02:37:55 UTC
reopen
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-06-02 20:43:54 UTC
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?
Comment 8 Daniel Black (RETIRED) gentoo-dev 2003-06-03 22:07:28 UTC
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. 
Comment 9 Daniel Black (RETIRED) gentoo-dev 2003-06-04 03:54:12 UTC
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
Comment 10 Alastair Tse (RETIRED) gentoo-dev 2003-06-04 08:36:33 UTC
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..
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2003-06-04 09:10:17 UTC
committed changes. daniel, could you please test the lastest rss-glx-0.7.4-r1 and see if it works for kde?
Comment 12 Daniel Black (RETIRED) gentoo-dev 2003-06-04 20:07:55 UTC
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.
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2003-06-06 07:11:42 UTC
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.
Comment 14 Daniel Black (RETIRED) gentoo-dev 2003-06-06 07:38:13 UTC
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 
;-). 
Comment 15 Alastair Tse (RETIRED) gentoo-dev 2003-06-12 16:19:22 UTC
ok .. we can finally close this one now. thanks for your help.