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

Renato Botelho rbgarga at gmail.com
Fri Oct 3 19:28:56 UTC 2008


On Fri, Oct 3, 2008 at 9:18 AM, Boris Samorodov <bsam at ipt.ru> wrote:
> Vladimir Grebenschikov <vova at fbsd.ru> writes:
>> 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
>
> FYI the following step is not needed with linux_base-f8-8_6:
> -----
>> 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/

One more success case here:

garga at botelhor:~> uname -a
FreeBSD botelhor.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #17
r183569M: Fri Oct  3 11:46:09 BRT 2008
root at botelhor.bplab.local:/usr/obj/usr/src/sys/GARGA  i386
garga at botelhor:~> pkg_info | grep linux_base
linux_base-f8-8_6   Base set of packages needed in Linux mode (for i386/amd64)

Everything is working like a charm \o/

Crongrats and thanks for the great work
-- 
Renato Botelho


More information about the freebsd-emulation mailing list