ADDED .fossil-settings/ignore-glob Index: .fossil-settings/ignore-glob ================================================================== --- /dev/null +++ .fossil-settings/ignore-glob @@ -0,0 +1,1 @@ +icons/static/* ADDED icons/Makefile Index: icons/Makefile ================================================================== --- /dev/null +++ icons/Makefile @@ -0,0 +1,24 @@ +RIVET := /usr/lib64/rivet0.5.0/cgi-bin/rivet.cgi + +ACTION_LIST := build tests +STATUS_LIST := pass fail +PLATFORM_LIST := x86_64-linux x86_64-macos x86_64-freebsd + +ICONS = $(shell for action in $(ACTION_LIST); do for status in $(STATUS_LIST); do for platform in $(PLATFORM_LIST); do echo "static/icon-$${action}-$${status}-$${platform}.svg"; done; done; done) + +all: $(ICONS) + +static/%.svg: $(RIVET) status-icons.rvt $(shell find os -type f -name '*.svg') + @if ! test -d static; then mkdir static; fi + QUERY_STRING='action=$(shell echo '$@' | cut -f 2 -d -)&status=$(shell echo '$@' | cut -f 3 -d -)&os=$(shell echo '$@' | cut -f 5 -d - | cut -f 1 -d .)' PATH_TRANSLATED='$(shell pwd)/status-icons.rvt' '$(RIVET)' ./status-icons.rvt | tail -n +5 > '$@' + +static/%.png: static/%.svg + echo TODO Add support for making '$@' from '$^' + exit 1 + +clean: + rm -rf static + +distclean: clean + +.PHONY: all clean distclean ADDED icons/os/freebsd.svg Index: icons/os/freebsd.svg ================================================================== --- /dev/null +++ icons/os/freebsd.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + ADDED icons/os/linux.svg Index: icons/os/linux.svg ================================================================== --- /dev/null +++ icons/os/linux.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + ADDED icons/os/macos.svg Index: icons/os/macos.svg ================================================================== --- /dev/null +++ icons/os/macos.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + ADDED icons/os/unknown.svg Index: icons/os/unknown.svg ================================================================== --- /dev/null +++ icons/os/unknown.svg @@ -0,0 +1,6 @@ + + + + + + ADDED icons/status-icons.rvt Index: icons/status-icons.rvt ================================================================== --- /dev/null +++ icons/status-icons.rvt @@ -0,0 +1,96 @@ +" +?> + + + + + + + + + + + + + + + + +