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

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