author | PaulBeltyukov |
Mon, 06 Mar 2017 17:24:05 +0500 | |
changeset 1651 | f077f8fb9ba7 |
parent 533 | 25437efb7ae4 |
child 2238 | a01a3ed1af2c |
permissions | -rwxr-xr-x |
197
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
1 |
#!/bin/bash |
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
2 |
|
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
3 |
INKSCAPE=inkscape |
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
4 |
|
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
5 |
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` |
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
6 |
do |
199 | 7 |
if [ $i.png -nt icons.svg ]; then |
8 |
echo "Skip $i" |
|
9 |
else |
|
10 |
rm -f $i.png |
|
11 |
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i |
|
12 |
"$INKSCAPE" icons.svg -z -e $i.png -i $i |
|
13 |
fi |
|
197
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
14 |
done |
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
15 |
|
a50b5fa04c57
SVG/Inkscape based icon generation script + SVG drawing.
etisserant
parents:
diff
changeset
|
16 |
cp ico24.png brz.png |
533
25437efb7ae4
Christmas 2009 release
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents:
199
diff
changeset
|
17 |
convert ico*.png brz.ico |
25437efb7ae4
Christmas 2009 release
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents:
199
diff
changeset
|
18 |
rm -f ico*.png |