"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "mplayerplug-in-3.55/INSTALL" of archive mplayerplug-in-3.55.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 INSTALL
    2 
    3 Source Code Releases:
    4 
    5 The Mozilla developement files are needed to compile this code
    6 
    7 To get the Mozilla development files there are two options
    8 1. mozilla-devel package (includes pkg-config files)
    9 2. gecko-sdk
   10 
   11 1. The mozilla-devel package may come with your distribution and it is an optional install try using apt-get or yum or your package installer
   12 2. The gecko-sdk can be obtained from mozilla.org (version 1.6 or higher of the SDK are the only ones that work)
   13 http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.6/
   14 Extract the tar file in some directory
   15 
   16 The GTK development files are needed to compile this code 
   17 The X11 development files are needed to compile this code
   18 Xpm development files are needed to compile this code
   19 pkg-config is needed
   20 
   21 To get the latest source from CVS do the following
   22 
   23 cd to some directory
   24 
   25 cvs -d:pserver:anonymous@mplayerplug-in.cvs.sourceforge.net:/cvsroot/mplayerplug-in login
   26 (just hit enter for password)
   27 
   28 cvs -z3 -d:pserver:anonymous@mplayerplug-in.cvs.sourceforge.net:/cvsroot/mplayerplug-in co mplayerplug-in
   29 
   30 or, if you have already downloaded from CVS before.
   31 
   32 cd [cvs root]/mplayerplug-in
   33 cvs update -PAd
   34 
   35 
   36 OR
   37 
   38 download the source 
   39 
   40 then
   41 
   42 tar -xzvf mplayerplug-in-{version}.tar.gz
   43 cd mplayerplug-in
   44 
   45 
   46 BUILDING
   47 In the mplayerplug-in directory type
   48 
   49 Compilation options
   50 --with-gecko-sdk=/path/to/gecko-sdk    (replace /path/to with the correct value)
   51 --enable-gtk2				(default option, use if mozilla is linked to gtk2 libs)
   52 --enable-gtk1				(use if mozilla is linked to gtk1 libs (usually if fonts in mozilla are not smooth))
   53 --enable-x				(use if you don't know if your mozilla is linked to gtk1 or gtk2)
   54 
   55 
   56 Examples:	
   57 To configure with defaults:	
   58 ./configure
   59 
   60 if you are using gecko-sdk do the following
   61 ./configure --with-gecko-sdk=/path/to/gecko-sdk    (replace /path/to with the correct value)
   62 
   63 if you are using gecko-sdk and gtk1
   64 ./configure --with-gecko-sdk=/path/to/gecko-sdk --enable-gtk1
   65 
   66 If you get this error during configure:  
   67 checking for mozilla-plugin... Package mozilla-plugin was not found in the pkg-config search path.
   68 
   69 You need to use the gecko-sdk option. Using gecko-sdk 1.6 with an earlier version of mozilla seems to be ok.
   70 
   71 If you can't figure out what you need try running 
   72 
   73 ./whatoptions.sh 
   74 
   75 in the mplayerplug-in directory.
   76 
   77 
   78 After configure is done and successful:
   79 make
   80 
   81 If during the make process you get an error about missing "mozilla-config.h" and you are not using the gecko-sdk.
   82 You need to use the gecko-sdk because your mozilla-devel package is incomplete.
   83 
   84 
   85 The results of that command should produce files called mplayerplug-in.so and mplayerplug-in.xpt in the current directory.
   86 
   87 INSTALLING
   88 
   89 Per User:
   90 
   91 cp mplayerplug-in*.so mplayerplug-in*.xpt ~/.mozilla/plugins  or   make install
   92 
   93 For the system:
   94 
   95 If you use mozilla:
   96 cp mplayerplug-in*.so /usr/lib/mozilla/plugins
   97 cp mplayerplug-in*.xpt /usr/lib/mozilla/components
   98 
   99 If you use firebird:
  100 cp mplayerplug-in*.so /usr/lib/mozilla-firebird/plugins
  101 cp mplayerplug-in*.xpt /usr/lib/mozilla-firebird/components
  102 
  103 If you use firefox:
  104 cp mplayerplug-in*.so /usr/lib/firefox/plugins
  105 cp mplayerplug-in*.xpt /usr/lib/firefox/components
  106 
  107 or run 'make install' as root
  108 
  109 
  110 Restart mozilla