summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-02-13 23:07:34 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-02-14 00:19:26 +0100
commita7a8f145cae9b34c3260585ba418bd22550d2661 (patch)
tree26d0ce75d2cd7407fa103bc1f50b12d0bf87dde9
parentkde-frameworks/baloo: Sync IndexerConfig on exit (diff)
downloadgentoo-a7a8f145cae9b34c3260585ba418bd22550d2661.tar.gz
gentoo-a7a8f145cae9b34c3260585ba418bd22550d2661.tar.bz2
gentoo-a7a8f145cae9b34c3260585ba418bd22550d2661.zip
kde-frameworks/plasma: Remove hardcoded colors
See also: https://mail.kde.org/pipermail/plasma-devel/2020-February/111114.html Dark panels have white corners KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=417511 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/plasma/files/plasma-5.67.0-remove-hardcoded-colors.patch140
-rw-r--r--kde-frameworks/plasma/plasma-5.67.0-r2.ebuild80
2 files changed, 220 insertions, 0 deletions
diff --git a/kde-frameworks/plasma/files/plasma-5.67.0-remove-hardcoded-colors.patch b/kde-frameworks/plasma/files/plasma-5.67.0-remove-hardcoded-colors.patch
new file mode 100644
index 000000000000..8b408749052a
--- /dev/null
+++ b/kde-frameworks/plasma/files/plasma-5.67.0-remove-hardcoded-colors.patch
@@ -0,0 +1,140 @@
+From 1ed47e7c4188ed0f047dda40093ea0213ae4a433 Mon Sep 17 00:00:00 2001
+From: Niccol Venerandi <niccolo@venerandi.com>
+Date: Wed, 12 Feb 2020 20:12:05 +0100
+Subject: Remove hardcoded colors
+
+Summary:
+Fixes https://www.reddit.com/r/kde/comments/f2mxd3/517_seeing_weird_white_corners_on_my_autohiding/
+
+BUG:417511
+
+Reviewers: ndavis
+
+Reviewed By: ndavis
+
+Subscribers: kde-frameworks-devel
+
+Tags: #frameworks
+
+Differential Revision: https://phabricator.kde.org/D27354
+---
+ .../breeze/translucent/widgets/panel-background.svg | 8 ++++----
+ src/desktoptheme/breeze/widgets/panel-background.svg | 18 +++++++++---------
+ 2 files changed, 13 insertions(+), 13 deletions(-)
+
+diff --git a/src/desktoptheme/breeze/translucent/widgets/panel-background.svg b/src/desktoptheme/breeze/translucent/widgets/panel-background.svg
+index eae58ed..9c9c3dd 100644
+--- a/src/desktoptheme/breeze/translucent/widgets/panel-background.svg
++++ b/src/desktoptheme/breeze/translucent/widgets/panel-background.svg
+@@ -1025,28 +1025,28 @@
+ sodipodi:nodetypes="cccccccccssccc"
+ class="ColorScheme-Background"
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
++ style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
+ d="m 158.49999,954.61232 v -1.37503 -5.5001 -1.37503 h 1.37503 1.37502 4.12508 1.37503 v 1.37503 2.75005 c 0,2.75005 -1.37503,4.12508 -4.12508,4.12508 h -1.37503 -1.37502 z"
+ id="mask-bottomright" />
+ <path
+ sodipodi:nodetypes="cccccccccssccc"
+ class="ColorScheme-Background"
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
++ style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
+ d="m 131,954.6123 v -1.37503 -5.5001 -1.37503 h -1.37503 -1.37502 -4.12508 -1.37503 v 1.37503 2.75005 c 0,2.75005 1.37503,4.12508 4.12508,4.12508 h 1.37503 1.37502 z"
+ id="mask-bottomleft" />
+ <path
+ sodipodi:nodetypes="cccccccccssccc"
+ class="ColorScheme-Background"
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
++ style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
+ d="m 131.00016,910.61202 v 1.37503 5.5001 1.37503 h -1.37503 -1.37502 -4.12508 -1.37503 v -1.37503 -2.75005 c 0,-2.75005 1.37503,-4.12508 4.12508,-4.12508 h 1.37503 1.37502 z"
+ id="mask-topleft" />
+ <path
+ sodipodi:nodetypes="cccccccccssccc"
+ class="ColorScheme-Background"
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
++ style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
+ d="m 158.49998,910.61202 v 1.37503 5.5001 1.37503 h 1.37503 1.37502 4.12508 1.37503 v -1.37503 -2.75005 c 0,-2.75005 -1.37503,-4.12508 -4.12508,-4.12508 h -1.37503 -1.37502 z"
+ id="mask-topright" />
+ <g
+diff --git a/src/desktoptheme/breeze/widgets/panel-background.svg b/src/desktoptheme/breeze/widgets/panel-background.svg
+index 9b9bb99..4f2a832 100644
+--- a/src/desktoptheme/breeze/widgets/panel-background.svg
++++ b/src/desktoptheme/breeze/widgets/panel-background.svg
+@@ -1017,35 +1017,35 @@
+ sodipodi:nodetypes="cccccccccssccc"
+ class="ColorScheme-Background"
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
++ style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
+ d="m 159.49999,954.61234 v -1.37503 -5.5001 -1.37503 h 1.37503 1.37502 4.12508 1.37503 v 1.37503 2.75005 c 0,2.75005 -1.37503,4.12508 -4.12508,4.12508 h -1.37503 -1.37502 z"
+ id="mask-bottomright" />
+ <path
+ sodipodi:nodetypes="cccccccccssccc"
+ class="ColorScheme-Background"
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
++ style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
+ d="m 132,954.61232 v -1.37503 -5.5001 -1.37503 h -1.37503 -1.37502 -4.12508 -1.37503 v 1.37503 2.75005 c 0,2.75005 1.37503,4.12508 4.12508,4.12508 h 1.37503 1.37502 z"
+ id="mask-bottomleft" />
+ <path
+ sodipodi:nodetypes="cccccccccssccc"
+ class="ColorScheme-Background"
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
++ style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
+ d="m 132.00016,910.61204 v 1.37503 5.5001 1.37503 h -1.37503 -1.37502 -4.12508 -1.37503 v -1.37503 -2.75005 c 0,-2.75005 1.37503,-4.12508 4.12508,-4.12508 h 1.37503 1.37502 z"
+ id="mask-topleft" />
+ <path
+ sodipodi:nodetypes="cccccccccssccc"
+ class="ColorScheme-Background"
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
++ style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.37502706"
+ d="m 159.49998,910.61204 v 1.37503 5.5001 1.37503 h 1.37503 1.37502 4.12508 1.37503 v -1.37503 -2.75005 c 0,-2.75005 -1.37503,-4.12508 -4.12508,-4.12508 h -1.37503 -1.37502 z"
+ id="mask-topright" />
+ <g
+ transform="translate(0,-2.0185303e-5)"
+ id="topleft">
+ <path
+- style="color:#eff0f1;opacity:0.9;fill:currentColor;fill-opacity:1;stroke:none"
++ style="opacity:0.9;fill:currentColor;fill-opacity:1;stroke:none"
+ d="m 16,6 c -2,0 -3,1 -3,3 v 2 1 h 4 1 1 V 11 7 6 h -1 1 z"
+ transform="translate(0,904.36218)"
+ id="rect4159"
+@@ -1057,7 +1057,7 @@
+ transform="translate(0,-2.0185303e-5)"
+ id="topright">
+ <path
+- style="color:#eff0f1;opacity:0.9;fill:currentColor;fill-opacity:1;stroke:none"
++ style="opacity:0.9;fill:currentColor;fill-opacity:1;stroke:none"
+ d="m 51,6 v 1 4 1 h 1 1 3 1 V 11 9 C 57,7 56,6 54,6 h -1 -1 z"
+ transform="translate(0,904.36218)"
+ id="rect4177"
+@@ -1070,7 +1070,7 @@
+ id="bottomleft">
+ <path
+ inkscape:connector-curvature="0"
+- style="color:#eff0f1;opacity:0.9;fill:currentColor;fill-opacity:1;stroke:none"
++ style="opacity:0.9;fill:currentColor;fill-opacity:1;stroke:none"
+ d="m 19,954.36218 v -1 -4 -1 h -1 -1 -3 -1 v 1 2 c 0,2 1,3 3,3 h 1 1 z"
+ id="path5048"
+ class="ColorScheme-Background"
+@@ -1078,11 +1078,11 @@
+ </g>
+ <g
+ transform="translate(0,-2.0185303e-5)"
+- id="bottomright">
++ id="bottomright">
+ <path
+ id="rect4177-6"
+ d="m 51,954.36218 v -1 -4 -1 h 1 1 3 1 v 1 2 c 0,2 -1,3 -3,3 h -1 -1 z"
+- style="color:#eff0f1;opacity:0.9;fill:currentColor;fill-opacity:1;stroke:none"
++ style="opacity:0.9;fill:currentColor;fill-opacity:1;stroke:none"
+ inkscape:connector-curvature="0"
+ class="ColorScheme-Background"
+ sodipodi:nodetypes="cccccccccssccc" />
+--
+cgit v1.1
diff --git a/kde-frameworks/plasma/plasma-5.67.0-r2.ebuild b/kde-frameworks/plasma/plasma-5.67.0-r2.ebuild
new file mode 100644
index 000000000000..7155e18e8ab4
--- /dev/null
+++ b/kde-frameworks/plasma/plasma-5.67.0-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_ORG_NAME="${PN}-framework"
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Plasma framework"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="gles2 wayland X"
+
+# drop qtgui subslot operator when QT_MINIMAL >= 5.14.0
+BDEPEND="
+ >=kde-frameworks/kdoctools-${PVCUT}:5
+"
+RDEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5=[gles2=]
+ >=dev-qt/qtquickcontrols-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ =kde-frameworks/kactivities-${PVCUT}*:5
+ =kde-frameworks/karchive-${PVCUT}*:5
+ =kde-frameworks/kconfig-${PVCUT}*:5
+ =kde-frameworks/kconfigwidgets-${PVCUT}*:5
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5
+ =kde-frameworks/kdeclarative-${PVCUT}*:5
+ =kde-frameworks/kglobalaccel-${PVCUT}*:5
+ =kde-frameworks/kguiaddons-${PVCUT}*:5
+ =kde-frameworks/ki18n-${PVCUT}*:5
+ =kde-frameworks/kiconthemes-${PVCUT}*:5
+ =kde-frameworks/kio-${PVCUT}*:5
+ =kde-frameworks/kirigami-${PVCUT}*:5
+ =kde-frameworks/knotifications-${PVCUT}*:5
+ =kde-frameworks/kpackage-${PVCUT}*:5
+ =kde-frameworks/kservice-${PVCUT}*:5
+ =kde-frameworks/kwidgetsaddons-${PVCUT}*:5
+ =kde-frameworks/kwindowsystem-${PVCUT}*:5
+ =kde-frameworks/kxmlgui-${PVCUT}*:5
+ !gles2? ( virtual/opengl )
+ wayland? (
+ =kde-frameworks/kwayland-${PVCUT}*:5
+ media-libs/mesa[egl]
+ )
+ X? (
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ x11-libs/libX11
+ x11-libs/libxcb
+ )
+"
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )
+"
+
+RESTRICT+=" test"
+
+PATCHES=(
+ "${FILESDIR}/${P}-construct-nullengine-w-KPluginMetadata.patch" # KDE-Bug #417548
+ "${FILESDIR}/${P}-remove-hardcoded-colors.patch" # KDE-Bug #417511
+)
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package !gles2 OpenGL)
+ $(cmake_use_find_package wayland EGL)
+ $(cmake_use_find_package wayland KF5Wayland)
+ $(cmake_use_find_package X X11)
+ $(cmake_use_find_package X XCB)
+ )
+
+ ecm_src_configure
+}