dev-vcs/kdesvn: Drop 2.0.0-r1
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 14 Aug 2019 12:49:57 +0000 (14:49 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 14 Aug 2019 13:00:22 +0000 (15:00 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-vcs/kdesvn/Manifest
dev-vcs/kdesvn/files/kdesvn-2.0.0-askpass-porting-fix.patch [deleted file]
dev-vcs/kdesvn/files/kdesvn-2.0.0-cmake.patch [deleted file]
dev-vcs/kdesvn/files/kdesvn-2.0.0-deps.patch [deleted file]
dev-vcs/kdesvn/files/kdesvn-2.0.0-desktop.patch [deleted file]
dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-outofbounds.patch [deleted file]
dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-runtime-warning.patch [deleted file]
dev-vcs/kdesvn/files/kdesvn-2.0.0-qt-5.11.patch [deleted file]
dev-vcs/kdesvn/kdesvn-2.0.0-r1.ebuild [deleted file]

index 614a4b10c64ad9d24c9da44b2ddc96749ff5d8c2..8eb941a0a38c465b3f75f6449cbac72c7c55d568 100644 (file)
@@ -1,2 +1 @@
-DIST kdesvn-2.0.0.tar.xz 2014660 BLAKE2B 41999913ecb1cd3a526bc898feaddd1385773ffdd64bee4b037625745172da62281cf34da284d1dabdae652fad0e4ab31bf0d305ca30309290c35003a2488d9c SHA512 1c0a6f02ef21fd8f9258a40ea2efba0f3775ae4a3c5b5f137dfaa658940472c3b0f98b6331c96bf7013af712d43ae6092fbee28e0f41688a62fa60dd194d3db2
 DIST kdesvn-2.1.0.tar.xz 2096108 BLAKE2B b2807e6222d5743858a9592fe568c851e466f1349bb97869c3acab892b6ef9ce730d6ec1875b720b2ebb5e2099f6d4287bf76995d7b95800f0814499736b97c7 SHA512 ec1ad8422fd698a9c07d43c3051aabff615ea774c0e988ae07843f1935a2a5c3390cf175db5c10acfe3d94abcd7a2b9b41680047598c4e7b53162cdb4e74768d
diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-askpass-porting-fix.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-askpass-porting-fix.patch
deleted file mode 100644 (file)
index 8e95270..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-From 8be5c9f4f27d3312715c0d60ea6c088ae32283b7 Mon Sep 17 00:00:00 2001
-From: Luigi Toscano <luigi.toscano@tiscali.it>
-Date: Tue, 31 Jan 2017 01:29:58 +0100
-Subject: Fix porting issues with kdesvn-askpass
-
-- properly setup and run the command line parser, fixing the order
-  of the operations;
-- set the translation catalog;
-- remove a porting-related comment.
----
- src/askpass/kdesvn-askpass.cpp | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/src/askpass/kdesvn-askpass.cpp b/src/askpass/kdesvn-askpass.cpp
-index aea5986..030fa9c 100644
---- a/src/askpass/kdesvn-askpass.cpp
-+++ b/src/askpass/kdesvn-askpass.cpp
-@@ -30,7 +30,8 @@
- int main(int argc, char **argv)
- {
--    QApplication app(argc, argv); // PORTING SCRIPT: move this to before the KAboutData initialization
-+    QApplication app(argc, argv);
-+    KLocalizedString::setApplicationDomain("kdesvn");
-     KAboutData aboutData(QStringLiteral("kdesvnaskpass"), i18n("kdesvnaskpass"), QStringLiteral("0.2"),
-                          i18n("ssh-askpass for kdesvn"),
-                          KAboutLicense::LicenseKey::LGPL,
-@@ -39,10 +40,10 @@ int main(int argc, char **argv)
-     KAboutData::setApplicationData(aboutData);
-     parser.addVersionOption();
-     parser.addHelpOption();
--    aboutData.setupCommandLine(&parser);
--    aboutData.processCommandLine(&parser);
-     parser.addPositionalArgument(QStringLiteral("[prompt]"), i18n("Prompt"));
-+    aboutData.setupCommandLine(&parser);
-     parser.process(app);
-+    aboutData.processCommandLine(&parser);
-     // no need for session management
-     //app.disableSessionManagement();
--- 
-cgit v1.1
diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-cmake.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-cmake.patch
deleted file mode 100644 (file)
index f331cdb..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-From 18039eb7a3a6c5a24cd58b3e9c924ba63d60ca61 Mon Sep 17 00:00:00 2001
-From: David Faure <faure@kde.org>
-Date: Sat, 3 Feb 2018 11:32:44 +0100
-Subject: Fix cmake syntax, this was adding -I settingsdlgs -I PUBLIC to the
- command line
-
-(detected by -Wmissing-include-dirs)
----
- src/settings/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/settings/CMakeLists.txt b/src/settings/CMakeLists.txt
-index a983484..259a256 100644
---- a/src/settings/CMakeLists.txt
-+++ b/src/settings/CMakeLists.txt
-@@ -56,7 +56,7 @@ target_link_libraries(settingsdlgs
-         KF5::Completion
-         KF5::I18n
- )
--include_directories(settingsdlgs
-+target_include_directories(settingsdlgs
-     PUBLIC
-         ${CMAKE_CURRENT_SOURCE_DIR}/../
-         ${CMAKE_CURRENT_BINARY_DIR}/../
--- 
-cgit v1.1
diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-deps.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-deps.patch
deleted file mode 100644 (file)
index d943ded..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-commit f62020c59ffb2d8ec84ff3328dddc06cd57d73ed
-Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date:   Sat Apr 1 15:12:20 2017 +0200
-
-    Replace KF5TextEditor with actual implicit deps
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 08a2104a..53d279fc 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -46,13 +46,14 @@ include(FeatureSummary)
- include(ECMInstallIcons)
- find_package(KF5 REQUIRED COMPONENTS
--    Bookmarks Config ConfigWidgets CoreAddons
--    DBusAddons DocTools I18n IconThemes ItemViews
--    JobWidgets KIO Notifications Parts Service
--    TextEditor Wallet WidgetsAddons
-+    Bookmarks Codecs Completion Config
-+    ConfigWidgets CoreAddons DBusAddons DocTools
-+    I18n IconThemes ItemViews JobWidgets KIO
-+    Notifications Parts Service TextWidgets
-+    Wallet WidgetsAddons XmlGui
- )
- find_package(Qt5 REQUIRED COMPONENTS
--    Core DBus Gui Sql Widgets
-+    Core DBus Gui Sql Widgets Xml
- )
- # Set the version
-diff --git a/src/ksvnwidgets/CMakeLists.txt b/src/ksvnwidgets/CMakeLists.txt
-index 44b8d219..2b0087c8 100644
---- a/src/ksvnwidgets/CMakeLists.txt
-+++ b/src/ksvnwidgets/CMakeLists.txt
-@@ -79,5 +79,11 @@ target_link_libraries(ksvnwidgets
-     PUBLIC
-         svnqt
-         Qt5::Widgets
--        KF5::TextEditor
-+        KF5::Completion
-+        KF5::ConfigWidgets
-+        KF5::I18n
-+        KF5::KIOWidgets
-+        KF5::Parts
-+        KF5::TextWidgets
-+        KF5::XmlGui
- )
diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-desktop.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-desktop.patch
deleted file mode 100644 (file)
index d6427c5..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-commit 5ea40285741a885198a351bd9afe58ff746a1192
-Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date:   Sun Dec 4 23:26:07 2016 +0100
-
-    Fix startup: s/caption/qwindowtitle/
-    
-    REVIEW: 129614
-
-diff --git a/src/org.kde.kdesvn.desktop b/src/org.kde.kdesvn.desktop
-index 0fbac0d..5455338 100644
---- a/src/org.kde.kdesvn.desktop
-+++ b/src/org.kde.kdesvn.desktop
-@@ -49,7 +49,7 @@ GenericName[sl]=Odjemalec za SVN
- GenericName[sv]=SVN-klient
- GenericName[uk]=Клієнт SVN
- GenericName[x-test]=xxSVN Clientxx
--Exec=kdesvn -caption "%c" %u
-+Exec=kdesvn -qwindowtitle "%c" %u
- Icon=kdesvn
- Type=Application
- X-DocPath=kdesvn/index.html
diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-outofbounds.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-outofbounds.patch
deleted file mode 100644 (file)
index fa12c2d..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-From f87f3c9cfc5924742236bee606cc2107475968ce Mon Sep 17 00:00:00 2001
-From: David Faure <faure@kde.org>
-Date: Fri, 15 Feb 2019 16:22:50 +0100
-Subject: Fix ASSERTs when calling beginRemoveRows with out of bounds
- parameters.
-
-The last param must be the last row, not the row count.
----
- src/ksvnwidgets/models/commitmodel.cpp  | 49 +++++++++++++++++++--------------
- src/svnfrontend/models/svnitemmodel.cpp |  6 ++--
- 2 files changed, 33 insertions(+), 22 deletions(-)
-
-diff --git a/src/ksvnwidgets/models/commitmodel.cpp b/src/ksvnwidgets/models/commitmodel.cpp
-index 4b5be8a..ac9d1ff 100644
---- a/src/ksvnwidgets/models/commitmodel.cpp
-+++ b/src/ksvnwidgets/models/commitmodel.cpp
-@@ -46,33 +46,42 @@ CommitModel::~CommitModel()
- void CommitModel::setCommitData(const svn::CommitItemList &aList)
- {
--    beginRemoveRows(QModelIndex(), 0, m_List.count());
--    m_List.clear();
--    endRemoveRows();
--
--    m_List.reserve(aList.size());
--    beginInsertRows(QModelIndex(), 0, aList.size() - 1);
--    for (int j = 0; j < aList.size(); ++j) {
--        m_List.append(CommitModelNodePtr(new CommitModelNode(aList[j])));
-+    if (!m_List.isEmpty()) {
-+        beginRemoveRows(QModelIndex(), 0, m_List.count() - 1);
-+        m_List.clear();
-+        endRemoveRows();
-+    }
-+
-+    if (!aList.isEmpty()) {
-+        m_List.reserve(aList.size());
-+        beginInsertRows(QModelIndex(), 0, aList.size() - 1);
-+        for (int j = 0; j < aList.size(); ++j) {
-+            m_List.append(CommitModelNodePtr(new CommitModelNode(aList[j])));
-+        }
-+        endInsertRows();
-     }
--    endInsertRows();
- }
- void CommitModel::setCommitData(const CommitActionEntries &checked, const CommitActionEntries &notchecked)
- {
--    beginRemoveRows(QModelIndex(), 0, m_List.count());
--    m_List.clear();
--    endRemoveRows();
--
--    m_List.reserve(checked.size() + notchecked.size());
--    beginInsertRows(QModelIndex(), 0, checked.size() + notchecked.size() - 1);
--    for (int j = 0; j < checked.size(); ++j) {
--        m_List.append(CommitModelNodePtr(new CommitModelNode(checked[j], true)));
-+    if (!m_List.isEmpty()) {
-+        beginRemoveRows(QModelIndex(), 0, m_List.count() - 1);
-+        m_List.clear();
-+        endRemoveRows();
-     }
--    for (int j = 0; j < notchecked.size(); ++j) {
--        m_List.append(CommitModelNodePtr(new CommitModelNode(notchecked[j], false)));
-+
-+    const int totalSize = checked.size() + notchecked.size();
-+    if (totalSize > 0) {
-+        m_List.reserve(totalSize);
-+        beginInsertRows(QModelIndex(), 0, totalSize - 1);
-+        for (int j = 0; j < checked.size(); ++j) {
-+            m_List.append(CommitModelNodePtr(new CommitModelNode(checked[j], true)));
-+        }
-+        for (int j = 0; j < notchecked.size(); ++j) {
-+            m_List.append(CommitModelNodePtr(new CommitModelNode(notchecked[j], false)));
-+        }
-+        endInsertRows();
-     }
--    endInsertRows();
- }
- int CommitModel::ActionColumn()const
-diff --git a/src/svnfrontend/models/svnitemmodel.cpp b/src/svnfrontend/models/svnitemmodel.cpp
-index 0c76e50..8e99e64 100644
---- a/src/svnfrontend/models/svnitemmodel.cpp
-+++ b/src/svnfrontend/models/svnitemmodel.cpp
-@@ -173,9 +173,11 @@ void SvnItemModel::setRootNodeStat(const svn::StatusPtr &stat)
- void SvnItemModel::clear()
- {
-     int numRows = m_Data->m_rootNode->childList().count();
--    beginRemoveRows(QModelIndex(), 0, numRows);
-+    if (numRows > 0)
-+        beginRemoveRows(QModelIndex(), 0, numRows - 1);
-     m_Data->clear();
--    endRemoveRows();
-+    if (numRows > 0)
-+        endRemoveRows();
- }
- void SvnItemModel::beginRemoveRows(const QModelIndex &parent, int first, int last)
--- 
-cgit v1.1
diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-runtime-warning.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-runtime-warning.patch
deleted file mode 100644 (file)
index 6b9dda4..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From f81a246839b459c57ed89e2d267ae7e07c8c73c1 Mon Sep 17 00:00:00 2001
-From: David Faure <faure@kde.org>
-Date: Fri, 15 Feb 2019 16:24:07 +0100
-Subject: Fix copy/paste typo on variable name
-
-Detected by this Qt warning showing up:
-QObject::connect: Cannot connect (null)::checkModifiedFinished() to SvnActions::checkUpdateThread()
-
-CCMAIL: Ch.Ehrlicher@gmx.de
----
- src/svnfrontend/svnactions.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/svnfrontend/svnactions.cpp b/src/svnfrontend/svnactions.cpp
-index 0f27fed..9a5b4e3 100644
---- a/src/svnfrontend/svnactions.cpp
-+++ b/src/svnfrontend/svnactions.cpp
-@@ -2675,7 +2675,7 @@ bool SvnActions::createUpdateCache(const QString &what)
-         return false;
-     }
-     m_UThread = new CheckModifiedThread(this, what, true);
--    connect(m_CThread, SIGNAL(checkModifiedFinished()),
-+    connect(m_UThread, SIGNAL(checkModifiedFinished()),
-             this, SLOT(checkUpdateThread()));
-     m_UThread->start();
-     emit sigExtraStatusMessage(i18n("Checking for updates started in background"));
--- 
-cgit v1.1
diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-qt-5.11.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-qt-5.11.patch
deleted file mode 100644 (file)
index 019d227..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-From 605484fd9fc873b9b8d571f398c3cab05c68d860 Mon Sep 17 00:00:00 2001
-From: Luca Beltrame <lbeltrame@kde.org>
-Date: Thu, 10 May 2018 09:28:15 +0200
-Subject: Fix build with Qt 5.11
-
-Some includes added transitively previously now need to be explicitly
-put.
----
- src/svnfrontend/blamedisplay.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/svnfrontend/blamedisplay.cpp b/src/svnfrontend/blamedisplay.cpp
-index 2d87502..5673181 100644
---- a/src/svnfrontend/blamedisplay.cpp
-+++ b/src/svnfrontend/blamedisplay.cpp
-@@ -30,6 +30,7 @@
- #include <KTextEdit>
- #include <KTreeWidgetSearchLine>
-+#include <QAction>
- #include <QBrush>
- #include <QFontDatabase>
- #include <QInputDialog>
--- 
-cgit v0.11.2
diff --git a/dev-vcs/kdesvn/kdesvn-2.0.0-r1.ebuild b/dev-vcs/kdesvn/kdesvn-2.0.0-r1.ebuild
deleted file mode 100644 (file)
index 3bbcbf9..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-KDE_HANDBOOK="forceoptional"
-inherit kde5
-
-DESCRIPTION="A frontend to the subversion vcs"
-HOMEPAGE="https://kdesvn.alwins-world.de/ https://cgit.kde.org/kdesvn.git"
-if [[ ${PV} != 9999* ]]; then
-       SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
-fi
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-IUSE="+man"
-
-DEPEND="
-       $(add_frameworks_dep kbookmarks)
-       $(add_frameworks_dep kcodecs)
-       $(add_frameworks_dep kcompletion)
-       $(add_frameworks_dep kconfig)
-       $(add_frameworks_dep kconfigwidgets)
-       $(add_frameworks_dep kcoreaddons)
-       $(add_frameworks_dep kdbusaddons)
-       $(add_frameworks_dep ki18n)
-       $(add_frameworks_dep kiconthemes)
-       $(add_frameworks_dep kio)
-       $(add_frameworks_dep kitemviews)
-       $(add_frameworks_dep kjobwidgets)
-       $(add_frameworks_dep knotifications)
-       $(add_frameworks_dep kparts)
-       $(add_frameworks_dep kservice)
-       $(add_frameworks_dep ktextwidgets)
-       $(add_frameworks_dep kwallet)
-       $(add_frameworks_dep kwidgetsaddons)
-       $(add_frameworks_dep kxmlgui)
-       $(add_qt_dep qtdbus)
-       $(add_qt_dep qtgui)
-       $(add_qt_dep qtsql 'sqlite')
-       $(add_qt_dep qtwidgets)
-       $(add_qt_dep qtxml)
-       dev-libs/apr:1
-       dev-libs/apr-util:1
-       dev-vcs/subversion
-"
-RDEPEND="${DEPEND}
-       !kde-apps/kdesdk-kioslaves:4[subversion(-)]
-"
-
-PATCHES=(
-       "${FILESDIR}/${P}-desktop.patch"
-       "${FILESDIR}/${P}-deps.patch"
-       "${FILESDIR}/${P}-qt-5.11.patch"
-       "${FILESDIR}/${P}-askpass-porting-fix.patch"
-       "${FILESDIR}/${P}-cmake.patch"
-       "${FILESDIR}/${P}-fix-outofbounds.patch"
-       "${FILESDIR}/${P}-fix-runtime-warning.patch"
-)
-
-src_prepare(){
-       kde5_src_prepare
-
-       if ! use man ; then
-               sed -i -e "/kdoctools_create_manpage/ s/^/#/" doc/CMakeLists.txt || die
-       fi
-}