1 |
commit: 7da0b2832e16a611209ac691ebbcbf33d0ed216f |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 22:37:19 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=7da0b283 |
7 |
|
8 |
kde-frameworks/breeze-icons: 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/breeze-icons-5.77.0-r1.ebuild | 43 ++++++ |
17 |
.../files/breeze-icons-5.77.0-image-missing.patch | 164 +++++++++++++++++++++ |
18 |
2 files changed, 207 insertions(+) |
19 |
|
20 |
diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.77.0-r1.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.77.0-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..bb4f6fc78bc |
23 |
--- /dev/null |
24 |
+++ b/kde-frameworks/breeze-icons/breeze-icons-5.77.0-r1.ebuild |
25 |
@@ -0,0 +1,43 @@ |
26 |
+# Copyright 1999-2021 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=7 |
30 |
+ |
31 |
+PVCUT=$(ver_cut 1-2) |
32 |
+inherit cmake kde.org xdg-utils |
33 |
+ |
34 |
+DESCRIPTION="Breeze SVG icon theme" |
35 |
+LICENSE="LGPL-3" |
36 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
37 |
+IUSE="test" |
38 |
+ |
39 |
+BDEPEND=" |
40 |
+ dev-qt/qtcore:5 |
41 |
+ >=kde-frameworks/extra-cmake-modules-${PVCUT}:5 |
42 |
+ test? ( app-misc/fdupes ) |
43 |
+" |
44 |
+DEPEND="test? ( dev-qt/qttest:5 )" |
45 |
+ |
46 |
+RESTRICT+=" !test? ( test )" |
47 |
+ |
48 |
+PATCHES=( "${FILESDIR}/${P}-image-missing.patch" ) |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ cmake_src_prepare |
52 |
+ use test || cmake_comment_add_subdirectory autotests |
53 |
+} |
54 |
+ |
55 |
+src_configure() { |
56 |
+ local mycmakeargs=( |
57 |
+ -DBINARY_ICONS_RESOURCE=OFF |
58 |
+ ) |
59 |
+ cmake_src_configure |
60 |
+} |
61 |
+ |
62 |
+pkg_postinst() { |
63 |
+ xdg_icon_cache_update |
64 |
+} |
65 |
+ |
66 |
+pkg_postrm() { |
67 |
+ xdg_icon_cache_update |
68 |
+} |
69 |
|
70 |
diff --git a/kde-frameworks/breeze-icons/files/breeze-icons-5.77.0-image-missing.patch b/kde-frameworks/breeze-icons/files/breeze-icons-5.77.0-image-missing.patch |
71 |
new file mode 100644 |
72 |
index 00000000000..ac283b4febd |
73 |
--- /dev/null |
74 |
+++ b/kde-frameworks/breeze-icons/files/breeze-icons-5.77.0-image-missing.patch |
75 |
@@ -0,0 +1,164 @@ |
76 |
+From 408fe187d38ffa6d2883046c30a404062524e2a9 Mon Sep 17 00:00:00 2001 |
77 |
+From: Henry Heino <personalizedrefrigerator@×××××.com> |
78 |
+Date: Sat, 12 Dec 2020 16:37:48 -0800 |
79 |
+Subject: [PATCH] Add image-missing icon to theme |
80 |
+ |
81 |
+Gtk expects an `image-missing` icon to be present. When not present, it |
82 |
+can cause applications to crash. |
83 |
+Fixes issue ID 428388. |
84 |
+--- |
85 |
+ icons-dark/status/16/image-missing.svg | 11 ++++++++++ |
86 |
+ icons-dark/status/22/image-missing.svg | 12 +++++++++++ |
87 |
+ icons-dark/status/64/image-missing.svg | 28 ++++++++++++++++++++++++++ |
88 |
+ icons/status/16/image-missing.svg | 11 ++++++++++ |
89 |
+ icons/status/22/image-missing.svg | 12 +++++++++++ |
90 |
+ icons/status/64/image-missing.svg | 28 ++++++++++++++++++++++++++ |
91 |
+ 6 files changed, 102 insertions(+) |
92 |
+ create mode 100644 icons-dark/status/16/image-missing.svg |
93 |
+ create mode 100644 icons-dark/status/22/image-missing.svg |
94 |
+ create mode 100644 icons-dark/status/64/image-missing.svg |
95 |
+ create mode 100644 icons/status/16/image-missing.svg |
96 |
+ create mode 100644 icons/status/22/image-missing.svg |
97 |
+ create mode 100644 icons/status/64/image-missing.svg |
98 |
+ |
99 |
+diff --git a/icons-dark/status/16/image-missing.svg b/icons-dark/status/16/image-missing.svg |
100 |
+new file mode 100644 |
101 |
+index 00000000..16306dd7 |
102 |
+--- /dev/null |
103 |
++++ b/icons-dark/status/16/image-missing.svg |
104 |
+@@ -0,0 +1,11 @@ |
105 |
++<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> |
106 |
++ <defs> |
107 |
++ <style id="current-color-scheme" type="text/css">.ColorScheme-NegativeText { |
108 |
++ color:#da4453; |
109 |
++ }</style> |
110 |
++ </defs> |
111 |
++ <g transform="translate(-326 -534.36)"> |
112 |
++ <path class="ColorScheme-NegativeText" d="m328 536.36v12h12v-12zm1 1h10v10h-10z" fill="currentColor"/> |
113 |
++ <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"/> |
114 |
++ </g> |
115 |
++</svg> |
116 |
+diff --git a/icons-dark/status/22/image-missing.svg b/icons-dark/status/22/image-missing.svg |
117 |
+new file mode 100644 |
118 |
+index 00000000..6f386a60 |
119 |
+--- /dev/null |
120 |
++++ b/icons-dark/status/22/image-missing.svg |
121 |
+@@ -0,0 +1,12 @@ |
122 |
++<svg version="1.1" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg"> |
123 |
++ <defs id="defs1"> |
124 |
++ <style type="text/css" id="current-color-scheme"> |
125 |
++ .ColorScheme-NegativeText { |
126 |
++ color:#da4453; |
127 |
++ } |
128 |
++ </style> |
129 |
++ </defs> |
130 |
++ <g transform="translate(-326 -534.36)"> |
131 |
++ <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"/> |
132 |
++ </g> |
133 |
++</svg> |
134 |
+diff --git a/icons-dark/status/64/image-missing.svg b/icons-dark/status/64/image-missing.svg |
135 |
+new file mode 100644 |
136 |
+index 00000000..4ddd57dd |
137 |
+--- /dev/null |
138 |
++++ b/icons-dark/status/64/image-missing.svg |
139 |
+@@ -0,0 +1,28 @@ |
140 |
++<svg version="1.1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
141 |
++ <defs> |
142 |
++ <linearGradient id="a" x2="0" y1="392.36" y2="336.36" gradientTransform="translate(-47.987-332.35)" gradientUnits="userSpaceOnUse"> |
143 |
++ <stop stop-color="#fff" stop-opacity="0" offset="0"/> |
144 |
++ <stop stop-color="#fff" stop-opacity=".2" offset="1"/> |
145 |
++ </linearGradient> |
146 |
++ <linearGradient id="b" x1="40" x2="54" y1="17" y2="31" gradientTransform="translate(.013.016)" gradientUnits="userSpaceOnUse"> |
147 |
++ <stop stop-color="#060606" offset="0"/> |
148 |
++ <stop stop-opacity="0" offset="1"/> |
149 |
++ </linearGradient> |
150 |
++ <path id="c" d="m10.01 61.02v-58h30l14 14v44h-14z"/> |
151 |
++ <radialGradient id="radialGradient11997" cx="16.5" cy="26.5" r="11.5" gradientTransform="matrix(.9167 .91383 -.9167 .91383 41.189 -4.0389)" gradientUnits="userSpaceOnUse"> |
152 |
++ <stop stop-color="#da4453" offset="0"/> |
153 |
++ <stop stop-color="#da4453" offset="1"/> |
154 |
++ </radialGradient> |
155 |
++ </defs> |
156 |
++ <use fill="#cccccc" xlink:href="#c"/> |
157 |
++ <g transform="scale(1-1)" color="#000000" color-rendering="auto" image-rendering="auto" shape-rendering="auto" text-rendering="auto"> |
158 |
++ <rect x="10.01" y="-4.02" width="30" height="1" fill="#fff" opacity=".5"/> |
159 |
++ <rect x="10.01" y="-61.02" width="44" height="1" opacity=".25"/> |
160 |
++ </g> |
161 |
++ <g fill-rule="evenodd"> |
162 |
++ <path d="m54.01 17.02-14-14v14z" fill="#fff" opacity=".5"/> |
163 |
++ <path d="m40.01 17.02 14 14v-14z" fill="url(#b)" opacity=".2"/> |
164 |
++ </g> |
165 |
++ <use fill="url(#a)" xlink:href="#c"/> |
166 |
++ <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"/> |
167 |
++</svg> |
168 |
+diff --git a/icons/status/16/image-missing.svg b/icons/status/16/image-missing.svg |
169 |
+new file mode 100644 |
170 |
+index 00000000..16306dd7 |
171 |
+--- /dev/null |
172 |
++++ b/icons/status/16/image-missing.svg |
173 |
+@@ -0,0 +1,11 @@ |
174 |
++<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> |
175 |
++ <defs> |
176 |
++ <style id="current-color-scheme" type="text/css">.ColorScheme-NegativeText { |
177 |
++ color:#da4453; |
178 |
++ }</style> |
179 |
++ </defs> |
180 |
++ <g transform="translate(-326 -534.36)"> |
181 |
++ <path class="ColorScheme-NegativeText" d="m328 536.36v12h12v-12zm1 1h10v10h-10z" fill="currentColor"/> |
182 |
++ <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"/> |
183 |
++ </g> |
184 |
++</svg> |
185 |
+diff --git a/icons/status/22/image-missing.svg b/icons/status/22/image-missing.svg |
186 |
+new file mode 100644 |
187 |
+index 00000000..6f386a60 |
188 |
+--- /dev/null |
189 |
++++ b/icons/status/22/image-missing.svg |
190 |
+@@ -0,0 +1,12 @@ |
191 |
++<svg version="1.1" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg"> |
192 |
++ <defs id="defs1"> |
193 |
++ <style type="text/css" id="current-color-scheme"> |
194 |
++ .ColorScheme-NegativeText { |
195 |
++ color:#da4453; |
196 |
++ } |
197 |
++ </style> |
198 |
++ </defs> |
199 |
++ <g transform="translate(-326 -534.36)"> |
200 |
++ <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"/> |
201 |
++ </g> |
202 |
++</svg> |
203 |
+diff --git a/icons/status/64/image-missing.svg b/icons/status/64/image-missing.svg |
204 |
+new file mode 100644 |
205 |
+index 00000000..4ddd57dd |
206 |
+--- /dev/null |
207 |
++++ b/icons/status/64/image-missing.svg |
208 |
+@@ -0,0 +1,28 @@ |
209 |
++<svg version="1.1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
210 |
++ <defs> |
211 |
++ <linearGradient id="a" x2="0" y1="392.36" y2="336.36" gradientTransform="translate(-47.987-332.35)" gradientUnits="userSpaceOnUse"> |
212 |
++ <stop stop-color="#fff" stop-opacity="0" offset="0"/> |
213 |
++ <stop stop-color="#fff" stop-opacity=".2" offset="1"/> |
214 |
++ </linearGradient> |
215 |
++ <linearGradient id="b" x1="40" x2="54" y1="17" y2="31" gradientTransform="translate(.013.016)" gradientUnits="userSpaceOnUse"> |
216 |
++ <stop stop-color="#060606" offset="0"/> |
217 |
++ <stop stop-opacity="0" offset="1"/> |
218 |
++ </linearGradient> |
219 |
++ <path id="c" d="m10.01 61.02v-58h30l14 14v44h-14z"/> |
220 |
++ <radialGradient id="radialGradient11997" cx="16.5" cy="26.5" r="11.5" gradientTransform="matrix(.9167 .91383 -.9167 .91383 41.189 -4.0389)" gradientUnits="userSpaceOnUse"> |
221 |
++ <stop stop-color="#da4453" offset="0"/> |
222 |
++ <stop stop-color="#da4453" offset="1"/> |
223 |
++ </radialGradient> |
224 |
++ </defs> |
225 |
++ <use fill="#cccccc" xlink:href="#c"/> |
226 |
++ <g transform="scale(1-1)" color="#000000" color-rendering="auto" image-rendering="auto" shape-rendering="auto" text-rendering="auto"> |
227 |
++ <rect x="10.01" y="-4.02" width="30" height="1" fill="#fff" opacity=".5"/> |
228 |
++ <rect x="10.01" y="-61.02" width="44" height="1" opacity=".25"/> |
229 |
++ </g> |
230 |
++ <g fill-rule="evenodd"> |
231 |
++ <path d="m54.01 17.02-14-14v14z" fill="#fff" opacity=".5"/> |
232 |
++ <path d="m40.01 17.02 14 14v-14z" fill="url(#b)" opacity=".2"/> |
233 |
++ </g> |
234 |
++ <use fill="url(#a)" xlink:href="#c"/> |
235 |
++ <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"/> |
236 |
++</svg> |
237 |
+-- |
238 |
+GitLab |
239 |
+ |