fix pyZeroconf bug where getServiceInfo returns None.
This allows the discovery window to work with targets using Avahi to advertise their services.
(patch obtained from <http://sourceforge.net/tracker/?func=detail&aid=1600775&group_id=100909&atid=628622>)
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt icons.svg ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
"$INKSCAPE" icons.svg -z -e $i.png -i $i
fi
done
cp ico24.png brz.png
# doesn't work... cannot set 8bpp alpha. use gimp instead
#convert ico*.png brz.ico
#rm -f ico*.png