Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kfilemetadata5 for openSUSE:Factory checked in at 2022-01-11 21:16:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kfilemetadata5 (Old) and /work/SRC/openSUSE:Factory/.kfilemetadata5.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kfilemetadata5" Tue Jan 11 21:16:18 2022 rev:104 rq:945054 version:5.90.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kfilemetadata5/kfilemetadata5.changes 2021-12-13 20:44:08.636483223 +0100 +++ /work/SRC/openSUSE:Factory/.kfilemetadata5.new.1892/kfilemetadata5.changes 2022-01-11 21:18:50.212940566 +0100 @@ -1,0 +2,11 @@ +Mon Jan 3 12:47:32 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.90.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.90.0 +- Changes since 5.89.0: + * Optimize README formatting for api.kde.org + * USe const'ref + +------------------------------------------------------------------- Old: ---- kfilemetadata-5.89.0.tar.xz kfilemetadata-5.89.0.tar.xz.sig New: ---- kfilemetadata-5.90.0.tar.xz kfilemetadata-5.90.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kfilemetadata5.spec ++++++ --- /var/tmp/diff_new_pack.uwArQE/_old 2022-01-11 21:18:51.016941131 +0100 +++ /var/tmp/diff_new_pack.uwArQE/_new 2022-01-11 21:18:51.020941133 +0100 @@ -16,22 +16,22 @@ # -%define _tar_path 5.89 +%define _tar_path 5.90 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without ffmpeg -%bcond_without lang +%bcond_without released Name: kfilemetadata5 -Version: 5.89.0 +Version: 5.90.0 Release: 0 Summary: Library for extracting Metadata License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only Group: Development/Libraries/KDE URL: https://www.kde.org Source: kfilemetadata-%{version}.tar.xz -%if %{with lang} +%if %{with released} Source1: kfilemetadata-%{version}.tar.xz.sig Source2: frameworks.keyring %endif @@ -79,7 +79,7 @@ %install %kf5_makeinstall -C build -%if %{with lang} +%if %{with released} %{kf5_find_lang} %endif @@ -99,7 +99,7 @@ %{_kf5_libdir}/libKF5FileMetaData.so %{_kf5_mkspecsdir}/qt_KFileMetaData.pri -%if %{with lang} +%if %{with released} %files lang -f %{name}.lang %endif ++++++ kfilemetadata-5.89.0.tar.xz -> kfilemetadata-5.90.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kfilemetadata-5.89.0/CMakeLists.txt new/kfilemetadata-5.90.0/CMakeLists.txt --- old/kfilemetadata-5.89.0/CMakeLists.txt 2021-12-04 19:36:12.000000000 +0100 +++ new/kfilemetadata-5.90.0/CMakeLists.txt 2022-01-01 13:30:15.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.89.0") # handled by release scripts -set(KF_DEP_VERSION "5.89.0") # handled by release scripts +set(KF_VERSION "5.90.0") # handled by release scripts +set(KF_DEP_VERSION "5.90.0") # handled by release scripts project(KFileMetaData VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.89.0 NO_MODULE) +find_package(ECM 5.90.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) @@ -112,7 +112,7 @@ ) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00) # TODO look into the QMap::insertMulti usage -add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055100) +add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055900) add_definitions(-DTRANSLATION_DOMAIN=\"kfilemetadata5\") add_subdirectory(src) if (BUILD_TESTING) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kfilemetadata-5.89.0/README.md new/kfilemetadata-5.90.0/README.md --- old/kfilemetadata-5.89.0/README.md 2021-12-04 19:36:12.000000000 +0100 +++ new/kfilemetadata-5.90.0/README.md 2022-01-01 13:30:15.000000000 +0100 @@ -8,34 +8,34 @@ ## Using the library -In order to use the library you must implement your own `ExtractionResult` +In order to use the library you must implement your own ExtractionResult class. Instances of this class will be passed to every applicable plugin and they will populate with the information. -For convenience a `SimpleResult` class has been provided which stores all the +For convenience a SimpleExtractionResult class has been provided which stores all the data in memory and allows it to be introspected later. Most clients *should* -implement their own `ExtractionResult` as the data can get quite large when +implement their own ExtractionResult as the data can get quite large when extracting the text content from very large files. The library also supports plugins that write back data. ## Extracting Metadata from a file -This requires us to create a `ExtractionPluginManger` class, fetch the extractor +This requires us to create a ExtractionPluginManager class, fetch the extractor plugins which are applicable for that file, and then pass the instance of -`ExtractionResult` to each Extractor. +ExtractionResult to each Extractor. A simple test example called `dump.cpp` has been written. ## Writing Metadata to a file -This will require calling the `WriterCollection` class's fetchWriters() method with the mimetype of the file that needs to be written to. This method will return a list of writers, and to actually write metadata, a call to the write() method is required. The write() method accepts an instance of the `WriteData` class, which stores a mapping of the properties to be written and their values. +This will require calling the WriterCollection class's fetchWriters() method with the mimetype of the file that needs to be written to. This method will return a list of writers, and to actually write metadata, a call to the write() method is required. The write() method accepts an instance of the WriteData class, which stores a mapping of the properties to be written and their values. ## Writing a custom file extractor The Metadata is extracted with the help of Extraction Plugins. Each plugin provides a list of mimetypes that it supports, and implements the extraction -function which extracts the data and fills it in an `ExtractionResult`. +function which extracts the data and fills it in an ExtractionResult. Most of the common file types are already provided by the library. @@ -44,7 +44,7 @@ ## Writing a custom metadata writer -The writeback framework uses an approach similar to the extraction framework. Each writer plugin supports a list of mimetypes and implements the write function that takes in a `WriteData` object as input. +The writeback framework uses an approach similar to the extraction framework. Each writer plugin supports a list of mimetypes and implements the write function that takes in a WriteData object as input. ### Adding data into an `ExtractionResult` @@ -67,7 +67,7 @@ script with a hashbang line with the executable permission set, a batch file or cmd script, etc). They must be located within libexec directory. -KFileMetaData will wrap each external extractor with an instance of the `ExternalExtractor` class, and every writer with `ExternalWriter`. The application will be free to choose any of the plugins returned by `WriterCollection` or `ExtractorCollection`. +KFileMetaData will wrap each external extractor with an instance of the ExternalExtractor class, and every writer with `ExternalWriter`. The application will be free to choose any of the plugins returned by WriterCollection or ExtractorCollection. Every external plugin will be placed within a directory in libexec/kf5/kfilemetadata/externalextractors. Every plugin shall have a manifest.json file that specifies the mimetypes that the plugin supports and the main executable file. A sample manifest file is located at src/writers/externalwriters/example/manifest.json. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kfilemetadata-5.89.0/po/ca@valencia/kfilemetadata5.po new/kfilemetadata-5.90.0/po/ca@valencia/kfilemetadata5.po --- old/kfilemetadata-5.89.0/po/ca@valencia/kfilemetadata5.po 2021-12-04 19:36:12.000000000 +0100 +++ new/kfilemetadata-5.90.0/po/ca@valencia/kfilemetadata5.po 2022-01-01 13:30:15.000000000 +0100 @@ -3,15 +3,15 @@ # This file is distributed under the license LGPL version 2.1 or # version 3 or later versions approved by the membership of KDE e.V. # -# Josep Ma. Ferrer <txe...@gmail.com>, 2014, 2015, 2016, 2017, 2018, 2019. +# Josep M. Ferrer <txe...@gmail.com>, 2014, 2015, 2016, 2017, 2018, 2019. # Antoni Bella P??rez <antonibel...@yahoo.com>, 2014, 2015. msgid "" msgstr "" "Project-Id-Version: kfilemetadata\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2020-06-09 02:02+0200\n" -"PO-Revision-Date: 2019-06-15 14:18+0100\n" -"Last-Translator: Josep Ma. Ferrer <txe...@gmail.com>\n" +"PO-Revision-Date: 2019-06-22 10:34+0100\n" +"Last-Translator: Josep M. Ferrer <txe...@gmail.com>\n" "Language-Team: Catalan <kde-i18n...@kde.org>\n" "Language: ca@valencia\n" "MIME-Version: 1.0\n" @@ -277,20 +277,20 @@ #, kde-format msgctxt "Exposure bias/compensation in exposure value (EV)" msgid "%1 EV" -msgstr "" +msgstr "%1 EV" #: src/formatstrings.cpp:193 #, kde-format msgctxt "" "Exposure compensation given as integral with fraction, in exposure value (EV)" msgid "%1 %2/%3 EV" -msgstr "" +msgstr "%1 %2/%3 EV" #: src/formatstrings.cpp:196 #, kde-format msgctxt "Exposure compensation given as rational, in exposure value (EV)" msgid "%1/%2 EV" -msgstr "" +msgstr "%1/%2 EV" #: src/formatstrings.cpp:201 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kfilemetadata-5.89.0/po/zh_CN/kfilemetadata5.po new/kfilemetadata-5.90.0/po/zh_CN/kfilemetadata5.po --- old/kfilemetadata-5.89.0/po/zh_CN/kfilemetadata5.po 2021-12-04 19:36:12.000000000 +0100 +++ new/kfilemetadata-5.90.0/po/zh_CN/kfilemetadata5.po 2022-01-01 13:30:15.000000000 +0100 @@ -10,7 +10,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2020-06-09 02:02+0200\n" -"PO-Revision-Date: 2021-11-30 15:21\n" +"PO-Revision-Date: 2021-12-22 14:05\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kfilemetadata-5.89.0/src/xattr_p.h new/kfilemetadata-5.90.0/src/xattr_p.h --- old/kfilemetadata-5.89.0/src/xattr_p.h 2021-12-04 19:36:12.000000000 +0100 +++ new/kfilemetadata-5.90.0/src/xattr_p.h 2022-01-01 13:30:15.000000000 +0100 @@ -260,7 +260,7 @@ #else const auto entries = data.split('\0'); #endif - for (const auto entry : entries) { + for (const auto &entry : entries) { if (!entry.startsWith(prefix)) { continue; }