Blame SOURCES/gnome-boxes-unbreak-the-icon-installation.patch

01d300
From e8b9d5ca5ebed5f2e076e6e6c975ec37efc21c5b Mon Sep 17 00:00:00 2001
01d300
From: Debarshi Ray <debarshir@gnome.org>
01d300
Date: Fri, 8 Jun 2018 12:42:49 +0200
01d300
Subject: [PATCH] build: Unbreak the icon installation in gnome-3-28
01d300
01d300
The icons were getting directly copied to $data_dir/icons without
01d300
retaining the directory hierarchy inside.
01d300
01d300
Fallout from d2410d0959094dee8cc3e1276b255e8fb991fe31
01d300
01d300
It was also broken in master, but was fixed by
01d300
c115f5bfb56aa9fe42356c5f4f9ee87f6c87f454 and
01d300
578707e9924c32a808e12c2830f18156ccb109f6
01d300
01d300
https://gitlab.gnome.org/GNOME/gnome-boxes/issues/217
01d300
---
01d300
 data/meson.build | 26 +-------------------------
01d300
 1 file changed, 1 insertion(+), 25 deletions(-)
01d300
01d300
diff --git a/data/meson.build b/data/meson.build
01d300
index 847734e59715..9f1c4b482356 100644
01d300
--- a/data/meson.build
01d300
+++ b/data/meson.build
01d300
@@ -1,28 +1,4 @@
01d300
-icondir = join_paths(data_dir, 'icons')
01d300
-
01d300
-install_data('icons/hicolor/16x16/apps/org.gnome.Boxes.png',
01d300
-  install_dir: icondir,
01d300
-)
01d300
-
01d300
-install_data('icons/hicolor/24x24/apps/org.gnome.Boxes.png',
01d300
-  install_dir: icondir,
01d300
-)
01d300
-
01d300
-install_data('icons/hicolor/symbolic/apps/org.gnome.Boxes-symbolic.svg',
01d300
-  install_dir: icondir,
01d300
-)
01d300
-install_data('icons/hicolor/32x32/apps/org.gnome.Boxes.png',
01d300
-  install_dir: icondir,
01d300
-)
01d300
-
01d300
-install_data('icons/hicolor/48x48/apps/org.gnome.Boxes.png',
01d300
-  install_dir: icondir,
01d300
-)
01d300
-
01d300
-install_data('icons/hicolor/256x256/apps/org.gnome.Boxes.png',
01d300
-  install_dir: icondir,
01d300
-)
01d300
-
01d300
+install_subdir('icons/hicolor/', install_dir: join_paths (data_dir, 'icons'))
01d300
 
01d300
 resource_files = files ('gnome-boxes.gresource.xml')
01d300
 resources = gnome.compile_resources ('org.gnome.Boxes',
01d300
-- 
01d300
2.14.4
01d300