proposal for handbook update - please review
platanthera
platanthera at web.de
Fri May 7 14:20:41 PDT 2004
hi.
i'd like to contribute 2 subsections to the web browser section of the FreeBSD
handbook, one describing the use of linuxpluginwrapper for flash6 with
konqueror and mozilla and friends, the other about plugger.
Could you please have a look at them and give me some feedback? Is there
something important missing or incorrect?
I'm 'only' using konqueror and firefox on FreBSD 5.2.1 - any special tricks
for the other browsers? Are there other differences then the libmap.conf(5)
setup between 4.x and 5.x?
thanks
----------------------------------------------------------------------
15.2.3 Linuxpluginwrapper enables Flash6 support for Konqueror and Mozilla
As an alternative to the www/flashpluginwrapper port which installs the
Linux Flash5 plugin as dependency, you may install www/linuxpluginwrapper
which depends on www/linux-flashplugin6 and print/acroread.
Note: Linuxpluginwrapper requires Linux compatibility to be enabled.
Note: You cannot have installed www/flashpluginwrapper and
www/linuxpluginwrapper at the same time. Mozilla users who had
previously installed www/flashpluginwrapper need to remove
LD_PRELOAD=/usr/local/lib/libflashplayer.so.1
export LD_PRELOAD
from their browser startup scripts.
Note: To use Flash6 with Konqueror you need either FreeBSD 4.x from
February 5th 2004 or newer (4.9-RELEASE and prior releases do NOT work)
or FreeBSD 5.1 or newer.
After having installed the www/linuxpluginwrapper port you need to set up
libmap.conf (5). The required configuration depends on whether you are
running FreeBSD 4.x or 5.x.
To enable Flash for Konqueror and for Mozilla and other gecko based web
browsers on a 5.x system, /etc/libmap.conf should include the following
lines
# Flash6 with Konqueror
[/opt/mozilla/plugins/libflashplayer.so]
libpthread.so.0 pluginwrapper/flash6.so
libdl.so.2 pluginwrapper/flash6.so
libz.so.1 libz.so.2
libstdc++-libc6.2-2.so.3 libstdc++.so.4
libm.so.6 libm.so.2
libc.so.6 pluginwrapper/flash6.so
# Flash6 with Mozilla/Firebird/Galeon/Epiphany
[/usr/local/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 pluginwrapper/flash6.so
libdl.so.2 pluginwrapper/flash6.so
libz.so.1 libz.so.2
libstdc++-libc6.2-2.so.3 libstdc++.so.4
libm.so.6 libm.so.2
libc.so.6 pluginwrapper/flash6.so
To create a sample configuration to start with you can do
# cd /var/db/pkg && pkg_info -D linuxpluginwrapper* > /etc/libmap.conf
Konqueror expects plugins to reside in /opt/mozilla/plugins/ by default.
You can either copy libflashplayer.so and flashplayer.xpt from
/usr/local/lib/linux-flashplugin6/ to /opt/mozilla/plugins/ or you may
configure Konqueror to look for plugins in
/usr/local/lib/linux-flashplugin6/ and adjust /etc/libmap.conf
accordingly.
Have a look at the Konqueror & Flash HowTo at freebsd.kde.org
----------------------------------------------------------------------
15.2.4 Plugger enables additional plugins for Mozilla
The www/plugger port provides a multimedia plugin for Mozilla that handles
various audio, video and document formats. plugger(7) is a small plugin,
which uses external programs to show or play the different formats.
For instance, you may choose to install the www/mplayer-plugin port to
play various audio and video formats. By default, this port uses
www/mozilla for gecko support. You can change this by defining
WITH_MOZILLA as ``firefox'', ``mozilla-devel'', ``mozilla-gtk1'' or ``
mozilla-devel-gtk1'' at build time. www/mplayer-plugin depends on
multimedia/mplayer which gets installed automatically if necessary. If you
decide to build and install it seperately, you can make use of its build
options. Have a look at Section 16.4.2.1 and
/usr/ports/multimedia/mplayer/Makefile.
Check the Plugger homepage for a detailed list of supported file formats
and the required helper applications. Additionally, there are testing
grounds to see your new plugins in action.
----------------------------------------------------------------------
More information about the freebsd-mozilla
mailing list