[gnome-disk-utility] build: Move the icons' files
- From: Kai Lüke <kailueke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] build: Move the icons' files
- Date: Wed, 15 Nov 2017 02:24:39 +0000 (UTC)
commit 8a276326870894f26dcd21dff5bd0feee11956cf
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Mon Nov 13 19:29:43 2017 +0100
build: Move the icons' files
The icons' files locations are not exactly in their final
installation location.
This patch creates the proper directory tree needed on the
installation process so they do not have to be copied one
by one to the final destination.
https://bugzilla.gnome.org/show_bug.cgi?id=790303
.../icons/hicolor/16x16/{ => apps}/gnome-disks.png | Bin 1090 -> 1090 bytes
.../icons/hicolor/22x22/{ => apps}/gnome-disks.png | Bin 1548 -> 1548 bytes
.../icons/hicolor/24x24/{ => apps}/gnome-disks.png | Bin 1578 -> 1578 bytes
.../hicolor/256x256/{ => apps}/gnome-disks.png | Bin 42032 -> 42032 bytes
.../icons/hicolor/32x32/{ => apps}/gnome-disks.png | Bin 2334 -> 2334 bytes
.../icons/hicolor/48x48/{ => apps}/gnome-disks.png | Bin 3644 -> 3644 bytes
.../gnome-disks-state-standby-symbolic.svg | 0
.../scalable/{ => apps}/gnome-disks-symbolic.svg | 0
data/icons/meson.build | 27 ++-----------------
data/icons/{hicolor => }/src/gnome-disks.svg | 0
10 files changed, 3 insertions(+), 24 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/gnome-disks-state-standby-symbolic.svg
b/data/icons/hicolor/scalable/apps/gnome-disks-state-standby-symbolic.svg
similarity index 100%
rename from data/icons/hicolor/scalable/gnome-disks-state-standby-symbolic.svg
rename to data/icons/hicolor/scalable/apps/gnome-disks-state-standby-symbolic.svg
diff --git a/data/icons/hicolor/scalable/gnome-disks-symbolic.svg
b/data/icons/hicolor/scalable/apps/gnome-disks-symbolic.svg
similarity index 100%
rename from data/icons/hicolor/scalable/gnome-disks-symbolic.svg
rename to data/icons/hicolor/scalable/apps/gnome-disks-symbolic.svg
diff --git a/data/icons/meson.build b/data/icons/meson.build
index 995a551..13e98b3 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -1,25 +1,4 @@
-icon_sizes = [
- '16x16',
- '22x22',
- '24x24',
- '32x32',
- '48x48',
- '256x256'
-]
-
-foreach icon_size: icon_sizes
- install_data(
- 'hicolor/' + icon_size + '/gnome-disks.png',
- install_dir: join_paths(gdu_datadir, 'icons', 'hicolor', icon_size, 'apps')
- )
-endforeach
-
-scalable_icons = files(
- 'hicolor/scalable/gnome-disks-state-standby-symbolic.svg',
- 'hicolor/scalable/gnome-disks-symbolic.svg'
-)
-
-install_data(
- scalable_icons,
- install_dir: join_paths(gdu_datadir, 'icons', 'hicolor', 'scalable', 'apps')
+install_subdir(
+ 'hicolor',
+ install_dir: join_paths(gdu_datadir, 'icons')
)
diff --git a/data/icons/hicolor/src/gnome-disks.svg b/data/icons/src/gnome-disks.svg
similarity index 100%
rename from data/icons/hicolor/src/gnome-disks.svg
rename to data/icons/src/gnome-disks.svg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]