Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libkgapi6 for openSUSE:Factory checked in at 2024-08-26 22:05:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkgapi6 (Old) and /work/SRC/openSUSE:Factory/.libkgapi6.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkgapi6" Mon Aug 26 22:05:01 2024 rev:7 rq:1195499 version:24.08.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libkgapi6/libkgapi6.changes 2024-07-05 19:52:23.857048255 +0200 +++ /work/SRC/openSUSE:Factory/.libkgapi6.new.2698/libkgapi6.changes 2024-08-26 22:05:55.483227655 +0200 @@ -1,0 +2,14 @@ +Mon Aug 19 07:14:34 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 + * Core: add calendar.events scope URL + * Add build-ftime support + * Port deprecated [=] + * It compiles fine without deprecated kf methods + +------------------------------------------------------------------- Old: ---- libkgapi-24.05.2.tar.xz libkgapi-24.05.2.tar.xz.sig New: ---- libkgapi-24.08.0.tar.xz libkgapi-24.08.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkgapi6.spec ++++++ --- /var/tmp/diff_new_pack.aUDf69/_old 2024-08-26 22:05:56.051251388 +0200 +++ /var/tmp/diff_new_pack.aUDf69/_new 2024-08-26 22:05:56.055251555 +0200 @@ -16,13 +16,13 @@ # -%define kf6_version 6.0.0 +%define kf6_version 6.3.0 %define qt6_version 6.6.0 %define rname libkgapi %bcond_without released Name: libkgapi6 -Version: 24.05.2 +Version: 24.08.0 Release: 0 Summary: Extension for accessing Google data License: GPL-2.0-or-later AND LGPL-2.1-or-later ++++++ libkgapi-24.05.2.tar.xz -> libkgapi-24.08.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/.gitlab-ci.yml new/libkgapi-24.08.0/.gitlab-ci.yml --- old/libkgapi-24.05.2/.gitlab-ci.yml 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/.gitlab-ci.yml 2024-08-16 06:59:16.000000000 +0200 @@ -7,3 +7,4 @@ - /gitlab-templates/linux-qt6.yml - /gitlab-templates/freebsd-qt6.yml - /gitlab-templates/windows-qt6.yml + - /gitlab-templates/cppcheck.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/CMakeLists.txt new/libkgapi-24.08.0/CMakeLists.txt --- old/libkgapi-24.05.2/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.16 FATAL_ERROR) -set(PIM_VERSION "6.1.2") +set(PIM_VERSION "6.2.0") set(KGAPI_LIB_VERSION ${PIM_VERSION}) project(kgapi VERSION ${KGAPI_LIB_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}) @@ -66,23 +66,23 @@ add_definitions(-DQT_NO_CONTEXTLESS_CONNECT) -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() ############## Targets ############## add_subdirectory(src) -if (KGAPI_BUILD_EXAMPLES) +if(KGAPI_BUILD_EXAMPLES) add_subdirectory(examples) endif() -if (BUILD_TESTING) +if(BUILD_TESTING) add_subdirectory(autotests) endif() @@ -90,7 +90,7 @@ set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KPim6GAPI") set(KGAPI_KF6_COMPAT FALSE) -if (BUILD_QCH) +if(BUILD_QCH) ecm_install_qch_export( TARGETS KPim6GAPIBlogger_QCH KPim6GAPICalendar_QCH KPim6GAPICore_QCH KPim6GAPIDrive_QCH @@ -99,7 +99,7 @@ FILE KPim6GAPIQchTargets.cmake DESTINATION "${CMAKECONFIG_INSTALL_DIR}" COMPONENT Devel - ) + ) set(PACKAGE_INCLUDE_QCHTARGETS "include(\"\${CMAKE_CURRENT_LIST_DIR}/KPim6GAPIQchTargets.cmake\")") endif() @@ -134,7 +134,7 @@ EXPORT LIBKGAPI FILE libkgapi.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} - ) + ) ecm_install_po_files_as_qm(poqm) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/CMakePresets.json new/libkgapi-24.08.0/CMakePresets.json --- old/libkgapi-24.05.2/CMakePresets.json 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/CMakePresets.json 2024-08-16 06:59:16.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/libkgapi-24.05.2/autotests/CMakeLists.txt new/libkgapi-24.08.0/autotests/CMakeLists.txt --- old/libkgapi-24.05.2/autotests/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/autotests/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -18,7 +18,7 @@ ) -if (NOT WIN32) +if(NOT WIN32) # Silence deprecation warnings for deprecated APIs tests. set_source_files_properties( drive/teamdrivecreatejobtest.cpp @@ -32,7 +32,7 @@ endif() add_library(kgapitest STATIC ${kgapitest_SRCS}) -if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) +if(COMPILE_WITH_UNITY_CMAKE_SUPPORT) set_target_properties(kgapitest PROPERTIES UNITY_BUILD ON) endif() @@ -49,14 +49,14 @@ string(CONCAT moduleName ${moduleFirst} ${moduleLast}) set(extraLibs "${_extraLibs};KPim6GAPI${moduleName}") set(utilsFile ${CMAKE_CURRENT_SOURCE_DIR}/${_module}/${_module}testutils.cpp) - if (EXISTS ${utilsFile}) + if(EXISTS ${utilsFile}) list(APPEND testSources ${utilsFile}) endif() ecm_add_test(${testSources} LINK_LIBRARIES kgapitest KPim6GAPICore ${extraLibs} TEST_NAME ${_testname} NAME_PREFIX ${_module}- - ) + ) endmacro(add_libkgapi2_test) ecm_add_test(fakenamtest.cpp LINK_LIBRARIES kgapitest KPim6GAPICore TEST_NAME fakenamtest NAME_PREFIX fake-) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/autotests/fakeauthbrowser.cpp new/libkgapi-24.08.0/autotests/fakeauthbrowser.cpp --- old/libkgapi-24.05.2/autotests/fakeauthbrowser.cpp 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/autotests/fakeauthbrowser.cpp 2024-08-16 06:59:16.000000000 +0200 @@ -32,7 +32,7 @@ // pretend the user have already authenticated and we've reached the // part where Google sends us the auth code - QTimer::singleShot(0, this, [=]() { + QTimer::singleShot(0, this, []() { QTcpSocket socket; socket.connectToHost(QHostAddress::LocalHost, kgapiTcpAuthServerPort); if (!socket.waitForConnected()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/poqm/ia/libkgapi6_qt.po new/libkgapi-24.08.0/poqm/ia/libkgapi6_qt.po --- old/libkgapi-24.05.2/poqm/ia/libkgapi6_qt.po 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/poqm/ia/libkgapi6_qt.po 2024-08-16 06:59:16.000000000 +0200 @@ -257,7 +257,7 @@ #: src/core/private/fullauthenticationjob.cpp:92 msgctxt "KGAPI2::FullAuthenticationJob|" msgid "Could not extract token from HTTP answer" -msgstr "Nonpote extraher indicio ex responsa de HTTP" +msgstr "Non pote extraher indicio ex responsa de HTTP" #: src/core/private/fullauthenticationjob.cpp:185 msgctxt "KGAPI2::FullAuthenticationJob|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/poqm/zh_CN/libkgapi6_qt.po new/libkgapi-24.08.0/poqm/zh_CN/libkgapi6_qt.po --- old/libkgapi-24.05.2/poqm/zh_CN/libkgapi6_qt.po 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/poqm/zh_CN/libkgapi6_qt.po 2024-08-16 06:59:16.000000000 +0200 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2024-04-22 16:01\n" +"PO-Revision-Date: 2024-04-22 15:58\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/readme-build-ftime.txt new/libkgapi-24.08.0/readme-build-ftime.txt --- old/libkgapi-24.05.2/readme-build-ftime.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/libkgapi-24.08.0/readme-build-ftime.txt 2024-08-16 06:59:16.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/libkgapi-24.05.2/src/CMakeLists.txt new/libkgapi-24.08.0/src/CMakeLists.txt --- old/libkgapi-24.05.2/src/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -11,7 +11,7 @@ add_subdirectory(staticmaps) add_subdirectory(tasks) -if (NOT WIN32 AND BUILD_SASL_PLUGIN) +if(NOT WIN32 AND BUILD_SASL_PLUGIN) add_subdirectory(saslplugin) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/src/blogger/CMakeLists.txt new/libkgapi-24.08.0/src/blogger/CMakeLists.txt --- old/libkgapi-24.05.2/src/blogger/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/blogger/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -70,7 +70,7 @@ REQUIRED_HEADERS kgapiblogger_HEADERS ) -if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) +if(COMPILE_WITH_UNITY_CMAKE_SUPPORT) set_target_properties(KPim6GAPIBlogger PROPERTIES UNITY_BUILD ON) endif() @@ -110,7 +110,7 @@ COMPONENT Devel ) -if (BUILD_QCH) +if(BUILD_QCH) ecm_add_qch( KPim6GAPIBlogger_QCH NAME KPim6GAPIBlogger @@ -132,5 +132,5 @@ 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/libkgapi-24.05.2/src/calendar/CMakeLists.txt new/libkgapi-24.08.0/src/calendar/CMakeLists.txt --- old/libkgapi-24.05.2/src/calendar/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/calendar/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -55,7 +55,7 @@ REQUIRED_HEADERS kgapicalendar_HEADERS ) -if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) +if(COMPILE_WITH_UNITY_CMAKE_SUPPORT) set_target_properties(KPim6GAPICalendar PROPERTIES UNITY_BUILD ON) endif() generate_export_header(KPim6GAPICalendar BASE_NAME kgapicalendar) @@ -96,7 +96,7 @@ COMPONENT Devel ) -if (BUILD_QCH) +if(BUILD_QCH) ecm_add_qch( KPim6GAPICalendar_QCH NAME KPim6GAPICalendar @@ -118,5 +118,5 @@ 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/libkgapi-24.05.2/src/core/CMakeLists.txt new/libkgapi-24.08.0/src/core/CMakeLists.txt --- old/libkgapi-24.05.2/src/core/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/core/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -72,7 +72,7 @@ RELATIVE accountinfo ) -if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) +if(COMPILE_WITH_UNITY_CMAKE_SUPPORT) set_target_properties(KPim6GAPICore PROPERTIES UNITY_BUILD ON) endif() @@ -120,7 +120,7 @@ COMPONENT Devel ) -if (BUILD_QCH) +if(BUILD_QCH) ecm_add_qch( KPim6GAPICore_QCH NAME KPim6GAPICore @@ -142,6 +142,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/libkgapi-24.05.2/src/core/account.cpp new/libkgapi-24.08.0/src/core/account.cpp --- old/libkgapi-24.05.2/src/core/account.cpp 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/core/account.cpp 2024-08-16 06:59:16.000000000 +0200 @@ -162,6 +162,11 @@ return QUrl(QStringLiteral("https://www.googleapis.com/auth/calendar")); } +QUrl Account::calendarEventsScopeUrl() +{ + return QUrl(QStringLiteral("https://www.googleapis.com/auth/calendar.events")); +} + QUrl Account::peopleScopeUrl() { return QUrl(QStringLiteral("https://www.googleapis.com/auth/contacts")); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/src/core/account.h new/libkgapi-24.08.0/src/core/account.h --- old/libkgapi-24.05.2/src/core/account.h 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/core/account.h 2024-08-16 06:59:16.000000000 +0200 @@ -161,10 +161,16 @@ static QUrl accountInfoEmailScopeUrl(); /** - * Returns scope URL for Google Calendar service. + * Returns scope URL for accessing calendars in Google Calendar. */ static QUrl calendarScopeUrl(); + + /** + * Returns scope URL for accessing Google Calendar events. + */ + static QUrl calendarEventsScopeUrl(); + /** * Returns scope URL for Google Tasks service. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/src/core/accountmanager.cpp new/libkgapi-24.08.0/src/core/accountmanager.cpp --- old/libkgapi-24.05.2/src/core/accountmanager.cpp 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/core/accountmanager.cpp 2024-08-16 06:59:16.000000000 +0200 @@ -89,7 +89,7 @@ } auto job = new AuthJob(account, apiKey, apiSecret); job->setUsername(account->accountName()); - connect(job, &AuthJob::finished, q, [=]() { + connect(job, &AuthJob::finished, q, [this, job, apiKey, promise]() { if (job->error() != KGAPI2::NoError) { promise->d->setError(tr("Failed to authenticate additional scopes")); return; @@ -204,8 +204,8 @@ if (!promise->d->isRunning()) { // Start the process asynchronously so that caller has a chance to connect // to AccountPromise signals. - QTimer::singleShot(0, this, [=]() { - d->ensureStore([=](bool storeOpened) { + QTimer::singleShot(0, this, [this, promise, apiKey, apiSecret, accountName, scopes]() { + d->ensureStore([this, promise, apiKey, apiSecret, accountName, scopes](bool storeOpened) { if (!storeOpened) { promise->d->setError(tr("Failed to open account store")); return; @@ -243,8 +243,8 @@ { auto promise = d->createPromise(apiKey, accountName); if (!promise->d->isRunning()) { - QTimer::singleShot(0, this, [=]() { - d->ensureStore([=](bool storeOpened) { + QTimer::singleShot(0, this, [this, promise, apiKey, apiSecret, accountName]() { + d->ensureStore([this, apiKey, promise, apiSecret, accountName](bool storeOpened) { if (!storeOpened) { promise->d->setError(tr("Failed to open account store")); return; @@ -266,8 +266,8 @@ AccountPromise *AccountManager::findAccount(const QString &apiKey, const QString &accountName, const QList<QUrl> &scopes) { auto promise = new AccountPromise(this); - QTimer::singleShot(0, this, [=]() { - d->ensureStore([=](bool storeOpened) { + QTimer::singleShot(0, this, [this, promise, apiKey, accountName, scopes]() { + d->ensureStore([this, promise, apiKey, accountName, scopes](bool storeOpened) { if (!storeOpened) { promise->d->setError(tr("Failed to open account store")); return; @@ -292,7 +292,7 @@ void AccountManager::removeScopes(const QString &apiKey, const QString &accountName, const QList<QUrl> &removedScopes) { - d->ensureStore([=](bool storeOpened) { + d->ensureStore([this, apiKey, accountName, removedScopes](bool storeOpened) { if (!storeOpened) { return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/src/core/accountstorage_kwallet.cpp new/libkgapi-24.08.0/src/core/accountstorage_kwallet.cpp --- old/libkgapi-24.05.2/src/core/accountstorage_kwallet.cpp 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/core/accountstorage_kwallet.cpp 2024-08-16 06:59:16.000000000 +0200 @@ -45,7 +45,7 @@ void KWalletStorage::open(const std::function<void(bool)> &callback) { - const auto openedCallback = [=](bool opened) { + const auto openedCallback = [this, callback](bool opened) { mWalletOpening = false; if (!opened) { qCWarning(KGAPIDebug, "KWallet: failed to open"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/src/drive/CMakeLists.txt new/libkgapi-24.08.0/src/drive/CMakeLists.txt --- old/libkgapi-24.05.2/src/drive/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/drive/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -182,7 +182,7 @@ REQUIRED_HEADERS kgapidrive_HEADERS ) #Disable for the moment -#if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) +#if(COMPILE_WITH_UNITY_CMAKE_SUPPORT) # set_target_properties(KPimGAPIDrive PROPERTIES UNITY_BUILD ON) #endif() @@ -225,7 +225,7 @@ COMPONENT Devel ) -if (BUILD_QCH) +if(BUILD_QCH) ecm_add_qch( KPim6GAPIDrive_QCH NAME KPim6GAPIDrive @@ -247,6 +247,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/libkgapi-24.05.2/src/latitude/CMakeLists.txt new/libkgapi-24.08.0/src/latitude/CMakeLists.txt --- old/libkgapi-24.05.2/src/latitude/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/latitude/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -30,7 +30,7 @@ REQUIRED_HEADERS kgapilatitude_HEADERS ) -if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) +if(COMPILE_WITH_UNITY_CMAKE_SUPPORT) set_target_properties(KPim6GAPILatitude PROPERTIES UNITY_BUILD ON) endif() @@ -71,7 +71,7 @@ COMPONENT Devel ) -if (BUILD_QCH) +if(BUILD_QCH) ecm_add_qch( KPim6GAPILatitude_QCH NAME KPim6GAPILatitude @@ -93,6 +93,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/libkgapi-24.05.2/src/people/CMakeLists.txt new/libkgapi-24.08.0/src/people/CMakeLists.txt --- old/libkgapi-24.05.2/src/people/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/people/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -215,7 +215,7 @@ COMPONENT Devel ) -if (BUILD_QCH) +if(BUILD_QCH) ecm_add_qch( KPim6GAPIPeople_QCH NAME KPim6GAPIPeople @@ -237,5 +237,5 @@ 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/libkgapi-24.05.2/src/saslplugin/CMakeLists.txt new/libkgapi-24.08.0/src/saslplugin/CMakeLists.txt --- old/libkgapi-24.05.2/src/saslplugin/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/saslplugin/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -1,13 +1,13 @@ include(CheckIncludeFile) include(CheckStructHasMember) -if (NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD") +if(NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD") add_definitions(-D_GNU_SOURCE) endif() -if (WIN32) +if(WIN32) add_definitions(-DWIN32) -elseif (APPLE) +elseif(APPLE) add_definitions(-Dmacintosh) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkgapi-24.05.2/src/staticmaps/CMakeLists.txt new/libkgapi-24.08.0/src/staticmaps/CMakeLists.txt --- old/libkgapi-24.05.2/src/staticmaps/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/staticmaps/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -22,7 +22,7 @@ REQUIRED_HEADERS kgapimaps_HEADERS ) -if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) +if(COMPILE_WITH_UNITY_CMAKE_SUPPORT) set_target_properties(KPim6GAPIMaps PROPERTIES UNITY_BUILD ON) endif() @@ -63,7 +63,7 @@ COMPONENT Devel ) -if (BUILD_QCH) +if(BUILD_QCH) ecm_add_qch( KPim6GAPIMaps_QCH NAME KPim6GAPIMaps @@ -85,5 +85,5 @@ 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/libkgapi-24.05.2/src/tasks/CMakeLists.txt new/libkgapi-24.08.0/src/tasks/CMakeLists.txt --- old/libkgapi-24.05.2/src/tasks/CMakeLists.txt 2024-06-22 05:12:09.000000000 +0200 +++ new/libkgapi-24.08.0/src/tasks/CMakeLists.txt 2024-08-16 06:59:16.000000000 +0200 @@ -48,7 +48,7 @@ ) -if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) +if(COMPILE_WITH_UNITY_CMAKE_SUPPORT) set_target_properties(KPim6GAPITasks PROPERTIES UNITY_BUILD ON) endif() @@ -91,7 +91,7 @@ COMPONENT Devel ) -if (BUILD_QCH) +if(BUILD_QCH) ecm_add_qch( KPim6GAPITasks_QCH NAME KPim6GAPITasks @@ -113,6 +113,6 @@ TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} COMPONENT Devel - ) + ) endif()