Hi all:
I'm pleased to announce GRX 2.4.2
Here is the changelog:
01/06/12 Modified win32 input code to work GrMouseGetEvent and GrKeyRead at the same time when GrMouseEventEnable(1,0) is set 01/06/07 Merged makedefs.gnu, makedefs.x11, makedefs.dj2 and makedefs.w32 in makedefs.grx (readme file updated) 01/06/06 Now we can use "GRXMain" for all GRX versions, grx20.h defines it like "main" except for the win32 version. Deleted the ugly "#ifdef __WIN32__ ..." in test programs (except for BGI tests) 01/06/05 Added the Linux framebuffer videodriver (vdrivers/vd_lnxfb.c) alpha stage, only in 16 or 24 bpp. To use it set GRX20DRV to "linuxfb" in the GRX Linux version. The mouse doesn't work 01/06/05 Some minimal changes to compile ok with gcc 2.96 and Linux 2.4.x 01/05/30 Applied patch to sanity bgi code for gcc 3.0, by Andris Pavenis 01/05/28 Modified makefiles for linux and x11. Now they build shared and static libs at the same time. Added install and uninstall targets. 01/05/16 Applied patch to add standard pascal makefiles for dj2, w32, x11 and lnx. pascal/bgi/test and pascal/bgi/demo merged in pascal/bgi. Pascal readme updated. By Maurice Lombardi 01/05/09 Applied patch to produce makefiles for mingw32 pascal tests by Maurice Lombardi
Download:
For linux/X11 users:
http://www.terra.es/personal/malfer/zipfiles/grx242.tar.gz
For DJGPP/Mingw users (with manifests files):
http://www.terra.es/personal/malfer/zipfiles/grx242s.zip
Enjoy, M.Alvarez
Mariano Alvarez Fernandez wrote:
Hi all:
I'm pleased to announce GRX 2.4.2
I have checked it with djgpp v2. Everything works except that it is not possible in makedefs.grx to break the line giving -DGRX_DEFAULT_FONT_PATH. the diff is
diff -p -N -C3 -r grx242.orig/makedefs.grx grx242/makedefs.grx *** grx242.orig/makedefs.grx Sat Jun 16 00:58:10 2001 --- grx242/makedefs.grx Mon Jun 18 16:38:52 2001 *************** EXE_COMPRESS = -echo *** 130,137 **** #CCOPT += -DNO_REPROGRAM_TIMER
# for a builtin default font path ! #CCOPT += -DGRX_DEFAULT_FONT_PATH= \ ! # strcat(getenv("DJDIR"),"/contrib/grx242/fonts")
endif
--- 130,136 ---- #CCOPT += -DNO_REPROGRAM_TIMER
# for a builtin default font path ! CCOPT += -DGRX_DEFAULT_FONT_PATH=strcat(getenv("DJDIR"),"/contrib/grx242/fonts")
endif
On 18 Jun 2001, at 16:52, Maurice Lombardi wrote:
Mariano Alvarez Fernandez wrote:
Hi all:
I'm pleased to announce GRX 2.4.2
I have checked it with djgpp v2. Everything works except that it is not possible in makedefs.grx to break the line giving -DGRX_DEFAULT_FONT_PATH. the diff is
Patch is not correct (similary as the current version) as it's not permitted to modify value returned by getenv() (try 'info libc a getenv')
One can add code to expand $DJDIR to it real contents at run time or it's also possible to use /dev/env/DJDIR/... (beginning from DJGPP v2.03).
However I would recommend to change this default to $DJDIR/share/grxfonts and install them there by 'make install'
Andris
pavenis@lanet.lv wrote:
On 18 Jun 2001, at 16:52, Maurice Lombardi wrote:
Mariano Alvarez Fernandez wrote:
Hi all:
I'm pleased to announce GRX 2.4.2
I have checked it with djgpp v2. Everything works except that it is not possible in makedefs.grx to break the line giving -DGRX_DEFAULT_FONT_PATH. the diff is
Patch is not correct (similary as the current version) as it's not permitted to modify value returned by getenv() (try 'info libc a getenv')
No this patch is correct, at least for a standard implementation of djgpp: the value returned by getenv("DJDIR"), which is the actual DJGPP base directory, is not modified, it is simply concatenated by strcat() with the directory /contrib/grx242/fonts. I have checked that this works by running fonttest <some non default fonts> from a directory outside of the djgpp tree: GRXFONT was not set, neither in the environment nor in djgpp.env, so that it can be found only with GRX_DEFAULT_FONT_PATH.
One can add code to expand $DJDIR to it real contents at run time
this is exactly what is done by getenv("DJDIR"): this environment variable is set by the startup code within any djgpp running program, if DJGPP=c:\djgpp\djgpp.env has ben set, as mandatory in a djgpp setup.
or it's also possible to use /dev/env/DJDIR/... (beginning from DJGPP v2.03).
However I would recommend to change this default to $DJDIR/share/grxfonts and install them there by 'make install'
No objection, this is an other possibility, which makes easier to delete the source tree once grx has been properly installed. Maurice
pavenis@lanet.lv escribió:
However I would recommend to change this default to $DJDIR/share/grxfonts and install them there by 'make install'
OK, I will put it in my to do list.
I'm thinking in moving some programs to src/utilprog: fnt2c, bin2c, modetest, vesainfo(dj2) and lfbinfo(lnx), and install them too.
However I would recommend to change this default to $DJDIR/share/grxfonts and install them there by 'make install'
OK, I will put it in my to do list.
I'm thinking now to set the default to an standalone dir like c:/grxfonts, so dj2 and win32 programs get the fonts from the same dir.