Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package filelight for openSUSE:Factory checked in at 2022-03-04 20:15:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/filelight (Old) and /work/SRC/openSUSE:Factory/.filelight.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "filelight" Fri Mar 4 20:15:26 2022 rev:130 rq:958786 version:21.12.3 Changes: -------- --- /work/SRC/openSUSE:Factory/filelight/filelight.changes 2022-02-04 21:49:04.168519207 +0100 +++ /work/SRC/openSUSE:Factory/.filelight.new.1958/filelight.changes 2022-03-04 20:17:45.716774016 +0100 @@ -1,0 +2,10 @@ +Tue Mar 1 09:56:41 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 21.12.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.3/ +- Changes since 21.12.2: + * do not confuse portable seperator with native ones (kde#450863) + +------------------------------------------------------------------- Old: ---- filelight-21.12.2.tar.xz filelight-21.12.2.tar.xz.sig New: ---- filelight-21.12.3.tar.xz filelight-21.12.3.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ filelight.spec ++++++ --- /var/tmp/diff_new_pack.88QGYK/_old 2022-03-04 20:17:46.280773893 +0100 +++ /var/tmp/diff_new_pack.88QGYK/_new 2022-03-04 20:17:46.284773892 +0100 @@ -20,7 +20,7 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without released Name: filelight -Version: 21.12.2 +Version: 21.12.3 Release: 0 Summary: Graphical disk usage viewer License: GPL-2.0-only OR GPL-3.0-only ++++++ filelight-21.12.2.tar.xz -> filelight-21.12.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelight-21.12.2/CMakeLists.txt new/filelight-21.12.3/CMakeLists.txt --- old/filelight-21.12.2/CMakeLists.txt 2022-01-28 23:46:31.000000000 +0100 +++ new/filelight-21.12.3/CMakeLists.txt 2022-02-28 10:28:19.000000000 +0100 @@ -8,7 +8,7 @@ # KDE Application Version, managed by release script set(RELEASE_SERVICE_VERSION_MAJOR "21") set(RELEASE_SERVICE_VERSION_MINOR "12") -set(RELEASE_SERVICE_VERSION_MICRO "2") +set(RELEASE_SERVICE_VERSION_MICRO "3") set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") set(FILELIGHT_VERSION ${RELEASE_SERVICE_VERSION}) # minimum requirements diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelight-21.12.2/misc/org.kde.filelight.appdata.xml new/filelight-21.12.3/misc/org.kde.filelight.appdata.xml --- old/filelight-21.12.2/misc/org.kde.filelight.appdata.xml 2022-01-28 23:46:31.000000000 +0100 +++ new/filelight-21.12.3/misc/org.kde.filelight.appdata.xml 2022-02-28 10:28:19.000000000 +0100 @@ -412,10 +412,10 @@ <value key="KDE::windows_store">https://www.microsoft.com/store/apps/9pfxcd722m2c</value> </custom> <releases> + <release version="21.12.3" date="2022-03-03"/> <release version="21.12.2" date="2022-02-03"/> <release version="21.12.1" date="2022-01-06"/> <release version="21.12.0" date="2021-12-09"/> - <release version="21.08.3" date="2021-11-04"/> </releases> <content_rating type="oars-1.1"/> </component> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelight-21.12.2/po/zh_CN/filelight.po new/filelight-21.12.3/po/zh_CN/filelight.po --- old/filelight-21.12.2/po/zh_CN/filelight.po 2022-02-01 01:06:25.000000000 +0100 +++ new/filelight-21.12.3/po/zh_CN/filelight.po 2022-03-01 01:07:16.000000000 +0100 @@ -9,7 +9,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2021-08-18 00:20+0000\n" -"PO-Revision-Date: 2022-01-08 15:24\n" +"PO-Revision-Date: 2022-02-26 05:18\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelight-21.12.2/src/scan.cpp new/filelight-21.12.3/src/scan.cpp --- old/filelight-21.12.2/src/scan.cpp 2022-01-28 23:46:31.000000000 +0100 +++ new/filelight-21.12.3/src/scan.cpp 2022-02-28 10:28:19.000000000 +0100 @@ -78,7 +78,14 @@ QString path = url.toLocalFile(); - if (!path.endsWith(QDir::separator())) path += QDir::separator(); + // Cross-platform consideration: we get the path from a URL and in there the + // separator is always the portable slash, as such toLocalFile will also get us a slash + // separator, not the native one. i.e. on windows this is C:forwardslash not C:backslash + // do not use QDir::separator! + // https://bugs.kde.org/show_bug.cgi?id=450863 + if (!path.endsWith(QLatin1Char('/'))) { + path += QLatin1Char('/'); + } QList<Folder*> *trees = new QList<Folder*>; @@ -178,7 +185,10 @@ } QString path = url.toLocalFile(); - if (!path.endsWith(QDir::separator())) path += QDir::separator(); + // Do not use QDir::separator! The path is using / even on windows. + if (!path.endsWith(QLatin1Char('/'))) { + path += QLatin1Char('/'); + } Q_EMIT aboutToEmptyCache();