Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package baloo5-widgets for openSUSE:Factory checked in at 2023-01-07 17:16:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/baloo5-widgets (Old) and /work/SRC/openSUSE:Factory/.baloo5-widgets.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "baloo5-widgets" Sat Jan 7 17:16:34 2023 rev:90 rq:1056439 version:22.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/baloo5-widgets/baloo5-widgets.changes 2022-12-09 13:17:19.814858011 +0100 +++ /work/SRC/openSUSE:Factory/.baloo5-widgets.new.1563/baloo5-widgets.changes 2023-01-07 17:17:13.369264106 +0100 @@ -1,0 +2,8 @@ +Tue Jan 3 10:19:19 UTC 2023 - Christophe Marin <[email protected]> + +- Update to 22.12.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.12.1/ + +------------------------------------------------------------------- Old: ---- baloo-widgets-22.12.0.tar.xz baloo-widgets-22.12.0.tar.xz.sig New: ---- baloo-widgets-22.12.1.tar.xz baloo-widgets-22.12.1.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ baloo5-widgets.spec ++++++ --- /var/tmp/diff_new_pack.cytBwm/_old 2023-01-07 17:17:13.997267852 +0100 +++ /var/tmp/diff_new_pack.cytBwm/_new 2023-01-07 17:17:14.001267876 +0100 @@ -22,7 +22,7 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without released Name: baloo5-widgets -Version: 22.12.0 +Version: 22.12.1 Release: 0 Summary: Framework for searching and managing metadata License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only ++++++ baloo-widgets-22.12.0.tar.xz -> baloo-widgets-22.12.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-22.12.0/CMakeLists.txt new/baloo-widgets-22.12.1/CMakeLists.txt --- old/baloo-widgets-22.12.0/CMakeLists.txt 2022-11-30 00:40:10.000000000 +0100 +++ new/baloo-widgets-22.12.1/CMakeLists.txt 2023-01-02 23:40:24.000000000 +0100 @@ -3,7 +3,7 @@ # KDE Application Version, managed by release script set (RELEASE_SERVICE_VERSION_MAJOR "22") set (RELEASE_SERVICE_VERSION_MINOR "12") -set (RELEASE_SERVICE_VERSION_MICRO "0") +set (RELEASE_SERVICE_VERSION_MICRO "1") set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") project(baloo-widgets VERSION ${RELEASE_SERVICE_VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-22.12.0/autotests/filemetadatadatedisplaytest.cpp new/baloo-widgets-22.12.1/autotests/filemetadatadatedisplaytest.cpp --- old/baloo-widgets-22.12.0/autotests/filemetadatadatedisplaytest.cpp 2022-11-30 00:40:10.000000000 +0100 +++ new/baloo-widgets-22.12.1/autotests/filemetadatadatedisplaytest.cpp 2023-01-02 23:40:24.000000000 +0100 @@ -15,6 +15,7 @@ #include <QScopedPointer> #include <QSignalSpy> #include <QStandardPaths> +#include <QTemporaryFile> #include <QTest> void initLocale() @@ -25,14 +26,25 @@ QTEST_MAIN(FileMetadataDateDisplayTest) -bool FileMetadataDateDisplayTest::setFileTime(const QString &filePath, const QDateTime &fileTime) +static void setFileTime(const QString &filePath, const QDateTime &fileTime) { - bool ret; - QScopedPointer<QFile> file{new QFile(filePath)}; - file->open(QIODevice::ReadOnly); - ret = file->setFileTime(fileTime, QFileDevice::FileModificationTime); - file->close(); - return ret; + QFile file(filePath); + QVERIFY2(file.open(QIODevice::ReadOnly), filePath.toUtf8().constData()); + QVERIFY2(file.setFileTime(fileTime, QFileDevice::FileModificationTime), filePath.toUtf8().constData()); +} + +static void copyToTemporaryAndSetFileTime(const QString &filePath, const QDateTime &fileTime, QString *tempFilePath) +{ + QTemporaryFile tempF; + QFile file(filePath); + QVERIFY2(file.open(QIODevice::ReadOnly), filePath.toUtf8().constData()); + QVERIFY2(tempF.open(), filePath.toUtf8().constData()); + const QByteArray data = file.readAll(); + QCOMPARE(tempF.write(data), data.size()); + tempF.setAutoRemove(false); + *tempFilePath = tempF.fileName(); + tempF.close(); + setFileTime(*tempFilePath, fileTime); } void FileMetadataDateDisplayTest::initTestCase() @@ -40,9 +52,14 @@ qRegisterMetaType<KFileItemList>("KFileItemList"); QStandardPaths::setTestModeEnabled(true); - QVERIFY(setFileTime(QFINDTESTDATA("samplefiles/testtagged.m4a"), QDateTime::currentDateTime().addDays(-1))); + copyToTemporaryAndSetFileTime(QFINDTESTDATA("samplefiles/testtagged.m4a"), QDateTime::currentDateTime().addDays(-1), &m_m4aFilePath); + copyToTemporaryAndSetFileTime(QFINDTESTDATA("samplefiles/testtagged.mp3"), QDateTime::currentDateTime().addYears(-10), &m_mp3FilePath); +} - QVERIFY(setFileTime(QFINDTESTDATA("samplefiles/testtagged.mp3"), QDateTime::currentDateTime().addYears(-10))); +void FileMetadataDateDisplayTest::cleanupTestCase() +{ + QFile::remove(m_m4aFilePath); + QFile::remove(m_mp3FilePath); } static QRegularExpression yesterdayShortRegex() @@ -81,18 +98,15 @@ QTest::addColumn<QUrl>("file"); QTest::addColumn<QRegularExpression>("regex"); - QTest::addRow("Short date, long ago") << Baloo::DateFormats::ShortFormat << QUrl::fromLocalFile(QFINDTESTDATA("samplefiles/testtagged.mp3")) - << longAgoShortRegex(); + QTest::addRow("Short date, long ago") << Baloo::DateFormats::ShortFormat << QUrl::fromLocalFile(m_mp3FilePath) << longAgoShortRegex(); - QTest::addRow("Short date, yesterday") << Baloo::DateFormats::ShortFormat << QUrl::fromLocalFile(QFINDTESTDATA("samplefiles/testtagged.m4a")) - << yesterdayShortRegex(); + QTest::addRow("Short date, yesterday") << Baloo::DateFormats::ShortFormat << QUrl::fromLocalFile(m_m4aFilePath) << yesterdayShortRegex(); - QTest::addRow("Long date, long ago") - << Baloo::DateFormats::LongFormat << QUrl::fromLocalFile(QFINDTESTDATA("samplefiles/testtagged.mp3")) - << QRegularExpression( - QStringLiteral("[A-Z][a-z]+, [A-Z][a-z]+ (?:[1-3][0-9]|[1-9]), 20[0-9]{2} at (?:1[0-2]|[1-9]):[0-5][0-9] [AP]M")); + QTest::addRow("Long date, long ago") << Baloo::DateFormats::LongFormat << QUrl::fromLocalFile(m_mp3FilePath) + << QRegularExpression(QStringLiteral( + "[A-Z][a-z]+, [A-Z][a-z]+ (?:[1-3][0-9]|[1-9]), 20[0-9]{2} at (?:1[0-2]|[1-9]):[0-5][0-9] [AP]M")); - QTest::addRow("Long date, yesterday") << Baloo::DateFormats::LongFormat << QUrl::fromLocalFile(QFINDTESTDATA("samplefiles/testtagged.m4a")) + QTest::addRow("Long date, yesterday") << Baloo::DateFormats::LongFormat << QUrl::fromLocalFile(m_m4aFilePath) << QRegularExpression(QStringLiteral("Yesterday at (?:1[0-2]|[1-9]):[0-5][0-9] [AP]M")); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-22.12.0/autotests/filemetadatadatedisplaytest.h new/baloo-widgets-22.12.1/autotests/filemetadatadatedisplaytest.h --- old/baloo-widgets-22.12.0/autotests/filemetadatadatedisplaytest.h 2022-11-30 00:40:10.000000000 +0100 +++ new/baloo-widgets-22.12.1/autotests/filemetadatadatedisplaytest.h 2023-01-02 23:40:24.000000000 +0100 @@ -18,6 +18,7 @@ Q_OBJECT private Q_SLOTS: void initTestCase(); + void cleanupTestCase(); /// Validate that KFormat produces the expected date strings void validateDateFormats(); @@ -26,7 +27,8 @@ void shouldDisplayLongAndShortDates_data(); private: - bool setFileTime(const QString &file, const QDateTime &filetime); + QString m_m4aFilePath; + QString m_mp3FilePath; }; #endif // FILEMETADATADATEDISPLAYTEST_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-22.12.0/po/ro/baloowidgets5.po new/baloo-widgets-22.12.1/po/ro/baloowidgets5.po --- old/baloo-widgets-22.12.0/po/ro/baloowidgets5.po 2022-11-30 00:40:10.000000000 +0100 +++ new/baloo-widgets-22.12.1/po/ro/baloowidgets5.po 2023-01-02 23:40:24.000000000 +0100 @@ -8,16 +8,16 @@ "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2022-09-26 00:43+0000\n" -"PO-Revision-Date: 2022-02-05 19:39+0000\n" +"PO-Revision-Date: 2022-12-28 13:53+0000\n" "Last-Translator: Sergiu Bivol <[email protected]>\n" -"Language-Team: Romanian\n" +"Language-Team: Romanian <[email protected]>\n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" -"X-Generator: Lokalize 21.12.2\n" +"X-Generator: Lokalize 21.12.3\n" #: src/filemetadataprovider.cpp:133 #, kde-format @@ -123,7 +123,7 @@ #, kde-format msgctxt "@label" msgid "Points to" -msgstr "" +msgstr "IndicÄ spre" #: src/filemetadataprovider.cpp:463 #, kde-format @@ -138,12 +138,10 @@ msgstr "Dimensiuni" #: src/filemetadataprovider.cpp:465 -#, fuzzy, kde-format -#| msgctxt "@label file URL" -#| msgid "Location" +#, kde-format msgctxt "@label" msgid "GPS Location" -msgstr "Amplasare" +msgstr "Amplasare GPS" #: src/filepropertiesplugin/baloofilepropertiesplugin.cpp:61 #, kde-format @@ -234,31 +232,31 @@ #, kde-format msgctxt "Latitude (South)" msgid "%1°S" -msgstr "" +msgstr "%1°S" #: src/widgetfactory.cpp:112 #, kde-format msgctxt "Latitude (North)" msgid "%1°N" -msgstr "" +msgstr "%1°N" #: src/widgetfactory.cpp:113 #, kde-format msgctxt "Longitude (West)" msgid "%1°W" -msgstr "" +msgstr "%1°V" #: src/widgetfactory.cpp:113 #, kde-format msgctxt "Longitude (East)" msgid "%1°E" -msgstr "" +msgstr "%1°E" #: src/widgetfactory.cpp:122 #, kde-format msgctxt "@info:tooltip Show location in map viewer" msgid "Show location in %1" -msgstr "" +msgstr "AratÄ amplasarea în %1" #~ msgctxt "unknown file size" #~ msgid "Unknown" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/baloo-widgets-22.12.0/po/zh_CN/baloowidgets5.po new/baloo-widgets-22.12.1/po/zh_CN/baloowidgets5.po --- old/baloo-widgets-22.12.0/po/zh_CN/baloowidgets5.po 2022-11-30 00:40:10.000000000 +0100 +++ new/baloo-widgets-22.12.1/po/zh_CN/baloowidgets5.po 2023-01-02 23:40:24.000000000 +0100 @@ -3,7 +3,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2022-09-26 00:43+0000\n" -"PO-Revision-Date: 2022-11-19 14:51\n" +"PO-Revision-Date: 2022-12-24 11:44\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n"
