summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-01 23:37:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-01 23:45:33 +0100
commit7da0b2832e16a611209ac691ebbcbf33d0ed216f (patch)
tree721d6cbf0d273099b346a21f17a02784f04bb49f /kde-frameworks
parentmedia-libs/bcg729: run tests (diff)
downloadgentoo-7da0b2832e16a611209ac691ebbcbf33d0ed216f.tar.gz
gentoo-7da0b2832e16a611209ac691ebbcbf33d0ed216f.tar.bz2
gentoo-7da0b2832e16a611209ac691ebbcbf33d0ed216f.zip
kde-frameworks/breeze-icons: Add image-missing icon to theme
Hard to believe, but this made GTK applications crash. KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=428388 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/breeze-icons/breeze-icons-5.77.0-r1.ebuild43
-rw-r--r--kde-frameworks/breeze-icons/files/breeze-icons-5.77.0-image-missing.patch164
2 files changed, 207 insertions, 0 deletions
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
new file mode 100644
index 000000000000..bb4f6fc78bc5
--- /dev/null
+++ b/kde-frameworks/breeze-icons/breeze-icons-5.77.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PVCUT=$(ver_cut 1-2)
+inherit cmake kde.org xdg-utils
+
+DESCRIPTION="Breeze SVG icon theme"
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="test"
+
+BDEPEND="
+ dev-qt/qtcore:5
+ >=kde-frameworks/extra-cmake-modules-${PVCUT}:5
+ test? ( app-misc/fdupes )
+"
+DEPEND="test? ( dev-qt/qttest:5 )"
+
+RESTRICT+=" !test? ( test )"
+
+PATCHES=( "${FILESDIR}/${P}-image-missing.patch" )
+
+src_prepare() {
+ cmake_src_prepare
+ use test || cmake_comment_add_subdirectory autotests
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBINARY_ICONS_RESOURCE=OFF
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
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
new file mode 100644
index 000000000000..ac283b4febdb
--- /dev/null
+++ b/kde-frameworks/breeze-icons/files/breeze-icons-5.77.0-image-missing.patch
@@ -0,0 +1,164 @@
+From 408fe187d38ffa6d2883046c30a404062524e2a9 Mon Sep 17 00:00:00 2001
+From: Henry Heino <personalizedrefrigerator@gmail.com>
+Date: Sat, 12 Dec 2020 16:37:48 -0800
+Subject: [PATCH] Add image-missing icon to theme
+
+Gtk expects an `image-missing` icon to be present. When not present, it
+can cause applications to crash.
+Fixes issue ID 428388.
+---
+ icons-dark/status/16/image-missing.svg | 11 ++++++++++
+ icons-dark/status/22/image-missing.svg | 12 +++++++++++
+ icons-dark/status/64/image-missing.svg | 28 ++++++++++++++++++++++++++
+ icons/status/16/image-missing.svg | 11 ++++++++++
+ icons/status/22/image-missing.svg | 12 +++++++++++
+ icons/status/64/image-missing.svg | 28 ++++++++++++++++++++++++++
+ 6 files changed, 102 insertions(+)
+ create mode 100644 icons-dark/status/16/image-missing.svg
+ create mode 100644 icons-dark/status/22/image-missing.svg
+ create mode 100644 icons-dark/status/64/image-missing.svg
+ create mode 100644 icons/status/16/image-missing.svg
+ create mode 100644 icons/status/22/image-missing.svg
+ create mode 100644 icons/status/64/image-missing.svg
+
+diff --git a/icons-dark/status/16/image-missing.svg b/icons-dark/status/16/image-missing.svg
+new file mode 100644
+index 00000000..16306dd7
+--- /dev/null
++++ b/icons-dark/status/16/image-missing.svg
+@@ -0,0 +1,11 @@
++<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
++ <defs>
++ <style id="current-color-scheme" type="text/css">.ColorScheme-NegativeText {
++ color:#da4453;
++ }</style>
++ </defs>
++ <g transform="translate(-326 -534.36)">
++ <path class="ColorScheme-NegativeText" d="m328 536.36v12h12v-12zm1 1h10v10h-10z" fill="currentColor"/>
++ <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"/>
++ </g>
++</svg>
+diff --git a/icons-dark/status/22/image-missing.svg b/icons-dark/status/22/image-missing.svg
+new file mode 100644
+index 00000000..6f386a60
+--- /dev/null
++++ b/icons-dark/status/22/image-missing.svg
+@@ -0,0 +1,12 @@
++<svg version="1.1" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">
++ <defs id="defs1">
++ <style type="text/css" id="current-color-scheme">
++ .ColorScheme-NegativeText {
++ color:#da4453;
++ }
++ </style>
++ </defs>
++ <g transform="translate(-326 -534.36)">
++ <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"/>
++ </g>
++</svg>
+diff --git a/icons-dark/status/64/image-missing.svg b/icons-dark/status/64/image-missing.svg
+new file mode 100644
+index 00000000..4ddd57dd
+--- /dev/null
++++ b/icons-dark/status/64/image-missing.svg
+@@ -0,0 +1,28 @@
++<svg version="1.1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
++ <defs>
++ <linearGradient id="a" x2="0" y1="392.36" y2="336.36" gradientTransform="translate(-47.987-332.35)" gradientUnits="userSpaceOnUse">
++ <stop stop-color="#fff" stop-opacity="0" offset="0"/>
++ <stop stop-color="#fff" stop-opacity=".2" offset="1"/>
++ </linearGradient>
++ <linearGradient id="b" x1="40" x2="54" y1="17" y2="31" gradientTransform="translate(.013.016)" gradientUnits="userSpaceOnUse">
++ <stop stop-color="#060606" offset="0"/>
++ <stop stop-opacity="0" offset="1"/>
++ </linearGradient>
++ <path id="c" d="m10.01 61.02v-58h30l14 14v44h-14z"/>
++ <radialGradient id="radialGradient11997" cx="16.5" cy="26.5" r="11.5" gradientTransform="matrix(.9167 .91383 -.9167 .91383 41.189 -4.0389)" gradientUnits="userSpaceOnUse">
++ <stop stop-color="#da4453" offset="0"/>
++ <stop stop-color="#da4453" offset="1"/>
++ </radialGradient>
++ </defs>
++ <use fill="#cccccc" xlink:href="#c"/>
++ <g transform="scale(1-1)" color="#000000" color-rendering="auto" image-rendering="auto" shape-rendering="auto" text-rendering="auto">
++ <rect x="10.01" y="-4.02" width="30" height="1" fill="#fff" opacity=".5"/>
++ <rect x="10.01" y="-61.02" width="44" height="1" opacity=".25"/>
++ </g>
++ <g fill-rule="evenodd">
++ <path d="m54.01 17.02-14-14v14z" fill="#fff" opacity=".5"/>
++ <path d="m40.01 17.02 14 14v-14z" fill="url(#b)" opacity=".2"/>
++ </g>
++ <use fill="url(#a)" xlink:href="#c"/>
++ <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"/>
++</svg>
+diff --git a/icons/status/16/image-missing.svg b/icons/status/16/image-missing.svg
+new file mode 100644
+index 00000000..16306dd7
+--- /dev/null
++++ b/icons/status/16/image-missing.svg
+@@ -0,0 +1,11 @@
++<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
++ <defs>
++ <style id="current-color-scheme" type="text/css">.ColorScheme-NegativeText {
++ color:#da4453;
++ }</style>
++ </defs>
++ <g transform="translate(-326 -534.36)">
++ <path class="ColorScheme-NegativeText" d="m328 536.36v12h12v-12zm1 1h10v10h-10z" fill="currentColor"/>
++ <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"/>
++ </g>
++</svg>
+diff --git a/icons/status/22/image-missing.svg b/icons/status/22/image-missing.svg
+new file mode 100644
+index 00000000..6f386a60
+--- /dev/null
++++ b/icons/status/22/image-missing.svg
+@@ -0,0 +1,12 @@
++<svg version="1.1" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">
++ <defs id="defs1">
++ <style type="text/css" id="current-color-scheme">
++ .ColorScheme-NegativeText {
++ color:#da4453;
++ }
++ </style>
++ </defs>
++ <g transform="translate(-326 -534.36)">
++ <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"/>
++ </g>
++</svg>
+diff --git a/icons/status/64/image-missing.svg b/icons/status/64/image-missing.svg
+new file mode 100644
+index 00000000..4ddd57dd
+--- /dev/null
++++ b/icons/status/64/image-missing.svg
+@@ -0,0 +1,28 @@
++<svg version="1.1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
++ <defs>
++ <linearGradient id="a" x2="0" y1="392.36" y2="336.36" gradientTransform="translate(-47.987-332.35)" gradientUnits="userSpaceOnUse">
++ <stop stop-color="#fff" stop-opacity="0" offset="0"/>
++ <stop stop-color="#fff" stop-opacity=".2" offset="1"/>
++ </linearGradient>
++ <linearGradient id="b" x1="40" x2="54" y1="17" y2="31" gradientTransform="translate(.013.016)" gradientUnits="userSpaceOnUse">
++ <stop stop-color="#060606" offset="0"/>
++ <stop stop-opacity="0" offset="1"/>
++ </linearGradient>
++ <path id="c" d="m10.01 61.02v-58h30l14 14v44h-14z"/>
++ <radialGradient id="radialGradient11997" cx="16.5" cy="26.5" r="11.5" gradientTransform="matrix(.9167 .91383 -.9167 .91383 41.189 -4.0389)" gradientUnits="userSpaceOnUse">
++ <stop stop-color="#da4453" offset="0"/>
++ <stop stop-color="#da4453" offset="1"/>
++ </radialGradient>
++ </defs>
++ <use fill="#cccccc" xlink:href="#c"/>
++ <g transform="scale(1-1)" color="#000000" color-rendering="auto" image-rendering="auto" shape-rendering="auto" text-rendering="auto">
++ <rect x="10.01" y="-4.02" width="30" height="1" fill="#fff" opacity=".5"/>
++ <rect x="10.01" y="-61.02" width="44" height="1" opacity=".25"/>
++ </g>
++ <g fill-rule="evenodd">
++ <path d="m54.01 17.02-14-14v14z" fill="#fff" opacity=".5"/>
++ <path d="m40.01 17.02 14 14v-14z" fill="url(#b)" opacity=".2"/>
++ </g>
++ <use fill="url(#a)" xlink:href="#c"/>
++ <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"/>
++</svg>
+--
+GitLab
+