Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45081 - gaim XScreenSaverAway plugin
Summary: gaim XScreenSaverAway plugin
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gaim Bugs Crew
Depends on:
Reported: 2004-03-18 16:15 UTC by Benjamin Ritcey
Modified: 2004-06-11 09:19 UTC (History)
0 users

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

patch for gaim-0.75-r10.ebuild (gaim.patch,1.11 KB, patch)
2004-03-18 16:16 UTC, Benjamin Ritcey
Details | Diff
gaim plugin source (xscreensaveraway.c,11.70 KB, text/plain)
2004-03-18 16:16 UTC, Benjamin Ritcey

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Ritcey 2004-03-18 16:15:22 UTC
The URL above includes a plugin that sets you 'away' when your screensaver activates (despite the name, in looking at the code, it looks like any X screensaver will work - it checks XA_SCREENSAVER_STATUS,XA_BLANK, XA_LOCK).

As far as I can tell, the "right" way to add 3rd-party plugins to Gaim is to:
1) drop the .c file in the 'plugins' directory in the source tree
2) run 'make <pluginname>.so'
3) copy the resulting file to the systemwide plugins directory

Those are the instructions that come with the plugin, plus comments in  plugins/Makefile seem to support that.  I don't think this could be a standalone ebuild, since it requires the Gaim sourcetree - plus, this is really cool and should be in the base anyway =)

I'm including the sourcefile vs. just listing the URL in the ebuild since it needs a minor change to account for Gaim's updated API (I haven't heard back from the creator yet).

If that's the wrong thing to do, please let me know how it should be done. 

Reproducible: Always
Steps to Reproduce:
Comment 1 Benjamin Ritcey 2004-03-18 16:16:03 UTC
Created attachment 27581 [details, diff]
patch for gaim-0.75-r10.ebuild
Comment 2 Benjamin Ritcey 2004-03-18 16:16:37 UTC
Created attachment 27582 [details]
gaim plugin source
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-03-18 18:07:15 UTC
I'm not going to patch the main gaim app for plugins.  Splitting plugins like gaim-encryption off was the best thing I've done, and it's made package management a ton easier.

See the bug on autoprofile.  This will need it's own makefile and we'll make it it's own package.
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-03-18 18:08:13 UTC
Comment on attachment 27581 [details, diff]
patch for gaim-0.75-r10.ebuild

No touchey
Comment 5 Don Seiler (RETIRED) gentoo-dev 2004-03-31 11:06:57 UTC
Benjamin I haven't heard from you in a while since you contacted me offline.  Any update on this?
Comment 6 Benjamin Ritcey 2004-03-31 11:15:30 UTC
Work issues combined with a machine crash (lost the automake/autoconf suff) have forced me to backburner this for now - sorry for the silence...
Comment 7 Don Seiler (RETIRED) gentoo-dev 2004-03-31 11:17:46 UTC
If you want I'll start an sourceforge project and start setting things up.
Comment 8 Benjamin Ritcey 2004-03-31 11:24:10 UTC
I'm not even sure it's worth a SF project - it's really just one file & I'm not sure it'll need much in the way of future improvements.  If I re-do the autoconf/automake stuff, I'll throw it up on my personal site - but as I said, I'll need to backburner this for awhile.
Comment 9 Don Seiler (RETIRED) gentoo-dev 2004-03-31 11:32:54 UTC
hey.  gaim-snpp is just one file, but adding in the automake/autoconf stuff adds a lot more.  Plus the other advantages of the infrastructure like website and distfile mirrors. encourages that kind of thing.
Comment 10 Don Seiler (RETIRED) gentoo-dev 2004-06-11 07:38:02 UTC
Benjamin are you still interested in reviving this plugin?
Comment 11 Benjamin Ritcey 2004-06-11 09:16:35 UTC
After my brief infatuation with this, I'm not even using this plug-in right now =)  The source URL I listed above doesn't even work anymore - let's let this die (but thanks for all your offers of help w/ this).
Comment 12 Don Seiler (RETIRED) gentoo-dev 2004-06-11 09:19:21 UTC
Alright I'm going to let this fade away then.