Hello community, here is the log from the commit of package kidletime for openSUSE:Factory checked in at 2020-11-19 11:51:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kidletime (Old) and /work/SRC/openSUSE:Factory/.kidletime.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kidletime" Thu Nov 19 11:51:00 2020 rev:84 rq:848557 version:5.76.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kidletime/kidletime.changes 2020-10-12 13:56:45.182152013 +0200 +++ /work/SRC/openSUSE:Factory/.kidletime.new.5913/kidletime.changes 2020-11-23 10:32:25.637488670 +0100 @@ -1,0 +2,10 @@ +Sat Nov 7 21:34:51 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.76.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/kde-frameworks-5.76.0 +- Changes since 5.75.0: + * Deprecate single-arg signal KIdleTime::timeoutReached(int identifier) + +------------------------------------------------------------------- Old: ---- kidletime-5.75.0.tar.xz kidletime-5.75.0.tar.xz.sig New: ---- kidletime-5.76.0.tar.xz kidletime-5.76.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kidletime.spec ++++++ --- /var/tmp/diff_new_pack.XaO2lw/_old 2020-11-23 10:32:26.169489253 +0100 +++ /var/tmp/diff_new_pack.XaO2lw/_new 2020-11-23 10:32:26.169489253 +0100 @@ -17,7 +17,7 @@ %define lname libKF5IdleTime5 -%define _tar_path 5.75 +%define _tar_path 5.76 # 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: kidletime -Version: 5.75.0 +Version: 5.76.0 Release: 0 Summary: User and system idle time reporting singleton License: LGPL-2.1-or-later ++++++ kidletime-5.75.0.tar.xz -> kidletime-5.76.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.75.0/CMakeLists.txt new/kidletime-5.76.0/CMakeLists.txt --- old/kidletime-5.75.0/CMakeLists.txt 2020-10-04 11:52:36.000000000 +0200 +++ new/kidletime-5.76.0/CMakeLists.txt 2020-11-07 12:38:58.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.75.0") # handled by release scripts +set(KF5_VERSION "5.76.0") # handled by release scripts project(KIdleTime VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.75.0 NO_MODULE) +find_package(ECM 5.76.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) @@ -13,8 +13,8 @@ include(CMakeFindFrameworks) -include(GenerateExportHeader) include(CMakePackageConfigHelpers) +include(ECMGenerateExportHeader) include(ECMQtDeclareLoggingCategory) include(ECMSetupVersion) include(ECMGenerateHeaders) @@ -74,6 +74,8 @@ set(HAVE_X11 FALSE) endif() +set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].") + option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") add_definitions(-DQT_NO_FOREACH) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.75.0/doc/Doxyfile.local new/kidletime-5.76.0/doc/Doxyfile.local --- old/kidletime-5.75.0/doc/Doxyfile.local 1970-01-01 01:00:00.000000000 +0100 +++ new/kidletime-5.76.0/doc/Doxyfile.local 2020-11-07 12:38:58.000000000 +0100 @@ -0,0 +1,7 @@ +### KApiDox Project-specific Overrides File + +# define so that deprecated API is not skipped +PREDEFINED += \ + "KIDLETIME_ENABLE_DEPRECATED_SINCE(x, y)=1" \ + "KIDLETIME_BUILD_DEPRECATED_SINCE(x, y)=1" \ + "KIDLETIME_DEPRECATED_VERSION(x, y, t)=" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.75.0/src/CMakeLists.txt new/kidletime-5.76.0/src/CMakeLists.txt --- old/kidletime-5.75.0/src/CMakeLists.txt 2020-10-04 11:52:36.000000000 +0200 +++ new/kidletime-5.76.0/src/CMakeLists.txt 2020-11-07 12:38:58.000000000 +0100 @@ -18,7 +18,14 @@ ) add_library(KF5IdleTime ${kidletime_LIB_SRCS}) -generate_export_header(KF5IdleTime BASE_NAME KIdleTime) +ecm_generate_export_header(KF5IdleTime + BASE_NAME KIdleTime + GROUP_BASE_NAME KF + VERSION ${KF5_VERSION} + DEPRECATED_BASE_VERSION 0 + DEPRECATION_VERSIONS 5.76 + EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} +) add_library(KF5::IdleTime ALIAS KF5IdleTime) target_include_directories(KF5IdleTime INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KIdleTime>") @@ -80,6 +87,7 @@ ${CMAKE_CURRENT_BINARY_DIR} BLANK_MACROS KIDLETIME_EXPORT + "KIDLETIME_DEPRECATED_VERSION(x, y, t)" TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} COMPONENT Devel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.75.0/src/kidletime.cpp new/kidletime-5.76.0/src/kidletime.cpp --- old/kidletime-5.75.0/src/kidletime.cpp 2020-10-04 11:52:36.000000000 +0200 +++ new/kidletime-5.76.0/src/kidletime.cpp 2020-11-07 12:38:58.000000000 +0100 @@ -241,7 +241,9 @@ if (associations.values().contains(msec)) { const auto listKeys = associations.keys(msec); for (int key : listKeys) { +#if KIDLETIME_BUILD_DEPRECATED_SINCE(5, 76) emit q->timeoutReached(key); +#endif emit q->timeoutReached(key, msec); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.75.0/src/kidletime.h new/kidletime-5.76.0/src/kidletime.h --- old/kidletime-5.75.0/src/kidletime.h 2020-10-04 11:52:36.000000000 +0200 +++ new/kidletime-5.76.0/src/kidletime.h 2020-11-07 12:38:58.000000000 +0100 @@ -147,6 +147,7 @@ */ void resumingFromIdle(); +#if KIDLETIME_ENABLE_DEPRECATED_SINCE(5, 76) /** * Triggered when the system has been idle for x milliseconds, identified by the previously set * timeout. @@ -158,13 +159,20 @@ * * @see addIdleTimeout * @see removeIdleTimeout + * @deprecated Since 5.76, use only timeoutReached(int identifier, int msec) */ + KIDLETIME_DEPRECATED_VERSION(5, 76, "Use only timeoutReached(int identifier, int msec)") void timeoutReached(int identifier); +#endif /** - * Overload. Streams the duration as well. It is guaranteed that \c msec will exactly - * correspond to the timeout registered with \link addIdleTimeout \endlink + * Triggered when the system has been idle for x milliseconds, identified by the previously set + * timeout. * + * This signal is triggered whenever each timeout previously registered with addIdleTimeout(int) + * is reached. It is guaranteed that \p msec will exactly correspond to the identified timeout. + * + * @param identifier the identifier of the timeout the system has reached * @param msec the time, in milliseconds, the system has been idle for * * @see addIdleTimeout _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
