Hello community,

here is the log from the commit of package kio-extras5 for openSUSE:Factory 
checked in at 2016-01-07 00:21:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kio-extras5 (Old)
 and      /work/SRC/openSUSE:Factory/.kio-extras5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kio-extras5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kio-extras5/kio-extras5.changes  2015-11-15 
12:36:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kio-extras5.new/kio-extras5.changes     
2016-01-07 00:21:21.000000000 +0100
@@ -1,0 +2,9 @@
+Sun Dec 13 13:20:36 UTC 2015 - [email protected]
+
+- Update to KDE Applications 15.12.0
+   * KDE Applications 15.12.0 
+   * https://www.kde.org/announcements/announce-applications-15.12.0.php
+   * boo#958887
+
+
+-------------------------------------------------------------------

Old:
----
  kio-extras-15.08.3.tar.xz

New:
----
  kio-extras-15.12.0.tar.xz

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

Other differences:
------------------
++++++ kio-extras5.spec ++++++
--- /var/tmp/diff_new_pack.RfNmQY/_old  2016-01-07 00:21:22.000000000 +0100
+++ /var/tmp/diff_new_pack.RfNmQY/_new  2016-01-07 00:21:22.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           kio-extras5
-Version:        15.08.3
+Version:        15.12.0
 Release:        0
 Summary:        Additional KIO-slaves for KDE applications
 License:        GPL-2.0+

++++++ kio-extras-15.08.3.tar.xz -> kio-extras-15.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kio-extras-15.08.3/man/kmanpart.desktop 
new/kio-extras-15.12.0/man/kmanpart.desktop
--- old/kio-extras-15.08.3/man/kmanpart.desktop 2015-11-04 20:59:15.000000000 
+0100
+++ new/kio-extras-15.12.0/man/kmanpart.desktop 2015-11-09 11:40:44.000000000 
+0100
@@ -3,6 +3,7 @@
 Comment=Embeddable Troff Viewer
 Comment[af]=Inlegbare Troff Kyker
 Comment[ar]=عارض Troff القابل للتّضمين
+Comment[ast]=Visor empotrable Troff
 Comment[be]=Убудаваны праглядальнік Troff
 Comment[be@latin]=Unutrany prahladnik „Troff”
 Comment[bg]=Визуализатор за вграждане на Troff
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kio-extras-15.08.3/mtp/kio_mtp.cpp 
new/kio-extras-15.12.0/mtp/kio_mtp.cpp
--- old/kio-extras-15.08.3/mtp/kio_mtp.cpp      2015-11-04 20:59:15.000000000 
+0100
+++ new/kio-extras-15.12.0/mtp/kio_mtp.cpp      2015-11-09 11:40:44.000000000 
+0100
@@ -909,5 +909,57 @@
     }
 }
 
+void MTPSlave::virtual_hook(int id, void *data)
+{
+    switch(id) {
+        case SlaveBase::GetFileSystemFreeSpace: {
+            QUrl *url = static_cast<QUrl *>(data);
+            fileSystemFreeSpace(*url);
+        }   break;
+        default:
+            SlaveBase::virtual_hook(id, data);
+    }
+}
+
+void MTPSlave::fileSystemFreeSpace(const QUrl &url)
+{
+    qCDebug(LOG_KIO_MTP) << "fileSystemFreeSpace:" << url;
+
+    const int check = checkUrl(url);
+    switch (check) {
+    case 0:
+        break;
+    case 1:
+        finished();
+        return;
+    case 2:
+        error(ERR_DOES_NOT_EXIST, url.toDisplayString());
+        return;
+    default:
+        error(ERR_MALFORMED_URL, url.toDisplayString());
+        return;
+    }
+
+    const auto path = url.path();
+
+    const auto storagePath = path.section(QLatin1Char('/'), 0, 2, 
QString::SectionIncludeLeadingSep);
+    if (storagePath.count(QLatin1Char('/')) != 2) { // /{device}/{storage}
+        error(KIO::ERR_COULD_NOT_STAT, url.toDisplayString());
+        return;
+    }
+
+    const auto pair = getPath(storagePath);
+    auto storage = (LIBMTP_devicestorage_t *)pair.first;
+    if (!storage) {
+        error(KIO::ERR_COULD_NOT_STAT, url.toDisplayString());
+        return;
+    }
+
+    setMetaData(QStringLiteral("total"), 
QString::number(storage->MaxCapacity));
+    setMetaData(QStringLiteral("available"), 
QString::number(storage->FreeSpaceInBytes));
+
+    finished();
+}
+
 #include "kio_mtp.moc"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kio-extras-15.08.3/mtp/kio_mtp.h 
new/kio-extras-15.12.0/mtp/kio_mtp.h
--- old/kio-extras-15.08.3/mtp/kio_mtp.h        2015-11-04 20:59:15.000000000 
+0100
+++ new/kio-extras-15.12.0/mtp/kio_mtp.h        2015-11-09 11:40:44.000000000 
+0100
@@ -70,6 +70,9 @@
 //
 //     void test();
 
+protected:
+    void virtual_hook(int id, void *data) Q_DECL_OVERRIDE;
+
 private:
     /**
      * Check if it is a valid url or an udi.
@@ -82,6 +85,8 @@
     static QString urlDirectory(const QUrl &url, bool appendTrailingSlash = 
false);
     static QString urlFileName(const QUrl &url);
 
+    void fileSystemFreeSpace(const QUrl &url);
+
     FileCache *fileCache;
     DeviceCache *deviceCache;
     QPair<void *, LIBMTP_mtpdevice_t *> getPath(const QString &path);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kio-extras-15.08.3/network/ioslave/network.protocol 
new/kio-extras-15.12.0/network/ioslave/network.protocol
--- old/kio-extras-15.08.3/network/ioslave/network.protocol     2015-11-04 
20:59:15.000000000 +0100
+++ new/kio-extras-15.12.0/network/ioslave/network.protocol     2015-11-09 
11:40:44.000000000 +0100
@@ -8,6 +8,7 @@
 
 Icon=network-workgroup
 Description=A kioslave to browse the network
+Description[ast]=Un kioslave pa restolar la rede
 Description[bg]=Kioslave за разглеждане на мрежата
 Description[bn]=নেটওয়ার্ক ব্রাউজ করার জন্য একটি kioslave
 Description[bs]=U/I zahvat za pregledanje mreže
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kio-extras-15.08.3/network/kded/CMakeLists.txt 
new/kio-extras-15.12.0/network/kded/CMakeLists.txt
--- old/kio-extras-15.08.3/network/kded/CMakeLists.txt  2015-11-04 
20:59:15.000000000 +0100
+++ new/kio-extras-15.12.0/network/kded/CMakeLists.txt  2015-11-09 
11:40:44.000000000 +0100
@@ -11,10 +11,11 @@
 qt5_add_dbus_adaptor( kded_networkwatcher_SRCS  
org.kde.network.kioslavenotifier.xml kioslavenotifier.h 
Mollet::KioSlaveNotifier )
 
 add_library(kded_networkwatcher MODULE  ${kded_networkwatcher_SRCS} )
+set_target_properties(kded_networkwatcher PROPERTIES OUTPUT_NAME 
networkwatcher)
+kcoreaddons_desktop_to_json(kded_networkwatcher networkwatcher.desktop)
 
 target_link_libraries( kded_networkwatcher KF5::DBusAddons KF5::KIOCore 
molletnetwork5 )
 
-install( TARGETS kded_networkwatcher  DESTINATION ${PLUGIN_INSTALL_DIR} )
+install( TARGETS kded_networkwatcher  DESTINATION 
${PLUGIN_INSTALL_DIR}/kf5/kded )
 
-install( FILES networkwatcher.desktop  DESTINATION 
${SERVICES_INSTALL_DIR}/kded )
 install( FILES org.kde.network.kioslavenotifier.xml  DESTINATION 
${DBUS_INTERFACES_INSTALL_DIR} RENAME kf5_org.kde.network.kioslavenotifier.xml )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kio-extras-15.08.3/network/kded/networkwatcher.cpp 
new/kio-extras-15.12.0/network/kded/networkwatcher.cpp
--- old/kio-extras-15.08.3/network/kded/networkwatcher.cpp      2015-11-04 
20:59:15.000000000 +0100
+++ new/kio-extras-15.12.0/network/kded/networkwatcher.cpp      2015-11-09 
11:40:44.000000000 +0100
@@ -31,9 +31,9 @@
 #include <KPluginFactory>
 #include <KPluginLoader>
 
-K_PLUGIN_FACTORY( NetworkWatcherFactory, 
registerPlugin<Mollet::NetworkWatcher>(); )
-K_EXPORT_PLUGIN( NetworkWatcherFactory("networkwatcher") )
-
+K_PLUGIN_FACTORY_WITH_JSON(NetworkWatcherFactory,
+                           "networkwatcher.json",
+                           registerPlugin<Mollet::NetworkWatcher>(); )
 
 namespace Mollet
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kio-extras-15.08.3/network/kded/networkwatcher.desktop 
new/kio-extras-15.12.0/network/kded/networkwatcher.desktop
--- old/kio-extras-15.08.3/network/kded/networkwatcher.desktop  2015-11-04 
20:59:15.000000000 +0100
+++ new/kio-extras-15.12.0/network/kded/networkwatcher.desktop  2015-11-09 
11:40:44.000000000 +0100
@@ -7,6 +7,7 @@
 X-KDE-Kded-load-on-demand=true
 Name=Network Watcher
 Name[ar]=مراقب الشّبكة
+Name[ast]=Visor de redes
 Name[bg]=Наблюдение на мрежата
 Name[bn]=নেটওয়ার্ক ওয়াচার
 Name[bs]=Nadzornik mreže
@@ -77,6 +78,7 @@
 Name[zh_CN]=网络监视器
 Name[zh_TW]=網路監控器
 Comment=Keeps track of the network and updates directory listings of the 
network:/ protocol
+Comment[ast]=Rastrexa la rede y anueva los llistaos de direutorios del 
protocolu network:/
 Comment[bg]=Наблюдение на мрежата и обновяване на съответните списъци на 
мрежовия протокол
 Comment[bn]=নেটওয়ার্ক-এর ওপর লক্ষ্য রাখে এবং প্রয়োজনমত network:/ প্রোটোকল-এর 
ডিরেক্টরি তালিকা আপডেট করে 
 Comment[bs]=Prati mrežu i ažurira ispise fascikli protokola network:/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kio-extras-15.08.3/recentdocuments/CMakeLists.txt 
new/kio-extras-15.12.0/recentdocuments/CMakeLists.txt
--- old/kio-extras-15.08.3/recentdocuments/CMakeLists.txt       2015-11-04 
20:59:15.000000000 +0100
+++ new/kio-extras-15.12.0/recentdocuments/CMakeLists.txt       2015-11-09 
11:40:44.000000000 +0100
@@ -8,11 +8,13 @@
 ########### next target ###############
 
 add_library(kded_recentdocumentsnotifier MODULE recentdocumentsnotifier.cpp)
+set_target_properties(kded_recentdocumentsnotifier PROPERTIES OUTPUT_NAME 
recentdocumentsnotifier)
+kcoreaddons_desktop_to_json(kded_recentdocumentsnotifier 
recentdocumentsnotifier.desktop)
+
 target_link_libraries(kded_recentdocumentsnotifier KF5::KIOCore 
KF5::DBusAddons KF5::KDELibs4Support)
 
-install(TARGETS kded_recentdocumentsnotifier  DESTINATION 
${PLUGIN_INSTALL_DIR} )
+install(TARGETS kded_recentdocumentsnotifier  DESTINATION 
${PLUGIN_INSTALL_DIR}/kf5/kded )
 
 ########### install files ###############
 
-install( FILES recentdocumentsnotifier.desktop  DESTINATION  
${SERVICES_INSTALL_DIR}/kded )
 install( FILES recentdocuments.protocol  DESTINATION  ${SERVICES_INSTALL_DIR} )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kio-extras-15.08.3/recentdocuments/recentdocumentsnotifier.cpp 
new/kio-extras-15.12.0/recentdocuments/recentdocumentsnotifier.cpp
--- old/kio-extras-15.08.3/recentdocuments/recentdocumentsnotifier.cpp  
2015-11-04 20:59:15.000000000 +0100
+++ new/kio-extras-15.12.0/recentdocuments/recentdocumentsnotifier.cpp  
2015-11-09 11:40:44.000000000 +0100
@@ -10,9 +10,9 @@
 
 #include "recentdocumentsnotifier.h"
 
-K_PLUGIN_FACTORY(RecentDocumentsFactory, 
registerPlugin<RecentDocumentsNotifier>();)
-K_EXPORT_PLUGIN(RecentDocumentsFactory("kio_recentdocuments"))
-
+K_PLUGIN_FACTORY_WITH_JSON(RecentDocumentsFactory,
+                           "recentdocumentsnotifier.json",
+                           registerPlugin<RecentDocumentsNotifier>();)
 
 RecentDocumentsNotifier::RecentDocumentsNotifier(QObject *parent, const 
QList<QVariant> &)
     : KDEDModule(parent)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kio-extras-15.08.3/recentdocuments/recentdocumentsnotifier.desktop 
new/kio-extras-15.12.0/recentdocuments/recentdocumentsnotifier.desktop
--- old/kio-extras-15.08.3/recentdocuments/recentdocumentsnotifier.desktop      
2015-11-04 20:59:15.000000000 +0100
+++ new/kio-extras-15.12.0/recentdocuments/recentdocumentsnotifier.desktop      
2015-11-09 11:40:44.000000000 +0100
@@ -2,6 +2,7 @@
 Type=Service
 Name=Recent Document Watcher
 Name[ar]=مراقب المستندات الحديثة
+Name[ast]=Visor de Documentos recientes
 Name[bg]=Следене на скорошни документи
 Name[bn]=সম্প্রতি ব্যবহৃত নথী ওয়াচার
 Name[bs]=Pregled novijih dokumenata
@@ -69,6 +70,7 @@
 X-KDE-Kded-autoload=false
 Comment=Monitors "Recent Documents" folder for changes
 Comment[ar]=يراقب تغييرات مجلّد "المستندات الحديثة"
+Comment[ast]=Monitoriza la carpeta «Documentos recientes» por camudancies
 Comment[bg]=Следене за промени в скорошните документи
 Comment[bn]=সম্প্রতি ব্যবহৃত নথীর ফোল্ডার "Recent Documents"-এ কোন পরিবর্তন 
হচ্ছে কি না লক্ষ্য রাখে
 Comment[bs]=Prati direktorij s posljednjim dokumentima


Reply via email to