5.0.3 release candidate 1 - was: Re: [GRASS5] Roadmap: Numbering

Markus Neteler neteler at itc.it
Sun Aug 24 12:51:49 EDT 2003


On Sun, Aug 24, 2003 at 06:17:11PM +0200, Stephan Holl wrote:
[...]
> 
> This results in 2 failures, d.barscale and grass.postgres (g.column.pg
> and g.stats.pg)
> everything else compiles.
> 
> *d.barscale:
> make[1]: Entering directory
> `/home/steph/grass-5.0.3rc1/src/display/d.barscale/cmd'
> gcc -I/home/steph/grass-5.0.3rc1/src/include -O3 -Wall -mcpu=k6     -c
> main.c -o OBJ.i686-pc-linux-gnu/main.o
> main.c: In function `main':
> main.c:50: error: `DEFAULT_BG_COLOR' undeclared (first use in this
> function)
> main.c:50: error: (Each undeclared identifier is reported only once
> main.c:50: error: for each function it appears in.)
> main.c:57: error: `DEFAULT_FG_COLOR' undeclared (first use in this
> function)
> main.c: At top level:

OK, fixed in CVS (release branch). The patch is

diff -u -r1.4.2.3 main.c
--- main.c      20 Aug 2003 08:16:03 -0000      1.4.2.3
+++ main.c      24 Aug 2003 16:47:26 -0000
@@ -47,14 +47,14 @@
        opt1 = G_define_option() ;
        opt1->key        = "bcolor" ;
        opt1->type       = TYPE_STRING ;
-       opt1->answer     = DEFAULT_BG_COLOR ;
+       opt1->answer     = "black" ;
        opt1->required   = NO ;
        opt1->description= "Color used for the background, or \"none\"" ;

        opt2 = G_define_option() ;
        opt2->key        = "tcolor" ;
        opt2->type       = TYPE_STRING ;
-       opt2->answer     = DEFAULT_FG_COLOR ;
+       opt2->answer     = "white" ;
        opt2->required   = NO ;
        opt2->options    = D_color_list();
        opt2->description= "Color used for the text" ;



The other two problems: I darkly remember a newline fix, any
suggestions? Otherwise I'll dig into the details (commit archive).

> after a quick test
> * NVIZ is up and running,

Great. But you tested with tcl8.3.
Is there anyone with tcl8.4 who could try?

> * PNG-driver works, also in 24bit,
> * tcltkgrass runs,
> * monitors work,
> * r.fill.dir works
> * pg*-modules not available because of former compile errors
> * r.proj works without datum-transformation

Thanks, Stephan

Markus




More information about the grass-dev mailing list