Hello community,

here is the log from the commit of package baloo5-widgets for openSUSE:Factory 
checked in at 2016-05-31 12:14:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/baloo5-widgets (Old)
 and      /work/SRC/openSUSE:Factory/.baloo5-widgets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "baloo5-widgets"

Changes:
--------
--- /work/SRC/openSUSE:Factory/baloo5-widgets/baloo5-widgets.changes    
2016-03-26 15:12:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.baloo5-widgets.new/baloo5-widgets.changes       
2016-05-31 12:14:04.000000000 +0200
@@ -1,0 +2,24 @@
+Sat May  7 10:10:40 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.04.1
+   * KDE Applications 16.04.1
+   * https://www.kde.org/announcements/announce-applications-16.04.1.php
+
+
+-------------------------------------------------------------------
+Sun Apr 17 05:49:40 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.04.0
+   * KDE Applications 16.04.0
+   * https://www.kde.org/announcements/announce-applications-16.04.0.php
+
+
+-------------------------------------------------------------------
+Mon Apr 11 06:30:29 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.03.90
+   * KDE Applications 16.04.0 RC
+   * https://www.kde.org/announcements/announce-applications-16.04-rc.php
+
+
+-------------------------------------------------------------------

Old:
----
  baloo-widgets-15.12.3.tar.xz

New:
----
  baloo-widgets-16.04.1.tar.xz

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

Other differences:
------------------
++++++ baloo5-widgets.spec ++++++
--- /var/tmp/diff_new_pack.PA2Vh7/_old  2016-05-31 12:14:05.000000000 +0200
+++ /var/tmp/diff_new_pack.PA2Vh7/_new  2016-05-31 12:14:05.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           baloo5-widgets
-Version:        15.12.3
+Version:        16.04.1
 Release:        0
 Summary:        Framework for searching and managing metadata
 License:        GPL-2.0+ and LGPL-2.1+ and LGPL-3.0

++++++ baloo-widgets-15.12.3.tar.xz -> baloo-widgets-16.04.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baloo-widgets-15.12.3/CMakeLists.txt 
new/baloo-widgets-16.04.1/CMakeLists.txt
--- old/baloo-widgets-15.12.3/CMakeLists.txt    2015-08-30 17:56:14.000000000 
+0200
+++ new/baloo-widgets-16.04.1/CMakeLists.txt    2016-03-23 22:55:11.000000000 
+0100
@@ -5,7 +5,7 @@
 set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" 
${ECM_MODULE_PATH})
 
 find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Widgets Test)
-find_package(KF5 REQUIRED COMPONENTS Config KIO I18n FileMetaData Baloo)
+find_package(KF5 5.19 REQUIRED COMPONENTS Config KIO I18n FileMetaData Baloo)
 
 include(ECMSetupVersion)
 include(ECMAddTests)
@@ -15,7 +15,7 @@
 include(FeatureSummary)
 include(KDEInstallDirs)
 include(KDECMakeSettings)
-include(KDEFrameworkCompilerSettings)
+include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
 include(ECMGenerateHeaders)
 
 add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baloo-widgets-15.12.3/src/filefetchjob.cpp 
new/baloo-widgets-16.04.1/src/filefetchjob.cpp
--- old/baloo-widgets-15.12.3/src/filefetchjob.cpp      2015-08-30 
17:56:14.000000000 +0200
+++ new/baloo-widgets-16.04.1/src/filefetchjob.cpp      2016-03-23 
22:55:11.000000000 +0100
@@ -75,6 +75,11 @@
             prop.insert("userComment", comment);
         }
 
+        const QString originUrl = md.originUrl().toDisplayString();
+        if (!originUrl.isEmpty()) {
+            prop.insert("originUrl", originUrl);
+        }
+
         m_data << prop;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baloo-widgets-15.12.3/src/filemetadataprovider.cpp 
new/baloo-widgets-16.04.1/src/filemetadataprovider.cpp
--- old/baloo-widgets-15.12.3/src/filemetadataprovider.cpp      2015-08-30 
17:56:14.000000000 +0200
+++ new/baloo-widgets-16.04.1/src/filemetadataprovider.cpp      2016-03-23 
22:55:11.000000000 +0100
@@ -362,6 +362,7 @@
         { "tags", I18N_NOOP2_NOSTRIP("@label", "Tags") },
         { "rating", I18N_NOOP2_NOSTRIP("@label", "Rating") },
         { "userComment", I18N_NOOP2_NOSTRIP("@label", "Comment") },
+        { "originUrl", I18N_NOOP2_NOSTRIP("@label", "Downloaded From") },
         { 0, 0, 0} // Mandatory last entry
     };
 
@@ -414,6 +415,9 @@
         uriGrouper.insert( "duration", QLatin1String("4AudioA") );
         uriGrouper.insert( "sampleRate", QLatin1String("4AudioB") );
         uriGrouper.insert( "sampleCount", QLatin1String("4AudioC") );
+
+        // Miscellaneous Data
+        uriGrouper.insert( "originUrl", QLatin1String("5MiscA") );
     }
 
     const QString val = uriGrouper.value(label);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baloo-widgets-15.12.3/src/metadatafilter.cpp 
new/baloo-widgets-16.04.1/src/metadatafilter.cpp
--- old/baloo-widgets-15.12.3/src/metadatafilter.cpp    2015-08-30 
17:56:14.000000000 +0200
+++ new/baloo-widgets-16.04.1/src/metadatafilter.cpp    2016-03-23 
22:55:11.000000000 +0100
@@ -41,7 +41,7 @@
 
 void MetadataFilter::initMetaInformationSettings()
 {
-    const int currentVersion = 5; // increase version, if the blacklist of 
disabled
+    const int currentVersion = 6; // increase version, if the blacklist of 
disabled
     // properties should be updated
 
     KConfig config("baloofileinformationrc", KConfig::NoGlobals);
@@ -86,6 +86,7 @@
             "kfileitem#owner",
             "kfileitem#permissions",
             "kfileitem#modified",
+            "originUrl",
             0 // mandatory last entry
         };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baloo-widgets-15.12.3/src/widgetfactory.cpp 
new/baloo-widgets-16.04.1/src/widgetfactory.cpp
--- old/baloo-widgets-15.12.3/src/widgetfactory.cpp     2015-08-30 
17:56:14.000000000 +0200
+++ new/baloo-widgets-16.04.1/src/widgetfactory.cpp     2016-03-23 
22:55:11.000000000 +0100
@@ -34,6 +34,7 @@
 
 #include <KJob>
 #include <KFormat>
+#include <KLocalizedString>
 
 namespace {
     static QString plainText(const QString& richText)
@@ -114,10 +115,17 @@
         // vHanda: FIXME: Add links! Take m_noLinks into consideration
         QString valueString;
 
-        if (prop == "duration"){
+        if (prop == QStringLiteral("duration")) {
             valueString = form.formatDuration(value.toInt() * 1000);
-        }
-        else {
+        } else if (prop == QStringLiteral("bitRate")) {
+            valueString = i18nc("@label bitrate (per second)", "%1/s", 
form.formatByteSize(value.toInt(), 1, KFormat::MetricBinaryDialect));
+        } else if (prop == QLatin1String("originUrl")) {
+            if (m_noLinks) {
+                valueString = value.toString();
+            } else {
+                valueString = QStringLiteral("<a 
href=\"%1\">%1</a>").arg(value.toString());
+            }
+        } else {
             // Check if Date/DateTime
 
             QDateTime dt = QDateTime::fromString(value.toString(), 
Qt::ISODate);


Reply via email to