Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libkeduvocdocument for openSUSE:Factory checked in at 2022-10-15 16:36:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkeduvocdocument (Old) and /work/SRC/openSUSE:Factory/.libkeduvocdocument.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkeduvocdocument" Sat Oct 15 16:36:53 2022 rev:93 rq:1010844 version:22.08.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libkeduvocdocument/libkeduvocdocument.changes 2022-09-09 18:28:44.721144436 +0200 +++ /work/SRC/openSUSE:Factory/.libkeduvocdocument.new.2275/libkeduvocdocument.changes 2022-10-15 16:39:47.838490789 +0200 @@ -1,0 +2,8 @@ +Tue Oct 11 14:33:39 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 22.08.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.08.2/ + +------------------------------------------------------------------- Old: ---- libkeduvocdocument-22.08.1.tar.xz libkeduvocdocument-22.08.1.tar.xz.sig New: ---- libkeduvocdocument-22.08.2.tar.xz libkeduvocdocument-22.08.2.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkeduvocdocument.spec ++++++ --- /var/tmp/diff_new_pack.c1Nj4K/_old 2022-10-15 16:39:48.274491836 +0200 +++ /var/tmp/diff_new_pack.c1Nj4K/_new 2022-10-15 16:39:48.282491856 +0200 @@ -20,7 +20,7 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without released Name: libkeduvocdocument -Version: 22.08.1 +Version: 22.08.2 Release: 0 Summary: Library for KDE Education Applications License: GPL-2.0-or-later ++++++ libkeduvocdocument-22.08.1.tar.xz -> libkeduvocdocument-22.08.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkeduvocdocument-22.08.1/keduvocdocument/sharedkvtmlfiles.cpp new/libkeduvocdocument-22.08.2/keduvocdocument/sharedkvtmlfiles.cpp --- old/libkeduvocdocument-22.08.1/keduvocdocument/sharedkvtmlfiles.cpp 2022-08-09 03:53:45.000000000 +0200 +++ new/libkeduvocdocument-22.08.2/keduvocdocument/sharedkvtmlfiles.cpp 2022-09-27 04:35:30.000000000 +0200 @@ -8,10 +8,9 @@ #include "keduvocdocument.h" #include <KLocalizedString> -#include <kio/copyjob.h> -#include <kio/job.h> #include <QDir> +#include <QFile> #include <QStandardPaths> #include <QDebug> @@ -162,10 +161,19 @@ // make sure the locale sub-folder exists QUrl pathUrl = QUrl( fileUrl ); pathUrl = QUrl( pathUrl.toString(QUrl::RemoveFilename) + '/' + locale ); - KIO::mkdir( pathUrl ); + QDir dir; + if (!dir.mkpath(pathUrl.toLocalFile())) { + // Unable to create destination path, so skip + continue; + } + + pathUrl = QUrl( pathUrl.toString() + '/' + fileUrl.fileName()); // move the file into the locale sub-folder - KIO::move( fileUrl, pathUrl ); + bool moved = QFile(fileUrl.toLocalFile()).rename(pathUrl.toLocalFile()); + if (!moved) { + qDebug() << "Unable to move " << fileUrl << " to " << pathUrl; + } } // take off the one we just did @@ -185,8 +193,19 @@ while ( !khangmanFiles.isEmpty() ) { QUrl fileUrl( QUrl::fromLocalFile( khangmanFiles.first() ) ); QUrl destDir = QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation) + "/khangman/data/"); + QUrl destUrl = QUrl::fromLocalFile(destDir.toString() + fileUrl.fileName()); + + QDir dir; + if (!dir.mkpath(destDir.toLocalFile())) { + // Unable to create destination path, so skip + continue; + } + // do this better with KStandardDirs stuff - KIO::move( fileUrl, destDir); + bool worked = QFile(fileUrl.toLocalFile()).rename(destUrl.toLocalFile()); + if (!worked) { + qDebug() << "Unable to move " << fileUrl << " to " << destUrl; + } khangmanFiles.removeFirst(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkeduvocdocument-22.08.1/po/zh_CN/libkeduvocdocument.po new/libkeduvocdocument-22.08.2/po/zh_CN/libkeduvocdocument.po --- old/libkeduvocdocument-22.08.1/po/zh_CN/libkeduvocdocument.po 2022-09-06 02:03:48.000000000 +0200 +++ new/libkeduvocdocument-22.08.2/po/zh_CN/libkeduvocdocument.po 2022-10-11 06:48:47.000000000 +0200 @@ -3,7 +3,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2022-01-04 00:40+0000\n" -"PO-Revision-Date: 2022-08-20 14:20\n" +"PO-Revision-Date: 2022-10-02 15:52\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n"