From 852fb39e4658e3860febe909ac8c395cc936fb9f Mon Sep 17 00:00:00 2001 From: Tom Rhodes Date: Mon, 30 Dec 2002 19:34:02 +0000 Subject: [PATCH] Current information on installing Mozilla is weak. Add a section on setting up Mozilla with Java and Shockwave Flash. --- .../books/handbook/desktop/chapter.sgml | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml b/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml index 66eb7f1124..17c9b7ff4f 100644 --- a/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml @@ -215,6 +215,91 @@ &prompt.user; mozilla -mail + + + + + + + + Tom + Rhodes + Contributed by + + + + + + Mozilla, Java, and Shockwave Flash + + Installing Mozilla is simple, but + unfortunately installing mozilla with + support for things like java and + Shockwave Flash consumes both time and disk + space. + + The first thing is to download the files which will be used + with Mozilla. Take your current web + browser up to + + http://www.sun.com/software/java2/download.html and + create an account on their website. Remember to save the username + and password from here as it may be needed in the future. Download + a copy of the j2sdk-1_3_1-src.tar.gz and place this in + /usr/ports/distfiles/ as the port will not + fetch it manually. This is due to license restrictions. While + we are here, open the java environment from + + http://java.sun.com/webapps/download/Display?BundleId=7163. + The filename is j2sdk-1_3_1_06-linux-i586.bin and is large (about 25 + megabytes! Like before, this file must be placed into + /usr/ports/distfiles/. Finally download a copy + of the java patchkit from + + http://www.eyesbeyond.com/freebsddom/java/ and place it + into /usr/ports/distfiles/ + + Install the java/jdk13 port + with the standard make install clean and + then install the www/flashpluginwrapper + port. This port requires + emulators/linux_base which is a + large port. True that other flash plugins exist, however they have + not worked for me. + + Now copy the flash plug-in files with: + + &prompt.root; cp /usr/local/lib/flash/libflashplayer.so + /usr/X11R6/lib/mozilla/plugins/libflashplayer_linux.so + + &prompt.root; cp /usr/local/lib/flash/ShockwaveFlash.class + /usr/X11R6/lib/mozilla/plugins/ + + If you are using + www/mozilla-devel, + the destination directories will be different. + + Now add the following lines to the top of (but right under + #!/bin/bash) mozilla startup script: + /usr/X11R6/bin/mozilla. + +LD_PRELOAD=/usr/local/lib/libflashplayer.so.1 +export LD_PRELOAD + + This will enable the flash plug-in. + + Install the www/mozilla port, + if mozilla is already installed then just + start it with: + + &prompt.root; mozilla & + + And access the About Plugins option from the + Help menu. A list should appear with all the currently + available plugins. java and + shockwave flash should both be listed. + + Netscape