X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <200708060028.l760Sk1j006113@delorie.com> X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX18Qp4hukE0Qz9UIUPu5HY0e+qQPpmXICu9Y1xo1vR 7fL2iGaHlG5KwT From: Juan Manuel Guerrero To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: update of MGRX 0.9.7 2D graphic library for DJGPP 2.03/2.04 uploaded Date: Sun, 5 Aug 2007 21:07:06 +0200 Content-Disposition: inline X-Y-GMX-Trusted: 0 This is an update of MGRX-0.9.7 2D graphic library. This update fixes an error I have introduced coding the font path. For every one that seriously plans to use the library, an update to this version is highly recommended. MGRX is a 2D graphics library derived from the GRX library. On DOS it supports VGA and VESA compliant cards. MGRX is a fork of GRX 2.4.7 and only offers the C API. Please note that MGRX 0.9.7 is not compatible with GRX 2.4.7. This is due to a mayor number of name clashes between the libraries, binaries and fonts. You can install one or the other but not both. These clashes may be resolved but I will not waist my time trying to do so. If you are free to choose the library to use, MGRX 0.9.7 is the right choice because it is still developed and maintained by the library author. DJGPP specific changes. ======================= The sources have not been modified at all. I have added support for the jpeg, png and pnm formats trough the already ported jpeg and png libraries. This implies that if you use libmgrx.a you will have to install and link the following libraries too: ljpeg6bb.zip (losless jpeg library) png1216b.zip (png/pnm library) zlib123b.zip (zlib) to your application adding the following to your gcc command line: -ljpeg -lpng -lz -lm The MGRX library comes with a font set. Because there is no standard place in MSDOS/DJGPP where to store it, I have opted to store it in the same place where the unix/linux port of MGRX will store it, this is: /usr/local/lib/fonts/grx That unix path becomes: $DJDIR/lib//fonts/grx on a DJGPP system. If you do not like any of these changes, you will have to recompile the library and binaries from scratch reverting the changes I have done to the makedefs.grx file. The changes I have done are documented in /djgpp/diffs. Please read the MGRX documentation stored in $DJDIR/share/doc/mgrx-0.97. The port consists of two packages that have been compiled using stock djdev203 and that can be downloaded from ftp.delorie.com and mirrors as (timestamp 2007-08-02): MGRX 0.9.7 binaries, headers, library and documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2tk/mgrx097b.zip MGRX 0.9.7 sources: ftp://ftp.delorie.com/pub/djgpp/current/v2tk/mgrx097s.zip For the convenience of the WinXP users the binaries has been produced a second time using the djdev204 beta library. This package is available at ftp.delorie.com and mirrors as (timestamp 2007-08-02): MGRX 0.9.7 binaries, headers, library and documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/mgrx097b.zip Send MGRX specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel