cmatrix

Stefan Sperling stsp at stsp.name
Mon Sep 21 23:13:07 CEST 2009


On Mon, Sep 21, 2009 at 10:07:15PM +0200, Luis Javier Merino wrote:
> Hi again,
> 
> This is cmatrix + crosscompile fixes (don't look for setfont/consolechars
> on the host filesystem, use consolechars unconditionally).
> 
> Admittedly, the matrix font is a little bit too big for the DS.
> 
> cmatrix-1.2a.tar.gz:
> http://sourceforge.net/projects/cmatrix/files/cmatrix/1.2a/cmatrix-1.2a.tar.gz/download
> 
> 
> P.S. Why does console-tools have --prefix=/nonexistent instead of
> --prefix=/usr? Does it try to do something with the host filesystem?

We've been using this prefix for all configure scripts to make
sure people realise that nothing gets installed into the host
system. Some scripts might also try to use the prefix to find
things like libraries, so /nonexistent helps them behave in a
cross-compile environment.

> --- dslinux/config/config.in	2007-10-27 01:38:33.000000000 +0200
> +++ build3/config/config.in	2007-11-11 18:25:52.000000000 +0100
> @@ -807,6 +807,7 @@
>  	define_bool CONFIG_LIB_PTHREAD y
>  fi
>  bool 'clock'			CONFIG_USER_CLOCK_CLOCK
> +bool 'cmatrix'			CONFIG_USER_CMATRIX_CMATRIX
>  bool 'cmp'			CONFIG_USER_DIFFUTILS_CMP
>  bool 'consoletools'		CONFIG_USER_CONSOLETOOLS_CONSOLETOOLS
>  if [ "$CONFIG_USER_CONSOLETOOLS_CONSOLETOOLS" = "y" ]; then
> --- dslinux/config/Configure.help	2007-10-27 01:38:33.000000000 +0200
> +++ build3/config/Configure.help	2007-11-11 18:26:42.000000000 +0100
> @@ -1008,6 +1008,8 @@
>  CONFIG_USER_CLOCK_CLOCK
>    Some kind of clock
>  
> +CONFIG_USER_CMATRIX_CMATRIX
> +

You may want to put some help text here, maybe?

>  CONFIG_USER_COREUTILS_COREUTILS
>    GNU Coreutils v6.7
>  
> --- dslinux/user/Makefile	2007-10-27 02:40:20.000000000 +0200
> +++ build3/user/Makefile	2007-11-11 18:25:01.000000000 +0100
> @@ -61,6 +61,7 @@
>  dir_$(CONFIG_USER_CAL_DATE)                 += cal
>  dir_$(CONFIG_USER_CAMSERV)                  += camserv
>  dir_$(CONFIG_USER_CAN_EXAMPLES)             += can4linux
> +dir_$(CONFIG_USER_CMATRIX_CMATRIX)          += cmatrix
>  dir_$(CONFIG_USER_CONSOLETOOLS_CONSOLETOOLS) += console-tools
>  dir_$(CONFIG_USER_CPSCAN) 	            += cpscan
>  dir_$(CONFIG_USER_DIFFUTILS_CMP)	    += diffutils
> --- /dev/null	2008-08-18 17:15:05.440641000 +0200
> +++ build3/user/cmatrix/Makefile	2007-10-07 03:26:53.000000000 +0200
> @@ -0,0 +1,20 @@
> +all: .compiled
> +
> +.configured:
> +	cd src && ./configure --prefix=/usr --host=${CROSS}
> +	touch $@
> +
> +.compiled: .configured
> +	$(MAKE) -C src
> +	touch $@
> +
> +clean:
> +	-test -f src/Makefile && $(MAKE) -C src clean
> +	rm -f .configured .compiled src/config.cache
> +
> +romfs: .compiled
> +	$(ROMFSINST) ./src/cmatrix /usr/bin/cmatrix
> +	$(ROMFSINST) ./src/matrix.fnt /usr/share/consolefonts/matrix.fnt
> +
> +.PHONY: all clean romfs
> +

The patch looks good to me.

This project is quite inactive, you've already been the most active
person this month by all accounts. Do you want commit access?
If so please mail me privately.

You might want to read http://dslinux.org/cgi-bin/moin.cgi/DSLinuxSVN
Established conventions are documented there, so if you want to
find your way around the repository, that document should be helpful.
If you have any questions just ask.

Stefan


More information about the dslinux-devel mailing list