Hello community,

here is the log from the commit of package kdeclarative for openSUSE:Factory 
checked in at 2016-03-16 10:28:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdeclarative (Old)
 and      /work/SRC/openSUSE:Factory/.kdeclarative.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdeclarative"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdeclarative/kdeclarative.changes        
2016-03-02 14:20:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kdeclarative.new/kdeclarative.changes   
2016-03-16 10:28:34.000000000 +0100
@@ -1,0 +2,8 @@
+Sun Mar  6 09:55:53 UTC 2016 - [email protected]
+
+- Update to 5.20.0 (boo#970856)
+  * Don't call null object pointer (kde#347962)
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.20.0.php
+
+-------------------------------------------------------------------

Old:
----
  kdeclarative-5.19.0.tar.xz

New:
----
  kdeclarative-5.20.0.tar.xz

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

Other differences:
------------------
++++++ kdeclarative.spec ++++++
--- /var/tmp/diff_new_pack.xATSOB/_old  2016-03-16 10:28:35.000000000 +0100
+++ /var/tmp/diff_new_pack.xATSOB/_new  2016-03-16 10:28:35.000000000 +0100
@@ -18,9 +18,9 @@
 
 %bcond_without lang
 %define lname   libKF5Declarative5
-%define _tar_path 5.19
+%define _tar_path 5.20
 Name:           kdeclarative
-Version:        5.19.0
+Version:        5.20.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 2.8.12

++++++ kdeclarative-5.19.0.tar.xz -> kdeclarative-5.20.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.19.0/CMakeLists.txt 
new/kdeclarative-5.20.0/CMakeLists.txt
--- old/kdeclarative-5.19.0/CMakeLists.txt      2016-02-06 14:40:53.000000000 
+0100
+++ new/kdeclarative-5.20.0/CMakeLists.txt      2016-03-05 19:51:32.000000000 
+0100
@@ -4,15 +4,15 @@
 
 # Dependencies
 include(FeatureSummary)
-find_package(ECM 5.19.0  NO_MODULE)
+find_package(ECM 5.20.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)
 
 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH} 
${ECM_KDE_MODULE_DIR})
 
 set(REQUIRED_QT_VERSION "5.3.0")
-set(KF5_VERSION "5.19.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.19.0") # handled by release scripts
+set(KF5_VERSION "5.20.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.20.0") # handled by release scripts
 
 find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Qml Quick Gui)
 include(KDEInstallDirs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.19.0/src/kdeclarative/qmlobject.cpp 
new/kdeclarative-5.20.0/src/kdeclarative/qmlobject.cpp
--- old/kdeclarative-5.19.0/src/kdeclarative/qmlobject.cpp      2016-02-06 
14:40:53.000000000 +0100
+++ new/kdeclarative-5.20.0/src/kdeclarative/qmlobject.cpp      2016-03-05 
19:51:32.000000000 +0100
@@ -113,9 +113,7 @@
 void QmlObjectPrivate::execute(const QUrl &source)
 {
     if (source.isEmpty()) {
-#ifndef NDEBUG
-        qDebug() << "File name empty!";
-#endif
+        qWarning() << "File name empty!";
         return;
     }
 
@@ -309,6 +307,13 @@
     if (d->incubator.object()) {
         return;
     }
+
+    if (!d->component) {
+        qWarning() << "No component for" << source();
+        return;
+    }
+
+
     if (d->component->status() != QQmlComponent::Ready || 
d->component->isError()) {
         d->errorPrint(d->component);
         return;


Reply via email to