[GRASS5] Driver Update

Glynn Clements glynn.clements at virgin.net
Sat Apr 21 12:12:24 EDT 2001


I've committed a batch of changes to the display driver architecture. 
This consists mainly of merging the various versions of
driver-specific or transport-specific files.

Given the significance of the changes[1], I would appreciate it if the
changes can be tested on as many different platforms as possible. In
particular, feedback from anyone who uses the FIFO option would be
appreciated.

[1] If a change breaks r.out.foo, it doesn't matter unless you
actually use that program. If I've broken the display drivers, it's
going to affect a lot of people.

The changes are primarily in src/display/devices, although
src/libes/raster/io.c has also been changed.

There is no longer a README.xdriver; instead, code which is specific
to a particular transport (sockets or FIFOs; IPC has been removed) is
conditionalised using "#if[n]def USE_G_SOCKS".

Also, the different drivers (XDRIVER, CELL, PNGdriver, HTMLMAP) no
longer have their own versions of connect.c or SWITCHER.c (in fact,
SWITCHER.c is no more, the code being distributed into several new
files in src/display/devices/lib).

*** IMPORTANT NOTE ***

Anyone doing "cvs update" should perform the following step (or
similar; "make distclean" will also do the job):

	find src/display/devices -name '*.a' -exec rm {} \;

Without the above, you may end up running the old version of main()
from a copy of SWITCHER.o left behind in driverlib.a.

-- 
Glynn Clements <glynn.clements at virgin.net>

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list