* [gentoo-commits] proj/kde:master commit in: kde-plasma/bluedevil/, kde-plasma/bluedevil/files/
@ 2020-06-21 21:59 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2020-06-21 21:59 UTC (permalink / raw
To: gentoo-commits
commit: 20798866b4d233f4032a9c531a2babba183ca251
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 21:20:08 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 21:41:41 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=20798866
kde-plasma/bluedevil: systray [3/4]: Fix unreadable text w/ Breeze Dark
See also: https://mail.kde.org/pipermail/distributions/2020-June/000368.html
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=422684
Upstream commit 161c1b92bced7996e92026ff9ae503593f6590f6
"Port applet to use PlasmaExtras.PlaceholderMessage"
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-plasma/bluedevil/bluedevil-5.19.49.9999.ebuild | 4 ++
| 57 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/kde-plasma/bluedevil/bluedevil-5.19.49.9999.ebuild b/kde-plasma/bluedevil/bluedevil-5.19.49.9999.ebuild
index 38a4136d99..42b6c522e7 100644
--- a/kde-plasma/bluedevil/bluedevil-5.19.49.9999.ebuild
+++ b/kde-plasma/bluedevil/bluedevil-5.19.49.9999.ebuild
@@ -38,3 +38,7 @@ DEPEND="
RDEPEND="${DEPEND}
>=kde-plasma/kde-cli-tools-${PVCUT}:5
"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.19.2-use-PlasmaExtras.PlaceholderMessage.patch" # KDE-Bug #422684
+)
--git a/kde-plasma/bluedevil/files/bluedevil-5.19.2-use-PlasmaExtras.PlaceholderMessage.patch b/kde-plasma/bluedevil/files/bluedevil-5.19.2-use-PlasmaExtras.PlaceholderMessage.patch
new file mode 100644
index 0000000000..3c41eb2c69
--- /dev/null
+++ b/kde-plasma/bluedevil/files/bluedevil-5.19.2-use-PlasmaExtras.PlaceholderMessage.patch
@@ -0,0 +1,57 @@
+From 161c1b92bced7996e92026ff9ae503593f6590f6 Mon Sep 17 00:00:00 2001
+From: Nate Graham <nate@kde.org>
+Date: Sun, 14 Jun 2020 09:10:38 -0600
+Subject: [PATCH] Port applet to use PlasmaExtras.PlaceholderMessage
+
+The Kirigami version uses QQC2 elements which don't respect the plasma
+theme and color scheme, leading to thing slooking out of place
+especially when using a dark color theme or scheme.
+
+Depends on https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/13
+---
+ CMakeLists.txt | 6 ------
+ src/applet/package/contents/ui/FullRepresentation.qml | 4 +---
+ 2 files changed, 1 insertion(+), 9 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d9067851..5ddce978 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,12 +33,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
+ find_package(KDED ${KF5_MIN_VERSION} REQUIRED)
+ find_package(SharedMimeInfo REQUIRED)
+
+-find_package(KF5Kirigami2 ${KF5_MIN_VERSION} CONFIG)
+-set_package_properties(KF5Kirigami2 PROPERTIES
+- DESCRIPTION "A QtQuick based components set"
+- TYPE RUNTIME
+-)
+-
+ include(KDEInstallDirs)
+ include(KDECMakeSettings)
+ include(KDECompilerSettings NO_POLICY_SCOPE)
+diff --git a/src/applet/package/contents/ui/FullRepresentation.qml b/src/applet/package/contents/ui/FullRepresentation.qml
+index 5bd32f15..e77bf295 100644
+--- a/src/applet/package/contents/ui/FullRepresentation.qml
++++ b/src/applet/package/contents/ui/FullRepresentation.qml
+@@ -27,8 +27,6 @@ import org.kde.plasma.components 2.0 as PlasmaComponents
+ import org.kde.plasma.components 3.0 as PlasmaComponents3
+ import org.kde.plasma.private.bluetooth 1.0 as PlasmaBt
+
+-import org.kde.kirigami 2.12 as Kirigami
+-
+ PlasmaComponents3.Page {
+
+ Action {
+@@ -99,7 +97,7 @@ PlasmaComponents3.Page {
+ // Not inside the ListView because we want the listview to be hidden
+ // when Bluetooth is disabled, yet still show an "Enable Bluetooth"
+ // message
+- Kirigami.PlaceholderMessage {
++ PlasmaExtras.PlaceholderMessage {
+ anchors.centerIn: parent
+ anchors.left: parent.left
+ anchors.right: parent.right
+--
+2.27.0
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-21 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-21 21:59 [gentoo-commits] proj/kde:master commit in: kde-plasma/bluedevil/, kde-plasma/bluedevil/files/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox