[gnome-font-viewer/icons: 18/18] Add an app icon
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-font-viewer/icons: 18/18] Add an app icon
- Date: Fri, 28 Sep 2018 02:01:13 +0000 (UTC)
commit 89ad2bbe0680ddb4a3fe39656cbf08dc91669f54
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 27 20:20:17 2018 -0400
Add an app icon
In the flatpak world, applications are expected to be self-contained,
which includes shipping your own icon.
data/org.gnome.font-viewer-256.png | Bin 0 -> 18139 bytes
data/org.gnome.font-viewer-48.png | Bin 0 -> 1968 bytes
data/org.gnome.font-viewer-symbolic.svg | 5 +++++
meson.build | 23 +++++++++++++++++++++++
4 files changed, 28 insertions(+)
---
diff --git a/data/org.gnome.font-viewer-256.png b/data/org.gnome.font-viewer-256.png
new file mode 100644
index 0000000..2592412
Binary files /dev/null and b/data/org.gnome.font-viewer-256.png differ
diff --git a/data/org.gnome.font-viewer-48.png b/data/org.gnome.font-viewer-48.png
new file mode 100644
index 0000000..8d08aba
Binary files /dev/null and b/data/org.gnome.font-viewer-48.png differ
diff --git a/data/org.gnome.font-viewer-symbolic.svg b/data/org.gnome.font-viewer-symbolic.svg
new file mode 100644
index 0000000..229c634
--- /dev/null
+++ b/data/org.gnome.font-viewer-symbolic.svg
@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
+ <g color="#000" font-weight="400" font-family="sans-serif" white-space="normal" fill="#474747">
+ <path d="M3 5.012v2h1.92c-.055 0 .084.159.084.082v.924H4c-1.716 0-3.03 1.125-3.055 2.484-.012.68.306
1.363.862 1.822.555.46 1.315.7 2.193.7h3.004v-5.93c0-1.171-.887-2.082-2.084-2.082zm1 5.006h1.004v1.005H4c-.52
0-.794-.137-.92-.242-.126-.104-.136-.172-.135-.244.003-.144.085-.52 1.055-.52zM7.996 4v9.023H11c.939 0
1.769-.372 2.299-.959.53-.586.766-1.336.756-2.066a3.079 3.079 0 0 0-.791-2.043C12.737 7.378 11.92 7 11
7H9.996V4zm2 5H11c.422 0
.626.126.787.303.162.177.264.447.268.722.004.276-.089.53-.24.698-.152.167-.356.3-.815.3H9.996z"
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal;marker:none"
overflow="visible"/>
+ </g>
+</svg>
diff --git a/meson.build b/meson.build
index d034517..0618ce3 100644
--- a/meson.build
+++ b/meson.build
@@ -42,6 +42,29 @@ configure_file(output: 'config.h', configuration: config_h)
root_inc = include_directories('.')
+appdata_file = 'org.gnome.font-viewer.appdata.xml'
+i18n.merge_file(appdata_file,
+ input: 'data/' + appdata_file + '.in',
+ output: appdata_file,
+ po_dir: 'po',
+ install: true,
+ install_dir: appdatadir
+)
+
+install_data('data/org.gnome.font-viewer-48.png',
+ install_dir: join_paths(datadir, 'icons', 'hicolor', '48x48', 'apps'),
+ rename: 'org.gnome.font-viewer.png'
+)
+
+install_data('data/org.gnome.font-viewer-256.png',
+ install_dir: join_paths(datadir, 'icons', 'hicolor', '256x256', 'apps'),
+ rename: 'org.gnome.font-viewer.png'
+)
+
+install_data('data/org.gnome.font-viewer-symbolic.svg',
+ install_dir: join_paths(datadir, 'icons', 'hicolor', 'symbolic', 'apps'),
+)
+
subdir('src')
subdir('po')
subdir('data')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]