[gnome-sound-recorder/wip/jimmac/app-icon-redesign: 6/6] icon: update app icon



commit ae5dc4ecc3d9b0107a75a1daf241c803c40464e9
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 11 16:36:19 2019 +0100

    icon: update app icon
    
    - GNOME 3.32 redesign of app icons.
      See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
      for more info.
    
    /label ~"9. Initiative: AppIconRedesign"

 .../hicolor/16x16/apps/org.gnome.SoundRecorder.png |   Bin 892 -> 0 bytes
 .../hicolor/22x22/apps/org.gnome.SoundRecorder.png |   Bin 1311 -> 0 bytes
 .../hicolor/24x24/apps/org.gnome.SoundRecorder.png |   Bin 1396 -> 0 bytes
 .../256x256/apps/org.gnome.SoundRecorder.png       |   Bin 42413 -> 0 bytes
 .../hicolor/32x32/apps/org.gnome.SoundRecorder.png |   Bin 2252 -> 0 bytes
 .../hicolor/48x48/apps/org.gnome.SoundRecorder.png |   Bin 4159 -> 0 bytes
 data/icons/hicolor/org.gnome.SoundRecorder.svg     | 13987 -------------------
 .../scalable/apps/org.gnome.SoundRecorder.svg      |   227 +
 data/meson.build                                   |    13 +-
 9 files changed, 232 insertions(+), 13995 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/apps/org.gnome.SoundRecorder.svg 
b/data/icons/hicolor/scalable/apps/org.gnome.SoundRecorder.svg
new file mode 100644
index 0000000..4b0dc8f
--- /dev/null
+++ b/data/icons/hicolor/scalable/apps/org.gnome.SoundRecorder.svg
@@ -0,0 +1,227 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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";
+   viewBox="0 0 128 128"
+   style="display:inline;enable-background:new"
+   version="1.0"
+   id="svg11300"
+   height="128"
+   width="128">
+  <title
+     id="title4162">Adwaita Icon Template</title>
+  <defs
+     id="defs3" />
+  <metadata
+     id="metadata4">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>GNOME Design Team</dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:source />
+        <cc:license
+           rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/"; />
+        <dc:title>Adwaita Icon Template</dc:title>
+        <dc:subject>
+          <rdf:Bag />
+        </dc:subject>
+        <dc:date />
+        <dc:rights>
+          <cc:Agent>
+            <dc:title />
+          </cc:Agent>
+        </dc:rights>
+        <dc:publisher>
+          <cc:Agent>
+            <dc:title />
+          </cc:Agent>
+        </dc:publisher>
+        <dc:identifier />
+        <dc:relation />
+        <dc:language />
+        <dc:coverage />
+        <dc:description />
+        <dc:contributor>
+          <cc:Agent>
+            <dc:title />
+          </cc:Agent>
+        </dc:contributor>
+      </cc:Work>
+      <cc:License
+         rdf:about="http://creativecommons.org/licenses/by-sa/4.0/";>
+        <cc:permits
+           rdf:resource="http://creativecommons.org/ns#Reproduction"; />
+        <cc:permits
+           rdf:resource="http://creativecommons.org/ns#Distribution"; />
+        <cc:requires
+           rdf:resource="http://creativecommons.org/ns#Notice"; />
+        <cc:requires
+           rdf:resource="http://creativecommons.org/ns#Attribution"; />
+        <cc:permits
+           rdf:resource="http://creativecommons.org/ns#DerivativeWorks"; />
+        <cc:requires
+           rdf:resource="http://creativecommons.org/ns#ShareAlike"; />
+      </cc:License>
+    </rdf:RDF>
+  </metadata>
+  <g
+     transform="translate(0,-172)"
+     style="display:inline"
+     id="layer1">
+    <g
+       style="display:none"
+       id="layer2">
+      <rect
+         y="172"
+         x="9.2651362e-08"
+         height="128"
+         width="128"
+         id="rect13805"
+         
style="display:inline;overflow:visible;visibility:visible;fill:#f0f0f0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;enable-background:accumulate"
 />
+      <rect
+         
style="display:inline;overflow:visible;visibility:visible;fill:#f0f0f0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;enable-background:accumulate"
+         id="rect859"
+         width="16"
+         height="16"
+         x="160"
+         y="172" />
+      <text
+         id="text863"
+         y="164"
+         x="-1.3798541e-16"
+         
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4px;line-height:125%;font-family:Cantarell;-inkscape-font-specification:'Cantarell,
 
Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.33264872;enable-background:new"
+         xml:space="preserve"><tspan
+           y="164"
+           x="-1.3798541e-16"
+           id="tspan861"
+           style="font-size:4px;stroke-width:0.33264872">Hicolor</tspan></text>
+      <text
+         xml:space="preserve"
+         
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4px;line-height:125%;font-family:Cantarell;-inkscape-font-specification:'Cantarell,
 
Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.33264872;enable-background:new"
+         x="160"
+         y="164"
+         id="text867"><tspan
+           style="font-size:4px;stroke-width:0.33264872"
+           id="tspan865"
+           x="160"
+           y="164">Symbolic</tspan></text>
+      <circle
+         
style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99000001,
 
0.99000001;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
+         id="circle2892"
+         r="59.504131"
+         cy="236"
+         cx="64.000031" />
+      <rect
+         
style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99000001,
 
0.99000001;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
+         id="rect2894"
+         width="87.009987"
+         height="111.01005"
+         x="20.495007"
+         y="180.49496"
+         rx="8.701004"
+         ry="7.9292889" />
+      <rect
+         
style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99000001,
 
0.99000001;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
+         id="rect2896"
+         width="103.00952"
+         height="103.00952"
+         x="12.495266"
+         y="184.49524"
+         rx="7.9238095"
+         ry="7.9238095" />
+      <rect
+         
style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99000001,
 
0.99000001;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
+         id="rect2898"
+         width="111.01004"
+         height="87.010048"
+         x="8.4950066"
+         y="200.49496"
+         rx="7.9292889"
+         ry="8.701005" />
+      <path
+         
style="display:inline;fill:none;stroke:#62a0ea;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;enable-background:new"
+         d="M 2.6203015e-5,289 H 128.00003"
+         id="path2900" />
+    </g>
+    <g
+       style="display:inline"
+       id="layer9">
+      <g
+         style="stroke-width:1.03437901"
+         transform="matrix(0.24169088,0,0,0.24169088,2.127133,223.49272)"
+         id="g1029">
+        <path
+           
style="display:inline;opacity:1;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:4.13751602;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;enable-background:new"
+           d="m 16,256 v 16 c 0,132.96 107.04,240 240,240 132.96,0 240,-107.04 240,-240 v -16 z"
+           id="rect1289"
+           transform="translate(0,-212)" />
+        <circle
+           cx="256"
+           cy="44"
+           r="240"
+           id="path1142-3"
+           
style="display:inline;opacity:1;vector-effect:none;fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:1.03437901;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
 />
+        <circle
+           
style="display:inline;opacity:1;vector-effect:none;fill:#c01c28;fill-opacity:1;stroke:none;stroke-width:1.03437889;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
+           id="circle1261"
+           cy="44"
+           cx="256"
+           r="222.90291" />
+        <circle
+           cx="256"
+           cy="44"
+           id="circle1263"
+           
style="display:inline;opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.03437889;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
+           r="206.90288" />
+        <rect
+           
style="opacity:1;fill:#424048;fill-opacity:1;stroke:none;stroke-width:2.06875873;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="rect1265"
+           width="99.103134"
+           height="198.20627"
+           x="206.70212"
+           y="-109.0509"
+           rx="49.6502"
+           ry="49.6502" />
+        <rect
+           
style="opacity:1;fill:#424048;fill-opacity:1;stroke:none;stroke-width:2.06875873;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="rect1267"
+           width="33.034374"
+           height="66.068748"
+           x="239.7365"
+           y="105.67263" />
+        <rect
+           y="146.92955"
+           x="231.79048"
+           height="33.070538"
+           width="49.239002"
+           id="rect1269"
+           
style="opacity:1;fill:#424048;fill-opacity:1;stroke:none;stroke-width:2.06875873;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
 />
+        <path
+           
style="opacity:1;fill:none;fill-opacity:1;stroke:#424048;stroke-width:16.55006981;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="m 157.30785,-1.725219 h 24.77501 v 43.900561 c 0,39.732759 33.15017,71.719848 
74.32776,71.719848 41.17756,0 74.32774,-31.987089 74.32774,-71.719848 V -1.725219 h 24.77578"
+           id="path1271" />
+        <rect
+           
style="opacity:1;fill:#424048;fill-opacity:1;stroke:none;stroke-width:2.06875873;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="rect1273"
+           width="132.1375"
+           height="16.517187"
+           x="190.18494"
+           y="171.74149" />
+        <path
+           
style="opacity:0.2;fill:#000000;fill-opacity:1;stroke:none;stroke-width:2.06875873;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="m 256.25369,-109.05074 c -27.4516,0 -49.55158,22.099915 -49.55158,49.551482 v 8.258601 c 
0,-27.451575 22.09998,-49.551563 49.55158,-49.551563 27.45157,0 49.55157,22.099988 49.55157,49.551563 v 
-8.258601 c 0,-27.451567 -22.1,-49.551482 -49.55157,-49.551482 z M 157.3078,-9.9839765 v 8.2585954 h 24.77579 
a 8.2594212,8.2594212 0 0 1 8.2586,8.2585939 v -8.2585939 a 8.2594212,8.2594212 0 0 0 -8.2586,-8.2585954 z m 
173.4305,0 a 8.2594212,8.2594212 0 0 0 -8.25858,8.2585954 v 8.2585939 a 8.2594212,8.2594212 0 0 1 
8.25858,-8.2585939 h 24.77579 V -9.9839765 Z M 190.34219,42.174612 v 8.258597 c 0,35.139166 
29.16809,63.461821 66.06877,63.461821 36.90066,0 66.06876,-28.322655 66.06876,-63.461821 v -8.258597 c 
0,35.13917 -29.1681,63.461828 -66.06876,63.461828 -36.90068,0 -66.06877,-28.322658 -66.06877,-63.461828 z m 
41.44822,104.754808 v 8.25858 h 7.94607 v -8.25858 z m 40.98047,0 v 8.25858 h 8.25859 v -8.25858 z m 
-82.58597,24.81209 v 8.2586 h 41.6055 v -8.2586 z m 90.84456,
 0 v 8.25
 86 h 41.29297 v -8.2586 z"
+           id="rect5271" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/data/meson.build b/data/meson.build
index ac0ace6..4b17e4b 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,11 +1,8 @@
-foreach icon_size: ['16x16', '22x22', '24x24', '32x32', '48x48', '256x256']
-  icon_dir = join_paths('icons', 'hicolor', icon_size, 'apps')
-
-  install_data(
-    join_paths(icon_dir, '@0@.png'.format(application_id)),
-    install_dir: join_paths(sound_recorder_datadir, icon_dir)
-  )
-endforeach
+icon_dir = join_paths('icons', 'hicolor', 'scalable', 'apps')
+install_data(
+  join_paths(icon_dir, '@0@.svg'.format(application_id)),
+  install_dir: join_paths(sound_recorder_datadir, icon_dir)
+)
 
 icon_dir = join_paths('icons', 'hicolor', 'symbolic', 'apps')
 install_data(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]