[Commit] grrobot/src/svg .cvsignore,NONE,1.1 Makefile.am,NONE,1.1
	bin2cstring.c,NONE,1.1 w.svg,1.1.1.1,NONE whirl.svg,1.1.1.1,NONE
	whirl_non_sodi.svg,1.1.1.1,NONE whirl_sodi.svg,1.1.1.1,NONE
    Carl Worth 
    commit at keithp.com
       
    Thu Jun 19 05:40:37 PDT 2003
    
        - Previous message: [Commit] grrobot/src grr_icon.c,NONE,1.1 grr_icon.h,NONE,1.1
	grr_util.c,NONE,1.1 grr_util.h,NONE,1.1 Makefile.am,1.2,1.3
	grr_board_view.c,1.6,1.7 grrobot.c,1.6,1.7
 
        - Next message: [Commit] grrobot INSTALL,NONE,1.1 README,1.1.1.1,1.2
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Committed by: cworth
Update of /local/src/CVS/grrobot/src/svg
In directory home.keithp.com:/tmp/cvs-serv21730/src/svg
Added Files:
	.cvsignore Makefile.am bin2cstring.c 
Removed Files:
	w.svg whirl.svg whirl_non_sodi.svg whirl_sodi.svg 
Log Message:
Fixed messages and scrolling
--- NEW FILE: .cvsignore ---
*.svgz
.deps
Makefile
Makefile.in
bin2cstring
grr_icon_svg.h
--- NEW FILE: Makefile.am ---
noinst_HEADERS=grr_icon_svg.h
noinst_PROGRAMS = bin2cstring
bin2cstring_SOURCES = bin2cstring.c
pkgdata_DATA = \
cell.svg \
robot_blue.svg \
robot_green.svg \
robot_red.svg \
robot_yellow.svg \
target_blue_circle.svg \
target_blue_octagon.svg \
target_blue_square.svg \
target_blue_triangle.svg \
target_green_circle.svg \
target_green_octagon.svg \
target_green_square.svg \
target_green_triangle.svg \
target_red_circle.svg \
target_red_octagon.svg \
target_red_square.svg \
target_red_triangle.svg \
target_whirl.svg \
target_yellow_circle.svg \
target_yellow_octagon.svg \
target_yellow_square.svg \
target_yellow_triangle.svg \
wall.svg
grr_icon_svg.h: \
cell.svgz \
robot_blue.svgz \
robot_green.svgz \
robot_red.svgz \
robot_yellow.svgz \
target_blue_circle.svgz \
target_blue_octagon.svgz \
target_blue_square.svgz \
target_blue_triangle.svgz \
target_green_circle.svgz \
target_green_octagon.svgz \
target_green_square.svgz \
target_green_triangle.svgz \
target_red_circle.svgz \
target_red_octagon.svgz \
target_red_square.svgz \
target_red_triangle.svgz \
target_whirl.svgz \
target_yellow_circle.svgz \
target_yellow_octagon.svgz \
target_yellow_square.svgz \
target_yellow_triangle.svgz \
wall.svgz
	rm -f $@
	for svgz in $^; do \
		echo -n "char " >> $@; \
		echo -n "grr_icon_svg_$${svgz/.svgz/}[] = " | tr "a-z" "A-Z" >> $@; \
		./bin2cstring $$svgz >> $@; \
		echo ";" >> $@; \
	done
%.svgz: %.svg
	gzip -c $< > $@
--- NEW FILE: bin2cstring.c ---
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
int
main (int argc, char *argv[])
{
    int i, c;
    FILE *file;
    for (i=1; i < argc; i++) {
	file = fopen (argv[i], "r");
	if (file == NULL) {
	    fprintf (stderr, "Failed to open file %s: %s\n",
		     argv[i], strerror (errno));
	    continue;
	}
	putchar ('"');
	while (1) {
	    c = fgetc (file);
	    if (c == EOF)
		break;
	    if (isprint (c) && ! isspace (c))
		printf ("%c", c);
	    else
		printf ("\\%03o", c);
	}
	putchar ('"');
    }
    return 0;
}
--- w.svg DELETED ---
--- whirl.svg DELETED ---
--- whirl_non_sodi.svg DELETED ---
--- whirl_sodi.svg DELETED ---
    
    
        
	- Previous message: [Commit] grrobot/src grr_icon.c,NONE,1.1 grr_icon.h,NONE,1.1
	grr_util.c,NONE,1.1 grr_util.h,NONE,1.1 Makefile.am,1.2,1.3
	grr_board_view.c,1.6,1.7 grrobot.c,1.6,1.7
 
	- Next message: [Commit] grrobot INSTALL,NONE,1.1 README,1.1.1.1,1.2
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the Commit
mailing list