Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kcrash for openSUSE:Factory checked in at 2021-11-15 15:25:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcrash (Old) and /work/SRC/openSUSE:Factory/.kcrash.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcrash" Mon Nov 15 15:25:02 2021 rev:97 rq:931072 version:5.88.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kcrash/kcrash.changes 2021-10-18 22:00:09.618005380 +0200 +++ /work/SRC/openSUSE:Factory/.kcrash.new.1890/kcrash.changes 2021-11-15 15:26:11.909820105 +0100 @@ -1,0 +2,21 @@ +Sun Nov 7 09:13:14 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Strip 'Source' URL for faster submissions + +------------------------------------------------------------------- +Sun Nov 7 09:07:55 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.88.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.88.0 +- Changes since 5.87.0: + * Move more Linux-specific functions under #ifdef Q_OS_LINUX + * Add CMake option to build without X11 + * Use imported target for X11 + * Fix build without X11 + * Add FreeBSD CI + * Add Android CI + * Enable CI deps on all platfoprms + +------------------------------------------------------------------- Old: ---- kcrash-5.87.0.tar.xz kcrash-5.87.0.tar.xz.sig New: ---- kcrash-5.88.0.tar.xz kcrash-5.88.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcrash.spec ++++++ --- /var/tmp/diff_new_pack.1GIkbk/_old 2021-11-15 15:26:12.461820260 +0100 +++ /var/tmp/diff_new_pack.1GIkbk/_new 2021-11-15 15:26:12.461820260 +0100 @@ -17,7 +17,7 @@ %define lname libKF5Crash5 -%define _tar_path 5.87 +%define _tar_path 5.88 # 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,15 +25,15 @@ # Only needed for the package signature condition %bcond_without lang Name: kcrash -Version: 5.87.0 +Version: 5.88.0 Release: 0 Summary: An application crash handler License: LGPL-2.1-or-later Group: System/GUI/KDE URL: https://www.kde.org -Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz +Source: %{name}-%{version}.tar.xz %if %{with lang} -Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig +Source1: %{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} ++++++ kcrash-5.87.0.tar.xz -> kcrash-5.88.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.87.0/.gitlab-ci.yml new/kcrash-5.88.0/.gitlab-ci.yml --- old/kcrash-5.87.0/.gitlab-ci.yml 2021-10-02 14:16:00.000000000 +0200 +++ new/kcrash-5.88.0/.gitlab-ci.yml 2021-11-03 14:57:30.000000000 +0100 @@ -3,3 +3,5 @@ include: - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml + - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/android.yml + - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.87.0/.kde-ci.yml new/kcrash-5.88.0/.kde-ci.yml --- old/kcrash-5.87.0/.kde-ci.yml 2021-10-02 14:16:00.000000000 +0200 +++ new/kcrash-5.88.0/.kde-ci.yml 2021-11-03 14:57:30.000000000 +0100 @@ -1,5 +1,5 @@ Dependencies: -- 'on': ['Linux', 'FreeBSD', 'Windows'] +- 'on': ['@all'] 'require': 'frameworks/extra-cmake-modules': '@same' 'frameworks/kcoreaddons' : '@same' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.87.0/CMakeLists.txt new/kcrash-5.88.0/CMakeLists.txt --- old/kcrash-5.87.0/CMakeLists.txt 2021-10-02 14:16:00.000000000 +0200 +++ new/kcrash-5.88.0/CMakeLists.txt 2021-11-03 14:57:30.000000000 +0100 @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.87.0") # handled by release scripts +set(KF_VERSION "5.88.0") # handled by release scripts set(KF_DEP_VERSION "5.87.0") # handled by release scripts project(KCrash VERSION ${KF_VERSION}) @@ -19,12 +19,16 @@ include(KDEGitCommitHooks) if (UNIX AND NOT APPLE AND NOT ANDROID) - find_package(X11) - find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED COMPONENTS X11Extras) + option(WITH_X11 "Build with X11 integration" ON) +else() + set(WITH_X11 OFF) endif() -set(HAVE_X11 ${X11_FOUND}) - +if (WITH_X11) + find_package(X11 REQUIRED) + find_package(Qt5X11Extras ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) + set(HAVE_X11 TRUE) +endif() include(GenerateExportHeader) include(ECMSetupVersion) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.87.0/KF5CrashConfig.cmake.in new/kcrash-5.88.0/KF5CrashConfig.cmake.in --- old/kcrash-5.87.0/KF5CrashConfig.cmake.in 2021-10-02 14:16:00.000000000 +0200 +++ new/kcrash-5.88.0/KF5CrashConfig.cmake.in 2021-11-03 14:57:30.000000000 +0100 @@ -9,8 +9,9 @@ find_dependency(KF5CoreAddons REQUIRED) find_dependency(KF5WindowSystem REQUIRED) - if (@X11_FOUND@) + if (@WITH_X11@) find_dependency(Qt5X11Extras REQUIRED) + find_dependency(X11 REQUIRED) endif() endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.87.0/src/CMakeLists.txt new/kcrash-5.88.0/src/CMakeLists.txt --- old/kcrash-5.87.0/src/CMakeLists.txt 2021-10-02 14:16:00.000000000 +0200 +++ new/kcrash-5.88.0/src/CMakeLists.txt 2021-11-03 14:57:30.000000000 +0100 @@ -36,10 +36,8 @@ string(REPLACE "-Wl,--no-undefined" "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}") endif () -if(${X11_FOUND}) - find_package(Qt5X11Extras ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) - target_link_libraries(KF5Crash PRIVATE Qt5::X11Extras ${X11_LIBRARIES}) - target_include_directories(KF5Crash PRIVATE ${X11_X11_INCLUDE_PATH}) +if(WITH_X11) + target_link_libraries(KF5Crash PRIVATE Qt5::X11Extras X11::X11) endif() set_target_properties(KF5Crash PROPERTIES VERSION ${KCrash_VERSION} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.87.0/src/kcrash.cpp new/kcrash-5.88.0/src/kcrash.cpp --- old/kcrash-5.87.0/src/kcrash.cpp 2021-10-02 14:16:00.000000000 +0200 +++ new/kcrash-5.88.0/src/kcrash.cpp 2021-11-03 14:57:30.000000000 +0100 @@ -672,10 +672,11 @@ #else static pid_t startDirectly(const char *argv[]); + +#ifdef Q_OS_LINUX static int write_socket(int sock, char *buffer, int len); static int read_socket(int sock, char *buffer, int len); -#ifdef Q_OS_LINUX static int openDrKonqiSocket(const QByteArray &socketpath); static int pollDrKonqiSocket(pid_t pid, int sockfd); #endif @@ -764,6 +765,8 @@ } } +#ifdef Q_OS_LINUX + /* * Write 'len' bytes from 'buffer' into 'sock'. * returns 0 on success, -1 on failure. @@ -808,8 +811,6 @@ return 0; } -#ifdef Q_OS_LINUX - static int openDrKonqiSocket(const QByteArray &socketpath) { int sockfd = socket(PF_UNIX, SOCK_STREAM, 0);