Hello community,

here is the log from the commit of package kinfocenter5 for openSUSE:Factory 
checked in at 2016-05-19 12:11:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kinfocenter5 (Old)
 and      /work/SRC/openSUSE:Factory/.kinfocenter5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kinfocenter5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kinfocenter5/kinfocenter5.changes        
2016-05-08 10:42:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kinfocenter5.new/kinfocenter5.changes   
2016-05-19 12:11:58.000000000 +0200
@@ -1,0 +2,8 @@
+Sun May 15 16:50:14 UTC 2016 - [email protected]
+
+- Update to 5.6.4
+  * New bugfix release
+  * For more details please see:
+    https://www.kde.org/announcements/plasma-5.6.4.php
+
+-------------------------------------------------------------------

Old:
----
  kinfocenter-5.6.3.tar.xz

New:
----
  kinfocenter-5.6.4.tar.xz

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

Other differences:
------------------
++++++ kinfocenter5.spec ++++++
--- /var/tmp/diff_new_pack.QZ9Zxi/_old  2016-05-19 12:12:00.000000000 +0200
+++ /var/tmp/diff_new_pack.QZ9Zxi/_new  2016-05-19 12:12:00.000000000 +0200
@@ -18,7 +18,7 @@
 
 %bcond_without lang
 Name:           kinfocenter5
-Version:        5.6.3
+Version:        5.6.4
 Release:        0
 Summary:        Utility that provides information about a computer system
 License:        GPL-2.0+

++++++ kinfocenter-5.6.3.tar.xz -> kinfocenter-5.6.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/CMakeLists.txt 
new/kinfocenter-5.6.4/CMakeLists.txt
--- old/kinfocenter-5.6.3/CMakeLists.txt        2016-04-19 13:09:57.000000000 
+0200
+++ new/kinfocenter-5.6.4/CMakeLists.txt        2016-05-10 18:36:10.000000000 
+0200
@@ -1,5 +1,5 @@
 project(kinfocenter)
-set(PROJECT_VERSION "5.6.3")
+set(PROJECT_VERSION "5.6.4")
 
 cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
 set(QT_MIN_VERSION "5.4.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/Modules/energy/batterymodel.cpp 
new/kinfocenter-5.6.4/Modules/energy/batterymodel.cpp
--- old/kinfocenter-5.6.3/Modules/energy/batterymodel.cpp       2016-04-19 
13:09:20.000000000 +0200
+++ new/kinfocenter-5.6.4/Modules/energy/batterymodel.cpp       2016-05-10 
18:34:59.000000000 +0200
@@ -30,44 +30,35 @@
 {
     qmlRegisterType<Solid::Battery>();
 
-    const auto devices = 
Solid::Device::listFromType(Solid::DeviceInterface::Battery);
-    foreach (Solid::Device device, devices) {
-        auto battery = device.as<Solid::Battery>();
-        m_batteries.append(battery);
-        // FIXME Fix Solid so it exposes the base device interface properties 
too
-        m_batteriesUdi.append(device.udi());
-    }
+    m_batteries = Solid::Device::listFromType(Solid::DeviceInterface::Battery);
 
     connect(Solid::DeviceNotifier::instance(), 
&Solid::DeviceNotifier::deviceAdded, this, [this](const QString &udi) {
-        if (m_batteriesUdi.contains(udi)) {
-            // we already know that one
+
+        auto it = std::find_if(m_batteries.constBegin(), 
m_batteries.constEnd(), [&udi](const Solid::Device &dev) {return dev.udi() == 
udi;});
+        if (it != m_batteries.constEnd()) {
             return;
         }
 
         const Solid::Device device(udi);
-        if (device.isValid()) {
-            auto *battery = const_cast<Solid::Battery 
*>(device.as<Solid::Battery>());
-            if (battery) {
-                beginInsertRows(QModelIndex(), m_batteries.count(), 
m_batteries.count());
-                m_batteries.append(battery);
-                // FIXME Fix Solid so it exposes the base device interface 
properties too
-                m_batteriesUdi.append(device.udi());
-                endInsertRows();
+        if (device.isValid() && device.is<Solid::Battery>()) {
+            beginInsertRows(QModelIndex(), m_batteries.count(), 
m_batteries.count());
+            m_batteries.append(device);
+            endInsertRows();
 
-                emit countChanged();
-            }
+            emit countChanged();
         }
     });
     connect(Solid::DeviceNotifier::instance(), 
&Solid::DeviceNotifier::deviceRemoved, this, [this](const QString &udi) {
-        const int index = m_batteriesUdi.indexOf(udi);
-        if (index < 0) {
-            // we don't have that one
+        auto it = std::find_if(m_batteries.constBegin(), 
m_batteries.constEnd(), [&udi](const Solid::Device &dev) {return dev.udi() == 
udi;});
+        if (it == m_batteries.constEnd()) {
             return;
         }
 
+        int index = std::distance(m_batteries.constBegin(), it);
+
+
         beginRemoveRows(QModelIndex(), index, index);
         m_batteries.removeAt(index);
-        m_batteriesUdi.removeAt(index);
         endRemoveRows();
 
         emit countChanged();
@@ -80,18 +71,19 @@
         return nullptr;
     }
 
-    auto battery = m_batteries.at(index);
+    Solid::Battery* battery = m_batteries.value(index).as<Solid::Battery>();
+
     QQmlEngine::setObjectOwnership(battery, QQmlEngine::CppOwnership);
     return battery;
 }
 
 QString BatteryModel::udi(int index) const
 {
-    if (index < 0 || index >= m_batteriesUdi.count()) {
+    if (index < 0 || index >= m_batteries.count()) {
         return QString();
     }
 
-    return m_batteriesUdi.at(index);
+    return m_batteries.at(index).udi();
 }
 
 QVariant BatteryModel::data(const QModelIndex &index, int role) const
@@ -101,9 +93,9 @@
     }
 
     if (role == BatteryRole) {
-        return QVariant::fromValue(m_batteries.at(index.row()));
+        return 
QVariant::fromValue(m_batteries.value(index.row()).as<Solid::Battery>());
     } else if (role == UdiRole) {
-        return m_batteriesUdi.at(index.row());
+        return m_batteries.at(index.row()).udi();
     }
 
     return QVariant();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/Modules/energy/batterymodel.h 
new/kinfocenter-5.6.4/Modules/energy/batterymodel.h
--- old/kinfocenter-5.6.3/Modules/energy/batterymodel.h 2016-04-19 
13:09:20.000000000 +0200
+++ new/kinfocenter-5.6.4/Modules/energy/batterymodel.h 2016-05-10 
18:34:59.000000000 +0200
@@ -23,6 +23,7 @@
 #include <QAbstractListModel>
 #include <QList>
 
+#include <Solid/Device>
 #include <Solid/Battery>
 
 class BatteryModel : public QAbstractListModel
@@ -51,8 +52,7 @@
     void countChanged();
 
 private:
-    QStringList m_batteriesUdi;
-    QList<Solid::Battery *> m_batteries;
+    QList<Solid::Device> m_batteries;
 };
 
 #endif // KCM_ENERGYINFO_BATTERYMODEL_H
Files old/kinfocenter-5.6.3/doc/de/kinfocenter.png and 
new/kinfocenter-5.6.4/doc/de/kinfocenter.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/org.kde.kinfocenter.desktop 
new/kinfocenter-5.6.4/org.kde.kinfocenter.desktop
--- old/kinfocenter-5.6.3/org.kde.kinfocenter.desktop   2016-04-19 
13:09:20.000000000 +0200
+++ new/kinfocenter-5.6.4/org.kde.kinfocenter.desktop   2016-05-10 
18:34:59.000000000 +0200
@@ -15,6 +15,7 @@
 Name[en_GB]=Info Centre
 Name[es]=Centro de información
 Name[fi]=Infokeskus
+Name[gl]=Centro de información
 Name[it]=Centro delle informazioni
 Name[nl]=Informatiecentrum
 Name[nn]=Infosenter
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/po/gl/kcm-about-distro.po 
new/kinfocenter-5.6.4/po/gl/kcm-about-distro.po
--- old/kinfocenter-5.6.3/po/gl/kcm-about-distro.po     2016-04-19 
13:09:30.000000000 +0200
+++ new/kinfocenter-5.6.4/po/gl/kcm-about-distro.po     2016-05-10 
18:35:26.000000000 +0200
@@ -1,22 +1,23 @@
 # Copyright (C) YEAR This_file_is_part_of_KDE
 # This file is distributed under the same license as the PACKAGE package.
 #
-# Adrián Chaves Fernández <[email protected]>, 2013, 2015.
+# Adrián Chaves Fernández <[email protected]>, 2013, 2015, 2016.
 # Marce Villarino <[email protected]>, 2013.
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-03-03 11:48+0000\n"
-"PO-Revision-Date: 2015-02-21 12:00+0100\n"
-"Last-Translator: Adrián Chaves Fernández <[email protected]>\n"
+"PO-Revision-Date: 2016-04-28 07:24+0100\n"
+"Last-Translator: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail."
+"com>\n"
 "Language-Team: Galician <[email protected]>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Lokalize 1.5\n"
+"X-Generator: Lokalize 2.0\n"
 "X-Environment: kde\n"
 "X-Accelerator-Marker: &\n"
 "X-Text-Markup: kde4\n"
@@ -109,7 +110,5 @@
 
 #. i18n: ectx: property (text), widget (QLabel, frameworksLabelKey)
 #: Module.ui:320
-#, fuzzy
-#| msgid "KDE Plasma Version:"
 msgid "KDE Frameworks Version:"
-msgstr "Versión de KDE Plasma:"
\ No newline at end of file
+msgstr "Versión da infraestrutura de KDE:"
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/po/gl/kcm_pci.po 
new/kinfocenter-5.6.4/po/gl/kcm_pci.po
--- old/kinfocenter-5.6.3/po/gl/kcm_pci.po      2016-04-19 13:09:30.000000000 
+0200
+++ new/kinfocenter-5.6.4/po/gl/kcm_pci.po      2016-05-10 18:35:26.000000000 
+0200
@@ -7,19 +7,21 @@
 # marce villarino <[email protected]>, 2009.
 # Marce Villarino <[email protected]>, 2009.
 # Marce Villarino <[email protected]>, 2011, 2012, 2014.
+# Adrián Chaves Fernández (Gallaecio) <[email protected]>, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: kcm_pci\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-03-10 11:21+0000\n"
-"PO-Revision-Date: 2014-01-11 09:00+0100\n"
-"Last-Translator: Marce Villarino <[email protected]>\n"
-"Language-Team: Galician <[email protected]>\n"
+"PO-Revision-Date: 2016-04-28 07:18+0100\n"
+"Last-Translator: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail."
+"com>\n"
+"Language-Team: Galician <[email protected]>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.5\n"
+"X-Generator: Lokalize 2.0\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Environment: kde\n"
 "X-Accelerator-Marker: &\n"
@@ -38,10 +40,8 @@
 msgstr "kcm_pci"
 
 #: kcm_pci.cpp:43
-#, fuzzy
-#| msgid "Device"
 msgid "PCI Devices"
-msgstr "Dispositivo"
+msgstr "Dispositivos PCI"
 
 #: kcm_pci.cpp:45
 msgid "(c) 2008 Nicolas Ternisien(c) 1998 - 2002 Helge Deller"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/po/gl/kcmdevinfo.po 
new/kinfocenter-5.6.4/po/gl/kcmdevinfo.po
--- old/kinfocenter-5.6.3/po/gl/kcmdevinfo.po   2016-04-19 13:09:30.000000000 
+0200
+++ new/kinfocenter-5.6.4/po/gl/kcmdevinfo.po   2016-05-10 18:35:26.000000000 
+0200
@@ -3,20 +3,21 @@
 #
 # Xosé <[email protected]>, 2010.
 # Marce Villarino <[email protected]>, 2012, 2013, 2014.
-# Adrián Chaves Fernández <[email protected]>, 2015.
+# Adrián Chaves Fernández <[email protected]>, 2015, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-03-10 11:21+0000\n"
-"PO-Revision-Date: 2015-03-15 10:21+0100\n"
-"Last-Translator: Adrián Chaves Fernández <[email protected]>\n"
+"PO-Revision-Date: 2016-04-28 07:18+0100\n"
+"Last-Translator: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail."
+"com>\n"
 "Language-Team: Galician <[email protected]>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.5\n"
+"X-Generator: Lokalize 2.0\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Environment: kde\n"
 "X-Accelerator-Marker: &\n"
@@ -70,10 +71,8 @@
 msgstr "kcmdevinfo"
 
 #: devinfo.cpp:34
-#, fuzzy
-#| msgid "KDE Solid Based Device Viewer"
 msgid "Device Viewer"
-msgstr "Visor de dispositivos baseado no Solid do KDE"
+msgstr "Visor de dispositivos"
 
 #: devinfo.cpp:36
 msgid "(c) 2010 David Hubner"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/po/gl/kcmusb.po 
new/kinfocenter-5.6.4/po/gl/kcmusb.po
--- old/kinfocenter-5.6.3/po/gl/kcmusb.po       2016-04-19 13:09:30.000000000 
+0200
+++ new/kinfocenter-5.6.4/po/gl/kcmusb.po       2016-05-10 18:35:26.000000000 
+0200
@@ -4,19 +4,21 @@
 # Manuel A. Vázquez Diz <[email protected]>, 2005.
 # mvillarino <[email protected]>, 2007, 2008, 2009.
 # marce villarino <[email protected]>, 2009.
+# Adrián Chaves Fernández (Gallaecio) <[email protected]>, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: kcmusb\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-03-10 11:21+0000\n"
-"PO-Revision-Date: 2009-05-23 14:27+0200\n"
-"Last-Translator: marce villarino <[email protected]>\n"
-"Language-Team: Galician <[email protected]>\n"
+"PO-Revision-Date: 2016-04-28 07:24+0100\n"
+"Last-Translator: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail."
+"com>\n"
+"Language-Team: Galician <[email protected]>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 0.2\n"
+"X-Generator: Lokalize 2.0\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Environment: kde\n"
 "X-Accelerator-Marker: &\n"
@@ -235,10 +237,8 @@
 msgstr "kcmusb"
 
 #: kcmusb.cpp:69
-#, fuzzy
-#| msgid "Device"
 msgid "USB Devices"
-msgstr "Dispositivo"
+msgstr "Dispositivos USB"
 
 #: kcmusb.cpp:71
 msgid "(c) 2001 Matthias Hoelzer-Kluepfel"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/po/gl/kinfocenter.po 
new/kinfocenter-5.6.4/po/gl/kinfocenter.po
--- old/kinfocenter-5.6.3/po/gl/kinfocenter.po  2016-04-19 13:09:30.000000000 
+0200
+++ new/kinfocenter-5.6.4/po/gl/kinfocenter.po  2016-05-10 18:35:26.000000000 
+0200
@@ -14,19 +14,21 @@
 # marce villarino <[email protected]>, 2009.
 # Marce Villarino <[email protected]>, 2009, 2012.
 # Marce Villarino <[email protected]>, 2012.
+# Adrián Chaves Fernández (Gallaecio) <[email protected]>, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: kinfocenter\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-03-10 11:21+0000\n"
-"PO-Revision-Date: 2012-01-11 17:42+0100\n"
-"Last-Translator: Marce Villarino <[email protected]>\n"
-"Language-Team: Galician <[email protected]>\n"
+"PO-Revision-Date: 2016-04-28 07:19+0100\n"
+"Last-Translator: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail."
+"com>\n"
+"Language-Team: Galician <[email protected]>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.0\n"
+"X-Generator: Lokalize 2.0\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Environment: kde\n"
 "X-Accelerator-Marker: &\n"
@@ -81,14 +83,12 @@
 msgstr "Barra de ferramentas principal"
 
 #: main.cpp:38
-#, fuzzy
-#| msgid "KDE Info Center"
 msgid "Info Center"
-msgstr "Centro de información de KDE"
+msgstr "Centro de información"
 
 #: main.cpp:46
 msgid "Copyright 2009-2016 KDE"
-msgstr ""
+msgstr "© 2009-2016 KDE"
 
 #: main.cpp:48
 msgid "David Hubner"
Files old/kinfocenter-5.6.3/po/gl/messages.mo and 
new/kinfocenter-5.6.4/po/gl/messages.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/po/it/kcmdevinfo.po 
new/kinfocenter-5.6.4/po/it/kcmdevinfo.po
--- old/kinfocenter-5.6.3/po/it/kcmdevinfo.po   2016-04-19 13:09:33.000000000 
+0200
+++ new/kinfocenter-5.6.4/po/it/kcmdevinfo.po   2016-05-10 18:35:32.000000000 
+0200
@@ -262,7 +262,7 @@
 
 #: soldevicetypes.cpp:179
 msgid "Hotpluggable?"
-msgstr "Collegabile in marcia?"
+msgstr "Collegabile a caldo?"
 
 #: soldevicetypes.cpp:181
 msgid "Removable?"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinfocenter-5.6.3/po/it/kinfocenter.po 
new/kinfocenter-5.6.4/po/it/kinfocenter.po
--- old/kinfocenter-5.6.3/po/it/kinfocenter.po  2016-04-19 13:09:33.000000000 
+0200
+++ new/kinfocenter-5.6.4/po/it/kinfocenter.po  2016-05-10 18:35:32.000000000 
+0200
@@ -3,19 +3,21 @@
 # Giovanni Venturi <[email protected]>, 2006.
 # Luciano Montanaro <[email protected]>, 2007, 2008, 2010.
 # Federico Zenith <[email protected]>, 2009, 2010.
+# Paolo Zamponi <[email protected]>, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: kinfocenter\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-03-10 11:21+0000\n"
-"PO-Revision-Date: 2010-11-16 21:59+0100\n"
-"Last-Translator: Federico Zenith <[email protected]>\n"
+"PO-Revision-Date: 2016-04-25 14:57+0100\n"
+"Last-Translator: Paolo Zamponi <[email protected]>\n"
 "Language-Team: Italian <[email protected]>\n"
 "Language: it\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Lokalize 2.0\n"
 
 msgctxt "NAME OF TRANSLATORS"
 msgid "Your names"
@@ -66,14 +68,12 @@
 msgstr "Barra degli strumenti principale"
 
 #: main.cpp:38
-#, fuzzy
-#| msgid "KDE Info Center"
 msgid "Info Center"
-msgstr "Centro d'informazione di KDE"
+msgstr "Centro d'informazione"
 
 #: main.cpp:46
 msgid "Copyright 2009-2016 KDE"
-msgstr ""
+msgstr "Copyright 2009-2016 KDE"
 
 #: main.cpp:48
 msgid "David Hubner"


Reply via email to