Hello community,

here is the log from the commit of package kfilemetadata5 for openSUSE:Factory 
checked in at 2017-04-30 21:17:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kfilemetadata5 (Old)
 and      /work/SRC/openSUSE:Factory/.kfilemetadata5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kfilemetadata5"

Sun Apr 30 21:17:59 2017 rev:45 rq:492061 version:5.33.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kfilemetadata5/kfilemetadata5.changes    
2017-03-28 15:09:49.410940425 +0200
+++ /work/SRC/openSUSE:Factory/.kfilemetadata5.new/kfilemetadata5.changes       
2017-04-30 21:18:10.213155169 +0200
@@ -1,0 +2,14 @@
+Sat Apr 15 10:11:48 CEST 2017 - lbeltr...@kde.org
+
+- Update to 5.33.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.33.0.php
+- Changes since 5.32.0:
+  * Upgrade ECM and KF5 version requirements for 5.33.0 release.
+  * Make PlainTextExtractor match "text/plain" again
+  * Upgrade KF5 version to 5.33.0.
+- Remove patches, now upstream:
+  * Make-PlainTextExtractor-match-text-plain-again.patch
+
+-------------------------------------------------------------------

Old:
----
  Make-PlainTextExtractor-match-text-plain-again.patch
  kfilemetadata-5.32.0.tar.xz

New:
----
  kfilemetadata-5.33.0.tar.xz

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

Other differences:
------------------
++++++ kfilemetadata5.spec ++++++
--- /var/tmp/diff_new_pack.ptgqK5/_old  2017-04-30 21:18:11.057036184 +0200
+++ /var/tmp/diff_new_pack.ptgqK5/_new  2017-04-30 21:18:11.065035055 +0200
@@ -18,9 +18,9 @@
 
 %bcond_without ffmpeg
 %bcond_without lang
-%define _tar_path 5.32
+%define _tar_path 5.33
 Name:           kfilemetadata5
-Version:        5.32.0
+Version:        5.33.0
 Release:        0
 %define kf5_version %{version}
 Summary:        Extract Metadata
@@ -30,8 +30,6 @@
 Source:         
http://download.kde.org/stable/frameworks/%{_tar_path}/kfilemetadata-%{version}.tar.xz
 Source1:        baselibs.conf
 Patch0:         ffmpeg-buildrequires.patch
-# PATCH-FIX-UPSTREAM Make-PlainTextExtractor-match-text-plain-again.patch -- 
fixes metadata extraction for text files
-Patch1:         Make-PlainTextExtractor-match-text-plain-again.patch
 BuildRequires:  extra-cmake-modules >= %{_tar_path}
 %if %{with ffmpeg}
 BuildRequires:  pkgconfig(libavcodec)
@@ -71,7 +69,6 @@
 %prep
 %setup -q -n kfilemetadata-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
   %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}

++++++ kfilemetadata-5.32.0.tar.xz -> kfilemetadata-5.33.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kfilemetadata-5.32.0/CMakeLists.txt 
new/kfilemetadata-5.33.0/CMakeLists.txt
--- old/kfilemetadata-5.32.0/CMakeLists.txt     2017-03-04 17:12:39.000000000 
+0100
+++ new/kfilemetadata-5.33.0/CMakeLists.txt     2017-04-01 21:33:39.000000000 
+0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.32.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.32.0") # handled by release scripts
+set(KF5_VERSION "5.33.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.33.0") # handled by release scripts
 project(KFileMetaData VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.32.0  NO_MODULE)
+find_package(ECM 5.33.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kfilemetadata-5.32.0/autotests/CMakeLists.txt 
new/kfilemetadata-5.33.0/autotests/CMakeLists.txt
--- old/kfilemetadata-5.32.0/autotests/CMakeLists.txt   2017-03-04 
17:12:39.000000000 +0100
+++ new/kfilemetadata-5.33.0/autotests/CMakeLists.txt   2017-04-01 
21:33:39.000000000 +0200
@@ -104,6 +104,20 @@
         LINK_LIBRARIES Qt5::Test KF5::FileMetaData KF5::I18n
 )
 
+#
+# Collection
+#
+set(extractorcollection_SRCS
+    extractorcollectiontest.cpp
+    ../src/extractorcollection.cpp
+    ../src/externalextractor.cpp
+)
+
+ecm_add_test(${extractorcollection_SRCS}
+        TEST_NAME "extractorcollectiontest"
+        LINK_LIBRARIES Qt5::Test KF5::FileMetaData
+)
+
 ################
 # Writer tests #
 ################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kfilemetadata-5.32.0/autotests/extractorcollectiontest.cpp 
new/kfilemetadata-5.33.0/autotests/extractorcollectiontest.cpp
--- old/kfilemetadata-5.32.0/autotests/extractorcollectiontest.cpp      
1970-01-01 01:00:00.000000000 +0100
+++ new/kfilemetadata-5.33.0/autotests/extractorcollectiontest.cpp      
2017-04-01 21:33:39.000000000 +0200
@@ -0,0 +1,45 @@
+/*
+ * This file is part of the KDE KFileMetaData project
+ * Copyright (C) 2014  Vishesh Handa <m...@vhanda.in>
+ *               2017  Igor Poboiko <igor.pobo...@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  
USA
+ *
+ */
+
+#include <QObject>
+#include <QtTest>
+#include <QDebug>
+
+#include "extractorcollection.h"
+#include "extractors/plaintextextractor.h"
+
+using namespace KFileMetaData;
+
+class ExtractorCollectionTest : public QObject
+{
+    Q_OBJECT
+private Q_SLOTS:
+    void testFetchExtractors()
+    {
+        ExtractorCollection collection;
+        QVERIFY(collection.fetchExtractors("unknown/mimetype").isEmpty());
+        QVERIFY(!collection.fetchExtractors("text/plain").isEmpty());
+    }
+};
+
+QTEST_MAIN(ExtractorCollectionTest)
+
+#include "extractorcollectiontest.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kfilemetadata-5.32.0/po/gl/kfilemetadata.po 
new/kfilemetadata-5.33.0/po/gl/kfilemetadata.po
--- old/kfilemetadata-5.32.0/po/gl/kfilemetadata.po     2017-03-04 
17:12:39.000000000 +0100
+++ new/kfilemetadata-5.33.0/po/gl/kfilemetadata.po     2017-04-01 
21:33:39.000000000 +0200
@@ -325,7 +325,7 @@
 #, kde-format
 msgctxt "@label"
 msgid "Width"
-msgstr "Largura"
+msgstr "Anchura"
 
 #: src/propertyinfo.cpp:369
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kfilemetadata-5.32.0/po/ru/kfilemetadata.po 
new/kfilemetadata-5.33.0/po/ru/kfilemetadata.po
--- old/kfilemetadata-5.32.0/po/ru/kfilemetadata.po     2017-03-04 
17:12:39.000000000 +0100
+++ new/kfilemetadata-5.33.0/po/ru/kfilemetadata.po     2017-04-01 
21:33:39.000000000 +0200
@@ -1,14 +1,14 @@
 # Copyright (C) YEAR This_file_is_part_of_KDE
 # This file is distributed under the same license as the PACKAGE package.
 #
-# Alexander Potashev <aspotas...@gmail.com>, 2014, 2015, 2016.
+# Alexander Potashev <aspotas...@gmail.com>, 2014, 2015, 2016, 2017.
 # Nick Shaforostoff <sha...@ukr.net>, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2017-02-06 03:57+0100\n"
-"PO-Revision-Date: 2016-03-03 17:21+0300\n"
+"PO-Revision-Date: 2017-03-11 16:57+0300\n"
 "Last-Translator: Alexander Potashev <aspotas...@gmail.com>\n"
 "Language-Team: Russian <kde-russ...@lists.kde.ru>\n"
 "Language: ru\n"
@@ -315,12 +315,10 @@
 msgstr "Номер дорожки"
 
 #: src/propertyinfo.cpp:357
-#, fuzzy, kde-format
-#| msgctxt "@label music track number"
-#| msgid "Track Number"
+#, kde-format
 msgctxt "@label music disc number"
 msgid "Disc Number"
-msgstr "Номер дорожки"
+msgstr "Номер диска"
 
 #: src/propertyinfo.cpp:363
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kfilemetadata-5.32.0/src/externalextractor.cpp 
new/kfilemetadata-5.33.0/src/externalextractor.cpp
--- old/kfilemetadata-5.32.0/src/externalextractor.cpp  2017-03-04 
17:12:39.000000000 +0100
+++ new/kfilemetadata-5.33.0/src/externalextractor.cpp  2017-04-01 
21:33:39.000000000 +0200
@@ -30,8 +30,6 @@
 #include <QJsonObject>
 #include <QJsonArray>
 
-#include <KLocalizedString>
-
 #include "properties.h"
 #include "propertyinfo.h"
 #include "typeinfo.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kfilemetadata-5.32.0/src/extractors/plaintextextractor.cpp 
new/kfilemetadata-5.33.0/src/extractors/plaintextextractor.cpp
--- old/kfilemetadata-5.32.0/src/extractors/plaintextextractor.cpp      
2017-03-04 17:12:39.000000000 +0100
+++ new/kfilemetadata-5.33.0/src/extractors/plaintextextractor.cpp      
2017-04-01 21:33:39.000000000 +0200
@@ -43,7 +43,7 @@
 
 QStringList PlainTextExtractor::mimetypes() const
 {
-    return QStringList() << QStringLiteral("text/");
+    return QStringList() << QStringLiteral("text/plain");
 }
 
 void PlainTextExtractor::extract(ExtractionResult* result)


Reply via email to