Hello community, here is the log from the commit of package kcrash for openSUSE:Factory checked in at 2018-10-22 11:10:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcrash (Old) and /work/SRC/openSUSE:Factory/.kcrash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcrash" Mon Oct 22 11:10:10 2018 rev:59 rq:642305 version:5.51.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kcrash/kcrash.changes 2018-10-01 08:05:12.802391402 +0200 +++ /work/SRC/openSUSE:Factory/.kcrash.new/kcrash.changes 2018-10-22 11:10:13.563929184 +0200 @@ -1,0 +2,16 @@ +Tue Oct 16 08:01:58 UTC 2018 - Luca Beltrame <[email protected]> + +- Run spec-cleaner + +------------------------------------------------------------------- +Mon Oct 15 11:51:47 UTC 2018 - [email protected] + +- Update to 5.51.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.51.0.php +- Changes since 5.50.0: + * KCrash: fix crash (ironic heh) when used in an app without QCoreApplication + * Add more strict compile flags + +------------------------------------------------------------------- Old: ---- kcrash-5.50.0.tar.xz New: ---- kcrash-5.51.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcrash.spec ++++++ --- /var/tmp/diff_new_pack.nXBGM8/_old 2018-10-22 11:10:14.067928773 +0200 +++ /var/tmp/diff_new_pack.nXBGM8/_new 2018-10-22 11:10:14.067928773 +0200 @@ -12,23 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define lname libKF5Crash5 -%define _tar_path 5.50 +%define _tar_path 5.51 # 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}')} Name: kcrash -Version: 5.50.0 +Version: 5.51.0 Release: 0 Summary: Gracefull handling of application crashes License: LGPL-2.1-or-later Group: System/GUI/KDE -URL: http://www.kde.org +URL: https://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRequires: cmake >= 3.0 ++++++ kcrash-5.50.0.tar.xz -> kcrash-5.51.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.50.0/CMakeLists.txt new/kcrash-5.51.0/CMakeLists.txt --- old/kcrash-5.50.0/CMakeLists.txt 2018-09-01 00:20:24.000000000 +0200 +++ new/kcrash-5.51.0/CMakeLists.txt 2018-10-14 11:34:01.000000000 +0200 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.50.0") # handled by release scripts -set(KF5_DEP_VERSION "5.50.0") # handled by release scripts +set(KF5_VERSION "5.51.0") # handled by release scripts +set(KF5_DEP_VERSION "5.51.0") # handled by release scripts project(KCrash VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.50.0 NO_MODULE) +find_package(ECM 5.51.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) @@ -63,6 +63,10 @@ add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050800) +add_definitions(-DQT_NO_CAST_FROM_ASCII) +add_definitions(-DQT_NO_CAST_TO_ASCII) +add_definitions(-DQT_NO_URL_CAST_FROM_STRING) +add_definitions(-DQT_USE_QSTRINGBUILDER) add_subdirectory(src) if (BUILD_TESTING) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.50.0/src/kcrash.cpp new/kcrash-5.51.0/src/kcrash.cpp --- old/kcrash-5.50.0/src/kcrash.cpp 2018-09-01 00:20:24.000000000 +0200 +++ new/kcrash-5.51.0/src/kcrash.cpp 2018-10-14 11:34:01.000000000 +0200 @@ -135,7 +135,10 @@ qCDebug(LOG_KCRASH) << "KCrash disabled through environment."; } - KCrash::setApplicationFilePath(QCoreApplication::applicationFilePath()); + if (QCoreApplication::instance()) + KCrash::setApplicationFilePath(QCoreApplication::applicationFilePath()); + else + qWarning() << "This process needs a QCoreApplication instance in order to use KCrash"; s_coreConfig(); // Initialize. }
