wpa_gui-qt4: add svg icon

Introducing an original wpa_gui icon, in svg format, with Makefile for
easy conversion to other icon formats. The icon is thanks to Bernard Gray.

Signed-off-by: Bernard Gray <bernard.gray@gmail.com>
Signed-off-by: Kel Modderman <kel@otaku42.de>
This commit is contained in:
Bernard Gray 2008-09-24 12:19:31 +03:00 committed by Jouni Malinen
parent 7409827e35
commit 99112a2d75
3 changed files with 329 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#!/usr/bin/make -f
NAME := wpa_gui
SVG := $(NAME).svg
SIZES := 16x16 22x22 32x32 48x48 64x64 128x128
ICONS := $(addsuffix .png,$(SIZES))
ICONS += $(addsuffix .xpm,16x16 32x32)
all: $(ICONS)
%.png:
mkdir -p hicolor/$(@:.png=)/apps/
inkscape $(SVG) --without-gui \
--export-width=$(word 1,$(subst x, ,$(@:.png=))) \
--export-height=$(word 2,$(subst x, ,$(@:.png=))) \
--export-png=hicolor/$(@:.png=)/apps/$(NAME).png
%.xpm:
mkdir -p pixmaps/
convert hicolor/$(@:.xpm=)/apps/$(NAME).png pixmaps/$@
clean:
$(RM) -r pixmaps hicolor

View File

@ -0,0 +1,7 @@
Copyright (c) 2008 Bernard Gray <bernard.gray@gmail.com>
The wpa_gui icon is licensed under the GPL version 2. Alternatively, the icon
may be distributed under the terms of BSD license.
To convert the svg icon to other formats, make sure inkscape and imagemagick
are installed and use `make' to create various sized png and xpm icons.

View File

@ -0,0 +1,299 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.0"
width="128"
height="128"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docname="wpa_gui.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<metadata
id="metadata59">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:window-height="771"
inkscape:window-width="640"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
guidetolerance="10.0"
gridtolerance="10.0"
objecttolerance="10.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
showgrid="false"
inkscape:zoom="4.2421875"
inkscape:cx="64"
inkscape:cy="64"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:current-layer="svg2" />
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 64 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="128 : 64 : 1"
inkscape:persp3d-origin="64 : 42.666667 : 1"
id="perspective61" />
<linearGradient
id="linearGradient39133">
<stop
id="stop39135"
style="stop-color:#252525;stop-opacity:1"
offset="0" />
<stop
id="stop39137"
style="stop-color:#515151;stop-opacity:1"
offset="0" />
<stop
id="stop39139"
style="stop-color:#878787;stop-opacity:1"
offset="0.28677997" />
<stop
id="stop39141"
style="stop-color:#000000;stop-opacity:1"
offset="0.92151743" />
<stop
id="stop39143"
style="stop-color:#ffffff;stop-opacity:0.73786408"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient39119">
<stop
id="stop39121"
style="stop-color:#ffffff;stop-opacity:0.82905984"
offset="0" />
<stop
id="stop39123"
style="stop-color:#ffffff;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient39106">
<stop
id="stop39108"
style="stop-color:#ffffff;stop-opacity:1"
offset="0" />
<stop
id="stop39110"
style="stop-color:#a8a8a8;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient39094">
<stop
id="stop39096"
style="stop-color:#000000;stop-opacity:1"
offset="0" />
<stop
id="stop39098"
style="stop-color:#333333;stop-opacity:1"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient39062">
<stop
id="stop39064"
style="stop-color:#252525;stop-opacity:1"
offset="0" />
<stop
id="stop39086"
style="stop-color:#515151;stop-opacity:1"
offset="0.21101321" />
<stop
id="stop39088"
style="stop-color:#878787;stop-opacity:1"
offset="0.75" />
<stop
id="stop39090"
style="stop-color:#6c6c6c;stop-opacity:1"
offset="0.875" />
<stop
id="stop39066"
style="stop-color:#1e1e1e;stop-opacity:1"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient39039">
<stop
id="stop39041"
style="stop-color:#5f5f5f;stop-opacity:1"
offset="0" />
<stop
id="stop39043"
style="stop-color:#ffffff;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient39031">
<stop
id="stop39033"
style="stop-color:#000000;stop-opacity:1"
offset="0" />
<stop
id="stop39035"
style="stop-color:#000000;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient3404">
<stop
id="stop3406"
style="stop-color:#ffffff;stop-opacity:0.68803418"
offset="0" />
<stop
id="stop3408"
style="stop-color:#ffffff;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
x1="4"
y1="40"
x2="124"
y2="60"
id="linearGradient39068"
xlink:href="#linearGradient39062"
gradientUnits="userSpaceOnUse" />
<radialGradient
cx="100.70589"
cy="96"
r="60"
fx="158.07428"
fy="95.718063"
id="radialGradient39100"
xlink:href="#linearGradient39094"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7837903e-8,-1,0.99999999,-2.1864248e-6,-32.000004,164.7061)" />
<radialGradient
cx="100.44444"
cy="34.363636"
r="32"
fx="82.947372"
fy="35.588516"
id="radialGradient39104"
xlink:href="#linearGradient39106"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(3.1472435e-6,1.0227273,-0.87499999,-9.5061964e-8,94.067865,-4.7272712)" />
<radialGradient
cx="75.999977"
cy="-2.7730541"
r="48"
fx="55.266491"
fy="-2.5338216"
id="radialGradient39125"
xlink:href="#linearGradient39119"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0,0.83333324,-1.6666667,2.518705e-6,59.378243,-35.333302)" />
<radialGradient
cx="64.066589"
cy="63.713329"
r="60"
fx="64.066589"
fy="63.713329"
id="radialGradient39131"
xlink:href="#linearGradient39133"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1333333,5.1768857e-8,5.2556881e-6,1.1666667,-8.6091298,-10.332226)" />
<filter
id="filter39153">
<feGaussianBlur
id="feGaussianBlur39155"
stdDeviation="2.28"
inkscape:collect="always" />
</filter>
<filter
id="filter39159">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.68"
id="feGaussianBlur39161" />
</filter>
<filter
id="filter3508">
<feGaussianBlur
id="feGaussianBlur3510"
stdDeviation="0.81465094"
inkscape:collect="always" />
</filter>
</defs>
<g
id="layer1"
style="display:inline">
<path
d="M 29,4 C 15.147058,4 4,15.14706 4,29 l 0,70 c 0,13.85294 11.147058,25 25,25 l 70,0 c 13.85294,0 25,-11.14706 25,-25 l 0,-70 C 124,15.14706 112.85294,4 99,4 L 29,4 z"
id="path39151"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;filter:url(#filter39153)" />
<path
d="M 29,4 C 15.147058,4 4,15.14706 4,29 l 0,70 c 0,13.85294 11.147058,25 25,25 l 70,0 c 13.85294,0 25,-11.14706 25,-25 l 0,-70 C 124,15.14706 112.85294,4 99,4 L 29,4 z"
id="path39157"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;filter:url(#filter39159)" />
<rect
width="120"
height="120"
ry="25.00531"
x="4"
y="0"
id="rect2573"
style="opacity:1;fill:url(#radialGradient39100);fill-opacity:1;stroke:none" />
<path
d="M 29,0 C 15.147058,0 4,11.14706 4,25 l 0,70 c 0,13.85294 11.147058,25 25,25 l 70,0 c 13.85294,0 25,-11.14706 25,-25 l 0,-70 C 124,11.14706 112.85294,0 99,0 L 29,0 z"
id="path39127"
style="opacity:0.20512821;fill:url(#radialGradient39131);fill-opacity:1;stroke:none" />
<path
d="m 44,68 40,0 12,40 c -20,7.27273 -44,7.27273 -64,0 L 44,68 z"
id="path39102"
style="opacity:0.53418801;fill:url(#radialGradient39104);fill-opacity:1;stroke:none" />
<path
d="M 25.339207,12 C 52,8 76,8 102.66079,12 107.83471,12 112,16.165286 112,21.339207 L 116,52 C 100,73.339207 28,73.339207 12,52 L 16,21.339207 C 16,16.165286 20.165286,12 25.339207,12 z"
id="rect39116"
style="opacity:0.92307691;fill:url(#radialGradient39125);fill-opacity:1;stroke:none" />
<path
d="M 29,8 C 15.147058,8 4,19.14706 4,33 l 0,70 c 0,13.85294 11.147058,25 25,25 l 70,0 c 13.85294,0 25,-11.14706 25,-25 l 0,-70 C 124,19.14706 112.85294,8 99,8 L 29,8 z"
id="path39147"
style="opacity:0.20512821;fill:#000000;fill-opacity:1;stroke:none" />
<path
d="M 29,0 C 15.147058,0 4,11.147058 4,25 l 0,70 c 0,13.85294 11.147058,25 25,25 l 70,0 c 13.85294,0 25,-11.14706 25,-25 l 0,-70 C 124,11.147058 112.85294,0 99,0 L 29,0 z m 0,4 70,0 c 11.70613,0 21,9.293869 21,21 l 0,70 c 0,11.70613 -9.29387,21 -21,21 l -70,0 C 17.293869,116 8,106.70613 8,95 L 8,25 C 8,13.293869 17.293869,4 29,4 z"
id="rect39029"
style="opacity:1;fill:url(#linearGradient39068);fill-opacity:1;stroke:none" />
<path
d="M 66.35081,74.771345 A 36,36 0 1 1 54.34964,35.777782"
transform="matrix(-0.16680323,0.53082142,-0.53082142,-0.16680323,103.31027,53.117897)"
id="path3351"
style="opacity:1;fill:none;stroke:#ffffff;stroke-width:21.56673813;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m 36,56 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
transform="matrix(1.4851301,0,0,1.4851301,16.475837,-23.948973)"
id="path3353"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none" />
<path
d="M 66.35081,74.771345 A 36,36 0 1 1 54.34964,35.777782"
transform="matrix(-0.35033273,1.1148712,-1.1148712,-0.35033273,146.5624,46.88078)"
id="path2622"
style="opacity:1;fill:none;stroke:#ffffff;stroke-width:10.26852894;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
<g
id="layer2"
style="display:inline" />
</svg>

After

Width:  |  Height:  |  Size: 10 KiB