Hello community, here is the log from the commit of package kcalcore for openSUSE:Factory checked in at 2018-02-12 10:00:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcalcore (Old) and /work/SRC/openSUSE:Factory/.kcalcore.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcalcore" Mon Feb 12 10:00:02 2018 rev:29 rq:575006 version:17.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kcalcore/kcalcore.changes 2018-01-17 21:48:27.646867626 +0100 +++ /work/SRC/openSUSE:Factory/.kcalcore.new/kcalcore.changes 2018-02-12 10:00:04.918229166 +0100 @@ -1,0 +2,13 @@ +Wed Feb 07 08:47:41 CET 2018 - [email protected] + +- Update to 17.12.2 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-17.12.2.php +- Changes since 17.12.1: + * Remove unused unistd.h include + * define strncasecmp and strcasecmp on Windows + * Remove strings.h include + * icalformat: remove QByteArray->QString->QByteArray roundtrip. + +------------------------------------------------------------------- Old: ---- kcalcore-17.12.1.tar.xz New: ---- kcalcore-17.12.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcalcore.spec ++++++ --- /var/tmp/diff_new_pack.wPvP7A/_old 2018-02-12 10:00:06.286179857 +0100 +++ /var/tmp/diff_new_pack.wPvP7A/_new 2018-02-12 10:00:06.294179569 +0100 @@ -18,7 +18,7 @@ %define kf5_version 5.19.0 Name: kcalcore -Version: 17.12.1 +Version: 17.12.2 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) ++++++ kcalcore-17.12.1.tar.xz -> kcalcore-17.12.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcalcore-17.12.1/CMakeLists.txt new/kcalcore-17.12.2/CMakeLists.txt --- old/kcalcore-17.12.1/CMakeLists.txt 2017-12-15 10:13:12.000000000 +0100 +++ new/kcalcore-17.12.2/CMakeLists.txt 2018-01-24 12:46:32.000000000 +0100 @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.0) -set(PIM_VERSION "5.7.1") +set(PIM_VERSION "5.7.2") project(KCalCore VERSION ${PIM_VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcalcore-17.12.1/autotests/testfilestorage.cpp new/kcalcore-17.12.2/autotests/testfilestorage.cpp --- old/kcalcore-17.12.1/autotests/testfilestorage.cpp 2017-12-15 10:13:12.000000000 +0100 +++ new/kcalcore-17.12.2/autotests/testfilestorage.cpp 2018-01-24 12:46:32.000000000 +0100 @@ -22,8 +22,6 @@ #include "filestorage.h" #include "memorycalendar.h" -#include <unistd.h> - #include <QTest> #include <QTimeZone> QTEST_MAIN(FileStorageTest) @@ -68,7 +66,7 @@ QVERIFY(fs.save()); QVERIFY(fs.close()); cal->close(); - unlink("fred.ics"); + QFile::remove(QStringLiteral("fred.ics")); } void FileStorageTest::testSaveLoadSave() @@ -104,12 +102,12 @@ Event::Ptr e = fs.calendar()->incidence(QStringLiteral("1")).staticCast<Event>(); QVERIFY(e != nullptr); QVERIFY(fs.close()); - unlink("fred.ics"); + QFile::remove(QStringLiteral("fred.ics")); QVERIFY(fs.open()); QVERIFY(fs.save()); QVERIFY(fs.close()); - unlink("fred.ics"); + QFile::remove(QStringLiteral("fred.ics")); } void FileStorageTest::testSpecialChars() @@ -164,5 +162,5 @@ file.close(); - unlink("bart.ics"); + file.remove(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcalcore-17.12.1/autotests/testicalformat.cpp new/kcalcore-17.12.2/autotests/testicalformat.cpp --- old/kcalcore-17.12.1/autotests/testicalformat.cpp 2017-12-15 10:13:12.000000000 +0100 +++ new/kcalcore-17.12.2/autotests/testicalformat.cpp 2018-01-24 12:46:32.000000000 +0100 @@ -29,8 +29,6 @@ #include <QTest> #include <QTimeZone> -#include <unistd.h> - QTEST_MAIN(ICalFormatTest) using namespace KCalCore; @@ -101,7 +99,7 @@ QVERIFY(calendar3->incidences().count() == 1); QVERIFY(*calendar3->incidences().at(0) == *event); - unlink("hommer.ics"); + QFile::remove(QStringLiteral("hommer.ics")); } void ICalFormatTest::testVolatileProperties() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcalcore-17.12.1/autotests/testmemorycalendar.cpp new/kcalcore-17.12.2/autotests/testmemorycalendar.cpp --- old/kcalcore-17.12.1/autotests/testmemorycalendar.cpp 2017-12-15 10:13:12.000000000 +0100 +++ new/kcalcore-17.12.2/autotests/testmemorycalendar.cpp 2018-01-24 12:46:32.000000000 +0100 @@ -26,8 +26,6 @@ #include <QDebug> -#include <unistd.h> - #include <QTest> #include <QTimeZone> QTEST_MAIN(MemoryCalendarTest) @@ -74,7 +72,7 @@ FileStorage store(cal, QStringLiteral("foo.ics")); QVERIFY(store.save()); cal->close(); - unlink("foo.ics"); + QFile::remove(QStringLiteral("foo.ics")); } void MemoryCalendarTest::testIncidences() @@ -134,7 +132,7 @@ QVERIFY(todo->summaryIsRich()); QVERIFY(todo->locationIsRich()); cal->close(); - unlink("foo.ics"); + QFile::remove(QStringLiteral("foo.ics")); } void MemoryCalendarTest::testRelationsCrash() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcalcore-17.12.1/src/icalformat.cpp new/kcalcore-17.12.2/src/icalformat.cpp --- old/kcalcore-17.12.1/src/icalformat.cpp 2017-12-15 10:13:12.000000000 +0100 +++ new/kcalcore-17.12.2/src/icalformat.cpp 2018-01-24 12:46:32.000000000 +0100 @@ -90,9 +90,7 @@ setException(new Exception(Exception::LoadError)); return false; } - QTextStream ts(&file); - ts.setCodec("UTF-8"); - QByteArray text = ts.readAll().trimmed().toUtf8(); + const QByteArray text = file.readAll().trimmed(); file.close(); if (text.isEmpty()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcalcore-17.12.1/src/versit/vcc.y new/kcalcore-17.12.2/src/versit/vcc.y --- old/kcalcore-17.12.1/src/versit/vcc.y 2017-12-15 10:13:12.000000000 +0100 +++ new/kcalcore-17.12.2/src/versit/vcc.y 2018-01-24 12:46:32.000000000 +0100 @@ -99,12 +99,16 @@ #endif #include <string.h> -#include <strings.h> #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include "vcc.h" +#ifdef _WIN32 +#define strncasecmp _strnicmp +#define strcasecmp _stricmp +#endif + /* The following is a hack that I hope will get things compiling * on SunOS 4.1.x systems */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcalcore-17.12.1/src/versit/vobject.c new/kcalcore-17.12.2/src/versit/vobject.c --- old/kcalcore-17.12.1/src/versit/vobject.c 2017-12-15 10:13:12.000000000 +0100 +++ new/kcalcore-17.12.2/src/versit/vobject.c 2018-01-24 12:46:32.000000000 +0100 @@ -46,9 +46,13 @@ #include "vobject.h" #include <string.h> -#include <strings.h> #include <stdio.h> +#ifdef _WIN32 +#define strncasecmp _strnicmp +#define strcasecmp _stricmp +#endif + #define NAME_OF(o) o->id #define VALUE_TYPE(o) o->valType #define STRINGZ_VALUE_OF(o) o->val.strs
