Hi,

I wrote an eselect module for choosing between the browser plugins from
net-www/gnash and net-www/netscape-flash, and I was wondering if it could
be included in Gentoo (probably not in its current state...).

I haven't updated any ebuilds to use it yet, since some details are up for
discussion, in particular the location the plugins should be installed to.
 If you want to test it in the meantime, create a
/usr/lib{,64,32}/nsbrowser/plugins/flash directory, and move the existing
plugins  from /usr/lib/{,64,32}/nsbrowser/plugins into the flash
directory.  eselect will list them with their filenames, minus the .so
part - perhaps not very user-friendly, but this could be fixed either by
using a separate display name or by installing them with nicer names.

Note that changing the active plugin with the browser open works somewhat
erratically - sometimes it works and sometimes it doesn't, at least in
some browsers.  Don't think that's a bug in the module, I'm sure there are
enough of those as it is. ;-)

Another issue is that it only works system-wide.  It would be nice to
allow user to be able to override the global setting, but I don't know of
a reliable way to do that.  (At least SeaMonkey doesn't seem to let the
user's plugin directory override the system-wide one.)

Other things: multilib support is mainly included for completeness, it's
not really tested since unless I've missed something there's no way to
build Gnash in 32-bit mode on an AMD64 box.  On the other hand, it works
for 64-bit browsers via net-www/nspluginwrapper.  Speaking of which, it
would be nice to make the two cooperate further, by making nspluginwrapper
understand the special plugin location (possibly not entirely trivial, due
to the way it generates stubs for all the plugins it finds at merge-time,
so it would need to be taught to look in the right place).  I haven't
looked into that very hard yet, because I wanted to get some opinions as
to how it might best be done.

Any comments are appreciated.

Attachment: flash-nsplugin.eselect-0.1
Description: Binary data

Reply via email to