Hello community,

here is the log from the commit of package plasma-framework for 
openSUSE:Factory checked in at 2017-09-19 16:29:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old)
 and      /work/SRC/openSUSE:Factory/.plasma-framework.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma-framework"

Tue Sep 19 16:29:24 2017 rev:51 rq:527069 version:5.38.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes        
2017-08-24 18:00:07.239168755 +0200
+++ /work/SRC/openSUSE:Factory/.plasma-framework.new/plasma-framework.changes   
2017-09-19 16:31:26.306943982 +0200
@@ -1,0 +2,36 @@
+Mon Sep 18 16:19:04 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to fix Plasma Dialogs (kde#384776):
+  * 0001-Pass-item-to-rootObject-since-it-s-now-a-singleton.patch
+
+-------------------------------------------------------------------
+Tue Sep 12 07:11:19 CEST 2017 - lbeltr...@kde.org
+
+- Update to 5.38.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.38.0.php
+- Changes since 5.37.0:
+  * [ConfigModel] Guard against adding a null ConfigCategory
+  * [ConfigModel] Allow programmatically adding and removing ConfigCategory
+  * [EventPluginsManager] Expose pluginPath in model
+  * [Icon Item] Don't needlessly unset imagePath
+  * [FrameSvg] Use QPixmap::mask() instead of deprecated convoluted way via 
alphaChannel()
+  * [FrameSvgItem] Create margins/fixedMargins object on demand
+  * HTML-escape applet name in undo notification
+  * fix check state for menu items
+  * Force Plasma style for QQC2 in applets
+  * Install the PlasmaComponents.3/private folder
+  * Guard failed testItem creation
+  * [Service] Restore /dev/null usage
+  * [Service] Use KConfig::SimpleConfig
+  * Drop remains of "locolor" themes
+  * Get rid of QSignalMapper
+  * [Theme] Use KConfig SimpleConfig
+  * Avoid some unnecessary theme content lookups
+  * fix check
+  * ignore spurious resize events to empty sizes (kde#382340)
+- Dropped patches, now upstream:
+  * 0001-ignore-spurious-resize-events-to-empty-sizes.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-ignore-spurious-resize-events-to-empty-sizes.patch
  plasma-framework-5.37.0.tar.xz

New:
----
  0001-Pass-item-to-rootObject-since-it-s-now-a-singleton.patch
  plasma-framework-5.38.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plasma-framework.spec ++++++
--- /var/tmp/diff_new_pack.4ccLDo/_old  2017-09-19 16:31:26.966850502 +0200
+++ /var/tmp/diff_new_pack.4ccLDo/_new  2017-09-19 16:31:26.970849934 +0200
@@ -17,9 +17,13 @@
 
 
 %bcond_without lang
-%define _tar_path 5.37
+%define _tar_path 5.38
+# Full KF5 version (e.g. 5.33.0)
+%{!?_kf5_version: %global _kf5_version %{version}}
+# Last major and minor KF5 version (e.g. 5.33)
+%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           plasma-framework
-Version:        5.37.0
+Version:        5.38.0
 Release:        0
 %define kf5_version %{version}
 Summary:        Plasma library and runtime components based upon KF5 and Qt5
@@ -29,30 +33,30 @@
 Source:         
http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
 # PATCH-FIX-UPSTREAM
-Patch0:         0001-ignore-spurious-resize-events-to-empty-sizes.patch
-BuildRequires:  extra-cmake-modules >= %{_tar_path}
+Patch1:         0001-Pass-item-to-rootObject-since-it-s-now-a-singleton.patch
+BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes
 BuildRequires:  kactivities5-devel >= 5.19.0
-BuildRequires:  karchive-devel >= %{_tar_path}
-BuildRequires:  kconfig-devel >= %{_tar_path}
-BuildRequires:  kconfigwidgets-devel >= %{_tar_path}
-BuildRequires:  kcoreaddons-devel >= %{_tar_path}
-BuildRequires:  kdbusaddons-devel >= %{_tar_path}
-BuildRequires:  kdeclarative-devel >= %{_tar_path}
-BuildRequires:  kdoctools-devel >= %{_tar_path}
+BuildRequires:  karchive-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kconfig-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kconfigwidgets-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kcoreaddons-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kdbusaddons-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kdeclarative-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kdoctools-devel >= %{_kf5_bugfix_version}
 BuildRequires:  kf5-filesystem
-BuildRequires:  kglobalaccel-devel >= %{_tar_path}
-BuildRequires:  kguiaddons-devel >= %{_tar_path}
-BuildRequires:  ki18n-devel >= %{_tar_path}
-BuildRequires:  kiconthemes-devel >= %{_tar_path}
-BuildRequires:  kio-devel >= %{_tar_path}
-BuildRequires:  knotifications-devel >= %{_tar_path}
-BuildRequires:  kpackage-devel >= %{_tar_path}
-BuildRequires:  kparts-devel >= %{_tar_path}
-BuildRequires:  kservice-devel >= %{_tar_path}
-BuildRequires:  kwayland-devel >= %{_tar_path}
-BuildRequires:  kwindowsystem-devel >= %{_tar_path}
-BuildRequires:  kxmlgui-devel >= %{_tar_path}
+BuildRequires:  kglobalaccel-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kguiaddons-devel >= %{_kf5_bugfix_version}
+BuildRequires:  ki18n-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kiconthemes-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kio-devel >= %{_kf5_bugfix_version}
+BuildRequires:  knotifications-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kpackage-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kparts-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kservice-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kwayland-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kwindowsystem-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kxmlgui-devel >= %{_kf5_bugfix_version}
 BuildRequires:  libxcb-devel
 BuildRequires:  xz
 BuildRequires:  cmake(Qt5Gui) >= 5.6.0
@@ -110,9 +114,9 @@
 Requires:       %{name}-private = %{version}
 Requires:       extra-cmake-modules >= 1.7.0
 Requires:       kf5-filesystem
-Requires:       kpackage-devel >= %{_tar_path}
-Requires:       kservice-devel >= %{_tar_path}
-Requires:       kwindowsystem-devel >= %{_tar_path}
+Requires:       kpackage-devel >= %{_kf5_bugfix_version}
+Requires:       kservice-devel >= %{_kf5_bugfix_version}
+Requires:       kwindowsystem-devel >= %{_kf5_bugfix_version}
 Requires:       cmake(Qt5Gui) >= 5.6.0
 Requires:       cmake(Qt5Qml) >= 5.6.0
 Requires:       cmake(Qt5Quick) >= 5.6.0
@@ -124,7 +128,7 @@
 %lang_package
 %prep
 %setup -q
-%patch0 -p1
+%patch1 -p1
 
 %build
   %cmake_kf5 -d build

++++++ 0001-Pass-item-to-rootObject-since-it-s-now-a-singleton.patch ++++++
>From 7482bef085e67949be14c1d04dd8e532f4cf73e7 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <k...@privat.broulik.de>
Date: Mon, 18 Sep 2017 15:11:09 +0200
Subject: [PATCH] Pass item to rootObject() since it's now a singleton

The "parent" used to be resolved by the place where the utils.js was imported 
from.
However, it was changed into a singleton and now this didn't work.

BUG: 384776
---
 src/declarativeimports/plasmacomponents/qml/Dialog.qml            | 2 +-
 src/declarativeimports/plasmacomponents/qml/Sheet.qml             | 2 +-
 src/declarativeimports/plasmacomponents/qml/private/AppManager.js | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/declarativeimports/plasmacomponents/qml/Dialog.qml 
b/src/declarativeimports/plasmacomponents/qml/Dialog.qml
index 0e6b11333..b6f1e6450 100644
--- a/src/declarativeimports/plasmacomponents/qml/Dialog.qml
+++ b/src/declarativeimports/plasmacomponents/qml/Dialog.qml
@@ -230,7 +230,7 @@ Item {
         property bool loadCompleted: false
 
         Component.onCompleted: {
-            rootItem = Utils.rootObject()
+            rootItem = Utils.rootObject(this)
             loadCompleted = true
         }
 
diff --git a/src/declarativeimports/plasmacomponents/qml/Sheet.qml 
b/src/declarativeimports/plasmacomponents/qml/Sheet.qml
index 39fe305a8..9392c0d5a 100644
--- a/src/declarativeimports/plasmacomponents/qml/Sheet.qml
+++ b/src/declarativeimports/plasmacomponents/qml/Sheet.qml
@@ -277,7 +277,7 @@ Item {
         }
 
         Component.onCompleted: {
-            rootItem = Utils.rootObject()
+            rootItem = Utils.rootObject(this)
         }
     }
 }
diff --git a/src/declarativeimports/plasmacomponents/qml/private/AppManager.js 
b/src/declarativeimports/plasmacomponents/qml/private/AppManager.js
index 5f78d95e6..a6e8520f8 100644
--- a/src/declarativeimports/plasmacomponents/qml/private/AppManager.js
+++ b/src/declarativeimports/plasmacomponents/qml/private/AppManager.js
@@ -40,8 +40,8 @@
 
 .pragma library
 
-function rootObject() {
-    var next = parent
+function rootObject(item) {
+    var next = item.parent
     while (next && next.parent)
         next = next.parent
     return next
-- 
2.14.1

++++++ plasma-framework-5.37.0.tar.xz -> plasma-framework-5.38.0.tar.xz ++++++
++++ 6527 lines of diff (skipped)


Reply via email to