Hello community, here is the log from the commit of package bluedevil5 for openSUSE:Factory checked in at 2020-06-23 21:01:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bluedevil5 (Old) and /work/SRC/openSUSE:Factory/.bluedevil5.new.2956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bluedevil5" Tue Jun 23 21:01:46 2020 rev:94 rq:816409 version:5.19.1 Changes: -------- --- /work/SRC/openSUSE:Factory/bluedevil5/bluedevil5.changes 2020-06-21 18:45:43.212632930 +0200 +++ /work/SRC/openSUSE:Factory/.bluedevil5.new.2956/bluedevil5.changes 2020-06-23 21:02:07.161364119 +0200 @@ -1,0 +2,6 @@ +Sat Jun 20 09:31:19 UTC 2020 - Fabian Vogt <[email protected]> + +- Add patch to fix label appearance (kde#422684): + * 0001-Port-applet-to-use-PlasmaExtras.PlaceholderMessage.patch + +------------------------------------------------------------------- New: ---- 0001-Port-applet-to-use-PlasmaExtras.PlaceholderMessage.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bluedevil5.spec ++++++ --- /var/tmp/diff_new_pack.az4qhb/_old 2020-06-23 21:02:08.213367504 +0200 +++ /var/tmp/diff_new_pack.az4qhb/_new 2020-06-23 21:02:08.217367517 +0200 @@ -30,6 +30,8 @@ Source1: https://download.kde.org/stable/plasma/%{version}/bluedevil-%{version}.tar.xz.sig Source2: plasma.keyring %endif +# PATCH-FIX-UPSTREAM +Patch1: 0001-Port-applet-to-use-PlasmaExtras.PlaceholderMessage.patch BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem BuildRequires: shared-mime-info @@ -64,8 +66,9 @@ Bluetooth daemon for KDE Plasma, handling connections. %lang_package + %prep -%setup -q -n bluedevil-%{version} +%autosetup -p1 -n bluedevil-%{version} %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} ++++++ 0001-Port-applet-to-use-PlasmaExtras.PlaceholderMessage.patch ++++++ >From b600030a29058f7bfefedae7ea317f951603dd73 Mon Sep 17 00:00:00 2001 From: Nate Graham <[email protected]> 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 55295aef..eeb96f53 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.25.1
