Tuesday, May 9, 2006

linuxpluginwrapper_how_to.txt

Woo hoo! I got lucky. While I did do a refresh and deleted the aformentioned text file on how to install the linuxpluginwrapper, I had Yet Another tab open with the file still in it. So here it is:




## Workaround for broken port linuxpluginwrapper.
## Beech Rintoul - akbeech@gmail.com

## Before building linuxpluginwrapper:

rm -R /usr/X11R6/lib/browser_linux_plugins

ln -s /usr/X11R6/lib/browser_plugins /usr/X11R6/lib/browser_linux_plugins


## Build linuxpluginwrapper:

cd /usr/ports/www/linuxpluginwrapper

make -DWITH_PLUGINS install clean

## or upgrade:

portupgrade -vm -DWITH_PLUGINS linuxpluginwrapper

## Remove symlink (Will break Mozilla).

rm -rf /usr/X11R6/lib/browser_linux_plugins

## Fix acroread:

rm -rf /usr/local/bin/acroread # If upgrade.

mv /usr/local/bin/acroread7 /usr/local/bin/acroread

rm -rf /usr/X11R6/lib/browser_plugins/nppdf.so

ln -s /usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so /usr/X11R6/lib/browser_plugins/nppdf.so

## Change path to nppdf.so in /etc/libmap.conf:

# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
[/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
libc.so.6 pluginwrapper/acrobat.so

## Note:
## Acroread now works properly in browser.
## Helix plugin does not work with Firefox or Mozilla at this time.
## Flash 6.0 works without modification.
## Flash7 is VERY unstable and will crash Firefox (possibly Mozilla).

## Launch browser and type "about:plugins" without the quotes to check that plugins are enabled.


Mind you, I don't know if it works or not, or if it is even still needed, so let me know what you find out, in case I don't get to it soon.



No comments:

Post a Comment