MGRX is a 2D graphics library derived from the GRX library. GRX was originaly
written by Csaba Biegl for DJ Delorie's DOS port of the GCC compiler.  On DOS
it supports VGA and VESA compliant cards.  MGRX is a fork of GRX 2.4.7 and
only offers the C API.


1.:     DJGPP specific changes.
        =======================

        MGRX-1.0.0 is a fork of the 2D graphic library GRX-2.4.7.
        I have only done minimal changes to the sources to try to pacify the
        compiler.  I have also changed the makedefs.grx file that controls the
        path where the fonts are installed.  The changes are documented in the
        diffs file stored in the /djgpp directory.

        To use and compile from sources this library, you will have to install
        the zlib, png, and jpeg libraries.

        The font set is installed in /dev/env/DJDIR/libs/fonts/grx.


        Please *read* the docs.  These are installed in /dev/env/DJDIR/share/doc/mgrx-1.0-0


2.:     Installing the binary package.
        ==============================

2.1.:   Copy the binary distribution into the top DJGPP installation directory,
        just unzip it preserving the directory structure running *ONE* of the
        following commands:
          unzip32 mgrx100b.zip      or
          djtarx mgrx100b.zip       or
          pkunzip -d mgrx100b.zip


3.:     Building the binaries from sources.
        ===================================

3.1.:   Create a temporary directory and copy the source package into the
        directory.  If you download the source distribution from one of the
        DJGPP sites, just unzip it preserving the directory structure
        running *ONE* of the following commands:
          unzip32 mgrx100s.zip      or
          djtarx mgrx100s.zip       or
          pkunzip -d mgrx100s.zip

3.2.:   To build the binaries you will need the following binary packages:
          djdev203.zip (or a later but NOT a prior version)
          gccNNNb.zip, bnuNNNb.zip, makNNNb.zip, filNNNb.zip,
          zlibNNNb.zip, pngNNNb.zip and jpegNNNb.zip.

        NNN represents the latest version number of the binary packages.
        All these packages can be found in the /v2gnu directory of any
        ftp.delorie.com mirror.

3.3.:   To compile the package run from the top srcdir the command:
          make -f makefile.dj2

3.5.:   Now you can run the test programs if you like.  From the top srcdir
        cd into the /test directory and run the command:
          demomgrx.exe
        or any of the other test programs.


3.6.:   To install the binaries, header, library and docs run the following
        command from the top srcdir:
          make -f makefile.dj2 install install-bin install-fonts

        This will install the products into your DJGPP installation tree given
        by the default prefix "/dev/env/DJDIR".  If you prefer to install them
        into some other directory you will have to set prefix to the appropiate
        value:
          make -f makefile.dj2 install install-bin install-fonts prefix=z:/some/other/place



        Send MGRX  specific bug reports to <malfer@telefonica.net>.
        Send suggestions and bug reports concerning the DJGPP port to
        comp.os.msdos.djgpp or <djgpp@delorie.com>.


Enjoy.

        Guerrero, Juan Manuel <juan.guerrero@gmx.de>
