Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ktimer for openSUSE:Factory checked 
in at 2021-08-16 10:10:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ktimer (Old)
 and      /work/SRC/openSUSE:Factory/.ktimer.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ktimer"

Mon Aug 16 10:10:41 2021 rev:123 rq:911745 version:21.08.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ktimer/ktimer.changes    2021-07-10 
00:02:13.971174436 +0200
+++ /work/SRC/openSUSE:Factory/.ktimer.new.1899/ktimer.changes  2021-08-16 
10:16:16.466753695 +0200
@@ -1,0 +2,29 @@
+Fri Aug  6 09:40:57 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 21.08.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/gear/21.08.0
+- No code change since 21.07.90
+
+-------------------------------------------------------------------
+Fri Jul 30 10:05:32 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 21.07.90
+  * New feature release
+- No code change since 21.07.80
+
+-------------------------------------------------------------------
+Sat Jul 17 20:06:40 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 21.07.80
+  * New feature release
+- Changes since 21.04.3:
+  * Fix clazy warning
+  * Consistently use targets to fix the build
+  * We depend against qt5.15
+  * Add cmake presets support
+  * Modernize code
+- Only install the license files once
+
+-------------------------------------------------------------------

Old:
----
  ktimer-21.04.3.tar.xz
  ktimer-21.04.3.tar.xz.sig

New:
----
  ktimer-21.08.0.tar.xz
  ktimer-21.08.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ktimer.spec ++++++
--- /var/tmp/diff_new_pack.MoV3rU/_old  2021-08-16 10:16:16.894753180 +0200
+++ /var/tmp/diff_new_pack.MoV3rU/_new  2021-08-16 10:16:16.898753175 +0200
@@ -21,7 +21,7 @@
 %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 %bcond_without lang
 Name:           ktimer
-Version:        21.04.3
+Version:        21.08.0
 Release:        0
 Summary:        Countdown Launcher
 License:        GPL-2.0-or-later
@@ -44,7 +44,6 @@
 BuildRequires:  cmake(Qt5Widgets)
 Obsoletes:      %{name}5 < %{version}
 Provides:       %{name}5 = %{version}
-Recommends:     %{name}-lang
 
 %description
 Countdown launching tool by KDE
@@ -76,7 +75,6 @@
 
 %if %{with lang}
 %files lang -f %{name}.lang
-%license COPYING*
 %endif
 
 %changelog


++++++ ktimer-21.04.3.tar.xz -> ktimer-21.08.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/.gitignore 
new/ktimer-21.08.0/.gitignore
--- old/ktimer-21.04.3/.gitignore       2021-07-05 21:07:46.000000000 +0200
+++ new/ktimer-21.08.0/.gitignore       2021-08-04 23:55:40.000000000 +0200
@@ -18,3 +18,9 @@
 .cmake/
 CMakeLists.txt.user*
 *.unc-backup*
+/.clang-format
+/compile_commands.json
+.clangd
+.cache
+.idea
+/cmake-build*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/CMakeLists.txt 
new/ktimer-21.08.0/CMakeLists.txt
--- old/ktimer-21.04.3/CMakeLists.txt   2021-07-05 21:07:46.000000000 +0200
+++ new/ktimer-21.08.0/CMakeLists.txt   2021-08-04 23:55:40.000000000 +0200
@@ -1,13 +1,13 @@
 # KDE Application Version, managed by release script
 set (RELEASE_SERVICE_VERSION_MAJOR "21")
-set (RELEASE_SERVICE_VERSION_MINOR "04")
-set (RELEASE_SERVICE_VERSION_MICRO "3")
+set (RELEASE_SERVICE_VERSION_MINOR "08")
+set (RELEASE_SERVICE_VERSION_MICRO "0")
 set (RELEASE_SERVICE_VERSION 
"${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
-cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
+cmake_minimum_required (VERSION 3.16 FATAL_ERROR)
 project(ktimer VERSION ${RELEASE_SERVICE_VERSION})
 
-set (QT_MIN_VERSION "5.12.0")
-set(KF5_MIN_VERSION "5.57.0")
+set (QT_MIN_VERSION "5.15.0")
+set(KF5_MIN_VERSION "5.83.0")
 
 find_package (ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
 set (CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
@@ -32,18 +32,21 @@
     Notifications
 )
 
-add_definitions(-DQT_NO_FOREACH)
+add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
+add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055400)
+
+add_executable(ktimer)
 
 configure_file(config-ktimer.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/config-ktimer.h)
 
-set(ktimer_SRCS main.cpp ktimer.cpp )
 
-ki18n_wrap_ui(ktimer_SRCS prefwidget.ui )
+target_sources(ktimer PRIVATE main.cpp ktimer.cpp )
+
+ki18n_wrap_ui(ktimer prefwidget.ui )
 
 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*-apps-ktimer.png")
-ecm_add_app_icon(ktimer_SRCS ICONS ${ICONS_SRCS})
+ecm_add_app_icon(ktimer ICONS ${ICONS_SRCS})
 
-add_executable(ktimer ${ktimer_SRCS})
 
 target_link_libraries(ktimer  KF5::I18n KF5::KIOWidgets KF5::ConfigWidgets 
KF5::Notifications KF5::DBusAddons)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/CMakePresets.json 
new/ktimer-21.08.0/CMakePresets.json
--- old/ktimer-21.04.3/CMakePresets.json        1970-01-01 01:00:00.000000000 
+0100
+++ new/ktimer-21.08.0/CMakePresets.json        2021-08-04 23:55:40.000000000 
+0200
@@ -0,0 +1,83 @@
+{
+    "version": 2,
+    "configurePresets": [
+        {
+            "name": "dev",
+            "displayName": "Build as debug",
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Debug",
+               "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
+            }
+        },
+        {
+            "name": "asan",
+            "displayName": "Build with Asan support.",
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build-asan",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Debug",
+                "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
+               "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
+            }
+        },
+        {
+            "name": "unity",
+            "displayName": "Build with CMake unity support.",
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build-unity",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Debug",
+               "USE_UNITY_CMAKE_SUPPORT": "ON",
+               "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
+            }
+        },
+        {
+            "name": "release",
+            "displayName": "Build as release mode.",
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build-release",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Release"
+            }
+        },
+        {
+            "name": "profile",
+            "displayName": "profile",
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build-profile",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "RelWithDebInfo",
+               "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
+            }
+       },
+        {
+            "name": "clazy",
+            "displayName": "clazy",
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build-clazy",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Debug"
+            },
+            "environment": {
+                "CXX": "clazy",
+                "CCACHE_DISABLE": "ON"
+            }
+        }
+    ],
+    "buildPresets": [
+        {
+            "name": "dev",
+            "configurePreset": "dev"
+        },
+        {
+            "name": "clazy",
+            "configurePreset": "clazy",
+            "environment": {
+                "CLAZY_CHECKS" : 
"level0,level1,detaching-member,ifndef-define-typo,isempty-vs-count,qrequiredresult-candidates,reserve-candidates,signal-with-return-value,unneeded-cast,function-args-by-ref,function-args-by-value,returning-void-expression,no-ctor-missing-parent-argument,isempty-vs-count,qhash-with-char-pointer-key,raw-environment-function,qproperty-type-mismatch,old-style-connect,qstring-allocations,container-inside-loop,heap-allocated-small-trivial-type,inefficient-qlist,qstring-varargs,level2,detaching-member,heap-allocated-small-trivial-type,isempty-vs-count,qstring-varargs,qvariant-template-instantiation,raw-environment-function,reserve-candidates,signal-with-return-value,thread-with-slots,no-ctor-missing-parent-argument,no-missing-typeinfo",
+                "CCACHE_DISABLE" : "ON"
+            }
+        }
+    ]
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/ktimer.cpp 
new/ktimer-21.08.0/ktimer.cpp
--- old/ktimer-21.04.3/ktimer.cpp       2021-07-05 21:07:46.000000000 +0200
+++ new/ktimer-21.08.0/ktimer.cpp       2021-08-04 23:55:40.000000000 +0200
@@ -105,7 +105,7 @@
     m_start->setIcon( QIcon::fromTheme( QStringLiteral( "arrow-right" )) );
 
     // create tray icon
-    KStatusNotifierItem *tray = new KStatusNotifierItem(this);
+    auto tray = new KStatusNotifierItem(this);
     tray->setIconByName(QStringLiteral( "ktimer" ));
     tray->setCategory(KStatusNotifierItem::ApplicationStatus);
     tray->setStatus(KStatusNotifierItem::Active);
@@ -139,8 +139,8 @@
 
 void KTimerPref::add()
 {
-    KTimerJob *job = new KTimerJob;
-    KTimerJobItem *item = new KTimerJobItem( job, m_list );
+    auto job = new KTimerJob;
+    auto item = new KTimerJobItem( job, m_list );
 
     connect(job, &KTimerJob::delayChanged, this, &KTimerPref::jobChanged);
     connect(job, &KTimerJob::valueChanged, this, &KTimerPref::jobChanged);
@@ -173,7 +173,7 @@
 // note, don't use old, but added it so we can connect to the new one
 void KTimerPref::currentChanged( QTreeWidgetItem *i , QTreeWidgetItem * /* old 
*/)
 {
-    KTimerJobItem *item = static_cast<KTimerJobItem*>(i);
+    auto item = static_cast<KTimerJobItem*>(i);
     if( item ) {
         KTimerJob *job = item->job();
 
@@ -234,7 +234,7 @@
 
 void KTimerPref::jobChanged( KTimerJob *job )
 {
-    KTimerJobItem *item = static_cast<KTimerJobItem*>(job->user());
+    auto item = static_cast<KTimerJobItem*>(job->user());
     if( item ) {
         item->update();
         m_list->update();
@@ -252,7 +252,7 @@
 
 void KTimerPref::jobFinished( KTimerJob *job, bool error )
 {
-    KTimerJobItem *item = static_cast<KTimerJobItem*>(job->user());
+    auto item = static_cast<KTimerJobItem*>(job->user());
     item->setStatus( error );
     if( m_list->itemBelow(m_list->currentItem())!=nullptr && 
(static_cast<KTimerJobItem*>(m_list->itemBelow( m_list->currentItem() 
)))->job()->consecutive() ) {
         m_list->setCurrentItem( m_list->itemBelow( m_list->currentItem() ) );
@@ -265,7 +265,7 @@
     the job and inform the current job */
 void KTimerPref::delayChanged()
 {
-    KTimerJobItem *item = static_cast<KTimerJobItem*>(m_list->currentItem());
+    auto item = static_cast<KTimerJobItem*>(m_list->currentItem());
     if ( item ) {
         KTimerJob *job = item->job();
         int time_sec = job->timeToSeconds( m_delayH->value(), 
m_delayM->value(), m_delay->value() );
@@ -289,7 +289,7 @@
        const int nbList=m_list->topLevelItemCount();
        for (int num = 0; num < nbList; ++num)
        {
-               KTimerJobItem *item = 
static_cast<KTimerJobItem*>(m_list->topLevelItem(num));
+               auto item = 
static_cast<KTimerJobItem*>(m_list->topLevelItem(num));
         item->job()->save( cfg, QStringLiteral( "Job%1" ).arg( num ) );
 
        }
@@ -305,8 +305,8 @@
 {
     const int num = cfg->group("Jobs").readEntry( "Number", 0 );
     for( int n=0; n<num; n++ ) {
-            KTimerJob *job = new KTimerJob;
-            KTimerJobItem *item = new KTimerJobItem( job, m_list );
+            auto job = new KTimerJob;
+            auto item = new KTimerJobItem( job, m_list );
 
             connect(job, &KTimerJob::delayChanged, this, 
&KTimerPref::jobChanged);
             connect(job, &KTimerJob::valueChanged, this, 
&KTimerPref::jobChanged);
@@ -594,7 +594,7 @@
 
 void KTimerJob::processExited(int, QProcess::ExitStatus status)
 {
-       QProcess * proc = static_cast<QProcess*>(sender());
+       auto  proc = static_cast<QProcess*>(sender());
     const bool ok = status==0;
     const int i = d->processes.indexOf( proc);
     if (i != -1)
@@ -608,19 +608,15 @@
 void KTimerJob::fire()
 {
     if( !d->oneInstance || d->processes.isEmpty() ) {
-        QProcess *proc = new QProcess;
+        auto proc = new QProcess;
         d->processes.append( proc );
         connect(proc, static_cast<void (QProcess::*)(int, 
QProcess::ExitStatus)>(&QProcess::finished), this, &KTimerJob::processExited);
         if (!d->command.simplified ().isEmpty()) {
-#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
             QStringList splitArguments = QProcess::splitCommand(d->command);
             if (!splitArguments.isEmpty()) {
                 const QString prog = splitArguments.takeFirst();
                 proc->start(prog, splitArguments);
             }
-#else
-            proc->start(d->command);
-#endif
             Q_EMIT fired( this );
         }
         if(proc->state() == QProcess::NotRunning) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/ktimer.h new/ktimer-21.08.0/ktimer.h
--- old/ktimer-21.04.3/ktimer.h 2021-07-05 21:07:46.000000000 +0200
+++ new/ktimer-21.08.0/ktimer.h 2021-08-04 23:55:40.000000000 +0200
@@ -62,14 +62,14 @@
     void setConsecutive( bool consecutive );
     void setValue( unsigned int value );
     void setValue( int value );
-    void setState( States state );
+    void setState( KTimerJob::States state );
 
     void pause();
     void stop();
     void start();
 
  Q_SIGNALS:
-    void stateChanged( KTimerJob *job, States state );
+    void stateChanged( KTimerJob *job, KTimerJob::States state );
     void delayChanged( KTimerJob *job, unsigned int sec );
     void commandChanged( KTimerJob *job, const QString &cmd );
     void loopChanged( KTimerJob *job, bool loop );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/main.cpp new/ktimer-21.08.0/main.cpp
--- old/ktimer-21.04.3/main.cpp 2021-07-05 21:07:46.000000000 +0200
+++ new/ktimer-21.08.0/main.cpp 2021-08-04 23:55:40.000000000 +0200
@@ -58,7 +58,7 @@
     app.setQuitOnLastWindowClosed( false );
     KDBusService service;
 
-    KTimerPref *timer = new KTimerPref;
+    auto timer = new KTimerPref;
     timer->show();
 
     return app.exec();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/org.kde.ktimer.appdata.xml 
new/ktimer-21.08.0/org.kde.ktimer.appdata.xml
--- old/ktimer-21.04.3/org.kde.ktimer.appdata.xml       2021-07-05 
21:07:46.000000000 +0200
+++ new/ktimer-21.08.0/org.kde.ktimer.appdata.xml       2021-08-04 
23:55:40.000000000 +0200
@@ -141,9 +141,9 @@
   </provides>
   <launchable type="desktop-id">org.kde.ktimer.desktop</launchable>
   <releases>
+    <release version="21.08.0" date="2021-08-12"/>
     <release version="21.04.3" date="2021-07-08"/>
     <release version="21.04.2" date="2021-06-10"/>
     <release version="21.04.1" date="2021-05-13"/>
-    <release version="21.04.0" date="2021-04-22"/>
   </releases>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/po/hi/ktimer.po 
new/ktimer-21.08.0/po/hi/ktimer.po
--- old/ktimer-21.04.3/po/hi/ktimer.po  2021-07-06 07:19:29.000000000 +0200
+++ new/ktimer-21.08.0/po/hi/ktimer.po  2021-08-06 02:15:19.000000000 +0200
@@ -3,19 +3,20 @@
 # This file is distributed under the same license as the PACKAGE package.
 #
 # Ravishankar Shrivastava <raviratl...@yahoo.com>, 2008.
+# Raghavendra Kamath <ra...@raghukamath.com>, 2021.
 msgid ""
 msgstr ""
 "Project-Id-Version: ktimer\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2019-05-20 03:13+0200\n"
-"PO-Revision-Date: 2008-02-04 14:11+0530\n"
-"Last-Translator: Ravishankar Shrivastava <raviratl...@yahoo.com>\n"
-"Language-Team: Hindi <indlinux-hi...@lists.sourceforge.net>\n"
+"PO-Revision-Date: 2021-07-10 10:57+0530\n"
+"Last-Translator: Raghavendra Kamath <ra...@raghukamath.com>\n"
+"Language-Team: kde-hindi\n"
 "Language: hi\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
+"X-Generator: Lokalize 21.04.3\n"
 "Plural-Forms: nplurals=2; plural=(n!=1);\n"
 
 #, kde-format
@@ -297,7 +298,7 @@
 #: prefwidget.ui:268
 #, kde-format
 msgid "seconds"
-msgstr "??????????????????"
+msgstr "???????????????"
 
 #. i18n: ectx: property (text), widget (QLabel, TextLabel1)
 #: prefwidget.ui:284
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktimer-21.04.3/po/zh_CN/ktimer.po 
new/ktimer-21.08.0/po/zh_CN/ktimer.po
--- old/ktimer-21.04.3/po/zh_CN/ktimer.po       2021-07-06 07:19:30.000000000 
+0200
+++ new/ktimer-21.08.0/po/zh_CN/ktimer.po       2021-08-06 02:15:19.000000000 
+0200
@@ -6,7 +6,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2019-05-20 03:13+0200\n"
-"PO-Revision-Date: 2021-06-20 07:37\n"
+"PO-Revision-Date: 2021-07-26 13:49\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"

Reply via email to