From: Andreas Sturmlechner Date: Thu, 13 Feb 2020 22:07:34 +0000 (+0100) Subject: kde-frameworks/plasma: Remove hardcoded colors X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a7a8f145cae9b34c3260585ba418bd22550d2661;p=gentoo.git 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 --- 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 +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" /> + + + + + + + + + + + + ++ id="bottomright"> + +-- +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 +}