Hello community,

here is the log from the commit of package calendarsupport for openSUSE:Factory 
checked in at 2016-09-14 23:02:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/calendarsupport (Old)
 and      /work/SRC/openSUSE:Factory/.calendarsupport.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "calendarsupport"

Changes:
--------
--- /work/SRC/openSUSE:Factory/calendarsupport/calendarsupport.changes  
2016-08-29 15:15:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.calendarsupport.new/calendarsupport.changes     
2016-09-14 23:02:14.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Sep  9 08:06:49 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.08.1
+   * KDE Applications 16.08.1
+   * https://www.kde.org/announcements/announce-applications-16.08.1.php
+
+
+-------------------------------------------------------------------

Old:
----
  calendarsupport-16.08.0.tar.xz

New:
----
  calendarsupport-16.08.1.tar.xz

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

Other differences:
------------------
++++++ calendarsupport.spec ++++++
--- /var/tmp/diff_new_pack.FDbDx8/_old  2016-09-14 23:02:15.000000000 +0200
+++ /var/tmp/diff_new_pack.FDbDx8/_new  2016-09-14 23:02:15.000000000 +0200
@@ -18,7 +18,7 @@
 
 %define lname libKF5CalendarSupport5
 Name:           calendarsupport
-Version:        16.08.0
+Version:        16.08.1
 Release:        0
 Summary:        KDE PIM calendaring support library
 License:        GPL-2.0+ and LGPL-2.1+

++++++ calendarsupport-16.08.0.tar.xz -> calendarsupport-16.08.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calendarsupport-16.08.0/CMakeLists.txt 
new/calendarsupport-16.08.1/CMakeLists.txt
--- old/calendarsupport-16.08.0/CMakeLists.txt  2016-08-06 20:12:46.000000000 
+0200
+++ new/calendarsupport-16.08.1/CMakeLists.txt  2016-08-26 15:31:35.000000000 
+0200
@@ -19,20 +19,20 @@
 include(ECMQtDeclareLoggingCategory)
 include(ECMAddTests)
 
-set(PIM_VERSION "5.3.0")
+set(PIM_VERSION "5.3.1")
 
 set(CALENDARSUPPORT_LIB_VERSION ${PIM_VERSION})
-set(AKONADI_MIMELIB_VERSION "5.3.0")
-set(KDEPIM_LIB_VERSION "5.3.0")
+set(AKONADI_MIMELIB_VERSION "5.3.1")
+set(KDEPIM_LIB_VERSION "5.3.1")
 set(QT_REQUIRED_VERSION "5.5.0")
-set(KMIME_LIB_VERSION "5.3.0")
-set(CALENDARUTILS_LIB_VERSION "5.3.0")
-set(KCALENDARCORE_LIB_VERSION "5.3.0")
-set(IDENTITYMANAGEMENT_LIB_VERSION "5.3.0")
-set(KHOLIDAYS_LIB_VERSION "5.3.0")
-set(AKONADICALENDAR_LIB_VERSION "5.3.0")
-set(PIMCOMMON_LIB_VERSION "5.3.0")
-set(AKONADI_VERSION "5.3.0")
+set(KMIME_LIB_VERSION "5.3.1")
+set(CALENDARUTILS_LIB_VERSION "5.3.1")
+set(KCALENDARCORE_LIB_VERSION "5.3.1")
+set(IDENTITYMANAGEMENT_LIB_VERSION "5.3.1")
+set(KHOLIDAYS_LIB_VERSION "5.3.1")
+set(AKONADICALENDAR_LIB_VERSION "5.3.1")
+set(PIMCOMMON_LIB_VERSION "5.3.1")
+set(AKONADI_VERSION "5.3.1")
 
 find_package(KF5Akonadi ${AKONADI_VERSION} CONFIG REQUIRED)
 find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test UiTools)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calendarsupport-16.08.0/src/calendarplugin.desktop 
new/calendarsupport-16.08.1/src/calendarplugin.desktop
--- old/calendarsupport-16.08.0/src/calendarplugin.desktop      2016-08-06 
20:12:46.000000000 +0200
+++ new/calendarsupport-16.08.1/src/calendarplugin.desktop      2016-08-26 
15:31:35.000000000 +0200
@@ -4,9 +4,11 @@
 Name[ca]=Interfície de connector del calendari
 Name[ca@valencia]=Interfície de connector del calendari
 Name[cs]=Rozhraní modulu kalendáře
+Name[da]=Kalenders plugin-grænseflade
 Name[de]=Kalender-Modulschnittstelle
 Name[en_GB]=Calendar Plugin Interface
 Name[es]=Interfaz del complemento de calendario
+Name[et]=Kalendriplugina liides
 Name[fi]=Kalenteriliitännäisen käyttöliittymä
 Name[fr]=Interface de module d'agenda
 Name[gl]=Interface do complemento de calendario
@@ -35,9 +37,11 @@
 Comment[ca]=Connector calendari
 Comment[ca@valencia]=Connector calendari
 Comment[cs]=Kalendářový modul
+Comment[da]=Calendar-plugin
 Comment[de]=Kalender-Modul
 Comment[en_GB]=Calendar Plugin
 Comment[es]=Complemento de calendario
+Comment[et]=Kalendriplugin
 Comment[fi]=Kalenteriliitännäinen
 Comment[fr]=Module d'agenda
 Comment[gl]=Complemento de calendario
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calendarsupport-16.08.0/src/kcalprefs.cpp 
new/calendarsupport-16.08.1/src/kcalprefs.cpp
--- old/calendarsupport-16.08.0/src/kcalprefs.cpp       2016-08-06 
20:12:46.000000000 +0200
+++ new/calendarsupport-16.08.1/src/kcalprefs.cpp       2016-08-26 
15:31:35.000000000 +0200
@@ -310,7 +310,7 @@
 
 void KCalPrefs::setCategoryColor(const QString &cat, const QColor &color)
 {
-    Akonadi::Tag tag = d->mTagCache.getTagByGid(cat.toUtf8());
+    Akonadi::Tag tag = d->mTagCache.getTagByName(cat);
     Akonadi::TagAttribute *attr = 
tag.attribute<Akonadi::TagAttribute>(Akonadi::Tag::AddIfMissing);
     attr->setBackgroundColor(color);
     new Akonadi::TagModifyJob(tag);
@@ -321,7 +321,7 @@
     QColor color;
 
     if (!cat.isEmpty()) {
-        const Akonadi::Tag &tag = d->mTagCache.getTagByGid(cat.toUtf8());
+        const Akonadi::Tag &tag = d->mTagCache.getTagByName(cat);
         if (Akonadi::TagAttribute *attr = 
tag.attribute<Akonadi::TagAttribute>()) {
             color = attr->backgroundColor();
         }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/calendarsupport-16.08.0/src/printing/itemlist/listprint.desktop 
new/calendarsupport-16.08.1/src/printing/itemlist/listprint.desktop
--- old/calendarsupport-16.08.0/src/printing/itemlist/listprint.desktop 
2016-08-06 20:12:46.000000000 +0200
+++ new/calendarsupport-16.08.1/src/printing/itemlist/listprint.desktop 
2016-08-26 15:31:35.000000000 +0200
@@ -4,9 +4,11 @@
 Name[ca]=Estil d'impressió en llista
 Name[ca@valencia]=Estil d'impressió en llista
 Name[cs]=Styl deníku - seznam
+Name[da]=Listeudskriftsstil
 Name[de]=Listen-Druckstil
 Name[en_GB]=List Print Style
 Name[es]=Estilo de impresión de lista
+Name[et]=Nimekirja trükkimise stiil
 Name[fi]=Listatulostustyyli
 Name[fr]=Impression en liste
 Name[gl]=Estilo de impresión das listas
@@ -32,9 +34,11 @@
 Comment[ca]=Aquest connector permet imprimir esdeveniments i pendents en forma 
de llista.
 Comment[ca@valencia]=Este connector permet imprimir esdeveniments i pendents 
en forma de llista.
 Comment[cs]=tento modul umožňuje tisknout události a úlohy do seznamu.
+Comment[da]=Dette plugin gør at du kan udskrive begivenheder og opgaver på en 
liste.
 Comment[de]=Mit diesem Modul können Ereignisse und Aufgaben in Listenform 
ausgedruckt werden.
 Comment[en_GB]=This plugin allows you to print out events and to-dos in list 
form.
 Comment[es]=Este complemento le permite imprimir eventos y tareas pendientes 
en formato lista.
+Comment[et]=See plugin võimaldab trükkida sündmusi ja ülesandeid nimekirjana.
 Comment[fi]=Tämä liitännäinen mahdollistaa tapahtumien ja tehtävien 
tulostuksen listana.
 Comment[fr]=Ce module vous permet d'imprimer les évènements et les tâches sous 
forme de liste
 Comment[gl]=Este complemento permite imprimir as actividades e as tarefas en 
forma de lista.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/calendarsupport-16.08.0/src/printing/whatsnext/whatsnextprint.desktop 
new/calendarsupport-16.08.1/src/printing/whatsnext/whatsnextprint.desktop
--- old/calendarsupport-16.08.0/src/printing/whatsnext/whatsnextprint.desktop   
2016-08-06 20:12:46.000000000 +0200
+++ new/calendarsupport-16.08.1/src/printing/whatsnext/whatsnextprint.desktop   
2016-08-26 15:31:35.000000000 +0200
@@ -4,9 +4,11 @@
 Name[ca]=Estil d'impressió «Què toca ara?»
 Name[ca@valencia]=Estil d'impressió «Què toca ara?»
 Name[cs]=Styl deníku - co je nového
+Name[da]=Hvad er det næste-udskriftsstil
 Name[de]=„Was kommt als nächstes“-Druckstil
 Name[en_GB]=What's Next Print Style
 Name[es]=Cuál es el siguiente estilo de impresión
+Name[et]="Mis järgmiseks?" trükkimise stiil
 Name[fi]=Mitä seuraavaksi -tulostustyyli
 Name[fr]=Impression des évènements à venir
 Name[gl]=Estilo de impresión do que ven agora
@@ -32,9 +34,11 @@
 Comment[ca]=Aquest connector us permet imprimir una llista de tots els 
esdeveniments i pendents properes.
 Comment[ca@valencia]=Este connector vos permet imprimir una llista de tots els 
esdeveniments i pendents properes.
 Comment[cs]=Tento modul umožňuje tisk seznamu všech budoucích událostí a úkolů.
+Comment[da]=Dette plugin gør at du kan udskrive en liste med alle kommende 
begivenheder og opgaver.
 Comment[de]=Mit diesem Modul kann eine Liste der als nächstes anliegenden 
Ereignisse und Aufgaben gedruckt werden
 Comment[en_GB]=This plugin allows you to print out a list of all upcoming 
events and to-dos.
 Comment[es]=Este complemento le permite imprimir una lista de todos los 
eventos y tareas pendientes futuras.
+Comment[et]=See plugin võimaldab trükkida kõigi eelseisvate sündmuste ja 
ülesannete nimekirja.
 Comment[fi]=Tämä liitännäinen mahdollistaa tulevien tapahtumien ja tehtävien 
tulostuksen listana.
 Comment[fr]=Ce module vous permet d'imprimer la liste des prochaines 
évènements et des prochaines tâches.
 Comment[gl]=Este complemento permite imprimir unha lista de todas as 
actividades e tarefas vindeiras.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calendarsupport-16.08.0/src/tagcache.cpp 
new/calendarsupport-16.08.1/src/tagcache.cpp
--- old/calendarsupport-16.08.0/src/tagcache.cpp        2016-08-06 
20:12:46.000000000 +0200
+++ new/calendarsupport-16.08.1/src/tagcache.cpp        2016-08-26 
15:31:35.000000000 +0200
@@ -47,10 +47,16 @@
     return mCache.value(mGidCache.value(gid));
 }
 
+Akonadi::Tag TagCache::getTagByName(const QString &name) const
+{
+    return mCache.value(mNameCache.value(name));
+}
+
 void TagCache::onTagAdded(const Akonadi::Tag &tag)
 {
     mCache.insert(tag.id(), tag);
     mGidCache.insert(tag.gid(), tag.id());
+    mNameCache.insert(tag.name(), tag.id());
 }
 
 void TagCache::onTagChanged(const Akonadi::Tag &tag)
@@ -62,6 +68,7 @@
 {
     mCache.remove(tag.id());
     mGidCache.remove(tag.gid());
+    mNameCache.remove(tag.name());
 }
 
 void TagCache::retrieveTags()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calendarsupport-16.08.0/src/tagcache.h 
new/calendarsupport-16.08.1/src/tagcache.h
--- old/calendarsupport-16.08.0/src/tagcache.h  2016-08-06 20:12:46.000000000 
+0200
+++ new/calendarsupport-16.08.1/src/tagcache.h  2016-08-26 15:31:35.000000000 
+0200
@@ -42,6 +42,7 @@
 public:
     TagCache();
     Akonadi::Tag getTagByGid(const QByteArray &gid) const;
+    Akonadi::Tag getTagByName(const QString &name) const;
 
 private Q_SLOTS:
     void onTagAdded(const Akonadi::Tag &);
@@ -54,6 +55,7 @@
 
     QHash<Akonadi::Tag::Id, Akonadi::Tag> mCache;
     QHash<QByteArray, Akonadi::Tag::Id> mGidCache;
+    QHash<QString, Akonadi::Tag::Id> mNameCache;
     Akonadi::Monitor *mMonitor;
 };
 


Reply via email to