Check-in [bbce7dce6b]
Overview
Comment:Updated to produce higher quality icons
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bbce7dce6bc04682344626d8d845e1f974ef6e99
User & Date: rkeene on 2014-01-25 13:05:15
Other Links: manifest | tags
Context
2014-01-25
13:05
Updated icon check-in: c2ffd69417 user: rkeene tags: trunk
13:05
Updated to produce higher quality icons check-in: bbce7dce6b user: rkeene tags: trunk
08:40
Updated to register console handler, which seems to be enough to cause cleanup routines to usually run check-in: 5dcad0ff2a user: rkeene tags: trunk
Changes

Modified icon/Makefile from [38e6b0ee90] to [1e993d8743].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

23
24
25
26
27
28
29
30
all:
	@echo "Nothing to do."

tcpdump-%x8.png: tcpdump.png
	@echo convert "$^" -colors 255 `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]\).png@ -resize \1 -depth \2@'`  $@; \
	convert "$^" -colors 255 `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]\).png@ -resize \1 -depth \2@'`  $@

tcpdump-%x4.png: tcpdump.png
	@echo convert "$^" -colors 15 `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]\).png@ -resize \1 -depth \2@'`  $@; \
	convert "$^" -colors 15 `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]\).png@ -resize \1 -depth \2@'`  $@

%.png.pgm: %.png
	pngtopnm -alpha "$^" > "$@"

%x4.png.ppm: %x4.png
	pngtopnm "$^" | ppmquant 15 > "$@"

%x8.png.ppm: %x8.png
	pngtopnm "$^" | ppmquant 255 > "$@"

%.png.ico: %.png.ppm %.png.pgm
	ppmtowinicon -andpgms -output "$@" $^


tcpdump.ico: tcpdump-16x16x4.png.ppm tcpdump-16x16x4.png.pgm tcpdump-16x16x8.png.ppm tcpdump-16x16x8.png.pgm tcpdump-32x32x4.png.ppm tcpdump-32x32x4.png.pgm tcpdump-32x32x8.png.ppm tcpdump-32x32x8.png.pgm tcpdump-48x48x4.png.ppm tcpdump-48x48x4.png.pgm tcpdump-48x48x8.png.ppm tcpdump-48x48x8.png.pgm
	ppmtowinicon -andpgms -output "$@" $^

clean:
	rm -f *.png.ico *.png.ppm *.png.pgm tcpdump.ico tcpdump-*.png

.PHONY: clean all



<
<
<
<




|
|
|
<
<

|
<
|
<
<
>

|
|


|


1
2
3




4
5
6
7
8
9
10


11
12

13


14
15
16
17
18
19
20
21
22
all:
	@echo "Nothing to do."





tcpdump-%x4.png: tcpdump.png
	@echo convert "$^" -colors 15 `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]\).png@ -resize \1 -depth \2@'`  $@; \
	convert "$^" -colors 15 `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]\).png@ -resize \1 -depth \2@'`  $@

tcpdump-%x8.png: tcpdump.png
	@echo convert "$^" -colors 255 `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]\).png@ -resize \1 -depth \2@'`  $@; \
	convert "$^" -colors 255 `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]\).png@ -resize \1 -depth \2@'`  $@



tcpdump-%x32.png: tcpdump.png

	@echo convert "$^" `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]*\).png@ -resize \1 -depth \2@'`  $@; \


	convert "$^" `echo "$@" | sed 's@^.*-\([0-9]*x[0-9]*\)x\([0-9]*\).png@ -resize \1 -depth \2@'`  $@

tcpdump.ico: tcpdump-16x16x4.png tcpdump-16x16x8.png tcpdump-16x16x32.png tcpdump-24x24x4.png tcpdump-24x24x8.png tcpdump-24x24x32.png tcpdump-32x32x4.png tcpdump-32x32x8.png tcpdump-32x32x32.png tcpdump-48x48x4.png tcpdump-48x48x8.png tcpdump-48x48x32.png tcpdump-256x256x4.png tcpdump-256x256x8.png tcpdump-256x256x32.png
	convert $^ "$@"

clean:
	rm -f tcpdump.ico tcpdump-*.png

.PHONY: clean all