1 |
commit: 54681845a020fd45d53830d764649c1894811fb6 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 22:37:32 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 22:45:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54681845 |
7 |
|
8 |
kde-frameworks/breeze-icons-rcc: Add image-missing icon to theme |
9 |
|
10 |
Hard to believe, but this made GTK applications crash. |
11 |
|
12 |
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=428388 |
13 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
.../breeze-icons-rcc-5.77.0-r1.ebuild | 37 +++++ |
17 |
.../files/breeze-icons-5.77.0-image-missing.patch | 164 +++++++++++++++++++++ |
18 |
2 files changed, 201 insertions(+) |
19 |
|
20 |
diff --git a/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.77.0-r1.ebuild b/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.77.0-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..71807e522dd |
23 |
--- /dev/null |
24 |
+++ b/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.77.0-r1.ebuild |
25 |
@@ -0,0 +1,37 @@ |
26 |
+# Copyright 1999-2021 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=7 |
30 |
+ |
31 |
+KDE_ORG_NAME="breeze-icons" |
32 |
+PVCUT=$(ver_cut 1-2) |
33 |
+inherit cmake kde.org |
34 |
+ |
35 |
+DESCRIPTION="Breeze SVG icon theme binary resource" |
36 |
+LICENSE="LGPL-3" |
37 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
38 |
+IUSE="test" |
39 |
+ |
40 |
+BDEPEND=" |
41 |
+ dev-qt/qtcore:5 |
42 |
+ >=kde-frameworks/extra-cmake-modules-${PVCUT}:5 |
43 |
+ test? ( app-misc/fdupes ) |
44 |
+" |
45 |
+DEPEND="test? ( dev-qt/qttest:5 )" |
46 |
+ |
47 |
+RESTRICT+=" !test? ( test )" |
48 |
+ |
49 |
+PATCHES=( "${FILESDIR}/breeze-icons-${PV}-image-missing.patch" ) |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ cmake_src_prepare |
53 |
+ use test || cmake_comment_add_subdirectory autotests |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local mycmakeargs=( |
58 |
+ -DBINARY_ICONS_RESOURCE=ON |
59 |
+ -DSKIP_INSTALL_ICONS=ON |
60 |
+ ) |
61 |
+ cmake_src_configure |
62 |
+} |
63 |
|
64 |
diff --git a/kde-frameworks/breeze-icons-rcc/files/breeze-icons-5.77.0-image-missing.patch b/kde-frameworks/breeze-icons-rcc/files/breeze-icons-5.77.0-image-missing.patch |
65 |
new file mode 100644 |
66 |
index 00000000000..ac283b4febd |
67 |
--- /dev/null |
68 |
+++ b/kde-frameworks/breeze-icons-rcc/files/breeze-icons-5.77.0-image-missing.patch |
69 |
@@ -0,0 +1,164 @@ |
70 |
+From 408fe187d38ffa6d2883046c30a404062524e2a9 Mon Sep 17 00:00:00 2001 |
71 |
+From: Henry Heino <personalizedrefrigerator@×××××.com> |
72 |
+Date: Sat, 12 Dec 2020 16:37:48 -0800 |
73 |
+Subject: [PATCH] Add image-missing icon to theme |
74 |
+ |
75 |
+Gtk expects an `image-missing` icon to be present. When not present, it |
76 |
+can cause applications to crash. |
77 |
+Fixes issue ID 428388. |
78 |
+--- |
79 |
+ icons-dark/status/16/image-missing.svg | 11 ++++++++++ |
80 |
+ icons-dark/status/22/image-missing.svg | 12 +++++++++++ |
81 |
+ icons-dark/status/64/image-missing.svg | 28 ++++++++++++++++++++++++++ |
82 |
+ icons/status/16/image-missing.svg | 11 ++++++++++ |
83 |
+ icons/status/22/image-missing.svg | 12 +++++++++++ |
84 |
+ icons/status/64/image-missing.svg | 28 ++++++++++++++++++++++++++ |
85 |
+ 6 files changed, 102 insertions(+) |
86 |
+ create mode 100644 icons-dark/status/16/image-missing.svg |
87 |
+ create mode 100644 icons-dark/status/22/image-missing.svg |
88 |
+ create mode 100644 icons-dark/status/64/image-missing.svg |
89 |
+ create mode 100644 icons/status/16/image-missing.svg |
90 |
+ create mode 100644 icons/status/22/image-missing.svg |
91 |
+ create mode 100644 icons/status/64/image-missing.svg |
92 |
+ |
93 |
+diff --git a/icons-dark/status/16/image-missing.svg b/icons-dark/status/16/image-missing.svg |
94 |
+new file mode 100644 |
95 |
+index 00000000..16306dd7 |
96 |
+--- /dev/null |
97 |
++++ b/icons-dark/status/16/image-missing.svg |
98 |
+@@ -0,0 +1,11 @@ |
99 |
++<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> |
100 |
++ <defs> |
101 |
++ <style id="current-color-scheme" type="text/css">.ColorScheme-NegativeText { |
102 |
++ color:#da4453; |
103 |
++ }</style> |
104 |
++ </defs> |
105 |
++ <g transform="translate(-326 -534.36)"> |
106 |
++ <path class="ColorScheme-NegativeText" d="m328 536.36v12h12v-12zm1 1h10v10h-10z" fill="currentColor"/> |
107 |
++ <path d="m336.52 539.25a4 4 45 0 0-5.5367 0.48199 4 4 45 0 0 0.28865 5.5505 4 4 45 0 0 5.5574-0.0967l0.3646-0.41985a4 4 45 0 0-0.67396-5.516zm-0.39361 0.99022a3 3 45 0 1 0.31765 3.8532l-4.1404-4.1404a3 3 45 0 1 3.8228 0.28726zm-4.5299 0.41985 4.1018 4.1018a3 3 45 0 1-3.8228-0.28726 3 3 45 0 1-0.27897-3.8145z" class="ColorScheme-NegativeText" fill="currentColor"/> |
108 |
++ </g> |
109 |
++</svg> |
110 |
+diff --git a/icons-dark/status/22/image-missing.svg b/icons-dark/status/22/image-missing.svg |
111 |
+new file mode 100644 |
112 |
+index 00000000..6f386a60 |
113 |
+--- /dev/null |
114 |
++++ b/icons-dark/status/22/image-missing.svg |
115 |
+@@ -0,0 +1,12 @@ |
116 |
++<svg version="1.1" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg"> |
117 |
++ <defs id="defs1"> |
118 |
++ <style type="text/css" id="current-color-scheme"> |
119 |
++ .ColorScheme-NegativeText { |
120 |
++ color:#da4453; |
121 |
++ } |
122 |
++ </style> |
123 |
++ </defs> |
124 |
++ <g transform="translate(-326 -534.36)"> |
125 |
++ <path transform="translate(326 534.36)" d="m3 5v13h16v-13zm1 1h14v11h-14zm6.4883 0.58398a5.0356 4.8826 0 0 0-4.498 5.1953 5.0356 4.8826 0 0 0 5.1973 4.541 5.0356 4.8826 0 0 0 4.8613-4.8809l-0.048828-0.67578a5.0356 4.8826 0 0 0-5.5117-4.1797zm0.09375 0.96289a4.013 3.9098 0 0 1 4.3926 3.3477l0.03906 0.54102a4.013 3.9098 0 0 1-0.93359 2.5059l-5.5195-5.5215a4.013 3.9098 0 0 1 2.0215-0.87305zm-2.7559 1.5527 5.5078 5.5098a4.013 3.9098 0 0 1-2.1953 0.73438 4.013 3.9098 0 0 1-4.1426-3.6367 4.013 3.9098 0 0 1 0.83008-2.6074z" style="fill:currentColor;fill-opacity:1;stroke:none" class="ColorScheme-NegativeText"/> |
126 |
++ </g> |
127 |
++</svg> |
128 |
+diff --git a/icons-dark/status/64/image-missing.svg b/icons-dark/status/64/image-missing.svg |
129 |
+new file mode 100644 |
130 |
+index 00000000..4ddd57dd |
131 |
+--- /dev/null |
132 |
++++ b/icons-dark/status/64/image-missing.svg |
133 |
+@@ -0,0 +1,28 @@ |
134 |
++<svg version="1.1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
135 |
++ <defs> |
136 |
++ <linearGradient id="a" x2="0" y1="392.36" y2="336.36" gradientTransform="translate(-47.987-332.35)" gradientUnits="userSpaceOnUse"> |
137 |
++ <stop stop-color="#fff" stop-opacity="0" offset="0"/> |
138 |
++ <stop stop-color="#fff" stop-opacity=".2" offset="1"/> |
139 |
++ </linearGradient> |
140 |
++ <linearGradient id="b" x1="40" x2="54" y1="17" y2="31" gradientTransform="translate(.013.016)" gradientUnits="userSpaceOnUse"> |
141 |
++ <stop stop-color="#060606" offset="0"/> |
142 |
++ <stop stop-opacity="0" offset="1"/> |
143 |
++ </linearGradient> |
144 |
++ <path id="c" d="m10.01 61.02v-58h30l14 14v44h-14z"/> |
145 |
++ <radialGradient id="radialGradient11997" cx="16.5" cy="26.5" r="11.5" gradientTransform="matrix(.9167 .91383 -.9167 .91383 41.189 -4.0389)" gradientUnits="userSpaceOnUse"> |
146 |
++ <stop stop-color="#da4453" offset="0"/> |
147 |
++ <stop stop-color="#da4453" offset="1"/> |
148 |
++ </radialGradient> |
149 |
++ </defs> |
150 |
++ <use fill="#cccccc" xlink:href="#c"/> |
151 |
++ <g transform="scale(1-1)" color="#000000" color-rendering="auto" image-rendering="auto" shape-rendering="auto" text-rendering="auto"> |
152 |
++ <rect x="10.01" y="-4.02" width="30" height="1" fill="#fff" opacity=".5"/> |
153 |
++ <rect x="10.01" y="-61.02" width="44" height="1" opacity=".25"/> |
154 |
++ </g> |
155 |
++ <g fill-rule="evenodd"> |
156 |
++ <path d="m54.01 17.02-14-14v14z" fill="#fff" opacity=".5"/> |
157 |
++ <path d="m40.01 17.02 14 14v-14z" fill="url(#b)" opacity=".2"/> |
158 |
++ </g> |
159 |
++ <use fill="url(#a)" xlink:href="#c"/> |
160 |
++ <path d="m42.564 24.747a14.909 14.862 0 0 0-21.084 0 14.909 14.862 0 0 0 0 21.018 14.909 14.862 0 0 0 21.084 0 14.909 14.862 0 0 0 0-21.018zm-2.7125 2.8147a10.942 10.994 65.686 0 1 1.2264 13.98l-15.199-15.151a10.942 10.994 65.686 0 1 13.973 1.1708zm-16.724 1.5689 15.151 15.103a10.942 10.994 65.686 0 1-13.99-1.1566 10.942 10.994 65.686 0 1-1.1602-13.947z" fill="url(#radialGradient11997)" stroke-width="1.2944"/> |
161 |
++</svg> |
162 |
+diff --git a/icons/status/16/image-missing.svg b/icons/status/16/image-missing.svg |
163 |
+new file mode 100644 |
164 |
+index 00000000..16306dd7 |
165 |
+--- /dev/null |
166 |
++++ b/icons/status/16/image-missing.svg |
167 |
+@@ -0,0 +1,11 @@ |
168 |
++<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> |
169 |
++ <defs> |
170 |
++ <style id="current-color-scheme" type="text/css">.ColorScheme-NegativeText { |
171 |
++ color:#da4453; |
172 |
++ }</style> |
173 |
++ </defs> |
174 |
++ <g transform="translate(-326 -534.36)"> |
175 |
++ <path class="ColorScheme-NegativeText" d="m328 536.36v12h12v-12zm1 1h10v10h-10z" fill="currentColor"/> |
176 |
++ <path d="m336.52 539.25a4 4 45 0 0-5.5367 0.48199 4 4 45 0 0 0.28865 5.5505 4 4 45 0 0 5.5574-0.0967l0.3646-0.41985a4 4 45 0 0-0.67396-5.516zm-0.39361 0.99022a3 3 45 0 1 0.31765 3.8532l-4.1404-4.1404a3 3 45 0 1 3.8228 0.28726zm-4.5299 0.41985 4.1018 4.1018a3 3 45 0 1-3.8228-0.28726 3 3 45 0 1-0.27897-3.8145z" class="ColorScheme-NegativeText" fill="currentColor"/> |
177 |
++ </g> |
178 |
++</svg> |
179 |
+diff --git a/icons/status/22/image-missing.svg b/icons/status/22/image-missing.svg |
180 |
+new file mode 100644 |
181 |
+index 00000000..6f386a60 |
182 |
+--- /dev/null |
183 |
++++ b/icons/status/22/image-missing.svg |
184 |
+@@ -0,0 +1,12 @@ |
185 |
++<svg version="1.1" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg"> |
186 |
++ <defs id="defs1"> |
187 |
++ <style type="text/css" id="current-color-scheme"> |
188 |
++ .ColorScheme-NegativeText { |
189 |
++ color:#da4453; |
190 |
++ } |
191 |
++ </style> |
192 |
++ </defs> |
193 |
++ <g transform="translate(-326 -534.36)"> |
194 |
++ <path transform="translate(326 534.36)" d="m3 5v13h16v-13zm1 1h14v11h-14zm6.4883 0.58398a5.0356 4.8826 0 0 0-4.498 5.1953 5.0356 4.8826 0 0 0 5.1973 4.541 5.0356 4.8826 0 0 0 4.8613-4.8809l-0.048828-0.67578a5.0356 4.8826 0 0 0-5.5117-4.1797zm0.09375 0.96289a4.013 3.9098 0 0 1 4.3926 3.3477l0.03906 0.54102a4.013 3.9098 0 0 1-0.93359 2.5059l-5.5195-5.5215a4.013 3.9098 0 0 1 2.0215-0.87305zm-2.7559 1.5527 5.5078 5.5098a4.013 3.9098 0 0 1-2.1953 0.73438 4.013 3.9098 0 0 1-4.1426-3.6367 4.013 3.9098 0 0 1 0.83008-2.6074z" style="fill:currentColor;fill-opacity:1;stroke:none" class="ColorScheme-NegativeText"/> |
195 |
++ </g> |
196 |
++</svg> |
197 |
+diff --git a/icons/status/64/image-missing.svg b/icons/status/64/image-missing.svg |
198 |
+new file mode 100644 |
199 |
+index 00000000..4ddd57dd |
200 |
+--- /dev/null |
201 |
++++ b/icons/status/64/image-missing.svg |
202 |
+@@ -0,0 +1,28 @@ |
203 |
++<svg version="1.1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
204 |
++ <defs> |
205 |
++ <linearGradient id="a" x2="0" y1="392.36" y2="336.36" gradientTransform="translate(-47.987-332.35)" gradientUnits="userSpaceOnUse"> |
206 |
++ <stop stop-color="#fff" stop-opacity="0" offset="0"/> |
207 |
++ <stop stop-color="#fff" stop-opacity=".2" offset="1"/> |
208 |
++ </linearGradient> |
209 |
++ <linearGradient id="b" x1="40" x2="54" y1="17" y2="31" gradientTransform="translate(.013.016)" gradientUnits="userSpaceOnUse"> |
210 |
++ <stop stop-color="#060606" offset="0"/> |
211 |
++ <stop stop-opacity="0" offset="1"/> |
212 |
++ </linearGradient> |
213 |
++ <path id="c" d="m10.01 61.02v-58h30l14 14v44h-14z"/> |
214 |
++ <radialGradient id="radialGradient11997" cx="16.5" cy="26.5" r="11.5" gradientTransform="matrix(.9167 .91383 -.9167 .91383 41.189 -4.0389)" gradientUnits="userSpaceOnUse"> |
215 |
++ <stop stop-color="#da4453" offset="0"/> |
216 |
++ <stop stop-color="#da4453" offset="1"/> |
217 |
++ </radialGradient> |
218 |
++ </defs> |
219 |
++ <use fill="#cccccc" xlink:href="#c"/> |
220 |
++ <g transform="scale(1-1)" color="#000000" color-rendering="auto" image-rendering="auto" shape-rendering="auto" text-rendering="auto"> |
221 |
++ <rect x="10.01" y="-4.02" width="30" height="1" fill="#fff" opacity=".5"/> |
222 |
++ <rect x="10.01" y="-61.02" width="44" height="1" opacity=".25"/> |
223 |
++ </g> |
224 |
++ <g fill-rule="evenodd"> |
225 |
++ <path d="m54.01 17.02-14-14v14z" fill="#fff" opacity=".5"/> |
226 |
++ <path d="m40.01 17.02 14 14v-14z" fill="url(#b)" opacity=".2"/> |
227 |
++ </g> |
228 |
++ <use fill="url(#a)" xlink:href="#c"/> |
229 |
++ <path d="m42.564 24.747a14.909 14.862 0 0 0-21.084 0 14.909 14.862 0 0 0 0 21.018 14.909 14.862 0 0 0 21.084 0 14.909 14.862 0 0 0 0-21.018zm-2.7125 2.8147a10.942 10.994 65.686 0 1 1.2264 13.98l-15.199-15.151a10.942 10.994 65.686 0 1 13.973 1.1708zm-16.724 1.5689 15.151 15.103a10.942 10.994 65.686 0 1-13.99-1.1566 10.942 10.994 65.686 0 1-1.1602-13.947z" fill="url(#radialGradient11997)" stroke-width="1.2944"/> |
230 |
++</svg> |
231 |
+-- |
232 |
+GitLab |
233 |
+ |