eMule Part File Plugin v0.2.2 for VideoLAN Client v0.8.2
---------------------------------------------------------
The plugin can be built using Cygwin under Windows by following the same build 
instructions as for the VideoLAN Client itself:

- You need to have Cygwin installed with the packages necessary for building VLC.
  Refer to the Win32 Cygwin Environment installation guide for details:
  http://developers.videolan.org/vlc/CygwinCompileEnvironmentRevB.pdf

- Download the sources for VLC 0.8.2:
  http://download.videolan.org/pub/vlc/0.8.2/vlc-0.8.2.tar.bz2
  
- Download the pre-compiled additional libraries for VLC:
  http://download.videolan.org/pub/testing/win32/contrib-20050624-win32-bin-gcc3.3.1-only.tar.bz2
  
- Extract the VLC source code to your Cygwin home directory
  ( for example: /home/username/vlc-0.8.2 )

- Extract the pre-compiled library package to your Cygwin root directory
  (the libraries and their include files will be placed in /usr/win32)

      tar xjvf contrib-20050624-win32-bin-gcc3.3.1-only.tar.bz2 -C /

- Copy the included plugin source and related files from the /src directory to 
  the VLC source tree. Pay attention to the directory structure! When finished, 
  you should have:

      /home/username/config_vlc
      /home/username/vlc-0.8.2/configure.ac (Overwrite the original)
      /home/username/vlc-0.8.2/modules/access/partfile.c
      /home/username/vlc-0.8.2/modules/access/Modules.am (Overwrite the original)

- From your home directory in Cygwin, chdir to the vlc-0.8.2 directory,
  and run the configuration script:

      prompt>  cd vlc-0.8.2
      prompt>  ../config_vlc            <-- This will take a while to complete...

- At this point, you could run "make" to build the whole VLC media player, 
  together with the part file plugin. But since we only want the plugin, we'll 
  take a shortcut. Run the "toolbox" script as follows in order to generate some 
  necessary include files:

      prompt>  ./toolbox --update-includes

- Go into ./modules/access and run "make" to build the plugin:

      prompt>  cd modules/access
      prompt>  make libaccess_partfile_plugin.dll

- Use the strip utility to remove debug symbols, etc. from the DLL file:

      prompt>  strip libaccess_partfile_plugin.dll

- Copy libaccess_partfile_plugin.dll to your VLC plugins directory
  and you are ready to go!!

--------------------------------------------------------
 by Cybermutant - June 28, 2005
