pavement

Flash

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(Linux plugin emulation)
 
(62 intermediate revisions by 10 users not shown)
Line 1: Line 1:
==How to install flash7 in Konqueror==
+
The Adobe Flash player plugin can be emulated to run on native browsers. Alternatively, the browser can also be emulated, but this method seems to lack performance.
  
First install linuxpluginwrapper
+
==Linux plugin emulation==
# pkg_add -r linuxpluginwrapper
+
Install {{port|www/linux-c6-flashplugin11}} through ports, since at times the repository package may be outdated:
Or with options:
+
  # cd /usr/ports/www/linux-c6-flashplugin11; make install clean
  # cd /usr/ports/*/linuxpluginwrapper;make install
+
  
Next install flashplugin7
+
This should install other linux-c6 dependencies, including {{port|www/nspluginwrapper}}. Follow the directions at the end of installing the programs, most of which will be repeated below in the configuration sections.
# cd /usr/ports/*/linux-flashplugin7;make install
+
  
If it cannot fetch the file download it from here:
+
Load Linux modules according to [[Linux, configuration#Loading Linux modules]].
http://freshmeat.net/projects/flashplugin/
+
  
===libmap.conf===
+
===/etc/===
 +
{{file|/etc/fstab}}
 +
linproc        /compat/linux/proc    linprocfs  rw    0  0
 +
proc            /proc                procfs    rw    0  0
  
Add the following to /etc/libmap.conf
+
{{file|/etc/devfs.conf}}
 +
link /tmp shm
  
# Flash7 with Konqueror
+
{{file|/etc/sysctl.conf}}
[/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so]
+
  compat.linux.osrelease=2.6.18
  libpthread.so.0                pluginwrapper/flash7.so
+
libdl.so.2                     pluginwrapper/flash7.so
+
libz.so.1                      libz.so.3
+
libstdc++-libc6.2-2.so.3        libstdc++.so.5
+
libm.so.6                       libm.so.4
+
libc.so.6                      pluginwrapper/flash7.so
+
  
===Konqueror===
+
===/compat/linux/===
  
Go to Settings -> Configure Konqueror -> plugins
+
{{file|/compat/linux/etc/yp.conf}}
 +
domainname mydomain.com  # this is your network's domain-name without localhost
 +
ypserver localhost  # my.yp.server
  
Add the following to the list to search:
+
{{file|/compat/linux/etc/nsswitch.conf}}
/usr/local/lib/npapi/linux-flashplugin
+
passwd:    files nis
 +
shadow:    files nis
 +
group:      files nis
 +
hosts:     files nis dns
  
Now hit 'Scan for new plugins'
+
===Run nspluginwrapper===
 +
Run the following for a library plugin to be found by Firefox:
 +
nspluginwrapper -v -a -i
  
Now go and test it out.
+
Or to upgrade from a previous installed Flash plugin:
 +
nspluginwrapper -v -a -u
  
===Native Firefox===
+
To view the loaded plugins:
 +
nspluginwrapper -l
  
You will need to patch a file and compile it's all explained on this site:
+
If this doesn't work on Firefox, all packages may need to be reinstalled cleanly.
  
http://www.jail.se/freebsd.html
+
==Wine emulation==
 +
 
 +
Full Adobe Flash 9 support can be present by using a Win32 browser and Adobe Flash 9 for Windows in WINE. This was tested with WINE 0.9.59, FreeBSD 7-Release and Firefox 2.0.0.13.
 +
 
 +
Alternatively look into installing the package {{port|emulators/pipelight}}, which is meant to use windows plugins, through wine emulation, in non-emulated FreeBSD browsers. (I haven't tested this set-up)
  
 
==External Links==
 
==External Links==
 
http://freebsd.kde.org/howtos/konqueror-flash.php
 
http://freebsd.kde.org/howtos/konqueror-flash.php
  
 +
 +
Some more extensive step-by-step instructions:
 +
 +
http://freebsd.langhans.com.pl
 +
 +
 +
== See also ==
 +
 +
The [[PC-BSD]] project have released version 1.4 of their FreeBSD based distribution which includes native Flash Player in [[Konqueror]], [[Firefox]] and Opera.
  
 
[[Category : FreeBSD Multimedia]]
 
[[Category : FreeBSD Multimedia]]

Latest revision as of 07:21, 30 October 2015

The Adobe Flash player plugin can be emulated to run on native browsers. Alternatively, the browser can also be emulated, but this method seems to lack performance.

Contents

[edit] Linux plugin emulation

Install www/linux-c6-flashplugin11 through ports, since at times the repository package may be outdated:

# cd /usr/ports/www/linux-c6-flashplugin11; make install clean

This should install other linux-c6 dependencies, including www/nspluginwrapper . Follow the directions at the end of installing the programs, most of which will be repeated below in the configuration sections.

Load Linux modules according to Linux, configuration#Loading Linux modules.

[edit] /etc/

/etc/fstab

linproc         /compat/linux/proc    linprocfs  rw    0   0
proc            /proc                 procfs     rw    0   0

/etc/devfs.conf

link /tmp shm

/etc/sysctl.conf

compat.linux.osrelease=2.6.18

[edit] /compat/linux/

/compat/linux/etc/yp.conf

domainname	mydomain.com  # this is your network's domain-name without localhost
ypserver	localhost  # my.yp.server

/compat/linux/etc/nsswitch.conf

passwd:     files nis
shadow:     files nis
group:      files nis
hosts:	    files nis dns

[edit] Run nspluginwrapper

Run the following for a library plugin to be found by Firefox:

nspluginwrapper -v -a -i

Or to upgrade from a previous installed Flash plugin:

nspluginwrapper -v -a -u

To view the loaded plugins:

nspluginwrapper -l

If this doesn't work on Firefox, all packages may need to be reinstalled cleanly.

[edit] Wine emulation

Full Adobe Flash 9 support can be present by using a Win32 browser and Adobe Flash 9 for Windows in WINE. This was tested with WINE 0.9.59, FreeBSD 7-Release and Firefox 2.0.0.13.

Alternatively look into installing the package emulators/pipelight , which is meant to use windows plugins, through wine emulation, in non-emulated FreeBSD browsers. (I haven't tested this set-up)

[edit] External Links

http://freebsd.kde.org/howtos/konqueror-flash.php


Some more extensive step-by-step instructions:

http://freebsd.langhans.com.pl


[edit] See also

The PC-BSD project have released version 1.4 of their FreeBSD based distribution which includes native Flash Player in Konqueror, Firefox and Opera.

Personal tools