[gnome-calendar] icons: Simplify icon management



commit 5d87a8459d19c7e620d7b146b7976742790a5b52
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Sep 30 13:18:41 2019 -0300

    icons: Simplify icon management

 .../apps/org.gnome.Calendar.Devel-symbolic.svg     |  1 +
 data/icons/meson.build                             | 23 +++-------------------
 2 files changed, 4 insertions(+), 20 deletions(-)
---
diff --git a/data/icons/hicolor/symbolic/apps/org.gnome.Calendar.Devel-symbolic.svg 
b/data/icons/hicolor/symbolic/apps/org.gnome.Calendar.Devel-symbolic.svg
new file mode 100644
index 00000000..ed3716b0
--- /dev/null
+++ b/data/icons/hicolor/symbolic/apps/org.gnome.Calendar.Devel-symbolic.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="16" 
height="16"><defs><filter id="a" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" 
height="100%"><feColorMatrix in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 
0"/></filter><mask id="d"><g filter="url(#a)"><path fill-opacity=".542" d="M0 
0h16v16H0z"/></g></mask><clipPath id="b"><path d="M0 0h192v152H0z"/></clipPath><g id="c" clip-path="url(#b)" 
fill="#c0bfbc"><path d="M28 120c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M44 120c0 2.21-1.79 
4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M60 120c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 
0M28 97c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M44 97c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 
4-4 4 1.79 4 4zm0 0M60 97c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M76 97c0 2.21-1.79 4-4 
4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M92 97c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79
  4 4zm0 
 0M108 97c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M44 74c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 
4-4 4 1.79 4 4zm0 0M60 74c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M76 74c0 2.21-1.79 4-4 
4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M92 74c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0M108 
74c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zm0 0"/></g></defs><use xlink:href="#c" 
transform="translate(-160 -24)" mask="url(#d)"/><path d="M4 10h2v2H4zm6 0h2v2h-2zm-3 0h2v2H7zm3-3h2v2h-2zM7 
7h2v2H7zM3.715 1A2.73 2.73 0 0 0 1 3.715v8.57A2.73 2.73 0 0 0 3.715 15h8.57A2.73 2.73 0 0 0 15 
12.285v-8.57A2.73 2.73 0 0 0 12.285 1zM3 6h10v6.285c0 .414-.3.715-.715.715h-8.57A.692.692 0 0 1 3 12.285zm0 
0" fill="#241f31"/></svg>
\ No newline at end of file
diff --git a/data/icons/meson.build b/data/icons/meson.build
index 6e5ee4e2..5e2d1029 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -1,21 +1,4 @@
-symbolic_icondir = join_paths('hicolor', 'symbolic', 'apps')
-
-install_data(
-  join_paths(symbolic_icondir, 'org.gnome.Calendar-symbolic.svg'),
-  install_dir: join_paths(
-    calendar_datadir,
-    join_paths('icons', symbolic_icondir)
-  ),
-  rename: '@0 -symbolic svg'.format(application_id)
-)
-
-icondir = join_paths('hicolor', 'scalable', 'apps')
-
-install_data(
-  join_paths(icondir, 'org.gnome.Calendar.svg'),
-  install_dir: join_paths(
-    calendar_datadir,
-    join_paths('icons', icondir)
-  ),
-  rename: '@0@.svg'.format(application_id)
+install_subdir(
+  'hicolor',
+  install_dir: join_paths(calendar_datadir, 'icons')
 )


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