Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ksmtp for openSUSE:Factory checked 
in at 2024-08-26 22:04:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksmtp (Old)
 and      /work/SRC/openSUSE:Factory/.ksmtp.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksmtp"

Mon Aug 26 22:04:46 2024 rev:82 rq:1195471 version:24.08.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksmtp/ksmtp.changes      2024-07-05 
19:52:16.760805686 +0200
+++ /work/SRC/openSUSE:Factory/.ksmtp.new.2698/ksmtp.changes    2024-08-26 
22:05:35.294384143 +0200
@@ -1,0 +2,13 @@
+Mon Aug 19 07:14:22 UTC 2024 - Christophe Marin <christo...@krop.fr>
+
+- Update to 24.08.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/gear/24.08.0/
+- Changes since 24.05.2:
+  * fix cmake lint warning
+  * Add build-ftime support
+  * Make compile with QT_NO_CONTEXTLESS_CONNECT
+  * It compiles fine without deprecated kf methods
+
+-------------------------------------------------------------------

Old:
----
  ksmtp-24.05.2.tar.xz
  ksmtp-24.05.2.tar.xz.sig

New:
----
  ksmtp-24.08.0.tar.xz
  ksmtp-24.08.0.tar.xz.sig

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

Other differences:
------------------
++++++ ksmtp.spec ++++++
--- /var/tmp/diff_new_pack.ThCjyZ/_old  2024-08-26 22:05:36.278425257 +0200
+++ /var/tmp/diff_new_pack.ThCjyZ/_new  2024-08-26 22:05:36.278425257 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define kf6_version 6.0.0
+%define kf6_version 6.3.0
 %define qt6_version 6.6.0
-%define kpim6_version 6.1.2
+%define kpim6_version 6.2.0
 
 %bcond_without released
 Name:           ksmtp
-Version:        24.05.2
+Version:        24.08.0
 Release:        0
 Summary:        Job-based library to send email through an SMTP server
 License:        LGPL-2.1-or-later


++++++ ksmtp-24.05.2.tar.xz -> ksmtp-24.08.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/.gitlab-ci.yml 
new/ksmtp-24.08.0/.gitlab-ci.yml
--- old/ksmtp-24.05.2/.gitlab-ci.yml    2024-06-14 06:52:04.000000000 +0200
+++ new/ksmtp-24.08.0/.gitlab-ci.yml    2024-08-16 06:59:22.000000000 +0200
@@ -8,3 +8,4 @@
       - /gitlab-templates/freebsd-qt6.yml
       - /gitlab-templates/reuse-lint.yml
       - /gitlab-templates/windows-qt6.yml
+      - /gitlab-templates/cppcheck.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/CMakeLists.txt 
new/ksmtp-24.08.0/CMakeLists.txt
--- old/ksmtp-24.05.2/CMakeLists.txt    2024-06-14 06:52:04.000000000 +0200
+++ new/ksmtp-24.08.0/CMakeLists.txt    2024-08-16 06:59:22.000000000 +0200
@@ -1,13 +1,13 @@
 # SPDX-FileCopyrightText: none
 # SPDX-License-Identifier: BSD-3-Clause
 cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
-set(PIM_VERSION "6.1.2")
+set(PIM_VERSION "6.2.0")
 
 project(KSMTP VERSION ${PIM_VERSION})
 
 
 # ECM setup
-set(KF_MIN_VERSION "6.0.0")
+set(KF_MIN_VERSION "6.3.0")
 set(QT_REQUIRED_VERSION "6.6.0")
 find_package(ECM ${KF_MIN_VERSION} CONFIG REQUIRED)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
@@ -57,14 +57,14 @@
 
 ########### CMake Config Files ############
 
-
+add_definitions(-DQT_NO_CONTEXTLESS_CONNECT)
 add_definitions(-DTRANSLATION_DOMAIN=\"libksmtp6\")
-ecm_set_disabled_deprecation_versions(QT 6.7.0 KF 6.1.0)
+ecm_set_disabled_deprecation_versions(QT 6.7.2 KF 6.4.0)
 
 option(USE_UNITY_CMAKE_SUPPORT "Use UNITY cmake support (speedup compile 
time)" OFF)
 
 set(COMPILE_WITH_UNITY_CMAKE_SUPPORT OFF)
-if (USE_UNITY_CMAKE_SUPPORT)
+if(USE_UNITY_CMAKE_SUPPORT)
     set(COMPILE_WITH_UNITY_CMAKE_SUPPORT ON)
 endif()
 
@@ -73,13 +73,13 @@
 add_subdirectory(src)
 
 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KPim6SMTP")
-if (BUILD_QCH)
+if(BUILD_QCH)
     ecm_install_qch_export(
         TARGETS KPim6SMTP_QCH
         FILE KPim6SMTPQchTargets.cmake
         DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
         COMPONENT Devel
-    )
+)
     set(PACKAGE_INCLUDE_QCHTARGETS 
"include(\"\${CMAKE_CURRENT_LIST_DIR}/KPim6SMTPQchTargets.cmake\")")
 endif()
 
@@ -89,10 +89,10 @@
     INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
 )
 
-if (BUILD_TESTING)
+if(BUILD_TESTING)
     add_subdirectory(autotests)
     add_subdirectory(tests)
-endif ()
+endif()
 
 ########### Install Files ############
 install(FILES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/CMakePresets.json 
new/ksmtp-24.08.0/CMakePresets.json
--- old/ksmtp-24.05.2/CMakePresets.json 2024-06-14 06:52:04.000000000 +0200
+++ new/ksmtp-24.08.0/CMakePresets.json 2024-08-16 06:59:22.000000000 +0200
@@ -130,6 +130,24 @@
             "inherits": [
                 "base"
             ]
+        },
+        {
+            "name": "ftime-trace",
+            "displayName": "ftime-trace",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Debug",
+                "USE_DEVELOPER_MODE": "ON",
+                "CMAKE_C_FLAGS_INIT": "-ftime-trace",
+                "CMAKE_CXX_FLAGS_INIT": "-ftime-trace"
+            },
+            "environment": {
+                "CC": "/usr/bin/clang",
+                "CXX": "/usr/bin/clang++",
+                "CCACHE_DISABLE": "ON"
+            },
+            "inherits": [
+                "base"
+            ]
         }
     ],
     "buildPresets": [
@@ -138,6 +156,10 @@
             "configurePreset": "dev"
         },
         {
+            "name": "ftime-trace",
+            "configurePreset": "ftime-trace"
+        },     
+        {
             "name": "dev-mold",
             "configurePreset": "dev-mold"
         },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/po/bg/libksmtp6.po 
new/ksmtp-24.08.0/po/bg/libksmtp6.po
--- old/ksmtp-24.05.2/po/bg/libksmtp6.po        2024-06-14 06:52:04.000000000 
+0200
+++ new/ksmtp-24.08.0/po/bg/libksmtp6.po        2024-08-16 06:59:22.000000000 
+0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: ksmtp\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2022-04-14 00:45+0000\n"
-"PO-Revision-Date: 2024-06-04 11:37+0200\n"
+"PO-Revision-Date: 2024-06-04 13:11+0200\n"
 "Last-Translator: Mincho Kondarev <mkonda...@yahoo.de>\n"
 "Language-Team: Bulgarian <kde-i18n-...@kde.org>\n"
 "Language: bg\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/po/ia/libksmtp6.po 
new/ksmtp-24.08.0/po/ia/libksmtp6.po
--- old/ksmtp-24.05.2/po/ia/libksmtp6.po        2024-06-14 06:52:04.000000000 
+0200
+++ new/ksmtp-24.08.0/po/ia/libksmtp6.po        2024-08-16 06:59:22.000000000 
+0200
@@ -66,7 +66,8 @@
 #, kde-format
 msgid "Login failed, cannot initialize the SASL library"
 msgstr ""
-"Accesso de authentication falleva, nonpote initializar le bibliotheca de SASL"
+"Accesso de authentication falleva, non pote initializar le bibliotheca de "
+"SASL"
 
 #: sendjob.cpp:54
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/po/zh_CN/libksmtp6.po 
new/ksmtp-24.08.0/po/zh_CN/libksmtp6.po
--- old/ksmtp-24.05.2/po/zh_CN/libksmtp6.po     2024-06-14 06:52:04.000000000 
+0200
+++ new/ksmtp-24.08.0/po/zh_CN/libksmtp6.po     2024-08-16 06:59:22.000000000 
+0200
@@ -3,7 +3,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2022-04-14 00:45+0000\n"
-"PO-Revision-Date: 2024-04-22 16:01\n"
+"PO-Revision-Date: 2024-04-22 15:58\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/readme-build-ftime.txt 
new/ksmtp-24.08.0/readme-build-ftime.txt
--- old/ksmtp-24.05.2/readme-build-ftime.txt    1970-01-01 01:00:00.000000000 
+0100
+++ new/ksmtp-24.08.0/readme-build-ftime.txt    2024-08-16 06:59:22.000000000 
+0200
@@ -0,0 +1,26 @@
+# Analyzing Build Performance
+
+For debug build time:
+We need ClangBuildAnalyzer
+`
+git clone https://github.com/aras-p/ClangBuildAnalyzer
+mkdir build
+cd build
+cmake -DCMAKE_INSTALL_PREFIX=<path> ../
+make install
+`
+
+## Command line
+
+cmake -preset ftime-trace
+
+ClangBuildAnalyzer --start $PWD/build-ftime-trace
+cmake --build --preset ftime-trace
+
+ClangBuildAnalyzer --stop $PWD/build-ftime-trace build-ftime.txt
+
+ClangBuildAnalyzer --analyze build-ftime.txt > analyze-build-ftime.txt
+
+
+see https://aras-p.info/blog/2019/09/28/Clang-Build-Analyzer/
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/readme-build-ftime.txt.license 
new/ksmtp-24.08.0/readme-build-ftime.txt.license
--- old/ksmtp-24.05.2/readme-build-ftime.txt.license    1970-01-01 
01:00:00.000000000 +0100
+++ new/ksmtp-24.08.0/readme-build-ftime.txt.license    2024-08-16 
06:59:22.000000000 +0200
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: none
+SPDX-License-Identifier: CC0-1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/src/CMakeLists.txt 
new/ksmtp-24.08.0/src/CMakeLists.txt
--- old/ksmtp-24.05.2/src/CMakeLists.txt        2024-06-14 06:52:04.000000000 
+0200
+++ new/ksmtp-24.08.0/src/CMakeLists.txt        2024-08-16 06:59:22.000000000 
+0200
@@ -23,9 +23,9 @@
 ecm_qt_declare_logging_category(KPim6SMTP HEADER ksmtp_debug.h
         IDENTIFIER KSMTP_LOG CATEGORY_NAME org.kde.pim.ksmtp
         DESCRIPTION "ksmtp (ksmtp)" EXPORT KSMTP
-        )
+)
 
-if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
+if(COMPILE_WITH_UNITY_CMAKE_SUPPORT)
     set_target_properties(KPim6SMTP PROPERTIES UNITY_BUILD ON)
 endif()
 
@@ -37,7 +37,7 @@
 )
 target_include_directories(KPim6SMTP INTERFACE 
"$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/KPim6/KSMTP;${KDE_INSTALL_INCLUDEDIR}/KPim6/KSMTP/ksmtp>")
 
-if (WIN32)
+if(WIN32)
     set(extra_LIBS ws2_32)
 endif()
 
@@ -85,7 +85,7 @@
 )
 ecm_qt_install_logging_categories(EXPORT KSMTP FILE ksmtp.categories 
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
 
-if (BUILD_QCH)
+if(BUILD_QCH)
     ecm_add_qch(
         KPim6SMTP_QCH
         NAME KPim6SMTP
@@ -94,7 +94,7 @@
         ORG_DOMAIN org.kde
         SOURCES # using only public headers, to cover only public API
             ${KSMTP_HEADERS}
-           ${KSMTP_CamelCase_HEADERS}
+            ${KSMTP_CamelCase_HEADERS}
         #MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md"
         #IMAGE_DIRS "${CMAKE_SOURCE_DIR}/docs/pics"
         LINK_QCHS
@@ -108,6 +108,6 @@
         TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR}
         QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR}
         COMPONENT Devel
-    )
+)
 endif()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-24.05.2/tests/logintest.cpp 
new/ksmtp-24.08.0/tests/logintest.cpp
--- old/ksmtp-24.05.2/tests/logintest.cpp       2024-06-14 06:52:04.000000000 
+0200
+++ new/ksmtp-24.08.0/tests/logintest.cpp       2024-08-16 06:59:22.000000000 
+0200
@@ -31,7 +31,7 @@
     auto login = new KSmtp::LoginJob(session);
     login->setUserName(user);
     login->setPassword(pass);
-    QObject::connect(login, &KJob::result, [](KJob *job) {
+    QObject::connect(login, &KJob::result, login, [](KJob *job) {
         if (job->error()) {
             std::cout << "Login error: " << job->errorString().toStdString() 
<< std::endl;
             qApp->quit();
@@ -76,7 +76,7 @@
     } else if (parser.isSet(startTlsOption)) {
         session.setEncryptionMode(KSmtp::Session::STARTTLS);
     }
-    QObject::connect(&session, &KSmtp::Session::stateChanged, 
[&](KSmtp::Session::State state) {
+    QObject::connect(&session, &KSmtp::Session::stateChanged, &session, 
[&](KSmtp::Session::State state) {
         switch (state) {
         case KSmtp::Session::Disconnected:
             std::cout << "Session in Disconnected state" << std::endl;

Reply via email to