File:  [NetBSD Developer Wiki] / wikisrc / adobe_flash.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Mon Nov 21 03:22:58 2011 UTC (2 years, 4 months ago) by mspo
Branches: MAIN
CVS tags: HEAD
finish importing the pages from my findings in the pkgsrc.se wiki

Adobe Flash Flash support is available in native NetBSD build browsers such as Mozilla, Netscape, Seamonkey, Firefox and also in Opera (Linux emulation). Please enable official-mozilla-branding in pkgsrc, if you wish to have official Mozilla Branding (results in Firefox User Agent, instead of mozilla buildname, like for exmaple Minefield.) In order to enable flash support you have to do (or check) following steps: 1. Linux emulation needs the folowing addition to **/etc/fstab**: 
    
    procfs      /usr/pkg/emul/linux/proc     procfs   rw,linux
    

Some Linux programs are expecting this to be available. 2. Edit **/etc/mk.conf** file to have: 
    
    ACCEPTABLE_LICENSES+=flash-license
    

This will accept Adobe's EULA. Please read it before you do. 3. Install the actual flash plugin now, it will automatically install the required Linux compatibility files: 
    
    # cd /usr/pkgsrc/multimedia/adobe-flash-plugin
    # make && make install
    

4. Run ldconfig 
    <pre><code>
    # chroot /usr/pkg/emul/linux /bin/bash
    # ldconfig
    # exit
    </code></pre>

5. Install the plugin for _firefox_: 
    <pre><code>
    # nspluginwrapper -v -i /usr/pkg/lib/netscape/plugins/libflashplayer.so
    </code></pre>

For flash support in _Opera_ browser: 
    
    # cd /usr/pkgsrc/www/opera-plugins
    # make && make install
    

Tell Opera where to find the plugins (You only need to do this if you have older than opera-9.63nb1): 
    
    $ echo '/usr/pkg/lib/netscape/plugins=1' >> ~/.opera/pluginpath.ini
    

6. Check installation: 
    
    [http://www.adobe.com/software/flash/about/](http://www.adobe.com/software/flash/about/)
    

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb