Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220127 - porthole-etc-proposals a new plug-in module for porthole
Summary: porthole-etc-proposals a new plug-in module for porthole
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-05-03 16:30 UTC by Brian Dolbec
Modified: 2008-05-06 05:45 UTC (History)
1 user (show)

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


Attachments
ebuild (porthole-etc-proposals-0.1.0.ebuild,595 bytes, text/plain)
2008-05-03 16:31 UTC, Brian Dolbec (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dolbec (RETIRED) gentoo-dev 2008-05-03 16:30:17 UTC
This is the first of two plug-in modules for porthole.  This one as the name suggests is to launch etcproposals from within porthole.  It is very basic for now but plan to enhance it more.  Etc-porposals has a small api to allow apps to refresh its screen, etc..

Reproducible: Always
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2008-05-03 16:31:24 UTC
Created attachment 151709 [details]
ebuild
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2008-05-04 14:11:19 UTC
Can't you just ship and install it with porthole and detect at runtime if etc-proposals is installed? Not much point IMO to create separate packages for mostly trivial plugins.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2008-05-04 15:51:37 UTC
I suppose it would not be that difficult to change the plugin module to detect if the target package is installed and disable itself.  For a profuse plugin, that module is unlikely to change.  Etc-proposals has potential for more interaction with porthole and could evolve somewhat at a different pace to the base porthole code.  That said, minor version bumps to porthole could easily take care of that.

I understand the need to find a balance between adding yet another package to the tree vs adding more (potential) bloat to a package.  I think in this case the tree wins :)

I'll work on the plugins and report back.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2008-05-05 15:20:41 UTC
My preference on this is to add it to the porthole ebuild with a local USE flag (etc-proposals).
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2008-05-05 22:50:46 UTC
too late :)  I have it modified for auto-detection of the target command along with auto-disabling as an active plug-in.  Actually I think it will work quite well.  I will add a re-scan button to refesh the plug-in list for a running porthole in the next release.  For now if a plug-in is installed while active, porthole will need to be re-started to see it.  I only have etc-proposals and profuse so far anyway.

Also plug-ins are not active by default.  They must be enabled via the plug-in settings dialog.