[gnome-builder/wip/jimmac/sdk-icon] icons: add SDK symbolic icon




commit c251b932eeb12d2c37a4fdae23887ed2ae66c6e0
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Feb 2 13:44:48 2022 +0100

    icons: add SDK symbolic icon
    
    fixes https://gitlab.gnome.org/GNOME/gnome-builder/-/issues/1616

 .../scalable/actions/builder-sdk-symbolic.svg      | 62 ++++++++++++++++++++++
 data/icons/src/org.gnome.Builder.svg               | 41 +++++++++++++-
 src/plugins/flatpak/gbp-flatpak-sdk-stage.c        |  2 +-
 3 files changed, 102 insertions(+), 3 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/actions/builder-sdk-symbolic.svg 
b/data/icons/hicolor/scalable/actions/builder-sdk-symbolic.svg
new file mode 100644
index 000000000..b06ffa3fd
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/builder-sdk-symbolic.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
+    <filter id="a" height="100%" width="100%" x="0%" y="0%">
+        <feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
+    </filter>
+    <mask id="b">
+        <g filter="url(#a)">
+            <path d="m 0 0 h 16 v 16 h -16 z" fill-opacity="0.3"/>
+        </g>
+    </mask>
+    <clipPath id="c">
+        <path d="m 0 0 h 800 v 800 h -800 z"/>
+    </clipPath>
+    <mask id="d">
+        <g filter="url(#a)">
+            <path d="m 0 0 h 16 v 16 h -16 z" fill-opacity="0.35"/>
+        </g>
+    </mask>
+    <clipPath id="e">
+        <path d="m 0 0 h 800 v 800 h -800 z"/>
+    </clipPath>
+    <mask id="f">
+        <g filter="url(#a)">
+            <path d="m 0 0 h 16 v 16 h -16 z" fill-opacity="0.35"/>
+        </g>
+    </mask>
+    <clipPath id="g">
+        <path d="m 0 0 h 800 v 800 h -800 z"/>
+    </clipPath>
+    <mask id="h">
+        <g filter="url(#a)">
+            <path d="m 0 0 h 16 v 16 h -16 z" fill-opacity="0.35"/>
+        </g>
+    </mask>
+    <clipPath id="i">
+        <path d="m 0 0 h 800 v 800 h -800 z"/>
+    </clipPath>
+    <mask id="j">
+        <g filter="url(#a)">
+            <path d="m 0 0 h 16 v 16 h -16 z" fill-opacity="0.35"/>
+        </g>
+    </mask>
+    <clipPath id="k">
+        <path d="m 0 0 h 800 v 800 h -800 z"/>
+    </clipPath>
+    <g clip-path="url(#c)" mask="url(#b)" transform="matrix(1 0 0 1 -440 -340)">
+        <path d="m 142.5 351 h 10.449219 c -1.183594 0.492188 -1.296875 2.457031 0 3 h -10.449219 z m 0 0" 
fill="#2e3436"/>
+    </g>
+    <g clip-path="url(#e)" mask="url(#d)" transform="matrix(1 0 0 1 -440 -340)">
+        <path d="m 104 502 c 0 0.550781 -0.449219 1 -1 1 s -1 -0.449219 -1 -1 s 0.449219 -1 1 -1 s 1 
0.449219 1 1 z m 0 0" fill="#2e3436"/>
+    </g>
+    <g clip-path="url(#g)" mask="url(#f)" transform="matrix(1 0 0 1 -440 -340)">
+        <path d="m 106 501 v 2 h 8 v -2 z m 0 0" fill="#2e3436" fill-rule="evenodd"/>
+    </g>
+    <g clip-path="url(#i)" mask="url(#h)" transform="matrix(1 0 0 1 -440 -340)">
+        <path d="m 104 514 c 0 0.550781 -0.449219 1 -1 1 s -1 -0.449219 -1 -1 s 0.449219 -1 1 -1 s 1 
0.449219 1 1 z m 0 0" fill="#2e3436"/>
+    </g>
+    <g clip-path="url(#k)" mask="url(#j)" transform="matrix(1 0 0 1 -440 -340)">
+        <path d="m 106 513 v 2 h 8 v -2 z m 0 0" fill="#2e3436" fill-rule="evenodd"/>
+    </g>
+    <path d="m 7.960938 0 c -0.050782 0 -0.101563 0.00390625 -0.15625 0.0078125 c -0.332032 0.0390625 
-0.652344 0.1914065 -0.890626 0.4296875 l -6.496093 6.523438 c -0.542969 0.554687 -0.542969 1.550781 0 
2.105468 l 6.53125 6.527344 c 0.554687 0.542969 1.550781 0.542969 2.105469 0 l 6.53125 -6.492188 c 0.566406 
-0.558593 0.566406 -1.582031 0 -2.140624 l -6.53125 -6.523438 c -0.035157 -0.027344 -0.070313 -0.050781 
-0.105469 -0.074219 c -0.273438 -0.234375 -0.628907 -0.363281 -0.988281 -0.363281 z m 0.0625 3.785156 c 
0.792968 -0.039062 1.5625 0.269532 2.105468 0.847656 l 2.375 2.519532 c 0.378906 0.402344 0.367188 1.035156 
-0.027344 1.421875 l -1.371093 1.332031 c -0.175781 0.171875 -0.40625 0.261719 -0.648438 0.257812 c -0.242187 
-0.003906 -0.472656 -0.105468 -0.636719 -0.28125 l -1.121093 -1.1875 l -2.457031 2.429688 c -0.386719 
0.386719 -1.023438 0.386719 -1.410157 0 c -0.390625 -0.390625 -0.390625 -1.027344 0 -1.417969 l 2.496094 
-2.46875 l -1.210937 -1.289062 c -0.339844 -0.35937
 5 -0.328126 -0.925781 0.027343 -1.273438 l 0.136719 -0.125 c 0.46875 -0.460937 1.089844 -0.730469 1.742188 
-0.765625 z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/data/icons/src/org.gnome.Builder.svg b/data/icons/src/org.gnome.Builder.svg
index 2b1410a8f..5f64a363d 100644
--- a/data/icons/src/org.gnome.Builder.svg
+++ b/data/icons/src/org.gnome.Builder.svg
@@ -5,7 +5,7 @@
    viewBox="0 0 800 800.00003"
    version="1.1"
    id="svg8"
-   inkscape:version="1.1-rc (52f87abb86, 2021-05-02)"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
    sodipodi:docname="org.gnome.Builder.svg"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
@@ -16,7 +16,25 @@
    xmlns:cc="http://creativecommons.org/ns#";
    xmlns:dc="http://purl.org/dc/elements/1.1/";>
   <defs
-     id="defs2" />
+     id="defs2">
+    <inkscape:path-effect
+       effect="fillet_chamfer"
+       id="path-effect2577"
+       is_visible="true"
+       lpeversion="1"
+       satellites_param="F,0,0,1,0,0.89263027,0,1 @ F,0,0,1,0,2.7447164,0,1 @ F,0,0,1,0,0.99673349,0,1 @ 
F,0,0,1,0,0.91386553,0,1"
+       unit="px"
+       method="auto"
+       mode="F"
+       radius="0"
+       chamfer_steps="1"
+       flexible="false"
+       use_knot_distance="true"
+       apply_no_radius="true"
+       apply_with_radius="true"
+       only_selected="false"
+       hide_knots="false" />
+  </defs>
   <sodipodi:namedview
      id="base"
      pagecolor="#ffffff"
@@ -2165,6 +2183,25 @@
            id="path419" />
       </g>
     </g>
+    <g
+       transform="translate(380,642.51965)"
+       inkscape:label="package sdk development environment runtime"
+       id="g45411">
+      <title
+         id="title45405">builder-sdk</title>
+      <rect
+         style="fill:none"
+         id="rect45407"
+         width="16"
+         height="16"
+         x="59.999992"
+         y="20" />
+      <path
+         id="path45409"
+         
style="color:#000000;overflow:visible;fill:#2e3436;fill-opacity:1;stroke:none;stroke-width:2;enable-background:new"
+         d="M 447.96094 340 C 447.9097 340.00001 447.85762 340.00237 447.80664 340.00781 C 447.4726 
340.04536 447.15232 340.19859 446.91406 340.43555 L 440.41992 346.96289 C 439.8752 347.51739 439.8752 
348.51191 440.41992 349.06641 L 446.94922 355.5918 C 447.50413 356.13612 448.49977 356.13612 449.05469 
355.5918 L 455.58594 349.10156 C 456.15187 348.54449 456.15187 347.51997 455.58594 346.96289 L 449.05469 
340.43555 C 449.02009 340.41021 448.98589 340.38748 448.94922 340.36523 C 448.67757 340.13084 448.31962 
339.99995 447.96094 340 z M 448.02539 343.78516 A 2.7007353 2.7007353 0 0 1 450.12891 344.63086 L 452.50391 
347.15234 A 1.0129652 1.0129652 0 0 1 452.47461 348.57227 L 451.10352 349.9082 A 0.89922183 0.89922183 0 0 1 
449.82031 349.88086 L 448.70117 348.69336 L 446.24414 351.12305 C 445.85364 351.51347 445.22059 351.51347 
444.83008 351.12305 C 444.43966 350.73254 444.43966 350.09949 444.83008 349.70898 L 447.32812 347.23633 L 
446.11719 345.95117 A 0.90716663 0.90716663 0 0 1 446.
 14453 344.67773 L 446.2793 344.54883 A 2.7007353 2.7007353 0 0 1 448.02539 343.78516 z "
+         transform="translate(-380,-320)" />
+    </g>
   </g>
   <g
      inkscape:groupmode="layer"
diff --git a/src/plugins/flatpak/gbp-flatpak-sdk-stage.c b/src/plugins/flatpak/gbp-flatpak-sdk-stage.c
index 79ea5d8aa..80164c812 100644
--- a/src/plugins/flatpak/gbp-flatpak-sdk-stage.c
+++ b/src/plugins/flatpak/gbp-flatpak-sdk-stage.c
@@ -126,7 +126,7 @@ gbp_flatpak_sdk_stage_build_async (IdePipelineStage    *stage,
   ide_pipeline_stage_set_active (stage, TRUE);
 
   notif = ide_notification_new ();
-  ide_notification_set_icon_name (notif, "system-software-install-symbolic");
+  ide_notification_set_icon_name (notif, "builder-sdk-symbolic");
   ide_notification_set_title (notif, _("Updating Necessary SDKs"));
   ide_notification_set_body (notif, _("Builder is updating Software Development Kits necessary for building 
your application."));
   ide_notification_set_has_progress (notif, TRUE);


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