[gnome-sound-recorder/bilelmoussaoui/nightly-branding] nightly: fix win branding & generate a nightly icon



commit 596080b2cff939246b6842c1f5c1975e3cded922
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Tue Jun 2 18:29:00 2020 +0200

    nightly: fix win branding & generate a nightly icon

 .../apps => }/org.gnome.SoundRecorder-symbolic.svg |   0
 .../scalable/apps => }/org.gnome.SoundRecorder.svg |   0
 data/icons/org.gnome.SoundRecorderDevel.svg        | 109 +++++++++++++++++++++
 data/meson.build                                   |   5 +-
 data/ui/window.ui                                  |   3 +
 org.gnome.SoundRecorder.json                       |   1 -
 6 files changed, 114 insertions(+), 4 deletions(-)
---
diff --git a/data/icons/hicolor/symbolic/apps/org.gnome.SoundRecorder-symbolic.svg 
b/data/icons/org.gnome.SoundRecorder-symbolic.svg
similarity index 100%
rename from data/icons/hicolor/symbolic/apps/org.gnome.SoundRecorder-symbolic.svg
rename to data/icons/org.gnome.SoundRecorder-symbolic.svg
diff --git a/data/icons/hicolor/scalable/apps/org.gnome.SoundRecorder.svg 
b/data/icons/org.gnome.SoundRecorder.svg
similarity index 100%
rename from data/icons/hicolor/scalable/apps/org.gnome.SoundRecorder.svg
rename to data/icons/org.gnome.SoundRecorder.svg
diff --git a/data/icons/org.gnome.SoundRecorderDevel.svg b/data/icons/org.gnome.SoundRecorderDevel.svg
new file mode 100644
index 0000000..631f7a8
--- /dev/null
+++ b/data/icons/org.gnome.SoundRecorderDevel.svg
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
+    <defs>
+        <linearGradient id="a" gradientUnits="userSpaceOnUse">
+            <stop offset="0" stop-color="#d5d3cf"/>
+            <stop offset="0.036" stop-color="#e4e1de"/>
+            <stop offset="0.071" stop-color="#d5d3cf"/>
+            <stop offset="0.929" stop-color="#d5d3cf"/>
+            <stop offset="0.964" stop-color="#e4e1de"/>
+            <stop offset="1" stop-color="#d5d3cf"/>
+        </linearGradient>
+        <linearGradient id="b" x1="7.788" x2="119.788" xlink:href="#a" y1="104.00000025" y2="104.00000025"/>
+        <linearGradient id="c" gradientUnits="userSpaceOnUse" x1="99.999998" x2="52.000002" y1="51" y2="51">
+            <stop offset="0" stop-color="#26a269"/>
+            <stop offset="1" stop-color="#26a269" stop-opacity="0"/>
+        </linearGradient>
+        <filter id="d" 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="e">
+            <g filter="url(#d)">
+                <rect fill-opacity="0.623" height="128" width="128"/>
+            </g>
+        </mask>
+        <linearGradient id="f" x1="112.875" x2="53.875" xlink:href="#a" y1="102.87500225" y2="102.87500225"/>
+        <linearGradient id="g" gradientUnits="userSpaceOnUse" x1="17" x2="20.5" y1="92.75" y2="92.75">
+            <stop offset="0" stop-color="#e54b57"/>
+            <stop offset="1" stop-color="#a51d2d"/>
+        </linearGradient>
+        <mask id="h">
+            <g filter="url(#d)">
+                <rect fill-opacity="0.623" height="128" width="128"/>
+            </g>
+        </mask>
+        <clipPath id="i">
+            <rect height="128" width="128"/>
+        </clipPath>
+        <g id="j" clip-path="url(#i)">
+            <path d="m 16 46 h 96 v 2 h -96 z m 0 0" fill="#26a269"/>
+        </g>
+        <clipPath id="k">
+            <rect height="128" width="128"/>
+        </clipPath>
+        <clipPath id="l">
+            <rect height="128" width="128"/>
+        </clipPath>
+        <mask id="m">
+            <g clip-path="url(#l)" filter="url(#d)">
+                <g clip-path="url(#k)">
+                    <path d="m 15.789062 28 h 96 c 4.417969 0 8 3.582031 8 8 v 70 c 0 4.417969 -3.582031 8 
-8 8 h -96 c -4.417968 0 -8 -3.582031 -8 -8 v -70 c 0 -4.417969 3.582032 -8 8 -8 z m 0 0" fill="#f6f5f4"/>
+                    <path d="m 7.789062 104 v 4 c 0 4.433594 3.566407 8 8 8 h 96 c 4.429688 0 8 -3.566406 8 
-8 v -4 c 0 4.433594 -3.570312 8 -8 8 h -96 c -4.433593 0 -8 -3.566406 -8 -8 z m 0 0" fill="url(#b)"/>
+                    <path d="m 17.945312 35 h 92.109376 c 1.074218 0 1.945312 0.871094 1.945312 1.945312 v 
20.109376 c 0 1.074218 -0.871094 1.945312 -1.945312 1.945312 h -92.109376 c -1.074218 0 -1.945312 -0.871094 
-1.945312 -1.945312 v -20.109376 c 0 -1.074218 0.871094 -1.945312 1.945312 -1.945312 z m 0 0" fill="#241f31"/>
+                    <path d="m 29 35 h 72 v 24 h -72 z m 0 0" fill="url(#c)"/>
+                    <use mask="url(#h)" xlink:href="#j"/>
+                    <path d="m 100.914062 218.996094 h -83.914062" fill="none" stroke="#57e389" 
stroke-linecap="round" stroke-width="2" transform="matrix(1 0 0 1 0 -172)"/>
+                    <path d="m 41 216.011719 v 6.414062 m 8 -5.558593 v 4.699218 m 8 -5.089844 v 5.480469 m 
8 -7.050781 v 8.617188 m 8 -10.964844 v 13.316406 m 8 -10.183594 v 7.050782 m 8 -8.226563 v 9.398437" 
fill="none" stroke="#33d17a" stroke-linecap="round" stroke-width="4" transform="matrix(1 0 0 1 0 -172)"/>
+                    <path d="m 41 218.691406 v 1.046875 m 8 -1.304687 v 1.566406 m 8 -1.167969 v 1.476563 m 
8 -2.660156 v 3.132812 m 8 -4.78125 v 6 m 8 -4.351562 v 3.132812 m 8 -2.738281 v 2.347656" fill="none" 
stroke="#f9f06b" stroke-linecap="round" stroke-width="4" transform="matrix(1 0 0 1 0 -172)"/>
+                    <path d="m 64 64 v 40 h 44.992188 c 0.800781 0 1.566406 -0.316406 2.128906 -0.878906 s 
0.878906 -1.328125 0.878906 -2.128906 v -33.984376 c 0 -0.800781 -0.316406 -1.566406 -0.878906 -2.128906 s 
-1.328125 -0.878906 -2.128906 -0.878906 z m 0 0" fill="url(#f)"/>
+                    <path d="m 64 59 v 40 h 44.992188 c 0.800781 0 1.566406 -0.316406 2.128906 -0.878906 s 
0.878906 -1.328125 0.878906 -2.128906 v -33.984376 c 0 -0.800781 -0.316406 -1.566406 -0.878906 -2.128906 s 
-1.328125 -0.878906 -2.128906 -0.878906 z m 0 0" fill="#f6f6f6"/>
+                    <path d="m 64 64 v 40 h -44.992188 c -0.800781 0 -1.566406 -0.316406 -2.128906 -0.878906 
s -0.878906 -1.328125 -0.878906 -2.128906 v -33.984376 c 0 -0.800781 0.316406 -1.566406 0.878906 -2.128906 s 
1.328125 -0.878906 2.128906 -0.878906 z m 0 0" fill="url(#g)"/>
+                    <path d="m 64 62 v 40 h -44.992188 c -0.800781 0 -1.566406 -0.316406 -2.128906 -0.878906 
s -0.878906 -1.328125 -0.878906 -2.128906 v -33.984376 c 0 -0.800781 0.316406 -1.566406 0.878906 -2.128906 s 
1.328125 -0.878906 2.128906 -0.878906 z m 0 0" fill="#e01b24"/>
+                    <path d="m 48 83 c 0 4.417969 -3.582031 8 -8 8 s -8 -3.582031 -8 -8 s 3.582031 -8 8 -8 s 
8 3.582031 8 8 z m 0 0" fill="#ffffff"/>
+                    <path d="m 72 71 v 16 l 16 -8 z m 16 0 h 5 v 16 h -5 z m 8 0 h 5 v 16 h -5 z m 0 0" 
fill="#241f31"/>
+                    <path d="m 100 35 h 2 v 24 h -2 z m 0 0" fill="#8ff0a4"/>
+                    <path d="m 17.945312 35 c -0.515624 0 -1.011718 0.203125 -1.378906 0.570312 c -0.363281 
0.363282 -0.566406 0.859376 -0.566406 1.375 v 2 c 0 -1.078124 0.867188 -1.945312 1.945312 -1.945312 h 
92.109376 c 1.078124 0 1.945312 0.867188 1.945312 1.945312 v -2 c 0 -0.515624 -0.203125 -1.011718 -0.570312 
-1.375 c -0.363282 -0.367187 -0.859376 -0.570312 -1.375 -0.570312 z m 0 0" fill="#241f31" 
fill-opacity="0.374"/>
+                </g>
+            </g>
+        </mask>
+        <mask id="n">
+            <g filter="url(#d)">
+                <rect fill-opacity="0.8" height="128" width="128"/>
+            </g>
+        </mask>
+        <linearGradient id="o" gradientTransform="matrix(0 0.37 -0.98462 0 295.38501 -30.360001)" 
gradientUnits="userSpaceOnUse" x1="300" x2="428" y1="235" y2="235">
+            <stop offset="0" stop-color="#f9f06b"/>
+            <stop offset="1" stop-color="#f5c211"/>
+        </linearGradient>
+        <clipPath id="p">
+            <rect height="128" width="128"/>
+        </clipPath>
+        <clipPath id="q">
+            <rect height="128" width="128"/>
+        </clipPath>
+    </defs>
+    <path d="m 15.789062 28 h 96 c 4.417969 0 8 3.582031 8 8 v 70 c 0 4.417969 -3.582031 8 -8 8 h -96 c 
-4.417968 0 -8 -3.582031 -8 -8 v -70 c 0 -4.417969 3.582032 -8 8 -8 z m 0 0" fill="#f6f5f4"/>
+    <path d="m 7.789062 104 v 4 c 0 4.433594 3.566407 8 8 8 h 96 c 4.429688 0 8 -3.566406 8 -8 v -4 c 0 
4.433594 -3.570312 8 -8 8 h -96 c -4.433593 0 -8 -3.566406 -8 -8 z m 0 0" fill="url(#b)"/>
+    <path d="m 17.945312 35 h 92.109376 c 1.074218 0 1.945312 0.871094 1.945312 1.945312 v 20.109376 c 0 
1.074218 -0.871094 1.945312 -1.945312 1.945312 h -92.109376 c -1.074218 0 -1.945312 -0.871094 -1.945312 
-1.945312 v -20.109376 c 0 -1.074218 0.871094 -1.945312 1.945312 -1.945312 z m 0 0" fill="#241f31"/>
+    <path d="m 29 35 h 72 v 24 h -72 z m 0 0" fill="url(#c)"/>
+    <use mask="url(#e)" xlink:href="#j"/>
+    <g fill="none" stroke-linecap="round">
+        <path d="m 100.914062 46.996094 h -83.914062" stroke="#57e389" stroke-width="2"/>
+        <path d="m 41 44.011719 v 6.414062 m 8 -5.558593 v 4.699218 m 8 -5.089844 v 5.480469 m 8 -7.050781 v 
8.617188 m 8 -10.964844 v 13.316406 m 8 -10.183594 v 7.050782 m 8 -8.226563 v 9.398437" stroke="#33d17a" 
stroke-width="4"/>
+        <path d="m 41 46.691406 v 1.046875 m 8 -1.304687 v 1.566406 m 8 -1.167969 v 1.476563 m 8 -2.660156 v 
3.132812 m 8 -4.78125 v 6 m 8 -4.351562 v 3.132812 m 8 -2.738281 v 2.347656" stroke="#f9f06b" 
stroke-width="4"/>
+    </g>
+    <path d="m 64 64 v 40 h 44.992188 c 0.800781 0 1.566406 -0.316406 2.128906 -0.878906 s 0.878906 
-1.328125 0.878906 -2.128906 v -33.984376 c 0 -0.800781 -0.316406 -1.566406 -0.878906 -2.128906 s -1.328125 
-0.878906 -2.128906 -0.878906 z m 0 0" fill="url(#f)"/>
+    <path d="m 64 59 v 40 h 44.992188 c 0.800781 0 1.566406 -0.316406 2.128906 -0.878906 s 0.878906 
-1.328125 0.878906 -2.128906 v -33.984376 c 0 -0.800781 -0.316406 -1.566406 -0.878906 -2.128906 s -1.328125 
-0.878906 -2.128906 -0.878906 z m 0 0" fill="#f6f6f6"/>
+    <path d="m 64 64 v 40 h -44.992188 c -0.800781 0 -1.566406 -0.316406 -2.128906 -0.878906 s -0.878906 
-1.328125 -0.878906 -2.128906 v -33.984376 c 0 -0.800781 0.316406 -1.566406 0.878906 -2.128906 s 1.328125 
-0.878906 2.128906 -0.878906 z m 0 0" fill="url(#g)"/>
+    <path d="m 64 62 v 40 h -44.992188 c -0.800781 0 -1.566406 -0.316406 -2.128906 -0.878906 s -0.878906 
-1.328125 -0.878906 -2.128906 v -33.984376 c 0 -0.800781 0.316406 -1.566406 0.878906 -2.128906 s 1.328125 
-0.878906 2.128906 -0.878906 z m 0 0" fill="#e01b24"/>
+    <path d="m 48 83 c 0 4.417969 -3.582031 8 -8 8 s -8 -3.582031 -8 -8 s 3.582031 -8 8 -8 s 8 3.582031 8 8 
z m 0 0" fill="#ffffff"/>
+    <path d="m 72 71 v 16 l 16 -8 z m 16 0 h 5 v 16 h -5 z m 8 0 h 5 v 16 h -5 z m 0 0" fill="#241f31"/>
+    <path d="m 100 35 h 2 v 24 h -2 z m 0 0" fill="#8ff0a4"/>
+    <path d="m 17.945312 35 c -0.515624 0 -1.011718 0.203125 -1.378906 0.570312 c -0.363281 0.363282 
-0.566406 0.859376 -0.566406 1.375 v 2 c 0 -1.078124 0.867188 -1.945312 1.945312 -1.945312 h 92.109376 c 
1.078124 0 1.945312 0.867188 1.945312 1.945312 v -2 c 0 -0.515624 -0.203125 -1.011718 -0.570312 -1.375 c 
-0.363282 -0.367187 -0.859376 -0.570312 -1.375 -0.570312 z m 0 0" fill="#241f31" fill-opacity="0.374"/>
+    <g clip-path="url(#q)" mask="url(#m)">
+        <g clip-path="url(#p)" mask="url(#n)">
+            <path d="m 128 80.640625 v 47.359375 h -128 v -47.359375 z m 0 0" fill="url(#o)"/>
+            <path d="m 13.308594 80.640625 l 47.355468 47.359375 h 21.214844 l -47.359375 -47.359375 z m 
42.421875 0 l 47.363281 47.359375 h 21.214844 l -47.363282 -47.359375 z m 42.429687 0 l 29.839844 29.839844 v 
-21.210938 l -8.628906 -8.628906 z m -98.160156 7.90625 v 21.214844 l 18.238281 18.238281 h 21.214844 z m 0 
0"/>
+        </g>
+    </g>
+</svg>
diff --git a/data/meson.build b/data/meson.build
index df7b30a..32ba750 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,13 +1,12 @@
 icon_dir = join_paths('icons', 'hicolor', 'scalable', 'apps')
 install_data(
-  join_paths(icon_dir, 'org.gnome.SoundRecorder.svg'),
-  rename: '@0@.svg'.format(application_id),
+  join_paths('icons', '@0@.svg'.format(application_id)),
   install_dir: join_paths(sound_recorder_datadir, icon_dir)
 )
 
 icon_dir = join_paths('icons', 'hicolor', 'symbolic', 'apps')
 install_data(
-  join_paths(icon_dir, 'org.gnome.SoundRecorder-symbolic.svg'),
+  join_paths('icons', 'org.gnome.SoundRecorder-symbolic.svg'),
   rename: '@0 -symbolic svg'.format(application_id),
   install_dir: join_paths(sound_recorder_datadir, icon_dir)
 )
diff --git a/data/ui/window.ui b/data/ui/window.ui
index 7238c34..3589580 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -21,6 +21,9 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="show_close_button">True</property>
+            <style>
+              <class name="titlebar" />
+            </style>
             <child>
               <object class="GtkButton" id="recordStartButton">
                 <property name="visible">True</property>
diff --git a/org.gnome.SoundRecorder.json b/org.gnome.SoundRecorder.json
index ddfd97a..661f9b0 100644
--- a/org.gnome.SoundRecorder.json
+++ b/org.gnome.SoundRecorder.json
@@ -7,7 +7,6 @@
     "tags" : [
         "nightly"
     ],
-    "desktop-file-name-prefix" : "(Nightly) ",
     "finish-args" : [
         "--share=ipc",
         "--socket=x11",


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