Hello community,

here is the log from the commit of package plasma-vault for openSUSE:Factory 
checked in at 2020-06-23 21:05:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma-vault (Old)
 and      /work/SRC/openSUSE:Factory/.plasma-vault.new.2956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma-vault"

Tue Jun 23 21:05:20 2020 rev:57 rq:816411 version:5.19.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma-vault/plasma-vault.changes        
2020-06-17 14:58:03.610567754 +0200
+++ /work/SRC/openSUSE:Factory/.plasma-vault.new.2956/plasma-vault.changes      
2020-06-23 21:05:49.150079623 +0200
@@ -1,0 +2,6 @@
+Sat Jun 20 09:32:23 UTC 2020 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- 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:
------------------
++++++ plasma-vault.spec ++++++
--- /var/tmp/diff_new_pack.wNxfck/_old  2020-06-23 21:05:49.722081472 +0200
+++ /var/tmp/diff_new_pack.wNxfck/_new  2020-06-23 21:05:49.726081484 +0200
@@ -30,6 +30,8 @@
 Source1:        
https://download.kde.org/stable/plasma/%{version}/plasma-vault-%{version}.tar.xz.sig
 Source2:        plasma.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Port-applet-to-use-PlasmaExtras.PlaceholderMessage.patch
 BuildRequires:  extra-cmake-modules >= %{kf5_version}
 BuildRequires:  cmake(KF5Activities) >= %{kf5_version}
 BuildRequires:  cmake(KF5Config) >= %{kf5_version}
@@ -82,7 +84,7 @@
 %endif
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %cmake_kf5 -d build

++++++ 0001-Port-applet-to-use-PlasmaExtras.PlaceholderMessage.patch ++++++
>From ed0acdeb9cbe670f6409b5239334f526addff8fb Mon Sep 17 00:00:00 2001
From: Nate Graham <n...@kde.org>
Date: Sun, 14 Jun 2020 09:09:48 -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 ------
 plasma/package/contents/ui/main.qml | 4 +---
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b3cefb..003f4ee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,12 +66,6 @@ if (KF5NetworkManagerQt_FOUND)
 endif()
 find_package (KF5SysGuard REQUIRED)
 
-find_package(KF5Kirigami2 ${KF5_DEP_VERSION} CONFIG)
-set_package_properties(KF5Kirigami2 PROPERTIES
-    DESCRIPTION "A QtQuick based components set"
-    TYPE RUNTIME
-)
-
 include_directories (
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_SOURCE_DIR}/common
diff --git a/plasma/package/contents/ui/main.qml 
b/plasma/package/contents/ui/main.qml
index 22c7428..bfac7a9 100644
--- a/plasma/package/contents/ui/main.qml
+++ b/plasma/package/contents/ui/main.qml
@@ -26,8 +26,6 @@ import org.kde.plasma.plasmoid 2.0
 import org.kde.plasma.components 2.0 as PlasmaComponents
 import org.kde.plasma.extras 2.0 as PlasmaExtras
 
-import org.kde.kirigami 2.12 as Kirigami
-
 Item {
     property var vaultsModel: plasmoid.nativeInterface.vaultsModel
     property var vaultsModelActions: 
plasmoid.nativeInterface.vaultsModel.actionsModel()
@@ -77,7 +75,7 @@ Item {
 
             interactive: false
 
-            Kirigami.PlaceholderMessage {
+            PlasmaExtras.PlaceholderMessage {
                 id: noVaultsMessage
 
                 anchors.centerIn: parent
-- 
2.25.1




Reply via email to