Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kcalendarcore for openSUSE:Factory 
checked in at 2023-11-13 22:16:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kcalendarcore (Old)
 and      /work/SRC/openSUSE:Factory/.kcalendarcore.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kcalendarcore"

Mon Nov 13 22:16:37 2023 rev:51 rq:1125301 version:5.112.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kcalendarcore/kcalendarcore.changes      
2023-10-20 23:16:54.526830142 +0200
+++ /work/SRC/openSUSE:Factory/.kcalendarcore.new.17445/kcalendarcore.changes   
2023-11-13 22:18:42.162713022 +0100
@@ -1,0 +2,12 @@
+Mon Nov  6 09:13:44 UTC 2023 - Christophe Marin <[email protected]>
+
+- Update to 5.112.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.112.0
+- Changes since 5.111.0:
+  * ICalFormat: don't shift all-day invite dates to UTC (kde#421400)
+- Drop patch, merged upstream:
+  * 0001-ICalFormat-don-t-shift-all-day-invite-dates-to-UTC.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-ICalFormat-don-t-shift-all-day-invite-dates-to-UTC.patch
  kcalendarcore-5.111.0.tar.xz
  kcalendarcore-5.111.0.tar.xz.sig

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

BETA DEBUG BEGIN:
  Old:- Drop patch, merged upstream:
  * 0001-ICalFormat-don-t-shift-all-day-invite-dates-to-UTC.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ kcalendarcore.spec ++++++
--- /var/tmp/diff_new_pack.1UNGKW/_old  2023-11-13 22:18:42.806736734 +0100
+++ /var/tmp/diff_new_pack.1UNGKW/_new  2023-11-13 22:18:42.810736881 +0100
@@ -23,7 +23,7 @@
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without released
 Name:           kcalendarcore
-Version:        5.111.0
+Version:        5.112.0
 Release:        0
 Summary:        Library to access and handle calendar data
 License:        LGPL-2.0-or-later
@@ -33,8 +33,6 @@
 Source1:        %{name}-%{version}.tar.xz.sig
 Source2:        frameworks.keyring
 %endif
-# PATCH-FIX-UPSTREAM
-Patch0:         0001-ICalFormat-don-t-shift-all-day-invite-dates-to-UTC.patch
 BuildRequires:  extra-cmake-modules >= %{_kf5_version}
 BuildRequires:  fdupes
 BuildRequires:  cmake(LibIcal) >= 3.0


++++++ kcalendarcore-5.111.0.tar.xz -> kcalendarcore-5.112.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.111.0/CMakeLists.txt 
new/kcalendarcore-5.112.0/CMakeLists.txt
--- old/kcalendarcore-5.111.0/CMakeLists.txt    2023-10-07 12:18:09.000000000 
+0200
+++ new/kcalendarcore-5.112.0/CMakeLists.txt    2023-11-04 11:00:28.000000000 
+0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.16)
-set(KF_VERSION "5.111.0") # handled by release scripts
+set(KF_VERSION "5.112.0") # handled by release scripts
 
 project(KCalendarCore VERSION ${KF_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.111.0  NO_MODULE)
+find_package(ECM 5.112.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.111.0/autotests/testicalformat.cpp 
new/kcalendarcore-5.112.0/autotests/testicalformat.cpp
--- old/kcalendarcore-5.111.0/autotests/testicalformat.cpp      2023-10-07 
12:18:09.000000000 +0200
+++ new/kcalendarcore-5.112.0/autotests/testicalformat.cpp      2023-11-04 
11:00:28.000000000 +0100
@@ -542,4 +542,28 @@
     QCOMPARE(event->nonKDECustomProperty("X-APPLE-STRUCTURED-LOCATION"), 
QLatin1String("geo:52.063921,5.128511"));
 }
 
+void ICalFormatTest::testAllDaySchedulingMessage()
+{
+    auto event = KCalendarCore::Event::Ptr::create();
+    event->setSummary(QStringLiteral("All Day Event"));
+    event->setDtStart(QDateTime(QDate(2023, 10, 13), QTime(0, 0, 0), 
QTimeZone("Europe/Prague")));
+    event->setDtEnd(QDateTime(QDate(2023, 10, 15), QTime(0, 0, 0), 
QTimeZone("Europe/Prague")));
+    event->setOrganizer(Person(QStringLiteral("Dan"), 
QStringLiteral("[email protected]")));
+    event->addAttendee(Attendee(QStringLiteral("Konqi"), 
QStringLiteral("[email protected]")));
+    event->setAllDay(true);
+
+    ICalFormat format;
+    auto calendar = MemoryCalendar::Ptr::create(QTimeZone::utc());
+    const auto itipString = format.createScheduleMessage(event, 
KCalendarCore::iTIPRequest);
+    QVERIFY(!itipString.isEmpty());
+
+    auto scheduleMsg = format.parseScheduleMessage(calendar, itipString);
+    QVERIFY(scheduleMsg->error().isEmpty());
+
+    auto parsedEvent = scheduleMsg->event().staticCast<KCalendarCore::Event>();
+    QVERIFY(parsedEvent);
+    QCOMPARE(parsedEvent->dtStart().date(), event->dtStart().date());
+    QCOMPARE(parsedEvent->dtEnd().date(), event->dtEnd().date());
+}
+
 #include "moc_testicalformat.cpp"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.111.0/autotests/testicalformat.h 
new/kcalendarcore-5.112.0/autotests/testicalformat.h
--- old/kcalendarcore-5.111.0/autotests/testicalformat.h        2023-10-07 
12:18:09.000000000 +0200
+++ new/kcalendarcore-5.112.0/autotests/testicalformat.h        2023-11-04 
11:00:28.000000000 +0100
@@ -32,6 +32,7 @@
     void testUidGenerationUniqueness();
     void testIcalFormat();
     void testNonTextCustomProperties();
+    void testAllDaySchedulingMessage();
 };
 
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.111.0/src/icalformat.cpp 
new/kcalendarcore-5.112.0/src/icalformat.cpp
--- old/kcalendarcore-5.111.0/src/icalformat.cpp        2023-10-07 
12:18:09.000000000 +0200
+++ new/kcalendarcore-5.112.0/src/icalformat.cpp        2023-11-04 
11:00:28.000000000 +0100
@@ -436,7 +436,7 @@
 
         // Recurring events need timezone information to allow proper 
calculations
         // across timezones with different DST.
-        const bool useUtcTimes = !i->recurs();
+        const bool useUtcTimes = !i->recurs() && !i->allDay();
 
         const bool hasSchedulingId = (i->schedulingID() != i->uid());
 

Reply via email to