Projects
Kolab:16:Enterprise
kolab-utils
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 19
View file
kolab-utils.spec
Changed
@@ -10,7 +10,7 @@ %endif Name: kolab-utils -Version: 3.1.1 +Version: 3.1.2 Release: 1%{?dist} Summary: Kolab Utilities @@ -23,6 +23,7 @@ Source0: http://git.kolab.org/kolab-utils/snapshot/%{name}-%{version}.tar.gz Patch0001: 0001-libcalendaring.patch +Patch0002: 0002-no-tests-for-fbdaemon.patch BuildRequires: cmake BuildRequires: libcurl-devel @@ -47,6 +48,9 @@ %setup -q %patch0001 -p1 +%if 0%{?fedora} +%patch0002 -p1 +%endif %build mkdir -p build @@ -86,8 +90,8 @@ %attr(0750,root,%{httpd_group}) %dir %{_sharedstatedir}/kolab-freebusy %changelog -* Fri Apr 15 2016 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1.1-1 -- Release version 3.1.1 +* Fri Apr 15 2016 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1.2-1 +- Release version 3.1.2 * Tue Oct 29 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0.5-3 - Do not require httpd at all
View file
0002-no-tests-for-fbdaemon-on-Debian.patch
Deleted
@@ -1,9 +0,0 @@ -diff -ur kolab-utils-3.1.1.orig/fbdaemon/CMakeLists.txt kolab-utils-3.1.1/fbdaemon/CMakeLists.txt ---- kolab-utils-3.1.1.orig/fbdaemon/CMakeLists.txt 2016-04-15 09:42:19.000000000 +0200 -+++ kolab-utils-3.1.1/fbdaemon/CMakeLists.txt 2016-04-15 10:06:23.115560364 +0200 -@@ -43,4 +43,4 @@ - ARCHIVE DESTINATION ${LIB_INSTALL_DIR} - ) - --add_subdirectory(tests) -+#add_subdirectory(tests)
View file
0002-no-tests-for-fbdaemon.patch
Added
@@ -0,0 +1,9 @@ +diff -ur kolab-utils-3.1.1.orig/fbdaemon/CMakeLists.txt kolab-utils-3.1.1/fbdaemon/CMakeLists.txt +--- kolab-utils-3.1.1.orig/fbdaemon/CMakeLists.txt 2016-04-15 09:42:19.000000000 +0200 ++++ kolab-utils-3.1.1/fbdaemon/CMakeLists.txt 2016-04-15 10:06:23.115560364 +0200 +@@ -43,4 +43,4 @@ + ARCHIVE DESTINATION ${LIB_INSTALL_DIR} + ) + +-add_subdirectory(tests) ++#add_subdirectory(tests)
View file
debian.changelog
Changed
@@ -1,6 +1,6 @@ -kolab-utils (3.1.1-0~kolab1) unstable; urgency=low +kolab-utils (3.1.2-0~kolab1) unstable; urgency=low - * Release of version 3.1.1 + * Release of version 3.1.2 -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Fri, 15 Apr 2016 23:00:55 +0100
View file
debian.series
Changed
@@ -1,2 +1,2 @@ 0001-libcalendaring.patch -p1 -0002-no-tests-for-fbdaemon-on-Debian.patch -p1 +0002-no-tests-for-fbdaemon.patch -p1
View file
kolab-utils-3.1.1.tar.gz/CMakeLists.txt -> kolab-utils-3.1.2.tar.gz/CMakeLists.txt
Changed
@@ -18,7 +18,7 @@ set(Kolabutils_VERSION_MAJOR 3) set(Kolabutils_VERSION_MINOR 1) # Enable the full x.y.z version only for release versions -set(Kolabutils_VERSION_PATCH 1) +set(Kolabutils_VERSION_PATCH 2) set(Kolabutils_VERSION ${Kolabutils_VERSION_MAJOR}.${Kolabutils_VERSION_MINOR}.${Kolabutils_VERSION_PATCH} ) # set(Kolabutils_VERSION ${Kolabutils_VERSION_MAJOR}.${Kolabutils_VERSION_MINOR} ) set(Kolabutils_VERSION_STRING ${CMAKE_PROJECT_NAME}-${Kolabutils_VERSION})
View file
kolab-utils-3.1.1.tar.gz/upgradetool/upgradetool.cpp -> kolab-utils-3.1.2.tar.gz/upgradetool/upgradetool.cpp
Changed
@@ -25,6 +25,7 @@ #include "upgradeutilities.h" #include "imapupgradejob.h" #include "kolabutils-version.h" +#include <ksystemtimezone.h> /** * Usage: @@ -57,6 +58,8 @@ options.add("a").add("auth <mode>", ki18n("Authentication mode to be used (PLAIN, LOGIN, CRAMMD5, DIGESTMD5, NTLM, GSSAPI, ANONYMOUS, CLEARTEXT)"), "PLAIN"); options.add("fix-utc-incidences", ki18n("Converts all incidences from UTC to floating time.")); // options.add("f").add + options.add("fix-utc-incidences-offset <offset>", ki18n("Uses a UTC offset to convert the times. If not provided the local timezone get's used instead. The offset is in seconds."), "0"); + options.add("fix-utc-incidences-timezone <timezone>", ki18n("Uses the specified timezone to convert the times. If not provided the local timezone get's used instead. Timezones are read from zone.tab")); options.add("+server/file", ki18n("IMAP Server/File")); KCmdLineArgs::addCmdLineOptions( options ); QCoreApplication app(argc, argv); @@ -80,9 +83,16 @@ } } - const bool fixUtcIncidences = args->isSet("fix-utc-incidences"); + const bool fixUtcIncidencesWithOffset = args->isSet("fix-utc-incidences-offset"); + const bool fixUtcIncidencesWithTimezone = args->isSet("fix-utc-incidences-timezone"); + const bool fixUtcIncidences = args->isSet("fix-utc-incidences") || fixUtcIncidencesWithOffset || fixUtcIncidencesWithTimezone; Kolab::Upgrade::UpgradeOptions upgradeOptions; upgradeOptions.fixUtcIncidences = fixUtcIncidences; + upgradeOptions.fixUtcIncidencesWithOffset = fixUtcIncidencesWithOffset; + upgradeOptions.fixUtcIncidencesOffset = args->getOption("fix-utc-incidences-offset").toInt(); + if (fixUtcIncidencesWithTimezone) { + upgradeOptions.fixUtcIncidencesTimezone = KSystemTimeZones::readZone(args->getOption("fix-utc-incidences-timezone")); + } upgradeOptions.overrideObjectType = overrideType;
View file
kolab-utils-3.1.1.tar.gz/upgradetool/upgradeutilities.cpp -> kolab-utils-3.1.2.tar.gz/upgradetool/upgradeutilities.cpp
Changed
@@ -24,8 +24,9 @@ #include <kolabevent.h> #include <kolabformat.h> #include <errorhandler.h> -#include <KCalCore/Event> -#include <KDateTime> +#include <kcalcore/event.h> +#include <kdatetime.h> +#include <ksystemtimezone.h> namespace Kolab { namespace Upgrade { @@ -34,7 +35,13 @@ { if (upgradeOptions.fixUtcIncidences) { if (incidence->dtStart().isUtc()) { - incidence->shiftTimes(KDateTime::Spec::LocalZone(), KDateTime::Spec::ClockTime()); + if (upgradeOptions.fixUtcIncidencesTimezone.isValid()) { + incidence->shiftTimes(upgradeOptions.fixUtcIncidencesTimezone, KDateTime::Spec::ClockTime()); + } else if (upgradeOptions.fixUtcIncidencesWithOffset) { + incidence->shiftTimes(KDateTime::Spec::OffsetFromUTC(upgradeOptions.fixUtcIncidencesOffset), KDateTime::Spec::ClockTime()); + } else { + incidence->shiftTimes(KDateTime::Spec::LocalZone(), KDateTime::Spec::ClockTime()); + } } } }
View file
kolab-utils-3.1.1.tar.gz/upgradetool/upgradeutilities.h -> kolab-utils-3.1.2.tar.gz/upgradetool/upgradeutilities.h
Changed
@@ -20,6 +20,7 @@ #include <QString> #include <kolabobject.h> #include <kmime/kmime_message.h> +#include <ktimezone.h> namespace Kolab { namespace Upgrade { @@ -31,13 +32,18 @@ struct UpgradeOptions { UpgradeOptions() :overrideObjectType(Kolab::InvalidObject), - fixUtcIncidences(false) + fixUtcIncidences(false), + fixUtcIncidencesWithOffset(false), + fixUtcIncidencesOffset(0) { } Kolab::ObjectType overrideObjectType; bool fixUtcIncidences; + bool fixUtcIncidencesWithOffset; + int fixUtcIncidencesOffset; + KTimeZone fixUtcIncidencesTimezone; }; /**
View file
kolab-utils.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-utils Binary: kolab-utils Architecture: any -Version: 3.1.1-0~kolab1 +Version: 3.1.2-0~kolab1 Maintainer: Paul Klos <kolab@klos2day.nl> Homepage: http://git.kolab.org/kolab-utils Standards-Version: 3.9.3 @@ -21,5 +21,5 @@ Package-List: kolab-utils deb libs optional Files: - 00000000000000000000000000000000 0 kolab-utils-3.1.1.tar.gz + 00000000000000000000000000000000 0 kolab-utils-3.1.2.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.