Hello community, here is the log from the commit of package kidletime for openSUSE:Factory checked in at 2014-11-11 01:09:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-10-07 15:59:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kidletime.new/kidletime.changes 2014-11-11 01:09:29.000000000 +0100 @@ -1,0 +2,7 @@ +Sun Nov 2 17:47:14 UTC 2014 - [email protected] + +- Update to 5.4.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.4.0.php + +------------------------------------------------------------------- Old: ---- kidletime-5.3.0.tar.xz New: ---- kidletime-5.4.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kidletime.spec ++++++ --- /var/tmp/diff_new_pack.2OIJxq/_old 2014-11-11 01:09:30.000000000 +0100 +++ /var/tmp/diff_new_pack.2OIJxq/_new 2014-11-11 01:09:30.000000000 +0100 @@ -18,10 +18,10 @@ %define lname libKF5IdleTime5 Name: kidletime -Version: 5.3.0 +Version: 5.4.0 Release: 0 BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 1.3.0 +BuildRequires: extra-cmake-modules >= 1.4.0 BuildRequires: fdupes BuildRequires: kf5-filesystem BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 @@ -36,7 +36,7 @@ License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org -Source: http://download.kde.org/stable/frameworks/%{version}/%{name}-%{version}.tar.xz +Source: http://download.kde.org/stable/frameworks/5.4/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ kidletime-5.3.0.tar.xz -> kidletime-5.4.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kidletime-5.3.0/CMakeLists.txt new/kidletime-5.4.0/CMakeLists.txt --- old/kidletime-5.3.0/CMakeLists.txt 2014-10-03 19:55:35.000000000 +0200 +++ new/kidletime-5.4.0/CMakeLists.txt 2014-10-31 21:17:37.000000000 +0100 @@ -3,7 +3,7 @@ project(KIdleTime) # ECM setup -find_package(ECM 1.3.0 REQUIRED NO_MODULE) +find_package(ECM 1.4.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) include(FeatureSummary) @@ -13,7 +13,7 @@ include(ECMSetupVersion) include(ECMGenerateHeaders) -set(KF5_VERSION "5.3.0") # handled by release scripts +set(KF5_VERSION "5.4.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.3.0/examples/KIdleTest.cpp new/kidletime-5.4.0/examples/KIdleTest.cpp --- old/kidletime-5.3.0/examples/KIdleTest.cpp 2014-10-03 19:55:35.000000000 +0200 +++ new/kidletime-5.4.0/examples/KIdleTest.cpp 2014-10-31 21:17:37.000000000 +0100 @@ -22,33 +22,44 @@ #include "kidletime.h" +//@@snippet_begin(initialize) KIdleTest::KIdleTest() { - connect(KIdleTime::instance(), SIGNAL(resumingFromIdle()), this, SLOT(resumeEvent())); - connect(KIdleTime::instance(), SIGNAL(timeoutReached(int,int)), this, SLOT(timeoutReached(int,int))); + // connect to idle events + connect(KIdleTime::instance(), SIGNAL(resumingFromIdle()), + this, SLOT(resumeEvent())); + connect(KIdleTime::instance(), SIGNAL(timeoutReached(int,int)), + this, SLOT(timeoutReached(int,int))); + // register to get informed for the very next user event KIdleTime::instance()->catchNextResumeEvent(); printf("Your idle time is %d\n", KIdleTime::instance()->idleTime()); printf("Welcome!! Move your mouse or do something to start...\n"); } +//@@snippet_end KIdleTest::~KIdleTest() { } +//@@snippet_begin(resumeEvent) void KIdleTest::resumeEvent() { KIdleTime::instance()->removeAllIdleTimeouts(); - printf("Great! Now stay idle for 5 seconds to get a nice message. From 10 seconds on, you can move your mouse to get back here.\n"); - printf("If you will stay idle for too long, I will simulate your activity after 25 seconds, and make everything start back\n"); + printf("Great! Now stay idle for 5 seconds to get a nice message. From 10" + "seconds on, you can move your mouse to get back here.\n"); + printf("If you will stay idle for too long, I will simulate your activity" + "after 25 seconds, and make everything start back\n"); KIdleTime::instance()->addIdleTimeout(5000); KIdleTime::instance()->addIdleTimeout(10000); KIdleTime::instance()->addIdleTimeout(25000); } +//@@snippet_end +//@@snippet_begin(timeoutReached) void KIdleTest::timeoutReached(int id, int timeout) { Q_UNUSED(id) @@ -59,9 +70,11 @@ KIdleTime::instance()->catchNextResumeEvent(); printf("Cool. You can move your mouse to start over\n"); } else if (timeout == 25000) { - printf("Uff, you're annoying me. Let's start again. I'm simulating your activity now\n"); + printf("Uff, you're annoying me. Let's start again. I'm simulating your" + "activity now\n"); KIdleTime::instance()->simulateUserActivity(); } else { qDebug() << "OUCH"; } } +//@@snippet_end -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
