[Bug 345606] Re: list_plugin() doesn't take NSPLUGINDIRS in consideration

Saša Bodiroža jazzva at gmail.com
Thu Apr 2 14:03:04 UTC 2009


** Description changed:

  Binary package hint: nspluginwrapper
  
  The current implementation doesn't take in consideration wrappers which
  are installed in directory specified with NSPLUGIN_DIR environment
  variable.
  
  This is needed in order to be able to update all wrappers in
  nspluginwrapper's postinst script.
  
  This would be done by plugin packages providing a meta-file in
  /var/lib/nspluginwrapper/dirs.d/. For example, flashplugin-nonfree would
  provide /var/lib/nspluginwrapper/dirs.d/flashplugin-nonfree which would
  contain its NSPLUGIN_DIR.
  
- list_plugin() would read files in that directory, and see if any
- directory specified in a file contains a wrapper. If there is a wrapper,
- then it would be listed. The output of "nspluginwrapper -l" would be
- provided to "nspluginwrapper -u" which would then update the plugins.
+ update-wrapper script would read those files and form an env variable
+ NSPLUGIN_DIRS which would contain a list of directories separated by ":"
+ character. (update-wrapper will be tracked by another bug report, the
+ specificaction for that script is still being discussed)
+ 
+ get_env_plugin_dirs() would split the list in NSPLUGIN_DIRS, and return
+ it. get_mozilla_plugin_dirs() would append the split list to the end of
+ the current list of default directories.

** Branch linked: lp:~jazzva/nspluginwrapper/ubuntu.1.2.2-0ubuntu3

** Summary changed:

- list_plugin() doesn't take NSPLUGINDIRS in consideration
+ nspluginwrapper doesn't take NSPLUGIN_DIRS in consideration

-- 
nspluginwrapper doesn't take NSPLUGIN_DIRS in consideration
https://bugs.launchpad.net/bugs/345606
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to nspluginwrapper in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list