Hello community,

here is the log from the commit of package kcalendarcore for openSUSE:Factory 
checked in at 2019-11-12 11:42:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kcalendarcore (Old)
 and      /work/SRC/openSUSE:Factory/.kcalendarcore.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kcalendarcore"

Tue Nov 12 11:42:34 2019 rev:2 rq:747090 version:5.64.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kcalendarcore/kcalendarcore.changes      
2019-10-24 23:02:56.532086595 +0200
+++ /work/SRC/openSUSE:Factory/.kcalendarcore.new.2990/kcalendarcore.changes    
2019-11-12 11:43:34.494609691 +0100
@@ -1,0 +2,13 @@
+Sun Nov  3 15:46:50 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.64.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.64.0.php
+- Changes since 5.63.0:
+  * Add libical version too
+  * Fix typo
+  * Use ECMGenerateExportHeader to manage deprecated API better
+  * Explicitly define the Journal copy ctor
+
+-------------------------------------------------------------------

Old:
----
  kcalendarcore-5.63.0.tar.xz
  kcalendarcore-5.63.0.tar.xz.sig

New:
----
  kcalendarcore-5.64.0.tar.xz
  kcalendarcore-5.64.0.tar.xz.sig

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

Other differences:
------------------
++++++ kcalendarcore.spec ++++++
--- /var/tmp/diff_new_pack.HK45aH/_old  2019-11-12 11:43:34.978610200 +0100
+++ /var/tmp/diff_new_pack.HK45aH/_new  2019-11-12 11:43:34.982610205 +0100
@@ -16,14 +16,14 @@
 #
 
 
-%define _tar_path 5.63
+%define _tar_path 5.64
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without lang
 Name:           kcalendarcore
-Version:        5.63.0
+Version:        5.64.0
 Release:        0
 Summary:        Library to access and handle calendar data
 License:        LGPL-2.0-or-later


++++++ kcalendarcore-5.63.0.tar.xz -> kcalendarcore-5.64.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.63.0/CMakeLists.txt 
new/kcalendarcore-5.64.0/CMakeLists.txt
--- old/kcalendarcore-5.63.0/CMakeLists.txt     2019-10-06 11:33:46.000000000 
+0200
+++ new/kcalendarcore-5.64.0/CMakeLists.txt     2019-11-02 12:42:22.000000000 
+0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
-set(KF5_VERSION "5.63.0") # handled by release scripts
+set(KF5_VERSION "5.64.0") # handled by release scripts
 
 project(KCalendarCore VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.63.0  NO_MODULE)
+find_package(ECM 5.64.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(KDECMakeSettings)
 include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
 
-include(GenerateExportHeader)
+include(ECMGenerateExportHeader)
 include(ECMGenerateHeaders)
 include(ECMGeneratePriFile)
 
@@ -25,6 +25,8 @@
 include(ECMQtDeclareLoggingCategory)
 include(ECMAddQch)
 
+set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of 
deprecated API excluded from the build [default=0].")
+
 option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt 
Assistant, Qt Creator & KDevelop)" OFF)
 add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. 
Qt Assistant, Qt Creator & KDevelop)")
 
@@ -68,6 +70,7 @@
 
 
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
+add_definitions(-DQT_DEPRECATED_WARNINGS_SINCE=0x060000)
 
 add_definitions(-DQT_NO_FOREACH)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.63.0/KF5CalendarCoreConfig.cmake.in 
new/kcalendarcore-5.64.0/KF5CalendarCoreConfig.cmake.in
--- old/kcalendarcore-5.63.0/KF5CalendarCoreConfig.cmake.in     2019-10-06 
11:33:46.000000000 +0200
+++ new/kcalendarcore-5.64.0/KF5CalendarCoreConfig.cmake.in     2019-11-02 
12:42:22.000000000 +0100
@@ -1,10 +1,10 @@
 @PACKAGE_INIT@
 
 include(CMakeFindDependencyMacro)
-find_dependency(Qt5Core @QT_REQUIRED_VERSION@)
+find_dependency(Qt5Core @REQUIRED_QT_VERSION@)
 if (NOT @BUILD_SHARED_LIBS@)
     list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_CURRENT_LIST_DIR})
-    find_dependency(LibIcal)
+    find_dependency(LibIcal @LibIcal_MIN_VERSION@)
 endif()
 
 include("${CMAKE_CURRENT_LIST_DIR}/KF5CalendarCoreTargets.cmake")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.63.0/docs/Doxyfile.local 
new/kcalendarcore-5.64.0/docs/Doxyfile.local
--- old/kcalendarcore-5.63.0/docs/Doxyfile.local        1970-01-01 
01:00:00.000000000 +0100
+++ new/kcalendarcore-5.64.0/docs/Doxyfile.local        2019-11-02 
12:42:22.000000000 +0100
@@ -0,0 +1,7 @@
+### KApiDox Project-specific Overrides File
+
+# define so that deprecated API is not skipped
+PREDEFINED += \
+    "KCALENDARCORE_ENABLE_DEPRECATED_SINCE(x, y)=1" \
+    "KCALENDARCORE_BUILD_DEPRECATED_SINCE(x, y)=1" \
+    "KCALENDARCORE_DEPRECATED_VERSION(x, y, t)="
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.63.0/src/CMakeLists.txt 
new/kcalendarcore-5.64.0/src/CMakeLists.txt
--- old/kcalendarcore-5.63.0/src/CMakeLists.txt 2019-10-06 11:33:46.000000000 
+0200
+++ new/kcalendarcore-5.64.0/src/CMakeLists.txt 2019-11-02 12:42:22.000000000 
+0100
@@ -40,10 +40,17 @@
 ecm_qt_declare_logging_category(kcalcore_LIB_SRCS HEADER kcalendarcore_debug.h 
IDENTIFIER KCALCORE_LOG CATEGORY_NAME org.kde.pim.kcalcore)
 
 add_library(KF5CalendarCore ${kcalcore_LIB_SRCS})
+add_library(KF5::CalendarCore ALIAS KF5CalendarCore)
 
-generate_export_header(KF5CalendarCore BASE_NAME kcalendarcore)
+ecm_generate_export_header(KF5CalendarCore
+    BASE_NAME kcalendarcore
+    GROUP_BASE_NAME KF
+    VERSION ${KF5_VERSION}
+    DEPRECATED_BASE_VERSION 0
+    DEPRECATION_VERSIONS 5.64
+    EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT}
+)
 
-add_library(KF5::CalendarCore ALIAS KF5CalendarCore)
 
 # backward compatibility with the old name
 if (NOT KCALENDARCORE_NO_DEPRECATED_NAMESPACE)
@@ -168,6 +175,7 @@
             ${CMAKE_CURRENT_BINARY_DIR}
         BLANK_MACROS
             KCALENDARCORE_EXPORT
+            "KCALENDARCORE_DEPRECATED_VERSION(x, y, t)"
         TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR}
         QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR}
         COMPONENT Devel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.63.0/src/journal.cpp 
new/kcalendarcore-5.64.0/src/journal.cpp
--- old/kcalendarcore-5.63.0/src/journal.cpp    2019-10-06 11:33:46.000000000 
+0200
+++ new/kcalendarcore-5.64.0/src/journal.cpp    2019-11-02 12:42:22.000000000 
+0100
@@ -40,9 +40,8 @@
 {
 }
 
-Journal::~Journal()
-{
-}
+Journal::Journal(const Journal&) = default;
+Journal::~Journal() = default;
 
 Incidence::IncidenceType Journal::type() const
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.63.0/src/journal.h 
new/kcalendarcore-5.64.0/src/journal.h
--- old/kcalendarcore-5.63.0/src/journal.h      2019-10-06 11:33:46.000000000 
+0200
+++ new/kcalendarcore-5.64.0/src/journal.h      2019-11-02 12:42:22.000000000 
+0100
@@ -63,6 +63,9 @@
     */
     Journal();
 
+    /** Copy a journey object. */
+    Journal(const Journal&);
+
     /**
       Destroys a journal.
     */
@@ -154,7 +157,7 @@
       virtual function assign().
       @param other is another Journal object to assign to this one.
      */
-    Journal &operator=(const Journal &other);
+    Journal &operator=(const Journal &other) = delete;
 
     // For polymorfic serialization
     void serialize(QDataStream &out) const override;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.63.0/src/recurrence.cpp 
new/kcalendarcore-5.64.0/src/recurrence.cpp
--- old/kcalendarcore-5.63.0/src/recurrence.cpp 2019-10-06 11:33:46.000000000 
+0200
+++ new/kcalendarcore-5.64.0/src/recurrence.cpp 2019-11-02 12:42:22.000000000 
+0100
@@ -150,6 +150,7 @@
     return *d == *recurrence.d;
 }
 
+#if KCALENDARCORE_BUILD_DEPRECATED_SINCE(5, 64)
 Recurrence &Recurrence::operator=(const Recurrence &recurrence)
 {
     // check for self assignment
@@ -162,6 +163,7 @@
     *d = *recurrence.d;
     return *this;
 }
+#endif
 
 void Recurrence::addObserver(RecurrenceObserver *observer)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.63.0/src/recurrence.h 
new/kcalendarcore-5.64.0/src/recurrence.h
--- old/kcalendarcore-5.63.0/src/recurrence.h   2019-10-06 11:33:46.000000000 
+0200
+++ new/kcalendarcore-5.64.0/src/recurrence.h   2019-11-02 12:42:22.000000000 
+0100
@@ -146,13 +146,18 @@
         return !operator==(r);
     }
 
+#if KCALENDARCORE_BUILD_DEPRECATED_SINCE(5, 64)
     /**
       Assignment operator.
       @param r the recurrence which will be assigned to this.
       @deprecated Do not use, will be removed in KF6
       @warning Broken implementation, do not use!
     */
-    Recurrence &operator=(const Recurrence &r); // TODO KF6 mark as deleted
+    KCALENDARCORE_DEPRECATED_VERSION(5, 64, "Do not use")
+    Recurrence &operator=(const Recurrence &r);
+#else
+    Recurrence &operator=(const Recurrence &r) = delete;
+#endif
 
     /** Return the start date/time of the recurrence (Time for all-day 
recurrences will be 0:00).
      @return the current start/time of the recurrence. */


Reply via email to