dolphin-plugins: update to 20.08.1.
This commit is contained in:
parent
9e879e64f8
commit
49eba0bc11
2 changed files with 2 additions and 66 deletions
|
@ -1,64 +0,0 @@
|
||||||
Author: @Johnnynator
|
|
||||||
Reason: musl defines stderr/out as (stderr)
|
|
||||||
---
|
|
||||||
diff -u -r svn.bak/svncleanupdialog.cpp svn/svncleanupdialog.cpp
|
|
||||||
--- svn.bak/svncleanupdialog.cpp 2020-08-18 21:40:19.812711204 +0200
|
|
||||||
+++ svn/svncleanupdialog.cpp 2020-08-18 21:43:40.088090871 +0200
|
|
||||||
@@ -74,7 +74,7 @@
|
|
||||||
emit operationCompletedMessage(i18nc("@info:status", "SVN clean up completed successfully."));
|
|
||||||
} else {
|
|
||||||
emit errorMessage(i18nc("@info:status", "SVN clean up failed for %1", workDir));
|
|
||||||
- qDebug() << result.stderr;
|
|
||||||
+ qDebug() << result.serr;
|
|
||||||
}
|
|
||||||
|
|
||||||
QDialog::accept();
|
|
||||||
diff -u -r svn.bak/svncommands.cpp svn/svncommands.cpp
|
|
||||||
--- svn.bak/svncommands.cpp 2020-08-18 21:40:19.809711258 +0200
|
|
||||||
+++ svn/svncommands.cpp 2020-08-18 21:43:40.090090838 +0200
|
|
||||||
@@ -311,8 +311,8 @@
|
|
||||||
} else {
|
|
||||||
result.success = true;
|
|
||||||
}
|
|
||||||
- result.stdout = process.readAllStandardOutput();
|
|
||||||
- result.stderr = process.readAllStandardError();
|
|
||||||
+ result.sout = process.readAllStandardOutput();
|
|
||||||
+ result.serr = process.readAllStandardError();
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
@@ -399,7 +399,7 @@
|
|
||||||
if (!process.waitForFinished() || process.exitCode() != 0) {
|
|
||||||
process.setReadChannel( QProcess::StandardError );
|
|
||||||
|
|
||||||
- // If stderr contains 'E195012' that means repo doesn't exist in the revision range.
|
|
||||||
+ // If serr contains 'E195012' that means repo doesn't exist in the revision range.
|
|
||||||
// It's not an error: let's return everything we've got already.
|
|
||||||
const QLatin1String errorCode("svn: E195012:"); // Error: 'Unable to find repository location for <path> in revision <revision>'.
|
|
||||||
if (QTextStream(&process).readAll().indexOf(errorCode) != -1) {
|
|
||||||
diff -u -r svn.bak/svncommands.h svn/svncommands.h
|
|
||||||
--- svn.bak/svncommands.h 2020-08-18 21:40:19.811711222 +0200
|
|
||||||
+++ svn/svncommands.h 2020-08-18 21:43:40.089090854 +0200
|
|
||||||
@@ -35,8 +35,8 @@
|
|
||||||
*/
|
|
||||||
struct CommandResult {
|
|
||||||
bool success; ///< True if return code is '0' (normal execution).
|
|
||||||
- QString stdout; ///< Process stdout.
|
|
||||||
- QString stderr; ///< Process stderr.
|
|
||||||
+ QString sout; ///< Process stdout.
|
|
||||||
+ QString serr; ///< Process stderr.
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
diff -u -r svn.bak/svnprogressdialog.cpp svn/svnprogressdialog.cpp
|
|
||||||
--- svn.bak/svnprogressdialog.cpp 2020-08-18 21:40:19.811711222 +0200
|
|
||||||
+++ svn/svnprogressdialog.cpp 2020-08-18 21:43:40.088090871 +0200
|
|
||||||
@@ -115,7 +115,7 @@
|
|
||||||
const CommandResult result = SvnCommands::cleanup(m_workingDir);
|
|
||||||
if (!result.success) {
|
|
||||||
qWarning() << QString("'svn cleanup' failed for %1").arg(m_workingDir);
|
|
||||||
- qWarning() << result.stderr;
|
|
||||||
+ qWarning() << result.serr;
|
|
||||||
}
|
|
||||||
m_svnTerminated = false;
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'dolphin-plugins'
|
# Template file for 'dolphin-plugins'
|
||||||
pkgname=dolphin-plugins
|
pkgname=dolphin-plugins
|
||||||
version=20.08.0
|
version=20.08.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="extra-cmake-modules gettext qt5-qmake qt5-host-tools kcoreaddons kconfig"
|
hostmakedepends="extra-cmake-modules gettext qt5-qmake qt5-host-tools kcoreaddons kconfig"
|
||||||
|
@ -10,4 +10,4 @@ maintainer="Domenico Panella <pandom79@gmail.com>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://kde.org/applications/en/system/org.kde.dolphin_plugins"
|
homepage="https://kde.org/applications/en/system/org.kde.dolphin_plugins"
|
||||||
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
|
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
|
||||||
checksum=a8a0c35f75eb8e63ee90f44ce930babceff86676b8bba213c82b7ffb29e526bb
|
checksum=a00cab6b30c9b5a4c0164704c9eab2cbb661928e775f83acb3691af77bf17427
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue