[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#570452: with mozilla-openoffice.org installed, nspluginscan returns useless relative path



On Wed, Apr 07, 2010 at 02:22:01PM +0200, Rene Engelhard wrote:
> Anyways, got a proposed new patch from the Novell guy who did the initial
> one, will try tonight.

OK; the patch results in:

$ nspluginscan 
OpenOffice path before fixup is '../../openoffice'
OpenOffice path is '/usr/lib/firefox/plugins/../../openoffice'
OpenOffice path before fixup is '../../openoffice'
OpenOffice path is '/usr/lib/mozilla/plugins/../../openoffice'
OpenOffice path before fixup is '../../openoffice'
OpenOffice path is '/usr/lib64/mozilla/plugins/../../openoffice'

OK for your case? (I don't like the lib64 there but it's a working path
at least:

rene@frodo:~$ cd /usr/lib64/mozilla/plugins/../../openoffice
rene@frodo:/usr/lib64/openoffice$ ls
basis3.2  basis-link  licenses  program  readmes  share
rene@frodo:/usr/lib64/openoffice$ 

> Means there's a easy workaround: -Xlibnpsoplugin on dh_link ;-)

rene@frodo:/usr/lib$ for i in `find . -name "libnpsoplugin.so"`; do sudo ln -sf /usr/lib/openoffice/program/libnpsoplugin.so $i; done
rene@frodo:/usr/lib/mozilla/plugins$ ls -l libnpsoplugin.so 
lrwxrwxrwx 1 root root 44  7. Apr 21:34 libnpsoplugin.so -> /usr/lib/openoffice/program/libnpsoplugin.so
rene@frodo:/usr/lib/mozilla/plugins$ nsplugin
nspluginplayer   nspluginscan     nspluginviewer   nspluginwrapper
rene@frodo:/usr/lib/mozilla/plugins$ nspluginscan 
OpenOffice path before fixup is '/usr/lib/openoffice'
OpenOffice path is '/usr/lib/openoffice'
OpenOffice path before fixup is '/usr/lib/openoffice'
OpenOffice path is '/usr/lib/openoffice'
OpenOffice path before fixup is '/usr/lib/openoffice'
OpenOffice path is '/usr/lib/openoffice'

Looks better :-)

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



Reply to: