
Realplayer for Solaris 8 x86
============================


	---------------------
	Installing the plugin
	---------------------


o Compile the rpnp.so Netscape plugin, the unixware7 socket
  emulation library libsocket.so.2 and the oss audio emulation
  library ossaudio.so:

	make


o Create a directory for Unixware 7 emulation libraries
  (for example, /opt/RealPlayer8/uw7lib) and copy
  libsocket.so.2 and ossaudio.so into that directory.
  
  Install a symbolic link /usr/lib/libsocket.so.2 pointing to 
  the libsocket.so.2 file installed in the Unixware 7
  library directory.

  We also need the following additional symbolic links in the
  Unixware 7 library directory:

	libICE.so.6.0 -> /usr/openwin/lib/libICE.so.6
	libSM.so.6.0 -> /usr/openwin/lib/libSM.so.6
	libX11.so.6.1 -> /usr/openwin/lib/libX11.so.4
	libXext.so.6.1 -> /usr/openwin/lib/libXext.so.0
	libXm.so.1.3 -> /usr/dt/lib/libXm.so.3
	libXmu.so.6.0 -> /usr/openwin/lib/libXmu.so.4
	libXt.so.6.0 -> /usr/openwin/lib/libXt.so.4

  
  The Makefile contains a target for all of the above commands:

	make install


o Download the "Realplayer 8" for Unixware 7 (i386).

	http://proforma.real.com/real/player/unix/unix.html?src=rpbform


  Copy the downlaoded file "rp8_unixware_70_i386_cs1.bin" into 
  this directory and run 

	make install-rp8


  This runs the "Realplayer 8" installation program.  Choose a
  destination directory (e.g. /opt/RealPlayer8).

  Next RealPlayer starts up and a "Mime Type & Plugin Configuration"
  dialog appears. Do not install the netscape plugin; we manually
  finish the netscape plugin installation in the next step.


  A "RealPlayer Configuration" Dialog appears.  Fill out the 
  requested information.


  The RealPlayer should now start playing a "Welcome" audio stream.


  Quit RealPlayer.


o Install the compiled rpnp.so in Netscape's plugin directory (e.g.
  in /usr/local/lib/netscape/plugins/rpnp.so).

	mkdir -p /usr/local/lib/netscape/plugins
	cp rpnp.so /usr/local/lib/netscape/plugins

  Install a symbolic link /usr/local/lib/netscape/rpnp_uw7.so
  pointing to the /opt/RealPlayer8/rpnp.so file

	ln -s /opt/RealPlayer8/rpnp.so /usr/local/lib/netscape/rpnp_uw7.so


  Rename the "realplay" binary /opt/RealPlayer8/realplay to 
  /opt/RealPlayer8/realplay.uw7 and copy the realplay.sh
  shell script to /opt/RealPlayer8/realplay:

	mv /opt/RealPlayer8/realplay /opt/RealPlayer8/realplay.uw7
	cp realplay.sh /opt/RealPlayer8/realplay


  All the above commands from this step can be executed using the
  "finalize-install" Makefile target:

	make finalize-install


o Restart netscape so that it sees the new plugin.

  That's it.

   

	-------------------------------------------
	Audio support for the Realplayer[tm] plugin
	-------------------------------------------


OSS audio ioctls performed by the unixware Realplayer binaries
are automatically translated to sun audio(7I) ioctls by the
ossaudio.so audio shared library (That is, you do *not* have to
install OSS for Realplayer audio).

If a working OSS driver is installed on the system, the ossaudio.so
audio shared library detects it and passes the audio ioctls performed
by the unixware Realplayer binaries to the OSS device untranslated. An
installed OSS is detected by the presence of the three character
devices /dev/dsp, /dev/mixer and /dev/sndstat.

In case the audio autodetection code does not work, edit the Makefile
and comment out the appropriate AUDIO_MODE define for the sound API
available on your system and recompile / reinstall the realplayer
plugin from source.

		--------------------

