contrib/friends: add icon for Android
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 3 Jan 2015 16:49:55 +0000 (11:49 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sat, 3 Jan 2015 19:45:50 +0000 (14:45 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/friendz/Makefile
contrib/friendz/art/icon.svg [new file with mode: 0644]

index 0039fff..f35d399 100644 (file)
@@ -5,7 +5,8 @@ linux:
        ../../bin/nitc -o bin/friendz src/friendz_linux.nit
 
 android:
-       mkdir -p bin
+       mkdir -p bin res
+       ../inkscape_tools/bin/svg_to_icons art/icon.svg --android --out res/
        ../../bin/nitc -o bin/friendz.apk src/friendz_android.nit
 
 doc:
diff --git a/contrib/friendz/art/icon.svg b/contrib/friendz/art/icon.svg
new file mode 100644 (file)
index 0000000..3584b06
--- /dev/null
@@ -0,0 +1,327 @@
+<?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"
+   width="256"
+   height="256"
+   id="svg4386"
+   version="1.1"
+   inkscape:version="0.48.5 r10040"
+   sodipodi:docname="icon.svg">
+  <defs
+     id="defs4388">
+    <radialGradient
+       r="7.7875042"
+       fy="141.32838"
+       fx="106.50102"
+       cy="141.3284"
+       cx="106.50099"
+       gradientTransform="scale(1.02976,0.9711)"
+       gradientUnits="userSpaceOnUse"
+       id="radialGradient8339"
+       xlink:href="#linearGradient5606"
+       inkscape:collect="always" />
+    <linearGradient
+       id="linearGradient5606">
+      <stop
+         id="stop5608"
+         offset="0.0000000"
+         style="stop-color:#000000;stop-opacity:1.0000000;" />
+      <stop
+         id="stop5614"
+         offset="0.20000000"
+         style="stop-color:#000000;stop-opacity:1.0000000;" />
+      <stop
+         id="stop5616"
+         offset="0.30000001"
+         style="stop-color:#ffffff;stop-opacity:1.0000000;" />
+      <stop
+         id="stop5610"
+         offset="1.0000000"
+         style="stop-color:#ffffff;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <filter
+       inkscape:label="Desaturate"
+       x="0"
+       y="0"
+       width="1"
+       height="1"
+       inkscape:menu="Color"
+       inkscape:menu-tooltip="Render in shades of gray by reducing saturation to zero"
+       color-interpolation-filters="sRGB"
+       id="filter3078">
+      <feColorMatrix
+         type="saturate"
+         values="0"
+         id="feColorMatrix3080" />
+    </filter>
+    <filter
+       inkscape:label="Desaturate"
+       x="0"
+       y="0"
+       width="1"
+       height="1"
+       inkscape:menu="Color"
+       inkscape:menu-tooltip="Render in shades of gray by reducing saturation to zero"
+       color-interpolation-filters="sRGB"
+       id="filter3082">
+      <feColorMatrix
+         type="saturate"
+         values="0"
+         id="feColorMatrix3084" />
+    </filter>
+    <filter
+       inkscape:label="Desaturate"
+       x="0"
+       y="0"
+       width="1"
+       height="1"
+       inkscape:menu="Color"
+       inkscape:menu-tooltip="Render in shades of gray by reducing saturation to zero"
+       color-interpolation-filters="sRGB"
+       id="filter3086">
+      <feColorMatrix
+         type="saturate"
+         values="0"
+         id="feColorMatrix3088" />
+    </filter>
+    <filter
+       inkscape:label="Desaturate"
+       x="0"
+       y="0"
+       width="1"
+       height="1"
+       inkscape:menu="Color"
+       inkscape:menu-tooltip="Render in shades of gray by reducing saturation to zero"
+       color-interpolation-filters="sRGB"
+       id="filter3090">
+      <feColorMatrix
+         type="saturate"
+         values="0.71980676328502413"
+         id="feColorMatrix3092" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.98994949"
+     inkscape:cx="76.110583"
+     inkscape:cy="101.8389"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1279"
+     inkscape:window-height="1377"
+     inkscape:window-x="1279"
+     inkscape:window-y="29"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata4391">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-796.36218)">
+    <g
+       inkscape:export-ydpi="72.000000"
+       inkscape:export-xdpi="72.000000"
+       inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
+       transform="matrix(4.2708842,0,0,4.1991018,0.37397342,-2109.743)"
+       id="g8300"
+       style="filter:url(#filter3090)">
+      <g
+         style="stroke:none"
+         inkscape:export-ydpi="72.000000"
+         inkscape:export-xdpi="72.000000"
+         inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
+         transform="matrix(0.823543,0,0,0.832736,-337.8784,464.3823)"
+         id="g8288">
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cc"
+           id="path8290"
+           d="M 427.22149,306.26985 C 400,308.61218 417.5,276.66759 427.5,286.11218"
+           style="fill:#01ff03;fill-opacity:1;fill-rule:evenodd" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cc"
+           id="path8292"
+           d="m 467.5,283.61218 c 18.75,-6.25 17.5,28.75 -2.5,18.75"
+           style="fill:#01ff03;fill-opacity:1;fill-rule:evenodd" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccc"
+           id="path8294"
+           d="M 428.58387,304.20437 C 406.97719,274.86218 485,259.86218 465,302.36218 c 53.75,37.5 -81.25,70 -36.41613,1.84219 z"
+           style="fill:#01ff03;fill-opacity:1;fill-rule:evenodd" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cc"
+           id="path8296"
+           d="m 420,292.36218 c -1.95031,4.4858 0,6.25 1.25,7.5"
+           style="fill:none" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cc"
+           id="path8298"
+           d="m 473.75,289.34798 c 0.60933,3.0142 1.25,4.2642 -1.25,7.44624"
+           style="fill:none" />
+      </g>
+      <path
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="ccc"
+         id="path8275"
+         d="m 20,747.36218 c 23.207741,2.5 36.25,-13.75 31.25,-20 -1.25,10 -18.03209,20.56008 -31.25,20 z"
+         style="fill:#000000;fill-opacity:0.1372549;fill-rule:evenodd;stroke:none" />
+      <g
+         id="g8283">
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccc"
+           id="path8277"
+           d="M 14.300999,703.00709 C 5.5600809,697.36218 -4.2738645,716.11218 7.5,718.61218 c -5,-5.67209 -2.5,-13.75 6.800999,-15.60509 z"
+           style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccc"
+           id="path8279"
+           d="m 45,698.61218 c -13.75,-11.25 -42.5,-0.73064 -28.75,20 -3.75,-12.5 11.25,-25 28.75,-20 z"
+           style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccc"
+           id="path8281"
+           d="m 57.5,708.61218 c 1.25,-9.4761 -12.5,-11.25 -10,-4.41905 5.560081,-1.83095 7.321465,0.72043 10,4.41905 z"
+           style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none" />
+      </g>
+      <g
+         style="fill:none"
+         inkscape:export-ydpi="72.000000"
+         inkscape:export-xdpi="72.000000"
+         inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
+         transform="matrix(0.823543,0,0,0.832736,-337.8784,464.3823)"
+         id="g7882">
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cc"
+           id="path7659"
+           d="M 427.22149,306.26985 C 400,308.61218 417.5,276.66759 427.5,286.11218"
+           style="stroke:#000000;stroke-width:3.11108565;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cc"
+           id="path7661"
+           d="m 467.5,283.61218 c 18.75,-6.25 17.5,28.75 -2.5,18.75"
+           style="stroke:#000000;stroke-width:3.11108565;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccc"
+           id="path7657"
+           d="M 428.58387,304.20437 C 406.97719,274.86218 485,259.86218 465,302.36218 c 53.75,37.5 -81.25,70 -36.41613,1.84219 z"
+           style="stroke:#000000;stroke-width:3.11108565;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cc"
+           id="path7663"
+           d="m 420,292.36218 c -1.95031,4.4858 0,6.25 1.25,7.5"
+           style="stroke:#000000;stroke-width:3.11108565;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+        <path
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cc"
+           id="path7665"
+           d="m 473.75,289.34798 c 0.60933,3.0142 1.25,4.2642 -1.25,7.44624"
+           style="stroke:#000000;stroke-width:3.11108565;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+      </g>
+    </g>
+    <g
+       inkscape:export-ydpi="72.000000"
+       inkscape:export-xdpi="72.000000"
+       inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
+       transform="matrix(4.3642738,0,0,-0.17844664,-531.2477,940.61654)"
+       id="g8323"
+       style="filter:url(#filter3090)">
+      <path
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="cc"
+         id="path8325"
+         d="M 150.47232,132.96909 150,134.86218"
+         style="fill:none;stroke:#000000;stroke-width:12.36332512;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="cc"
+         id="path8327"
+         d="m 153.75,132.96909 0.47232,1.89309"
+         style="fill:none;stroke:#000000;stroke-width:12.36332512;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+    </g>
+    <g
+       inkscape:export-ydpi="72.000000"
+       inkscape:export-xdpi="72.000000"
+       inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
+       transform="matrix(4.3642695,0,0,4.3642084,-733.54667,664.62487)"
+       id="g8329"
+       style="filter:url(#filter3090)">
+      <path
+         inkscape:connector-curvature="0"
+         inkscape:export-ydpi="72.000000"
+         inkscape:export-xdpi="72.000000"
+         inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
+         sodipodi:nodetypes="cc"
+         id="path8331"
+         d="m 191.8115,62.362183 c 2.83835,1.82034 7.56893,1.99609 11.3534,0"
+         style="fill:none;stroke:#ffffff;stroke-width:2.49998164;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.41176471" />
+      <path
+         inkscape:connector-curvature="0"
+         inkscape:export-ydpi="72.000000"
+         inkscape:export-xdpi="72.000000"
+         inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
+         sodipodi:nodetypes="cc"
+         id="path8333"
+         d="m 193.0615,64.152194 c 2.83835,1.82034 7.56893,1.99609 11.3534,0"
+         style="fill:none;stroke:#000000;stroke-width:2.49998164;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.1372549" />
+      <path
+         inkscape:connector-curvature="0"
+         inkscape:export-ydpi="72.000000"
+         inkscape:export-xdpi="72.000000"
+         inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
+         sodipodi:nodetypes="cc"
+         id="path8335"
+         d="m 192.5,63.430263 c 2.83835,1.82034 7.56893,1.99609 11.3534,0"
+         style="fill:none;stroke:#000000;stroke-width:2.49998164;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+    </g>
+    <path
+       inkscape:export-ydpi="72.000000"
+       inkscape:export-xdpi="72.000000"
+       inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
+       transform="matrix(4.2024883,1.3865396,-2.0345896,3.8609453,-52.336063,179.80496)"
+       d="m 115.86819,137.36218 a 6.1977272,6.1227274 0 1 1 -12.39545,0 6.1977272,6.1227274 0 1 1 12.39545,0 z"
+       sodipodi:ry="6.1227274"
+       sodipodi:rx="6.1977272"
+       sodipodi:cy="137.36218"
+       sodipodi:cx="109.67046"
+       id="path8337"
+       style="fill:url(#radialGradient8339);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2.49998115999999992;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;filter:url(#filter3090)"
+       sodipodi:type="arc" />
+  </g>
+</svg>