Hello community,

here is the log from the commit of package kdeclarative for openSUSE:Factory 
checked in at 2018-08-24 16:52:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdeclarative (Old)
 and      /work/SRC/openSUSE:Factory/.kdeclarative.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdeclarative"

Fri Aug 24 16:52:15 2018 rev:58 rq:630597 version:5.49.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdeclarative/kdeclarative.changes        
2018-07-21 10:11:54.843147083 +0200
+++ /work/SRC/openSUSE:Factory/.kdeclarative.new/kdeclarative.changes   
2018-08-24 16:52:16.445231934 +0200
@@ -1,0 +2,13 @@
+Sun Aug 19 09:18:57 UTC 2018 - [email protected]
+
+- Update to 5.49.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.49.0.php
+- Changes since 5.48.0:
+  * ensure we are always writing in the engine's root context
+  * better readability
+  * Improve API docs a bit
+  * Honor BUILD_TESTING
+
+-------------------------------------------------------------------

Old:
----
  kdeclarative-5.48.0.tar.xz

New:
----
  kdeclarative-5.49.0.tar.xz

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

Other differences:
------------------
++++++ kdeclarative.spec ++++++
--- /var/tmp/diff_new_pack.0mx9La/_old  2018-08-24 16:52:16.965232547 +0200
+++ /var/tmp/diff_new_pack.0mx9La/_new  2018-08-24 16:52:16.965232547 +0200
@@ -16,20 +16,20 @@
 #
 
 
-%bcond_without lang
 %define lname   libKF5Declarative5
-%define _tar_path 5.48
+%define _tar_path 5.49
 # 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: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
+%bcond_without lang
 Name:           kdeclarative
-Version:        5.48.0
+Version:        5.49.0
 Release:        0
 Summary:        Integration of QML and KDE workspaces
 License:        LGPL-2.1-or-later
 Group:          System/GUI/KDE
-Url:            http://www.kde.org
+URL:            http://www.kde.org
 Source:         
http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
 BuildRequires:  cmake >= 3.0
@@ -52,22 +52,21 @@
 BuildRequires:  cmake(Qt5Qml) >= 5.6.0
 BuildRequires:  cmake(Qt5Quick) >= 5.6.0
 BuildRequires:  cmake(Qt5Test) >= 5.6.0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 KDeclarative provides integration of QML and KDE workspaces.
 
-%package -n %lname
+%package -n %{lname}
 Summary:        Integration of QML and KDE workspaces
 # QQmlPropertyMap leaks private but exported QObjectPrivate symbol
 # https://bugreports.qt.io/browse/QTBUG-46433 and 
https://bugs.launchpad.net/bugs/1426335
 Group:          System/GUI/KDE
 %requires_eq libQt5Core5
 %if %{with lang}
-Recommends:     %lname-lang = %{version}
+Recommends:     %{lname}-lang = %{version}
 %endif
 
-%description -n %lname
+%description -n %{lname}
 KDeclarative provides integration of QML and KDE workspaces.
 
 %package -n libKF5QuickAddons5
@@ -102,7 +101,7 @@
 %package devel
 Summary:        Integration of QML and KDE workspaces: Build Environment
 Group:          Development/Libraries/KDE
-Requires:       %lname = %{version}
+Requires:       %{lname} = %{version}
 Requires:       %{name}-components = %{version}
 Requires:       extra-cmake-modules
 Requires:       kconfig-devel >= %{_kf5_bugfix_version}
@@ -116,7 +115,8 @@
 KDeclarative provides integration of QML and KDE workspaces.
 Development files.
 
-%lang_package -n %lname
+%lang_package -n %{lname}
+
 %prep
 %setup -q
 
@@ -132,49 +132,43 @@
 %find_lang %{name}5
 %endif
 
-%post -n %lname -p /sbin/ldconfig
-
-%postun -n %lname -p /sbin/ldconfig
-
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 %post -n libKF5QuickAddons5 -p /sbin/ldconfig
-
 %postun -n libKF5QuickAddons5 -p /sbin/ldconfig
-
 %post -n libKF5CalendarEvents5 -p /sbin/ldconfig
-
 %postun -n libKF5CalendarEvents5 -p /sbin/ldconfig
 
 %if %{with lang}
-%files -n %lname-lang -f %{name}5.lang
+%files -n %{lname}-lang -f %{name}5.lang
 %endif
 
-%files -n %lname
-%defattr(-,root,root)
-%doc COPYING* README*
+%files -n %{lname}
+%license COPYING*
+%doc README*
 %{_kf5_libdir}/libKF5Declarative.so.*
 
 %files -n libKF5QuickAddons5
-%defattr(-,root,root)
-%doc COPYING* README*
+%license COPYING*
+%doc README*
 %{_kf5_libdir}/libKF5QuickAddons.so.*
 
 %files -n libKF5CalendarEvents5
-%defattr(-,root,root)
-%doc COPYING* README*
+%license COPYING*
+%doc README*
 %{_kf5_libdir}/libKF5CalendarEvents.so.*
 
 %files components
-%defattr(-,root,root)
-%doc COPYING* README*
+%license COPYING*
+%doc README*
 %{_kf5_libdir}/qt5/qml/
 
 %files tools
-%defattr(-,root,root)
-%doc COPYING* README*
+%license COPYING*
+%doc README*
 %{_kf5_bindir}/kpackagelauncherqml
 
 %files devel
-%defattr(-,root,root)
 %{_kf5_libdir}/libKF5Declarative.so
 %{_kf5_libdir}/libKF5QuickAddons.so
 %{_kf5_libdir}/libKF5CalendarEvents.so

++++++ kdeclarative-5.48.0.tar.xz -> kdeclarative-5.49.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.48.0/CMakeLists.txt 
new/kdeclarative-5.49.0/CMakeLists.txt
--- old/kdeclarative-5.48.0/CMakeLists.txt      2018-07-08 00:29:54.000000000 
+0200
+++ new/kdeclarative-5.49.0/CMakeLists.txt      2018-08-04 12:57:00.000000000 
+0200
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.48.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.48.0") # handled by release scripts
+set(KF5_VERSION "5.49.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.49.0") # handled by release scripts
 project(KDeclarative VERSION ${KF5_VERSION})
 
 # Dependencies
 include(FeatureSummary)
-find_package(ECM 5.48.0  NO_MODULE)
+find_package(ECM 5.49.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -78,9 +78,9 @@
     set(HAVE_EPOXY 1)
 endif()
 
-add_subdirectory(autotests)
 add_subdirectory(src)
-if(KF5Config_FOUND AND KF5I18n_FOUND AND KF5IconThemes_FOUND AND KF5KIO_FOUND)
+if (BUILD_TESTING)
+    add_subdirectory(autotests)
     add_subdirectory(tests)
 endif()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.48.0/po/uk/kdeclarative5.po 
new/kdeclarative-5.49.0/po/uk/kdeclarative5.po
--- old/kdeclarative-5.48.0/po/uk/kdeclarative5.po      2018-07-08 
00:29:54.000000000 +0200
+++ new/kdeclarative-5.49.0/po/uk/kdeclarative5.po      2018-08-04 
12:57:00.000000000 +0200
@@ -1,5 +1,5 @@
 # Translation of kdeclarative5.po to Ukrainian
-# Copyright (C) 2014-2015 This_file_is_part_of_KDE
+# Copyright (C) 2018 This_file_is_part_of_KDE
 # This file is distributed under the license LGPL version 2.1 or
 # version 3 or later versions approved by the membership of KDE e.V.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.48.0/po/zh_CN/kdeclarative5.po 
new/kdeclarative-5.49.0/po/zh_CN/kdeclarative5.po
--- old/kdeclarative-5.48.0/po/zh_CN/kdeclarative5.po   2018-07-08 
00:29:54.000000000 +0200
+++ new/kdeclarative-5.49.0/po/zh_CN/kdeclarative5.po   2018-08-04 
12:57:00.000000000 +0200
@@ -15,7 +15,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2017-11-30 03:07+0100\n"
-"PO-Revision-Date: 2018-07-03 17:35\n"
+"PO-Revision-Date: 2018-07-24 08:41\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.48.0/src/kdeclarative/qmlobject.h 
new/kdeclarative-5.49.0/src/kdeclarative/qmlobject.h
--- old/kdeclarative-5.48.0/src/kdeclarative/qmlobject.h        2018-07-08 
00:29:54.000000000 +0200
+++ new/kdeclarative-5.49.0/src/kdeclarative/qmlobject.h        2018-08-04 
12:57:00.000000000 +0200
@@ -46,10 +46,10 @@
  *
  * @short An object that instantiates an entire QML context, with its own 
declarative engine
  *
- * KDeclarative::QmlObject provides a class for conveniently use QML based
+ * KDeclarative::QmlObject provides a class to conveniently use QML based
  * declarative user interfaces inside Plasma widgets.
- * To one QmlObject corresponds one QML file (that can eventually include 
others)
- * tere will be its own QQmlEngine with a single root object,
+ * A QmlObject corresponds to one QML file (which can include others).
+ * It will have its own QQmlEngine with a single root object,
  * described in the QML file.
  */
 class KDECLARATIVE_EXPORT QmlObject : public QObject
@@ -82,8 +82,8 @@
     /**
      * Constructs a new QmlObject
      *
-     * @param engine a QQmlEngine we want to use
-     * @param rootContext the root context we want to use for objects creation
+     * @param engine the QQmlEngine to use
+     * @param rootContext the root context to use for object creation
      * @param parent the parent of this object
      */
     explicit QmlObject(QQmlEngine *engine, QQmlContext *rootContext, QObject 
*parent = nullptr);
@@ -149,9 +149,9 @@
 
     /**
      * Sets whether the execution of the QML file has to be delayed later in 
the event loop. It has to be called before setQmlPath().
-     * In this case will be possible to assign new objects in the main engine 
context
+     * In this case it will be possible to assign new objects in the main 
engine context
      * before the main component gets initialized.
-     * So it will be possible to access it immediately from the QML code.
+     * In that case it will be possible to access it immediately from the QML 
code.
      * The initialization will either be completed automatically asyncronously
      * or explicitly by calling completeInitialization()
      *
@@ -195,7 +195,7 @@
 
     /**
      * Creates and returns an object based on the provided url to a Qml file
-     * with the same QQmlEngine and the same root context as the amin object,
+     * with the same QQmlEngine and the same root context as the main object,
      * that will be the parent of the newly created object
      * @param source url where the QML file is located
      * @param context The QQmlContext in which we will create the object,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kdeclarative-5.48.0/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml 
new/kdeclarative-5.49.0/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml
--- old/kdeclarative-5.48.0/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml    
2018-07-08 00:29:54.000000000 +0200
+++ new/kdeclarative-5.49.0/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml    
2018-08-04 12:57:00.000000000 +0200
@@ -79,9 +79,9 @@
             if (delegate.GridView.isCurrentItem) {
                 return Kirigami.Theme.highlightColor;
             } else if (parent.hovered) {
-                return Qt.tint(Kirigami.Theme.backgroundColor, 
Qt.rgba(Kirigami.Theme.highlightColor.r, Kirigami.Theme.highlightColor.g, 
Kirigami.Theme.highlightColor.b, 0.3))
+                return Kirigami.Theme.highlightColor;
             } else {
-                return Kirigami.Theme.backgroundColor
+                return Kirigami.Theme.backgroundColor;
             }
         }
         Behavior on color {
@@ -110,11 +110,11 @@
         }
 
         Rectangle {
-            anchors.fill: parent
+            anchors.fill: thumbnailArea
             visible: actionsRow.children.length > 0
             opacity: Kirigami.Settings.isMobile || delegate.hovered || 
(actionsScope.focus) ? 1 : 0
             radius: Kirigami.Units.smallSpacing
-            color: Kirigami.Settings.isMobile ? "transparent" : 
Qt.rgba(Kirigami.Theme.backgroundColor.r, Kirigami.Theme.backgroundColor.g, 
Kirigami.Theme.backgroundColor.b, 0.4)
+            color: Kirigami.Settings.isMobile ? "transparent" : Qt.rgba(1, 1, 
1, 0.2)
 
             Kirigami.Theme.inherit: false
             Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
@@ -126,12 +126,24 @@
                 }
             }
 
+            Rectangle {
+                visible: actionsRow.children.length > 1
+                anchors {
+                    left: parent.left
+                    top: actionsScope.top
+                    right: parent.right
+                    bottom: parent.bottom
+                }
+                gradient: Gradient {
+                    GradientStop { position: 0.0; color: "transparent" }
+                    GradientStop { position: 1.0; color: Qt.rgba(0, 0, 0, 0.4) 
}
+                }
+            }
             FocusScope {
                 id: actionsScope
                 anchors {
                     right: parent.right
                     bottom: parent.bottom
-                    margins: Kirigami.Units.smallSpacing
                 }
                 width: actionsRow.width
                 height: actionsRow.height
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.48.0/src/quickaddons/configmodule.cpp 
new/kdeclarative-5.49.0/src/quickaddons/configmodule.cpp
--- old/kdeclarative-5.48.0/src/quickaddons/configmodule.cpp    2018-07-08 
00:29:54.000000000 +0200
+++ new/kdeclarative-5.49.0/src/quickaddons/configmodule.cpp    2018-08-04 
12:57:00.000000000 +0200
@@ -165,7 +165,7 @@
 
     if (!package.filePath("mainscript").isEmpty()) {
         
d->_qmlObject->setSource(QUrl::fromLocalFile(package.filePath("mainscript")));
-        
d->_qmlObject->rootContext()->setContextProperty(QStringLiteral("kcm"), this);
+        
d->_qmlObject->engine()->rootContext()->setContextProperty(QStringLiteral("kcm"),
 this);
         d->_qmlObject->completeInitialization();
 
         return qobject_cast<QQuickItem *>(d->_qmlObject->rootObject());


Reply via email to