commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 02/05: grc: use gnuradio icon for grc


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/05: grc: use gnuradio icon for grc
Date: Wed, 5 Aug 2015 15:27:37 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit af3825c2ca689adf4369c6e718faa51fa9e08d0d
Author: Sebastian Koslowski <address@hidden>
Date:   Tue Aug 4 14:16:32 2015 +0200

    grc: use gnuradio icon for grc
---
 grc/freedesktop/CMakeLists.txt                |   2 +
 grc/freedesktop/convert.sh                    |  14 ++
 grc/freedesktop/gnuradio_logo_icon-square.svg | 124 +++++++++++++++
 grc/freedesktop/grc-icon-128.png              | Bin 3570 -> 4758 bytes
 grc/freedesktop/grc-icon-16.png               | Bin 0 -> 537 bytes
 grc/freedesktop/grc-icon-24.png               | Bin 0 -> 840 bytes
 grc/freedesktop/grc-icon-256.png              | Bin 7843 -> 9762 bytes
 grc/freedesktop/grc-icon-256.svg              | 216 --------------------------
 grc/freedesktop/grc-icon-32.png               | Bin 1060 -> 1148 bytes
 grc/freedesktop/grc-icon-48.png               | Bin 1691 -> 1796 bytes
 grc/freedesktop/grc-icon-64.png               | Bin 1893 -> 2355 bytes
 grc/freedesktop/grc_setup_freedesktop.in      |   2 +-
 12 files changed, 141 insertions(+), 217 deletions(-)

diff --git a/grc/freedesktop/CMakeLists.txt b/grc/freedesktop/CMakeLists.txt
index d95fe04..47e836f 100644
--- a/grc/freedesktop/CMakeLists.txt
+++ b/grc/freedesktop/CMakeLists.txt
@@ -26,6 +26,8 @@ install(FILES
     grc-icon-64.png
     grc-icon-48.png
     grc-icon-32.png
+    grc-icon-24.png
+    grc-icon-16.png
     gnuradio-grc.xml
     gnuradio-grc.desktop
     DESTINATION ${grc_freedesktop_path}
diff --git a/grc/freedesktop/convert.sh b/grc/freedesktop/convert.sh
new file mode 100755
index 0000000..e2cba26
--- /dev/null
+++ b/grc/freedesktop/convert.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+SRC="gnuradio_logo_icon-square.svg"
+SIZES="16 24 32 48 64 128 256"
+
+for size in $SIZES
+do
+    inkscape --without-gui \
+        --export-png="grc-icon-$size.png" \
+        --export-area=8.0:8.0:141.316:141.316 \
+        --export-width=$size \
+        --export-height=$size \
+        $SRC;
+done
diff --git a/grc/freedesktop/gnuradio_logo_icon-square.svg 
b/grc/freedesktop/gnuradio_logo_icon-square.svg
new file mode 100644
index 0000000..3b54bf4
--- /dev/null
+++ b/grc/freedesktop/gnuradio_logo_icon-square.svg
@@ -0,0 +1,124 @@
+<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="150"
+   height="150"
+   id="svg3965"
+   version="1.1"
+   inkscape:version="0.48.3.1 r9886"
+   sodipodi:docname="gnuradio_logo_icon.svg">
+  <defs
+     id="defs3967" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="3.959798"
+     inkscape:cx="139.75154"
+     inkscape:cy="47.200773"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1920"
+     inkscape:window-height="1176"
+     inkscape:window-x="0"
+     inkscape:window-y="24"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata3970">
+    <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>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-57.226591,-6.6600272)">
+    <g
+       id="g4684"
+       transform="translate(30,0)">
+      <path
+         class="fil3"
+         d="m 136.1636,73.874976 c 3.50539,3.465 5.25827,7.69571 
5.25827,12.691774 0,4.87524 -1.7426,9.05563 -5.2278,12.54083 -3.4852,3.4852 
-7.64539,5.22779 -12.48024,5.22779 -3.39165,0 -6.44775,-0.82488 
-9.16795,-2.47464 l -6.34075,6.34075 c 3.94548,4.48866 5.91804,9.83941 
5.91804,16.05189 0,6.69649 -2.39351,12.43842 -7.18087,17.22578 -4.78701,4.78736 
-10.5013,7.18087 -17.142875,7.18087 -6.751771,0 -12.535866,-2.38004 
-17.350511,-7.13977 -4.815,-4.75937 -7.222323,-10.51511 -7.222323,-1 [...]
+         id="path3484"
+         inkscape:connector-curvature="0"
+         style="fill:#ff6905;fill-rule:evenodd" />
+      <path
+         class="fil3"
+         d="m 71.293796,36.662816 c 4.548897,-8.03374 13.97622,-13.55421 
24.865865,-13.55421 10.854209,0 20.255669,5.48503 24.821569,13.4759 l 
5.54103,-5.68453 c -6.21354,-9.32279 -17.48799,-15.55547 -30.362599,-15.55547 
-12.967086,0 -24.311338,6.32303 -30.49618,15.7578 l 5.630315,5.56051 z"
+         id="path3486"
+         inkscape:connector-curvature="0"
+         style="fill:#ff6905;fill-rule:evenodd" />
+      <path
+         class="fil3"
+         d="m 96.092693,28.893756 c -9.484725,0 -17.688189,4.48441 
-21.598228,10.99595 l 5.61685,5.5474 c 2.163189,-5.05347 8.501457,-8.71335 
15.981378,-8.71335 7.554687,0 13.944327,3.73358 16.044447,8.86536 l 
5.55449,-5.69835 c -3.91004,-6.51224 -12.1135,-10.99701 -21.598937,-10.99701 z"
+         id="path3488"
+         inkscape:connector-curvature="0"
+         style="fill:#ff6905;fill-rule:evenodd" />
+      <text
+         x="195.22275"
+         y="148.5569"
+         class="fil4 fnt0"
+         id="text3496"
+         
style="font-size:17.76259804px;font-weight:bold;fill:#969594;fill-rule:evenodd;font-family:Harabara"
 />
+      <text
+         x="256.77316"
+         y="148.5569"
+         class="fil4 fnt0"
+         id="text3506"
+         
style="font-size:17.76259804px;font-weight:bold;fill:#969594;fill-rule:evenodd;font-family:Harabara"
 />
+      <text
+         x="279.70544"
+         y="148.5569"
+         class="fil4 fnt0"
+         id="text3510"
+         
style="font-size:17.76259804px;font-weight:bold;fill:#969594;fill-rule:evenodd;font-family:Harabara"
 />
+      <text
+         x="344.62241"
+         y="148.5569"
+         class="fil4 fnt0"
+         id="text3520"
+         
style="font-size:17.76259804px;font-weight:bold;fill:#969594;fill-rule:evenodd;font-family:Harabara"
 />
+      <text
+         x="473.09561"
+         y="148.5569"
+         class="fil4 fnt0"
+         id="text3538"
+         
style="font-size:17.76259804px;font-weight:bold;fill:#969594;fill-rule:evenodd;font-family:Harabara"
 />
+      <text
+         x="548.49011"
+         y="148.5569"
+         class="fil4 fnt0"
+         id="text3550"
+         
style="font-size:17.76259804px;font-weight:bold;fill:#969594;fill-rule:evenodd;font-family:Harabara"
 />
+      <text
+         x="687.89447"
+         y="148.5569"
+         class="fil4 fnt0"
+         id="text3570"
+         
style="font-size:17.76259804px;font-weight:bold;fill:#969594;fill-rule:evenodd;font-family:Harabara"
 />
+    </g>
+  </g>
+</svg>
diff --git a/grc/freedesktop/grc-icon-128.png b/grc/freedesktop/grc-icon-128.png
index d94ef35..13efe80 100644
Binary files a/grc/freedesktop/grc-icon-128.png and 
b/grc/freedesktop/grc-icon-128.png differ
diff --git a/grc/freedesktop/grc-icon-16.png b/grc/freedesktop/grc-icon-16.png
new file mode 100644
index 0000000..bdd1823
Binary files /dev/null and b/grc/freedesktop/grc-icon-16.png differ
diff --git a/grc/freedesktop/grc-icon-24.png b/grc/freedesktop/grc-icon-24.png
new file mode 100644
index 0000000..a124768
Binary files /dev/null and b/grc/freedesktop/grc-icon-24.png differ
diff --git a/grc/freedesktop/grc-icon-256.png b/grc/freedesktop/grc-icon-256.png
index e4e8e54..077688e 100644
Binary files a/grc/freedesktop/grc-icon-256.png and 
b/grc/freedesktop/grc-icon-256.png differ
diff --git a/grc/freedesktop/grc-icon-256.svg b/grc/freedesktop/grc-icon-256.svg
deleted file mode 100644
index 87526d4..0000000
--- a/grc/freedesktop/grc-icon-256.svg
+++ /dev/null
@@ -1,216 +0,0 @@
-<?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://web.resource.org/cc/";
-   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="svg2"
-   sodipodi:version="0.32"
-   inkscape:version="0.44.1"
-   version="1.0"
-   sodipodi:docbase="/home/past/src"
-   sodipodi:docname="grc-icon-v3.svg"
-   inkscape:export-filename="/home/past/src/grc-icon-v3.png"
-   inkscape:export-xdpi="90"
-   inkscape:export-ydpi="90">
-  <defs
-     id="defs4">
-    <linearGradient
-       id="linearGradient3661">
-      <stop
-         style="stop-color:#0012dc;stop-opacity:1;"
-         offset="0"
-         id="stop3663" />
-      <stop
-         style="stop-color:#8b92ff;stop-opacity:0.55371898;"
-         offset="1"
-         id="stop3665" />
-    </linearGradient>
-    <linearGradient
-       inkscape:collect="always"
-       xlink:href="#linearGradient3661"
-       id="linearGradient2801"
-       gradientUnits="userSpaceOnUse"
-       gradientTransform="translate(-162.6648,798.0997)"
-       x1="17.664845"
-       y1="132.0565"
-       x2="157.82524"
-       y2="132.0565" />
-  </defs>
-  <sodipodi:namedview
-     id="base"
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1.0"
-     inkscape:pageopacity="0.0"
-     inkscape:pageshadow="2"
-     inkscape:zoom="2.7382812"
-     inkscape:cx="126.48791"
-     inkscape:cy="128.00013"
-     inkscape:document-units="px"
-     inkscape:current-layer="layer1"
-     showgrid="true"
-     gridoriginx="1px"
-     gridoriginy="1px"
-     gridspacingx="2px"
-     gridspacingy="2px"
-     guidecolor="#00ff0a"
-     guideopacity="0.49803922"
-     inkscape:grid-points="true"
-     inkscape:window-width="1098"
-     inkscape:window-height="904"
-     inkscape:window-x="149"
-     inkscape:window-y="42"
-     showguides="true"
-     inkscape:guide-bbox="true"
-     inkscape:object-points="true"
-     inkscape:object-nodes="true"
-     inkscape:object-bbox="true">
-    <sodipodi:guide
-       orientation="vertical"
-       position="224"
-       id="guide10639" />
-    <sodipodi:guide
-       orientation="vertical"
-       position="227.64729"
-       id="guide10641" />
-    <sodipodi:guide
-       orientation="vertical"
-       position="220"
-       id="guide10643" />
-    <sodipodi:guide
-       orientation="horizontal"
-       position="268.4015"
-       id="guide10645" />
-  </sodipodi:namedview>
-  <metadata
-     id="metadata7">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
-        <cc:license
-           rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/"; />
-        <dc:creator>
-          <cc:Agent>
-            <dc:title>Patrick Strasser &lt;address@hidden&gt;</dc:title>
-          </cc:Agent>
-        </dc:creator>
-        <dc:description>Icon/Symbol for the GNURadio Companion</dc:description>
-        <dc:title>grc-icon.svg</dc:title>
-        <dc:date>2007-02-23</dc:date>
-      </cc:Work>
-      <cc:License
-         rdf:about="http://creativecommons.org/licenses/by-sa/2.5/";>
-        <cc:permits
-           rdf:resource="http://web.resource.org/cc/Reproduction"; />
-        <cc:permits
-           rdf:resource="http://web.resource.org/cc/Distribution"; />
-        <cc:requires
-           rdf:resource="http://web.resource.org/cc/Notice"; />
-        <cc:requires
-           rdf:resource="http://web.resource.org/cc/Attribution"; />
-        <cc:permits
-           rdf:resource="http://web.resource.org/cc/DerivativeWorks"; />
-        <cc:requires
-           rdf:resource="http://web.resource.org/cc/ShareAlike"; />
-      </cc:License>
-    </rdf:RDF>
-  </metadata>
-  <g
-     inkscape:label="Ebene 1"
-     inkscape:groupmode="layer"
-     id="layer1"
-     transform="translate(0,-796.3622)">
-    <g
-       id="g7451"
-       transform="matrix(1.025628,0,0,1.030546,-0.101723,-32.00742)">
-      <path
-         id="rect2760"
-         d="M 4.1981031,916.37787 L 160.00074,916.37787 L 160.00074,1048.3467 
L 4.1981031,1048.3467 L 4.1981031,916.37787 z "
-         
style="fill:white;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:7.78145933;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
 />
-      <g
-         transform="matrix(0.995753,0,0,1.003897,164.8198,-8.972397)"
-         id="g2789"
-         style="stroke-width:8;stroke-miterlimit:4;stroke-dasharray:none">
-        <rect
-           
style="fill:url(#linearGradient2801);fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:7.78288651;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
-           id="rect9020"
-           width="140.1604"
-           height="16.796082"
-           x="-145"
-           y="921.75818" />
-        <path
-           
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:black;stroke-width:7.78288651;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-           d="M -161.50649,938.55428 L -4.8395996,938.55428"
-           id="path9005" />
-      </g>
-    </g>
-    <g
-       id="g5503"
-       transform="matrix(1.028571,0,0,1.172413,-5.14284,-137.9928)">
-      <rect
-         y="800.36212"
-         x="40"
-         height="116.00005"
-         width="140"
-         id="rect4562"
-         
style="fill:#f3c690;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:7.28504848;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
 />
-      <g
-         transform="matrix(0.921053,0,0,1,26.93956,1.859948)"
-         id="g3694">
-        <path
-           
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:black;stroke-width:7.59084845;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-           d="M 44,820.3622 L 136.35974,820.3622"
-           id="path4564" />
-        <path
-           
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:black;stroke-width:7.59084749;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-           d="M 80,811.74976 L 80,828.3622"
-           id="path5451" />
-      </g>
-      <g
-         id="g5499">
-        <rect
-           
style="fill:white;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:7.28504944;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
-           id="rect7223"
-           width="140"
-           height="68.000015"
-           x="40"
-           y="848.36218" />
-        <path
-           
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:black;stroke-width:7.28505039;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-           d="M 57.001362,905.90132 C 88.923615,905.8552 86.182775,867.89142 
95.399136,867.52563 C 104.60967,867.16008 113.73233,867.60291 
124.38688,868.00066 C 137.23411,868.48027 130.39915,906.48027 
162.99863,906.48027"
-           id="path7225"
-           sodipodi:nodetypes="czss" />
-      </g>
-    </g>
-    <rect
-       
style="fill:#b890f3;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:7.99999952;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
-       id="rect14319"
-       width="79.999992"
-       height="64.000023"
-       x="27.999992"
-       y="960.36249" />
-    <rect
-       
style="fill:#f3c690;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:7.99999905;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
-       id="rect15206"
-       width="24.000004"
-       height="24.000004"
-       x="108"
-       y="980.36218" />
-    <path
-       id="path13320"
-       
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:7.99999666;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
-       d="M 220.97574,800.36203 L 220.97574,865.80513 C 236.42474,865.93437 
248.49884,861.19996 248.96304,854.45866 C 249.42721,847.71737 
237.26568,843.20829 221.81667,846.27676 C 206.36767,849.34522 
193.45938,858.02071 192.98843,867.61976 C 192.53101,876.94268 
204.68583,884.63729 220.13479,885.43882 C 235.58379,885.69443 
248.49884,880.72833 248.96304,873.98703 C 249.42721,867.24575 
237.26567,862.73666 221.81666,865.80513 C 206.36766,868.8736 
193.45939,877.54909 192.98843,887.14813 C 192 [...]
-       sodipodi:nodetypes="cccssscssscssscssccc" />
-  </g>
-</svg>
diff --git a/grc/freedesktop/grc-icon-32.png b/grc/freedesktop/grc-icon-32.png
index 1e4f4f6..a345aac 100644
Binary files a/grc/freedesktop/grc-icon-32.png and 
b/grc/freedesktop/grc-icon-32.png differ
diff --git a/grc/freedesktop/grc-icon-48.png b/grc/freedesktop/grc-icon-48.png
index caddc92..c522a5d 100644
Binary files a/grc/freedesktop/grc-icon-48.png and 
b/grc/freedesktop/grc-icon-48.png differ
diff --git a/grc/freedesktop/grc-icon-64.png b/grc/freedesktop/grc-icon-64.png
index fa8e06e..df4f6dc 100644
Binary files a/grc/freedesktop/grc-icon-64.png and 
b/grc/freedesktop/grc-icon-64.png differ
diff --git a/grc/freedesktop/grc_setup_freedesktop.in 
b/grc/freedesktop/grc_setup_freedesktop.in
index 1e35461..87a388e 100644
--- a/grc/freedesktop/grc_setup_freedesktop.in
+++ b/grc/freedesktop/grc_setup_freedesktop.in
@@ -27,7 +27,7 @@
 # @SRCDIR@
 ##################################################
 
-ICON_SIZES="32 48 64 128 256"
+ICON_SIZES="16 24 32 48 64 128 256"
 if [ -n "$2" ]; then
        SRCDIR="$2"
 else



reply via email to

[Prev in Thread] Current Thread [Next in Thread]