summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-13 13:46:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-13 22:23:49 +0100
commitdc836bf9ee13e505bbfb412b7a173e24cf75f601 (patch)
treebcb9a439e7a446cbae2c76ace2fd2736809298dd /meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch
parent5d921844b4b9cc4c44542c7ad7bbbca652c49ed3 (diff)
downloadpoky-dc836bf9ee13e505bbfb412b7a173e24cf75f601.tar.gz
Revert "adwaita-icon-theme: upgrade 41.0 -> 42.0"
This reverts commit 131b143b6ea37963a0380975718cbf8420e5b87f. Upstream dropped many 'legacy' low res bitmap icons and also plans to phase out 'generic app' icons in the svg format, saying that all apps must carry their own icons. This breaks the icons displayed in sato so revert for now until we have a plan to mitigate that. [YOCTO #14782] (From OE-Core rev: 04603905991ba7e703b07abc16c8a689d94be95d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch')
-rw-r--r--meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch84
1 files changed, 84 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch b/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch
new file mode 100644
index 0000000000..a1d39cf558
--- /dev/null
+++ b/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch
@@ -0,0 +1,84 @@
1From 79da031e9811f3eef34b14cce419be93fea34319 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 13 Jun 2017 18:10:06 +0300
4Subject: [PATCH] Run installation commands as shell jobs
5
6This greatly speeds up installation time on multi-core systems.
7
8Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/merge_requests/39]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10
11---
12 src/fullcolor/Makefile.am | 5 +++--
13 src/spinner/Makefile.am | 7 ++++---
14 src/symbolic/Makefile.am | 11 ++++++-----
15 3 files changed, 13 insertions(+), 10 deletions(-)
16
17diff --git a/src/fullcolor/Makefile.am b/src/fullcolor/Makefile.am
18index d73529b..b7d0808 100644
19--- a/src/fullcolor/Makefile.am
20+++ b/src/fullcolor/Makefile.am
21@@ -9,9 +9,10 @@ install-data-local:
22 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size && find . -name "*.png"`; do \
23 context="`dirname $$file`"; \
24 $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \
25- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \
26+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \
27 done; \
28- done;
29+ done; \
30+ wait
31
32 ## FIXME we should add a way to remove links generated by icon mapping
33 uninstall-local:
34diff --git a/src/spinner/Makefile.am b/src/spinner/Makefile.am
35index c14caf6..322dc0d 100644
36--- a/src/spinner/Makefile.am
37+++ b/src/spinner/Makefile.am
38@@ -24,13 +24,14 @@ install-data-local:
39 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \
40 context="`dirname $$file`"; \
41 $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \
42- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \
43+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \
44 done; \
45 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \
46 context="`dirname $$file`"; \
47 $(mkdir_p) $(DESTDIR)$(themedir)/scalable-up-to-32/$$context; \
48- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32/$$file $(DESTDIR)$(themedir)/scalable-up-to-32/$$file; \
49- done
50+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32/$$file $(DESTDIR)$(themedir)/scalable-up-to-32/$$file & \
51+ done; \
52+ wait
53
54 uninstall-local:
55 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \
56diff --git a/src/symbolic/Makefile.am b/src/symbolic/Makefile.am
57index 957c0ee..e1f8818 100644
58--- a/src/symbolic/Makefile.am
59+++ b/src/symbolic/Makefile.am
60@@ -34,18 +34,19 @@ install-data-local:
61 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \
62 context="`dirname $$file`"; \
63 $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \
64- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \
65+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \
66 done; \
67- done
68+ done; \
69 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable; find . -name "*.svg"`; do \
70 context="`dirname $$file`"; \
71 $(mkdir_p) $(DESTDIR)$(themedir)/scalable/$$context; \
72- $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $(DESTDIR)$(themedir)/scalable/$$file; \
73+ $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $(DESTDIR)$(themedir)/scalable/$$file & \
74 for size in $(symbolic_encode_sizes); do \
75 $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \
76- $(GTK_ENCODE_SYMBOLIC_SVG) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $$size -o $(DESTDIR)$(themedir)/$$size/$$context; \
77+ $(GTK_ENCODE_SYMBOLIC_SVG) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $$size -o $(DESTDIR)$(themedir)/$$size/$$context & \
78 done \
79- done
80+ done; \
81+ wait
82
83 uninstall-local:
84 for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable; find . -name "*.svg"`; do \