View | Details | Raw Unified | Return to bug 7998
Collapse All | Expand All

(-)a/client/tlclient/icons/Makefile (-2 / +8 lines)
Lines 134-140 WEB_BASE_ICONS := $(WEB_ICON_SIZES_REVERSE:%=icon_%.png) Link Here
134
# General conversion
134
# General conversion
135
icon_%.png: thinlinc_icon.svg
135
icon_%.png: thinlinc_icon.svg
136
	cbrun i386 convert -depth 8 \
136
	cbrun i386 convert -depth 8 \
137
		-background transparent -size $*x$* "$(lastword $^)" "$@"
137
		-background transparent -size $*x$* "$(lastword $^)" \
138
		-font Roboto-Bold -pointsize `bc <<< 'scale=2; $*/1.8'` -fill "#00ff00" \
139
		-draw "gravity Center text +0+0 \"$*\"" \
140
	"$@"
138
141
139
$(IOS_SIZES:%=icon_opaque_%.png): thinlinc_icon.svg
142
$(IOS_SIZES:%=icon_opaque_%.png): thinlinc_icon.svg
140
$(IPAD_SIZES:%=icon_opaque_%.png): thinlinc_icon_76.svg
143
$(IPAD_SIZES:%=icon_opaque_%.png): thinlinc_icon_76.svg
Lines 145-151 $(IOS_NOTIFY_SIZES:%=icon_opaque_%.png): thinlinc_icon_114.svg Link Here
145
148
146
icon_opaque_%.png:
149
icon_opaque_%.png:
147
	cbrun i386 convert -depth 8 \
150
	cbrun i386 convert -depth 8 \
148
		-background white -size $*x$* "$(lastword $^)" "$@"
151
		-background white -size $*x$* "$(lastword $^)" \
152
		-font Roboto-Bold -pointsize `bc <<< 'scale=2; $*/1.8'` -fill "#ff00ff" \
153
		-draw "gravity Center text +0+0 \"$*\"" \
154
	"$@"
149
155
150
icon.ico: $(WEB_BASE_ICONS)
156
icon.ico: $(WEB_BASE_ICONS)
151
	cbrun i386 convert $(WEB_BASE_ICONS) "$@"
157
	cbrun i386 convert $(WEB_BASE_ICONS) "$@"

Return to bug 7998