Hello community, here is the log from the commit of package kcrash for openSUSE:Factory checked in at 2017-03-03 15:20:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcrash (Old) and /work/SRC/openSUSE:Factory/.kcrash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kcrash" Fri Mar 3 15:20:10 2017 rev:39 rq:461408 version:5.31.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kcrash/kcrash.changes 2017-02-03 17:44:08.246040971 +0100 +++ /work/SRC/openSUSE:Factory/.kcrash.new/kcrash.changes 2017-03-03 15:20:11.534639449 +0100 @@ -1,0 +2,7 @@ +Thu Feb 9 09:25:25 UTC 2017 - hrvoje.senjan@gmail.com + +- Update to 5.31.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.31.0.php + +------------------------------------------------------------------- Old: ---- kcrash-5.30.0.tar.xz New: ---- kcrash-5.31.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcrash.spec ++++++ --- /var/tmp/diff_new_pack.KJvZqW/_old 2017-03-03 15:20:12.118556776 +0100 +++ /var/tmp/diff_new_pack.KJvZqW/_new 2017-03-03 15:20:12.118556776 +0100 @@ -17,9 +17,9 @@ %define lname libKF5Crash5 -%define _tar_path 5.30 +%define _tar_path 5.31 Name: kcrash -Version: 5.30.0 +Version: 5.31.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 3.0 @@ -28,9 +28,9 @@ BuildRequires: kcoreaddons-devel >= %{_tar_path} BuildRequires: kf5-filesystem BuildRequires: kwindowsystem-devel >= %{_tar_path} -BuildRequires: cmake(Qt5Core) >= 5.5.0 -BuildRequires: cmake(Qt5Test) >= 5.5.0 -BuildRequires: cmake(Qt5X11Extras) >= 5.5.0 +BuildRequires: cmake(Qt5Core) >= 5.6.0 +BuildRequires: cmake(Qt5Test) >= 5.6.0 +BuildRequires: cmake(Qt5X11Extras) >= 5.6.0 BuildRequires: pkgconfig(x11) Summary: Gracefull handling of application crashes License: LGPL-2.1+ @@ -56,7 +56,7 @@ Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules -Requires: cmake(Qt5Core) >= 5.5.0 +Requires: cmake(Qt5Core) >= 5.6.0 %description devel KCrash provides support for intercepting and handling application crashes. ++++++ kcrash-5.30.0.tar.xz -> kcrash-5.31.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.30.0/CMakeLists.txt new/kcrash-5.31.0/CMakeLists.txt --- old/kcrash-5.30.0/CMakeLists.txt 2017-01-08 16:21:21.000000000 +0100 +++ new/kcrash-5.31.0/CMakeLists.txt 2017-02-04 19:10:19.000000000 +0100 @@ -1,17 +1,17 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.30.0") # handled by release scripts -set(KF5_DEP_VERSION "5.30.0") # handled by release scripts +set(KF5_VERSION "5.31.0") # handled by release scripts +set(KF5_DEP_VERSION "5.31.0") # handled by release scripts project(KCrash VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.30.0 NO_MODULE) +find_package(ECM 5.31.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 ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) -set(REQUIRED_QT_VERSION 5.5.0) +set(REQUIRED_QT_VERSION 5.6.0) find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core) include(KDEInstallDirs) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.30.0/src/kcrash.cpp new/kcrash-5.31.0/src/kcrash.cpp --- old/kcrash-5.30.0/src/kcrash.cpp 2017-01-08 16:21:21.000000000 +0100 +++ new/kcrash-5.31.0/src/kcrash.cpp 2017-02-04 19:10:19.000000000 +0100 @@ -92,16 +92,16 @@ void setApplicationFilePath(const QString &filePath); } -static KCrash::HandlerType s_emergencySaveFunction = 0; -static KCrash::HandlerType s_crashHandler = 0; -static char *s_appName = 0; -static char *s_autoRestartCommand = 0; -static char *s_appPath = 0; +static KCrash::HandlerType s_emergencySaveFunction = nullptr; +static KCrash::HandlerType s_crashHandler = nullptr; +static char *s_appName = nullptr; +static char *s_autoRestartCommand = nullptr; +static char *s_appPath = nullptr; static int s_autoRestartArgc = 0; -static char **s_autoRestartCommandLine = 0; -static char *s_drkonqiPath = 0; -static char *s_kdeinit_socket_file = 0; -static KCrash::CrashFlags s_flags = 0; +static char **s_autoRestartCommandLine = nullptr; +static char *s_drkonqiPath = nullptr; +static char *s_kdeinit_socket_file = nullptr; +static KCrash::CrashFlags s_flags = nullptr; static int s_launchDrKonqi = -1; // -1=initial value 0=disabled 1=enabled Q_GLOBAL_STATIC(KCrash::CoreConfig, s_coreConfig) @@ -219,7 +219,7 @@ for (int i = 0; i < args.count(); ++i) { s_autoRestartCommandLine[i] = qstrdup(QFile::encodeName(args.at(i)).constData()); } - s_autoRestartCommandLine[args.count()] = 0; + s_autoRestartCommandLine[args.count()] = nullptr; } void KCrash::setDrKonqiEnabled(bool enabled) @@ -345,7 +345,7 @@ sigaddset(&mask, SIGABRT); #endif - sigprocmask(SIG_UNBLOCK, &mask, 0); + sigprocmask(SIG_UNBLOCK, &mask, nullptr); #endif s_crashHandler = handler; @@ -427,7 +427,7 @@ #endif if (s_launchDrKonqi != 1) { - setCrashHandler(0); + setCrashHandler(nullptr); #if !defined(Q_OS_WIN) raise(sig); // dump core, or whatever is the default action for this signal. #endif @@ -523,7 +523,7 @@ #endif // NULL terminated list - argv[i] = NULL; + argv[i] = nullptr; startProcess(i, argv, true); } @@ -534,7 +534,7 @@ if (s_coreConfig->isProcess()) { fprintf(stderr, "Re-raising signal for core dump handling.\n"); - KCrash::setCrashHandler(0); + KCrash::setCrashHandler(nullptr); raise(sig); // not getting here } @@ -646,7 +646,7 @@ // when launching drkonqi. Note that drkonqi will stop this process in the meantime. if (directly) { //if the process was started directly, use waitpid(), as it's a child... - while (waitpid(-1, NULL, 0) != pid) {} + while (waitpid(-1, nullptr, 0) != pid) {} } else { #ifdef Q_OS_LINUX // Declare the process that will be debugging the crashed KDE app (#245529) @@ -736,7 +736,7 @@ fprintf(stderr, "KCrash failed to fork(), errno = %d\n", errno); return 0; case 0: - setgroups(0, 0); // Remove any extraneous groups + setgroups(0, nullptr); // Remove any extraneous groups if (setgid(getgid()) < 0 || setuid(getuid()) < 0) { _exit(253); // This cannot happen. Theoretically. } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.30.0/src/kcrash.h new/kcrash-5.31.0/src/kcrash.h --- old/kcrash-5.30.0/src/kcrash.h 2017-01-08 16:21:21.000000000 +0100 +++ new/kcrash-5.31.0/src/kcrash.h 2017-02-04 19:10:19.000000000 +0100 @@ -106,7 +106,7 @@ * is installed to ensure the save function will be called. * @param saveFunction the handler to install */ -KCRASH_EXPORT void setEmergencySaveFunction(HandlerType saveFunction = 0); +KCRASH_EXPORT void setEmergencySaveFunction(HandlerType saveFunction = nullptr); /** * Returns the currently set emergency save function.