firefox & flash9 patches - now it works with sound on 8-CURRENT

Vladimir Grebenschikov vova at fbsd.ru
Fri Oct 3 07:07:53 UTC 2008


On Thu, 2008-10-02 at 23:14 -0500, Sam Fourman Jr. wrote:

> Can someone provide a step by step to get flash 9 with sound working
> on 8-CURRENT?
> 
> eg what ports need to be installed

By experience, you need:
* recent 8-CURRENT with linuxator patch from Chagin Dmitry 
(see beginning of that thread)
* recent ports tree with ports:
        - linux_base-f8-8_5 (Makefile 1.44 or later!)
        - linux-flashplugin-9.0r124_1 
        - nspluginwrapper-1.0.0
and dependencies

also you need download and install keyutils-libs-1.2-2.fc6.i386.rpm (I
do not know why .fc6 package get to fc8 distribution DVD, but it fits ok
here).
you can get it from any appropriate place, like:
ftp://ftp.chg.ru/pub/Linux/fedora/linux/releases/8/Everything/i386/os/Packages/keyutils-1.2-2.fc6.i386.rpm
Then you need to extract it to compat tree:
cd /compat/linux && rpm2cpio /path/to/keyutils-1.2-2.fc6.i386.rpm | cpio
-id

now run as root:

# nspluginwrapper -a -v -i
Auto-install plugins from /usr/X11R6/lib/browser_plugins
Looking for plugins in /usr/X11R6/lib/browser_plugins
Auto-install plugins from /usr/X11R6/lib/firefox/plugins
Looking for plugins in /usr/X11R6/lib/firefox/plugins
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
  into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
Auto-install plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins
#

Now you should have working flash9 under firefox2 (www/firefox).

If you need it under firefox3 (www/firefox3) link plugin manually to
firefox3 plugins:

# ln /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so /usr/local/lib/firefox3/plugins/

Enjoy

> Sam Fourman Jr.

-- 
Vladimir B. Grebenschikov
vova at fbsd.ru


More information about the freebsd-emulation mailing list