Hello community,

here is the log from the commit of package kcrash for openSUSE:Factory checked 
in at 2020-04-15 20:01:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kcrash (Old)
 and      /work/SRC/openSUSE:Factory/.kcrash.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kcrash"

Wed Apr 15 20:01:11 2020 rev:78 rq:793140 version:5.69.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kcrash/kcrash.changes    2020-03-19 
19:43:54.583973590 +0100
+++ /work/SRC/openSUSE:Factory/.kcrash.new.2738/kcrash.changes  2020-04-15 
20:02:27.613931976 +0200
@@ -1,0 +2,11 @@
+Sun Apr  5 19:45:25 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.69.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/kde-frameworks-5.69.0
+- Changes since 5.68.0:
+  * move setErrorMessage definition out of the linux ifdef
+  * Allow providing an error message from the application
+
+-------------------------------------------------------------------

Old:
----
  kcrash-5.68.0.tar.xz
  kcrash-5.68.0.tar.xz.sig

New:
----
  kcrash-5.69.0.tar.xz
  kcrash-5.69.0.tar.xz.sig

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

Other differences:
------------------
++++++ kcrash.spec ++++++
--- /var/tmp/diff_new_pack.7MMhI3/_old  2020-04-15 20:02:29.305933247 +0200
+++ /var/tmp/diff_new_pack.7MMhI3/_new  2020-04-15 20:02:29.309933250 +0200
@@ -17,7 +17,7 @@
 
 
 %define lname   libKF5Crash5
-%define _tar_path 5.68
+%define _tar_path 5.69
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
@@ -25,7 +25,7 @@
 # Only needed for the package signature condition
 %bcond_without lang
 Name:           kcrash
-Version:        5.68.0
+Version:        5.69.0
 Release:        0
 Summary:        An application crash handler
 License:        LGPL-2.1-or-later


++++++ kcrash-5.68.0.tar.xz -> kcrash-5.69.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcrash-5.68.0/CMakeLists.txt 
new/kcrash-5.69.0/CMakeLists.txt
--- old/kcrash-5.68.0/CMakeLists.txt    2020-03-07 09:51:01.000000000 +0100
+++ new/kcrash-5.69.0/CMakeLists.txt    2020-04-05 00:33:48.000000000 +0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.68.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.68.0") # handled by release scripts
+set(KF5_VERSION "5.69.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.69.0") # handled by release scripts
 project(KCrash VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.68.0  NO_MODULE)
+find_package(ECM 5.69.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -57,7 +57,7 @@
 
 
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
-add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054300)
+add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054400)
 add_definitions(-DQT_NO_FOREACH)
 add_subdirectory(src)
 if (BUILD_TESTING)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcrash-5.68.0/src/kcrash.cpp 
new/kcrash-5.69.0/src/kcrash.cpp
--- old/kcrash-5.68.0/src/kcrash.cpp    2020-03-07 09:51:01.000000000 +0100
+++ new/kcrash-5.69.0/src/kcrash.cpp    2020-04-05 00:33:48.000000000 +0200
@@ -103,6 +103,8 @@
 static char *s_kdeinit_socket_file = nullptr;
 static KCrash::CrashFlags s_flags = KCrash::CrashFlags();
 static int s_launchDrKonqi = -1; // -1=initial value 0=disabled 1=enabled
+
+static char *s_kcrashErrorMessage = nullptr;
 Q_GLOBAL_STATIC(KCrash::CoreConfig, s_coreConfig)
 
 static void kcrashInitialize()
@@ -990,3 +992,9 @@
 #endif
 
 #endif // Q_OS_UNIX
+
+void KCrash::setErrorMessage(const QString &message)
+{
+    free(s_kcrashErrorMessage);
+    s_kcrashErrorMessage = qstrdup(message.toUtf8().constData());
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcrash-5.68.0/src/kcrash.h 
new/kcrash-5.69.0/src/kcrash.h
--- old/kcrash-5.68.0/src/kcrash.h      2020-03-07 09:51:01.000000000 +0100
+++ new/kcrash-5.69.0/src/kcrash.h      2020-04-05 00:33:48.000000000 +0200
@@ -154,6 +154,14 @@
  * @since 4.5
  */
 KCRASH_EXPORT bool isDrKonqiEnabled();
+
+/**
+ * Allows providing information to be included in the bug report.
+ *
+ * @since 5.69
+ */
+KCRASH_EXPORT void setErrorMessage(const QString &message);
+
 }
 
 Q_DECLARE_OPERATORS_FOR_FLAGS(KCrash::CrashFlags)


Reply via email to