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

Bug 86346

Summary: gaim doesn't use xscreensaver
Product: Gentoo Linux Reporter: Kenyon Ralph <kenyon>
Component: [OLD] GNOMEAssignee: Gaim Bugs Crew <gaim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: dotzenlabs
Priority: High    
Version: 2004.3   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Emere --info and emerge output for gaim

Description Kenyon Ralph 2005-03-22 22:28:40 UTC
Bug 81155 is all wrong.  Gaim does not use the *xscreensaver package* at all.  When gaim refers to "X screensaver extension" it is talking about using this file: /usr/include/X11/extensions/scrnsaver.h
It uses that file to check for X window system usage in order to see if you're idle.  When you configure with --disable-screensaver (which happens in 1.2.0-r1 when you aren't USEing xscreensaver), it doesn't check for this header file, therefore you can't select the "X usage" option for Idle time reporting in gaim's preferences.

So basically we need to revert back to gaim-1.2.0.ebuild.
Comment 1 Kenyon Ralph 2005-03-22 22:46:05 UTC
Something that WOULD be worthy of a new USE flag or dependency may be the optional libstartup-notification dependency.  This has been talked about in Bug 53428.

The problem with NOT making startup-notification a dependency in gaim's ebuild is that if you DO happen to have startup-notification on your system, then gaim will build with support for it.  But then if you do a emerge --depclean, and nothing else depends on startup-notification, you'll think it's safe to unmerge startup-notification.  However, after you unmerge, you'll find that you can't start gaim anymore because it's missing libstartup-notification, and you'll have to recompile gaim.  This happened to me after I switched to split KDE ebuilds.

So startup-notification should either be optional with a USE flag, or a required dependency.

Anyway, the xscreensaver thing is more important.
Comment 2 Don Seiler (RETIRED) gentoo-dev 2005-03-23 07:38:33 UTC
Hm I'm pretty dumb.  You are right, this has nothing to do with the xscreensaver package itself.

The startup-notification thing is something I've been meaning to just make a full-time RDEPEND.  Mainly because the devs who build the GRP packages use startup-notification, and so bad things happen when you'd install those GRP packages on a machine without it.

I'll commit both of these changes to -r2 today.
Comment 3 Don Seiler (RETIRED) gentoo-dev 2005-03-23 08:10:30 UTC
Alright this is set in -r2.
Comment 4 Kenyon Ralph 2005-03-23 10:38:24 UTC
Good to go, thanks.
Comment 5 Mike 2005-04-17 19:00:30 UTC
I'm still having this problem.  X usage doesn't show up.  Gaim usage and none are the only options.  I've re-emerged gaim-1.2.1 and startup-notification.  I've posted in the forums with no luck as well.  Any help would be appreciated.
Comment 6 Kenyon Ralph 2005-04-17 21:17:25 UTC
OK, I've found your post on the forums and am replying to you there.
Comment 7 Mike 2005-04-19 20:14:21 UTC
Created attachment 56721 [details]
Emere --info and emerge output for gaim

Here is my emerge --info and emerge gaim output
Comment 8 Kenyon Ralph 2005-04-19 20:22:28 UTC
OK, I meant to move this discussion to the forums, so once again, I am replying there...