Linux/freedesktop: update Blender app icon based on new guidelines.
authorJakub Steiner <jimmac@gmail.com>
Fri, 1 Mar 2019 13:42:12 +0000 (14:42 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 6 Mar 2019 16:12:11 +0000 (17:12 +0100)
* Use only scalable SVG icon.
* Add symbolic variant for accessibility.
* Remove shadow, this is added automatically.

For more information see:
https://gitlab.gnome.org/GNOME/Initiatives/issues/2
https://developer.gnome.org/hig/stable/icon-design.html.en

release/freedesktop/icons/16x16/apps/blender.png [deleted file]
release/freedesktop/icons/22x22/apps/blender.png [deleted file]
release/freedesktop/icons/24x24/apps/blender.png [deleted file]
release/freedesktop/icons/256x256/apps/blender.png [deleted file]
release/freedesktop/icons/32x32/apps/blender.png [deleted file]
release/freedesktop/icons/48x48/apps/blender.png [deleted file]
release/freedesktop/icons/scalable/apps/blender.svg
release/freedesktop/icons/symbolic/apps/blender-symbolic.svg [new file with mode: 0644]
source/creator/CMakeLists.txt

diff --git a/release/freedesktop/icons/16x16/apps/blender.png b/release/freedesktop/icons/16x16/apps/blender.png
deleted file mode 100644 (file)
index c9f531a..0000000
Binary files a/release/freedesktop/icons/16x16/apps/blender.png and /dev/null differ
diff --git a/release/freedesktop/icons/22x22/apps/blender.png b/release/freedesktop/icons/22x22/apps/blender.png
deleted file mode 100644 (file)
index 4442aad..0000000
Binary files a/release/freedesktop/icons/22x22/apps/blender.png and /dev/null differ
diff --git a/release/freedesktop/icons/24x24/apps/blender.png b/release/freedesktop/icons/24x24/apps/blender.png
deleted file mode 100644 (file)
index ba5c281..0000000
Binary files a/release/freedesktop/icons/24x24/apps/blender.png and /dev/null differ
diff --git a/release/freedesktop/icons/256x256/apps/blender.png b/release/freedesktop/icons/256x256/apps/blender.png
deleted file mode 100644 (file)
index a65bba7..0000000
Binary files a/release/freedesktop/icons/256x256/apps/blender.png and /dev/null differ
diff --git a/release/freedesktop/icons/32x32/apps/blender.png b/release/freedesktop/icons/32x32/apps/blender.png
deleted file mode 100644 (file)
index f4f52ae..0000000
Binary files a/release/freedesktop/icons/32x32/apps/blender.png and /dev/null differ
diff --git a/release/freedesktop/icons/48x48/apps/blender.png b/release/freedesktop/icons/48x48/apps/blender.png
deleted file mode 100644 (file)
index 1218fb0..0000000
Binary files a/release/freedesktop/icons/48x48/apps/blender.png and /dev/null differ
index 7d8a043..8f85f41 100644 (file)
@@ -1,73 +1 @@
-<?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"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   version="1.1"
-   x="0"
-   y="0"
-   width="48"
-   height="48"
-   viewBox="0, 0, 48, 48"
-   id="svg13"
-   sodipodi:docname="blender.svg"
-   inkscape:version="0.92.3 (2405546, 2018-03-11)">
-  <metadata
-     id="metadata19">
-    <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>
-  <defs
-     id="defs17" />
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="3779"
-     inkscape:window-height="2085"
-     id="namedview15"
-     showgrid="false"
-     inkscape:zoom="4.9166667"
-     inkscape:cx="-20.745763"
-     inkscape:cy="24"
-     inkscape:window-x="61"
-     inkscape:window-y="38"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="svg13" />
-  <g
-     id="Layer_2">
-    <g
-       id="g10">
-      <path
-         d="M31.478,36.847 C25.193,36.847 20.098,32.041 20.098,26.113 C20.098,20.186 25.193,15.38 31.478,15.38 C37.764,15.38 42.859,20.186 42.859,26.113 C42.859,32.041 37.764,36.847 31.478,36.847 z"
-         fill="#FFFFFF"
-         id="path5" />
-      <g
-         id="g9786">
-        <path
-           d="M24.926,24.904 C25.009,23.398 25.748,22.069 26.861,21.128 L26.861,21.128 C27.954,20.203 29.423,19.638 31.027,19.638 L31.027,19.638 C32.631,19.638 34.1,20.203 35.193,21.128 L35.193,21.128 C36.306,22.069 37.044,23.398 37.129,24.903 C37.214,26.453 36.592,27.892 35.5,28.958 L35.5,28.958 C34.387,30.043 32.801,30.725 31.027,30.725 L31.027,30.725 C29.253,30.725 27.666,30.043 26.553,28.958 L26.553,28.958 C25.461,27.892 24.84,26.453 24.926,24.904"
-           fill="#0D528B"
-           id="path9788" />
-        <path
-           d="M15.207,27.953 C15.217,28.541 15.406,29.687 15.688,30.584 L15.688,30.584 C16.281,32.478 17.287,34.231 18.688,35.777 L18.688,35.777 C20.125,37.363 21.892,38.639 23.935,39.544 L23.935,39.544 C26.085,40.496 28.412,40.982 30.827,40.978 L30.827,40.978 C33.242,40.973 35.569,40.479 37.717,39.521 L37.717,39.521 C39.759,38.607 41.526,37.328 42.962,35.737 L42.962,35.737 C44.36,34.186 45.365,32.429 45.959,30.534 L45.959,30.534 C46.258,29.576 46.445,28.605 46.522,27.63 L46.522,27.63 C46.597,26.67 46.565,25.707 46.429,24.746 L46.429,24.746 C46.163,22.873 45.515,21.115 44.517,19.512 C43.603,18.04 42.426,16.751 41.028,15.665 L41.028,15.665 L41.03,15.663 L41.03,15.663 L26.912,4.821 L26.912,4.821 C26.9,4.812 26.889,4.802 26.876,4.792 L26.876,4.792 C25.948,4.082 24.39,4.084 23.372,4.797 L23.372,4.797 C22.341,5.518 22.225,6.709 23.141,7.462 L23.141,7.462 L23.138,7.465 L23.138,7.465 L29.026,12.254 L11.076,12.273 L11.076,12.273 C11.067,12.273 11.06,12.273 11.051,12.273 L11.051,12.273 C9.568,12.274 8.143,13.249 7.859,14.478 L7.859,14.478 C7.571,15.732 8.579,16.771 10.12,16.777 L10.12,16.777 L10.12,16.782 L10.12,16.782 L19.217,16.765 L2.981,29.226 L2.981,29.226 C2.961,29.242 2.939,29.257 2.919,29.273 L2.919,29.273 C1.389,30.445 0.893,32.396 1.857,33.63 L1.857,33.63 C2.837,34.886 4.918,34.887 6.466,33.636 L6.466,33.636 L15.326,26.386 C15.326,26.386 15.198,27.365 15.207,27.953 z M37.974,31.229 C36.149,33.091 33.595,34.145 30.827,34.15 L30.827,34.15 C28.059,34.156 25.503,33.11 23.677,31.252 L23.677,31.252 C22.785,30.347 22.129,29.307 21.725,28.197 L21.725,28.197 C21.329,27.107 21.175,25.952 21.276,24.785 L21.276,24.785 C21.375,23.643 21.712,22.556 22.256,21.571 L22.256,21.571 C22.789,20.603 23.522,19.729 24.428,18.988 L24.428,18.988 C26.202,17.541 28.46,16.759 30.825,16.756 L30.825,16.756 C33.19,16.753 35.448,17.529 37.222,18.97 L37.222,18.97 C38.127,19.706 38.86,20.578 39.394,21.544 L39.394,21.544 C39.937,22.528 40.274,23.613 40.374,24.756 L40.374,24.756 C40.475,25.921 40.321,27.077 39.925,28.168 L39.925,28.168 C39.521,29.279 38.866,30.32 37.974,31.229"
-           fill="#F5792A"
-           id="path9790" />
-      </g>
-    </g>
-  </g>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><path d="M84.665 108.417c-17.386 0-31.479-13.294-31.479-29.691 0-16.395 14.093-29.689 31.479-29.689 17.387 0 31.48 13.294 31.48 29.689 0 16.397-14.093 29.691-31.48 29.691z" fill="#fff"/><path d="M66.54 75.381c.23-4.165 2.275-7.841 5.353-10.444 3.024-2.559 7.087-4.122 11.524-4.122 4.437 0 8.5 1.563 11.524 4.122 3.078 2.603 5.12 6.279 5.355 10.442.235 4.287-1.486 8.27-4.506 11.216-3.079 3.002-7.466 4.888-12.373 4.888-4.907 0-9.297-1.886-12.376-4.888-3.02-2.948-4.738-6.929-4.5-11.214" fill="#0d528b"/><path d="M39.657 83.815c.028 1.627.55 4.797 1.33 7.278 1.64 5.24 4.424 10.088 8.299 14.364a42.897 42.897 0 0 0 14.514 10.42 46.667 46.667 0 0 0 19.064 3.967 46.811 46.811 0 0 0 19.058-4.03c5.649-2.528 10.536-6.066 14.509-10.467 3.867-4.288 6.647-9.15 8.29-14.392a36.59 36.59 0 0 0 1.557-8.033c.207-2.656.119-5.32-.257-7.978a37.1 37.1 0 0 0-5.29-14.477 40.573 40.573 0 0 0-9.65-10.642l.006-.005-39.052-29.99-.1-.08c-2.567-1.965-6.876-1.96-9.692.013-2.852 1.995-3.173 5.289-.64 7.372l-.007.008 16.286 13.25-49.651.05h-.07c-4.102.002-8.043 2.7-8.829 6.099-.797 3.469 1.992 6.343 6.254 6.362v.011l25.163-.047L5.84 87.337l-.172.13C1.435 90.709.063 96.105 2.729 99.519c2.711 3.474 8.467 3.477 12.75.016l24.507-20.054s-.354 2.71-.329 4.334zm62.976 9.062c-5.048 5.15-12.113 8.066-19.77 8.08-7.656.017-14.726-2.877-19.777-8.016a23.495 23.495 0 0 1-5.4-8.45 21.98 21.98 0 0 1-1.241-9.439 22.325 22.325 0 0 1 2.71-8.89 24.552 24.552 0 0 1 6.008-7.145c4.907-4.002 11.153-6.166 17.695-6.174 6.542-.008 12.788 2.138 17.695 6.124a24.436 24.436 0 0 1 6.008 7.12 22.375 22.375 0 0 1 2.71 8.885 21.996 21.996 0 0 1-1.241 9.438 23.623 23.623 0 0 1-5.397 8.467" fill="#f5792a"/></svg>
\ No newline at end of file
diff --git a/release/freedesktop/icons/symbolic/apps/blender-symbolic.svg b/release/freedesktop/icons/symbolic/apps/blender-symbolic.svg
new file mode 100644 (file)
index 0000000..70d0a91
--- /dev/null
@@ -0,0 +1,55 @@
+<?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"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="16"
+   height="16"
+   version="1.1"
+   id="svg8"
+   sodipodi:docname="blender.svg"
+   inkscape:version="0.92.4 5da689c313, 2019-01-14">
+  <metadata
+     id="metadata14">
+    <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></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs12" />
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="480"
+     id="namedview10"
+     showgrid="true"
+     inkscape:zoom="1"
+     inkscape:cx="5.4078582"
+     inkscape:cy="9.1165338"
+     inkscape:current-layer="svg8">
+    <inkscape:grid
+       type="xygrid"
+       id="grid821" />
+  </sodipodi:namedview>
+  <path
+     id="path6"
+     style="fill:#000000;stroke-width:0.31751338"
+     d="m 5.025875,9.973537 c 0.00317,0.186699 0.063186,0.550569 0.1527243,0.835379 0.188285,0.601368 0.5077036,1.157969 0.9525398,1.648847 a 4.9239967,4.9239967 0 0 0 1.6659926,1.19607 5.3567674,5.3567674 0 0 0 2.1883012,0.455315 5.3732778,5.3732778 0 0 0 2.1876651,-0.462615 c 0.648364,-0.29021 1.209411,-0.696309 1.665361,-1.201474 0.443884,-0.492145 0.762985,-1.050334 0.951584,-1.652018 0.09495,-0.304181 0.154313,-0.612485 0.178761,-0.9220612 0.02382,-0.3048124 0.01365,-0.6105787 -0.02954,-0.9157088 A 4.2584888,4.2584888 0 0 0 14.332188,7.2934066 4.6572855,4.6572855 0 0 0 13.224385,6.071933 l 6.35e-4,-6.349e-4 -4.4826535,-3.4424796 -0.011436,-0.0092 C 8.4362856,2.3941763 7.9416,2.3948112 7.6183715,2.6211983 7.2910154,2.8501252 7.2541836,3.2282837 7.5450257,3.4673714 l -9.522e-4,9.522e-4 1.8695183,1.5208892 -5.6993642,0.00571 h -0.00793 c -0.470881,3.218e-4 -0.9233375,0.3098971 -1.0135114,0.700121 -0.091444,0.3981618 0.2286095,0.7280583 0.7178977,0.7302809 v 0.00126 l 2.8884195,-0.00538 -5.1551462,3.9565333 -0.019687,0.01492 C 0.63847452,10.764779 0.48098788,11.384246 0.78707079,11.776057 1.098234,12.174855 1.758979,12.175173 2.2504895,11.777957 L 5.0636584,9.476049 c 0,0 -0.040641,0.3111643 -0.037785,0.4975444 z m 7.228825,1.040175 c -0.579463,0.591208 -1.390388,0.925869 -2.2692671,0.927453 -0.8788765,0.0019 -1.6904406,-0.330212 -2.2702198,-0.920152 A 2.696958,2.696958 0 0 1 7.0954272,10.05101 2.5229608,2.5229608 0 0 1 6.9528636,8.9676543 2.5626502,2.5626502 0 0 1 7.2640265,7.9471662 2.8182481,2.8182481 0 0 1 7.9536654,7.1270299 C 8.5169342,6.667588 9.2338791,6.4192928 9.9847985,6.4183401 10.735719,6.4173874 11.452664,6.6637778 12.015931,7.1213144 a 2.8049127,2.8049127 0 0 1 0.689641,0.8172796 c 0.172407,0.3124333 0.279411,0.6572522 0.311159,1.0198523 A 2.5248661,2.5248661 0 0 1 12.874168,10.041804 2.7115636,2.7115636 0 0 1 12.2547,11.013712 M 8.1117872,9.0054378 C 8.1381408,8.527263 8.372783,8.1052877 8.7261755,7.8065081 9.0732176,7.5128085 9.5396447,7.3334137 10.048937,7.3334137 c 0.50929,0 0.97572,0.1793948 1.322758,0.4730944 0.353393,0.2987796 0.587719,0.7207549 0.614706,1.1986127 0.02699,0.492146 -0.170501,0.9493659 -0.517227,1.2875182 -0.353393,0.3445 -0.85697,0.561045 -1.420237,0.561045 -0.5632696,0 -1.0671632,-0.216545 -1.4205557,-0.561045 C 8.2816566,9.9541697 8.0844812,9.4972668 8.1117872,9.0054378" />
+</svg>
index ce9bb24..b58f9b4 100644 (file)
@@ -474,6 +474,7 @@ if(UNIX AND NOT APPLE)
                        FILES
                                ${CMAKE_SOURCE_DIR}/release/freedesktop/blender.desktop
                                ${CMAKE_SOURCE_DIR}/release/freedesktop/icons/scalable/apps/blender.svg
+                               ${CMAKE_SOURCE_DIR}/release/freedesktop/icons/symbolic/apps/blender-symbolic.svg
                        DESTINATION "."
                )
 
@@ -518,6 +519,10 @@ if(UNIX AND NOT APPLE)
                        FILES ${CMAKE_SOURCE_DIR}/release/freedesktop/icons/scalable/apps/blender.svg
                        DESTINATION share/icons/hicolor/scalable/apps
                )
+               install(
+                       FILES ${CMAKE_SOURCE_DIR}/release/freedesktop/icons/symbolic/apps/blender-symbolic.svg
+                       DESTINATION share/icons/hicolor/symbolic/apps
+               )
                install(
                        PROGRAMS ${CMAKE_SOURCE_DIR}/release/bin/blender-thumbnailer.py
                        DESTINATION bin