commit kidletime for openSUSE:Factory

Hello community, here is the log from the commit of package kidletime for openSUSE:Factory checked in at 2016-10-28 12:20:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kidletime (Old) and /work/SRC/openSUSE:Factory/.kidletime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kidletime" Changes: -------- --- /work/SRC/openSUSE:Factory/kidletime/kidletime.changes 2016-09-14 23:24:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kidletime.new/kidletime.changes 2016-10-28 12:20:19.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Oct 2 12:55:44 UTC 2016 - hrvoje.senjan@gmail.com + +- Update to 5.27.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.27.0.php + +------------------------------------------------------------------- Old: ---- kidletime-5.26.0.tar.xz New: ---- kidletime-5.27.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kidletime.spec ++++++ --- /var/tmp/diff_new_pack.2EjHk3/_old 2016-10-28 12:20:20.000000000 +0200 +++ /var/tmp/diff_new_pack.2EjHk3/_new 2016-10-28 12:20:20.000000000 +0200 @@ -17,9 +17,9 @@ %define lname libKF5IdleTime5 -%define _tar_path 5.26 +%define _tar_path 5.27 Name: kidletime -Version: 5.26.0 +Version: 5.27.0 Release: 0 BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= %{_tar_path} ++++++ kidletime-5.26.0.tar.xz -> kidletime-5.27.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.26.0/CMakeLists.txt new/kidletime-5.27.0/CMakeLists.txt --- old/kidletime-5.26.0/CMakeLists.txt 2016-09-06 00:35:55.000000000 +0200 +++ new/kidletime-5.27.0/CMakeLists.txt 2016-10-02 10:00:24.000000000 +0200 @@ -4,7 +4,7 @@ # ECM setup include(FeatureSummary) -find_package(ECM 5.26.0 NO_MODULE) +find_package(ECM 5.27.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) @@ -17,7 +17,7 @@ include(ECMSetupVersion) include(ECMGenerateHeaders) -set(KF5_VERSION "5.26.0") # handled by release scripts +set(KF5_VERSION "5.27.0") # handled by release scripts ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KIDLETIME VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kidletime_version.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.26.0/src/logging.cpp new/kidletime-5.27.0/src/logging.cpp --- old/kidletime-5.26.0/src/logging.cpp 2016-09-06 00:35:55.000000000 +0200 +++ new/kidletime-5.27.0/src/logging.cpp 2016-10-02 10:00:24.000000000 +0200 @@ -17,9 +17,5 @@ */ #include "logging.h" -#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) // logging category for this framework, default: log stuff >= warning Q_LOGGING_CATEGORY(KIDLETIME, "org.kde.kf5.idletime", QtWarningMsg) -#else -Q_LOGGING_CATEGORY(KIDLETIME, "org.kde.kf5.idletime") -#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.26.0/src/plugins/xsync/CMakeLists.txt new/kidletime-5.27.0/src/plugins/xsync/CMakeLists.txt --- old/kidletime-5.26.0/src/plugins/xsync/CMakeLists.txt 2016-09-06 00:35:55.000000000 +0200 +++ new/kidletime-5.27.0/src/plugins/xsync/CMakeLists.txt 2016-10-02 10:00:24.000000000 +0200 @@ -2,6 +2,7 @@ set(xsync_plugin_SRCS xsyncbasedpoller.cpp + ../../logging.cpp ) add_library(KF5IdleTimeXcbPlugin0 MODULE ${xsync_plugin_SRCS}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.26.0/src/plugins/xsync/xsyncbasedpoller.cpp new/kidletime-5.27.0/src/plugins/xsync/xsyncbasedpoller.cpp --- old/kidletime-5.26.0/src/plugins/xsync/xsyncbasedpoller.cpp 2016-09-06 00:35:55.000000000 +0200 +++ new/kidletime-5.27.0/src/plugins/xsync/xsyncbasedpoller.cpp 2016-10-02 10:00:24.000000000 +0200 @@ -19,6 +19,8 @@ // Exceptionnally, include QCoreApplication before our own header, because that one includes X11 headers (#define None...) #include <QCoreApplication> +#include "../../logging.h" + #include "xsyncbasedpoller.h" #include <QAbstractNativeEventFilter> @@ -70,7 +72,7 @@ if (Q_UNLIKELY(!m_display)) { m_available = false; - qDebug() << "xcb sync could not find display"; + qCWarning(KIDLETIME) << "xcb sync could not find display"; return; } m_xcb_connection = XGetXCBConnection(m_display); @@ -79,7 +81,7 @@ const xcb_query_extension_reply_t *sync_reply = xcb_get_extension_data(m_xcb_connection, &xcb_sync_id); if (!sync_reply || !sync_reply->present) { - qDebug() << "xcb sync extension not found"; + qCWarning(KIDLETIME) << "xcb sync extension not found"; m_available = false; return; } @@ -106,10 +108,10 @@ int xcbcounters = xcb_sync_list_system_counters_counters_length(reply); xcb_sync_systemcounter_iterator_t it = xcb_sync_list_system_counters_counters_iterator(reply); for (int i = 0; i < xcbcounters; ++i) { - qDebug() << it.data->counter << it.rem << it.index; - qDebug() << "name length" << xcb_sync_systemcounter_name_length(it.data); + qCDebug(KIDLETIME) << it.data->counter << it.rem << it.index; + qCDebug(KIDLETIME) << "name length" << xcb_sync_systemcounter_name_length(it.data); QByteArray name(xcb_sync_systemcounter_name(it.data), xcb_sync_systemcounter_name_length(it.data)); - qDebug() << name; + qCDebug(KIDLETIME) << name; xcb_sync_systemcounter_next(&it); } delete reply; @@ -132,9 +134,9 @@ bool idleFound = false; - //qDebug() << ncounters << "counters"; + qCDebug(KIDLETIME) << ncounters << "counters"; for (int i = 0; i < ncounters; ++i) { - //qDebug() << counters[i].name << counters[i].counter; + qCDebug(KIDLETIME) << counters[i].name << counters[i].counter; if (!strcmp(counters[i].name, "IDLETIME")) { m_idleCounter = counters[i].counter; idleFound = true; @@ -149,9 +151,9 @@ } if (m_available) { - qDebug() << "XSync seems available and ready"; + qCDebug(KIDLETIME) << "XSync seems available and ready"; } else { - qDebug() << "XSync seems not available"; + qCDebug(KIDLETIME) << "XSync seems not available"; } } @@ -170,11 +172,11 @@ return false; } - qDebug() << "XSync Inited"; + qCDebug(KIDLETIME) << "XSync Inited"; s_globalXSyncBasedPoller()->isActive = true; - qDebug() << "Supported, init completed"; + qCDebug(KIDLETIME) << "Supported, init completed"; return true; } @@ -276,7 +278,7 @@ bool XSyncBasedPoller::xcbEvent(xcb_generic_event_t *event) { - //qDebug() << event->response_type << "waiting for" << m_sync_event+XCB_SYNC_ALARM_NOTIFY; + qCDebug(KIDLETIME) << event->response_type << "waiting for" << m_sync_event+XCB_SYNC_ALARM_NOTIFY; if (event->response_type != m_sync_event + XCB_SYNC_ALARM_NOTIFY) { return false; } @@ -330,7 +332,7 @@ XSyncChangeAlarm(dpy, *alarm, flags, &attr); } else { *alarm = XSyncCreateAlarm(dpy, flags, &attr); - qDebug() << "Created alarm" << *alarm; + qCDebug(KIDLETIME) << "Created alarm" << *alarm; } XFlush(m_display);
participants (1)
-
root@hilbert.suse.de