    Preliminary kit for MPlayer on Alpha VMS systems.
    This kit contains the complete original distribution from
    http://www.mplayerhq.hu plus my modifications to make it work on
    OpenVMS Alpha systems.  The original files are all at version 1 and
    all of my changes are at version 2.
    MPlayer requires additional packages in order to build it.  You will
    need a copy of the following somewhere on your system:
    LIBUNGIF
    ZLIB
    JPEG
    LIBPNG
    FREETYPE
    GTK
    
    Contact me if you need a copy of any of these.
   
    You will need DECC and MACRO64 installed on your system as well as
    the Multimedia Services V2.2 (MMOV).
    This kit is not yet an installation kit.  It is simply a copy of my
    development area.  As such, there are still some references to my
    directories in it.  You will need to make the following changes to
    two files that are located in the same directory as this file:
    VMS.H change all references to /disk$freeware/freeware/mplayer-1_0pre5 
    or disk$freeware:[freeware.mplayer-1_0pre5] to values appropriate to
    your system.  You will also need to change the references to the
    packages above to reflect where they are on your system.

    BUILD.COM the first 3 lines define logicals that references
    directories in the GTK library.  Edit them to reflect the correct
    location on your system.  The next two Define statements should not
    need to be changed.  At the very end of this file are two link
    commands; one for a normal link and one for a debug link.  In both
    cases, you will need to change the references to the .OLB files for
    the packages listed above to be correct for your system.  If, by
    chance, your directory structure is like mine, you won't need to
    change this since I use relative references.  Mine looks like the
    following: (i.e. all packages start at the same top-level directory)

    Directory DISK$FREEWARE:[FREEWARE]
    FREETYPE-2_1_5.DIR;1                    GTK.DIR;1          
    JPEG-6B.DIR;1
    LIBPNG-1_2_5.DIR;1  LIBUNGIF.DIR;1      MPLAYER-1_0PRE2.DIR;1
    MPLAYER-1_0PRE5.DIR;1                   ZLIB-1_1_4.DIR;1
    
    In order to resolve conflicts between MMOV and DECWindows it was
    necessary to change MMOV to a sharable library.  A copy of MMOV.EXE
    can be found in the same directory as this file.  You will need to
    move it to SYS$SHARE.


    As distributed, both the MMOV include files and the GTK include files
    can cause issues when trying to use them in various packages.  Make
    the following changes to alleviate this:

    MMOV - in the 3 files MMOV$INCLUDE:CMM.H, CMMMD.H, and MMBASIC.H
    change the statement 
   
    #include <platform.h>

       to 
    #include <mme/platform.h>
   
    This eliminates the need to include MME in DECC$USER_INCLUDE, or any
    other searchlist, and prevents any conflicts with include file names.


    GTK - the GTK library, as distributed for OpenVMS, in built with the
    /names=(as_is,short) qualifier.  If you make the following edits, the
    GTK library names will be correct regardless of how the rest of the
    package you are working on specifies the /names qualifier:

    ..[GTK.GDK]GDK.H, GDKPRIVATE.H, GDKX.H
    add the following after the first #ifndef,#define pair
    	#pragma names save
    	#pragma names as_is
    	#pragma names short
    add the following at the very end, right before the last #endif
    	#pragma names restore0
    make the exact same edit to ..[GTK.GTK]GTK.H

    Create a subdirectory of your home directory called [.MPLAYER]
    In the [.etc] directory of this package you will fine several *.conf
    files.  Copy them into the directory you just created.  Rename
    MPLAYER_VMS.CONF to MPLAYER.CONF (EXAMPLE.CONF is the original of
    this file).

    MPlayer will look for a directory tree where global data (e.g. fonts
    and skins) will be stored using the logical name MPLAYER_DIR.  This
    logical must be defined as a rooted logical.  For test purposes, you
    can simply define it to point to the [.MPLAYER] directory you created
    above.

    You should now be able to completely rebuild MPlayer by simply
    typing @BUILD.  
    Alternatively, an executable plus all necessary .OLB
    files already exist in this kit.  You could use them, as well.

    Feel free to contact me with any questions.


    Mark Berryman
    Mark.Berryman@Mvb.Saic.Com
